Home
last modified time | relevance | path

Searched +full:retry +full:- +full:time (Results 1 – 25 of 1053) sorted by relevance

12345678910>>...43

/linux-6.14.4/include/uapi/linux/
Datmmpc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
44 __u16 mpc_p1; /* Shortcut-Setup Frame Count */
45 __u16 mpc_p2; /* Shortcut-Setup Frame Time */
46 __u8 mpc_p3[8]; /* Flow-detection Protocols */
47 __u16 mpc_p4; /* MPC Initial Retry Time */
48 __u16 mpc_p5; /* MPC Retry Time Maximum */
49 __u16 mpc_p6; /* Hold Down Time */
85 #define MPC_P1 10 /* Shortcut-Setup Frame Count */
86 #define MPC_P2 1 /* Shortcut-Setup Frame Time */
87 #define MPC_P3 0 /* Flow-detection Protocols */
[all …]
/linux-6.14.4/arch/mips/kernel/
Dsync-r4k.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <asm/r4k-timer.h>
19 #include <asm/time.h>
35 * we want to have the fastest, inlined, non-debug version
36 * of a critical section, to be able to prove counter time-warps:
82 * we saw a time-warp of the counter going backwards: in check_counter_warp()
86 max_warp = max(max_warp, prev - now); in check_counter_warp()
90 * one CPU should observe time going backwards. in check_counter_warp()
99 WARN(!(now-start), in check_counter_warp()
101 now-start, end-start); in check_counter_warp()
[all …]
/linux-6.14.4/drivers/rtc/
Drtc-sun4v.c1 // SPDX-License-Identifier: GPL-2.0
2 /* rtc-sun4v.c: Hypervisor based RTC for SUN4V systems.
21 unsigned long ret, time; in hypervisor_get_time() local
24 retry: in hypervisor_get_time()
25 ret = sun4v_tod_get(&time); in hypervisor_get_time()
27 return time; in hypervisor_get_time()
29 if (--retries > 0) { in hypervisor_get_time()
31 goto retry; in hypervisor_get_time()
51 retry: in hypervisor_set_time()
56 if (--retries > 0) { in hypervisor_set_time()
[all …]
Drtc-ntxec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * e-book readers designed by the original design manufacturer Netronix, Inc.
8 * This driver implements access to the RTC time and date.
42 retry: in ntxec_read_time()
43 res = regmap_read(rtc->ec->regmap, NTXEC_REG_READ_MINUTE_SECOND, &value); in ntxec_read_time()
47 tm->tm_min = value >> 8; in ntxec_read_time()
48 tm->tm_sec = value & 0xff; in ntxec_read_time()
50 res = regmap_read(rtc->ec->regmap, NTXEC_REG_READ_MDAY_HOUR, &value); in ntxec_read_time()
54 tm->tm_mday = value >> 8; in ntxec_read_time()
55 tm->tm_hour = value & 0xff; in ntxec_read_time()
[all …]
/linux-6.14.4/Documentation/admin-guide/
Dxfs.rst1 .. SPDX-License-Identifier: GPL-2.0
8 on the SGI IRIX platform. It is completely multi-threaded, can
15 for further details. This implementation is on-disk compatible
25 Sets the buffered I/O end-of-file preallocation size when
28 through to 1GiB, inclusive, in power-of-2 increments.
30 The default behaviour is for dynamic end-of-file
40 on-disk. When the new form is used for the first time when
42 attributes) the on-disk superblock feature bit field will be
45 The default behaviour is determined by the on-disk feature
116 Set the number of in-memory log buffers. Valid numbers
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/i2c/
Di2c-arb-gpio-challenge.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
10 - Doug Anderson <[email protected]>
11 - Peter Rosin <[email protected]>
18 standard I2C multi-master rules. Using GPIOs is generally useful in the case
30 others can see. These are all active low with pull-ups enabled. We'll
41 2. Waits a little bit for the other sides to notice (slew time, say 10
[all …]
/linux-6.14.4/arch/x86/kernel/
Dtsc_sync.c1 // SPDX-License-Identifier: GPL-2.0
8 * print a warning if not and turn off the TSC clock-source.
10 * The warp-check is point-to-point between two CPUs, the CPU
14 * Only two CPUs may participate - they can enter in any order.
63 if (!resume && time_before(jiffies, adj->nextcheck)) in tsc_verify_tsc_adjust()
66 adj->nextcheck = jiffies + HZ; in tsc_verify_tsc_adjust()
69 if (adj->adjusted == curval) in tsc_verify_tsc_adjust()
73 wrmsrl(MSR_IA32_TSC_ADJUST, adj->adjusted); in tsc_verify_tsc_adjust()
75 if (!adj->warned || resume) { in tsc_verify_tsc_adjust()
76 pr_warn(FW_BUG "TSC ADJUST differs: CPU%u %lld --> %lld. Restoring\n", in tsc_verify_tsc_adjust()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v7.c53 mutex_lock(&adev->srbm_mutex); in lock_srbm()
60 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
66 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
67 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
123 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
124 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
140 retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + in get_sdma_rlc_reg_offset()
141 m->sdma_queue_id * KFD_CIK_SDMA_QUEUE_OFFSET; in get_sdma_rlc_reg_offset()
144 m->sdma_engine_id, m->sdma_queue_id, retval); in get_sdma_rlc_reg_offset()
174 mqd_hqd = &m->cp_mqd_base_addr_lo; in kgd_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v8.c47 mutex_lock(&adev->srbm_mutex); in lock_srbm()
54 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
60 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
61 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
118 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
119 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
135 retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + in get_sdma_rlc_reg_offset()
136 m->sdma_queue_id * KFD_VI_SDMA_QUEUE_OFFSET; in get_sdma_rlc_reg_offset()
139 m->sdma_engine_id, m->sdma_queue_id, retval); in get_sdma_rlc_reg_offset()
169 if (m->cp_hqd_vmid == 0) { in kgd_hqd_load()
[all …]
/linux-6.14.4/Documentation/locking/
Dseqlock.rst8 Sequence counters are a reader-writer consistency mechanism with
9 lockless readers (read-only retry loops), and no writer starvation. They
10 are used for data that's rarely written to (e.g. system time), where the
11 reader wants a consistent set of information and is willing to retry if
19 the reader must retry.
30 interrupted writer. If that reader belongs to a real-time scheduling
53 requirements of writer serialization and non-preemptibility, use
76 /* ... [[write-side critical section]] ... */
85 /* ... [[read-side critical section]] ... */
93 -----------------------------------------------------------------
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/ipmi/
Dipmi-ipmb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Corey Minyard <[email protected]>
17 - ipmi-ipmb
21 - const: ipmi
30 retry-time:
33 Time between retries of sends, in milliseconds. Defaults to 250.
35 max-retries:
[all …]
/linux-6.14.4/include/scsi/
Dscsi_status.h1 /* SPDX-License-Identifier: GPL-2.0 */
26 INITIATE_RECOVERY = 0x0f, /* SCSI-II only */
27 RELEASE_RECOVERY = 0x10, /* SCSI-II only */
28 TERMINATE_IO_PROC = 0x11, /* SCSI-II only */
47 DID_BUS_BUSY = 0x02, /* BUS stayed busy through time out period */
55 DID_PASSTHROUGH = 0x0a, /* Force command past mid-layer */
56 DID_SOFT_ERROR = 0x0b, /* The low level driver just wish a retry */
57 DID_IMM_RETRY = 0x0c, /* Retry without decrementing retry count */
58 DID_REQUEUE = 0x0d, /* Requeue command (no immediate retry) also
59 * without decrementing the retry count */
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dstacktrace_build_id_nmi.c1 // SPDX-License-Identifier: GPL-2.0
19 int i, retry = 1; in test_stacktrace_build_id_nmi() local
23 retry: in test_stacktrace_build_id_nmi()
29 bpf_program__set_type(skel->progs.oncpu, BPF_PROG_TYPE_PERF_EVENT); in test_stacktrace_build_id_nmi()
35 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_stacktrace_build_id_nmi()
36 0 /* cpu 0 */, -1 /* group id */, in test_stacktrace_build_id_nmi()
47 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi()
49 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) { in test_stacktrace_build_id_nmi()
55 control_map_fd = bpf_map__fd(skel->maps.control_map); in test_stacktrace_build_id_nmi()
56 stackid_hmap_fd = bpf_map__fd(skel->maps.stackid_hmap); in test_stacktrace_build_id_nmi()
[all …]
Dstacktrace_build_id.c1 // SPDX-License-Identifier: GPL-2.0
15 int i, retry = 1; in test_stacktrace_build_id() local
17 retry: in test_stacktrace_build_id()
27 control_map_fd = bpf_map__fd(skel->maps.control_map); in test_stacktrace_build_id()
28 stackid_hmap_fd = bpf_map__fd(skel->maps.stackid_hmap); in test_stacktrace_build_id()
29 stackmap_fd = bpf_map__fd(skel->maps.stackmap); in test_stacktrace_build_id()
30 stack_amap_fd = bpf_map__fd(skel->maps.stack_amap); in test_stacktrace_build_id()
61 err = bpf_map__get_next_key(skel->maps.stackmap, NULL, &key, sizeof(key)); in test_stacktrace_build_id()
78 } while (bpf_map__get_next_key(skel->maps.stackmap, &prev_key, &key, sizeof(key)) == 0); in test_stacktrace_build_id()
82 * try it one more time. in test_stacktrace_build_id()
[all …]
/linux-6.14.4/drivers/scsi/fnic/
Dfnic_fdls.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 /* FDLS - Fabric discovery and login services
14 * -> VLAN discovery
15 * -> retry every retry delay seconds until it succeeds.
16 * <- List of VLANs
18 * -> Solicitation
19 * <- Solicitation response (Advertisement)
21 * -> FCF selection & FLOGI ( FLOGI timeout - 2 * E_D_TOV)
22 * <- FLOGI response
24 * -> FCF keep alive
[all …]
/linux-6.14.4/arch/powerpc/include/asm/
Dhvcall.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #define H_BUSY 1 /* Hardware busy -- retry later */
21 is a good time to retry */
23 is a good time to retry */
25 is a good time to retry */
27 is a good time to retry */
29 is a good time to retry */
31 is a good time to retry */
37 #define H_HARDWARE -1 /* Hardware error */
38 #define H_FUNCTION -2 /* Function not supported */
[all …]
/linux-6.14.4/net/atm/
Dlec.h1 /* SPDX-License-Identifier: GPL-2.0 */
98 * Within the period of time defined by this variable, the client will send
103 * If no traffic has been sent in this vcc for this period of time,
108 * An LE Client MUST not retry an LE_ARP_REQUEST for a
109 * given frame's LAN Destination more than maximum retry count times,
114 * Max time the client will maintain an entry in its arp cache in
119 * Max time the client will maintain an entry in cache when
125 * Max time the client expects an LE_ARP_REQUEST/LE_ARP_RESPONSE
130 * Time limit ot wait to receive an LE_FLUSH_RESPONSE after the
134 /* The time since sending a frame to the bus after which the
[all …]
/linux-6.14.4/drivers/iio/imu/bno055/
Dbno055_ser_core.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2021-2022 Istituto Italiano di Tecnologia
33 * +------+------+-----+-----+----- ... ----+
35 * +------+------+-----+-----+----- ... ----+
38 * +------+----------+
40 * +------+----------+
45 * sw resets - bno055 on serial bus basically requires the hw reset pin).
48 * +------+------+-----+-----+
50 * +------+------+-----+-----+
53 * +------+-----+----- ... ----+
[all …]
/linux-6.14.4/drivers/parport/
Dieee1284_ops.c1 // SPDX-License-Identifier: GPL-2.0
2 /* IEEE-1284 operations for parport.
5 * they are used by the low-level drivers. If they have a special way
7 * the function pointers in port->ops); if not, they can just use these
31 * One-way data transfer functions. *
43 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat()
47 if (port->irq != PARPORT_IRQ_NONE) { in parport_ieee1284_write_compat()
52 port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA; in parport_ieee1284_write_compat()
56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat()
84 /* Have we run out of time? */ in parport_ieee1284_write_compat()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/hwmon/
Dadi,ltc4282.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nuno Sa <[email protected]>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf
20 - adi,ltc4282
25 vdd-supply: true
30 '#clock-cells':
33 adi,rsense-nano-ohms:
36 adi,vin-mode-microvolt:
[all …]
/linux-6.14.4/Documentation/ABI/stable/
Dsysfs-devices-system-xen_memory9 A value of zero means retry forever and is the default one.
28 to retry with a 'schedule_delay' delay.
35 The time (in seconds) to wait between attempts to
36 increase the balloon. Each time the balloon cannot be
82 Contact: xen-[email protected]
/linux-6.14.4/kernel/futex/
Dwaitwake.c1 // SPDX-License-Identifier: GPL-2.0-or-later
64 * smp_mb(); (A) <-- paired with -.
73 * `--------> smp_mb(); (B)
80 * waiters--; (b) unlock(hash_bucket(futex));
104 * acquiring the lock. It then decrements them again after releasing it -
112 if (WARN(q->pi_state || q->rt_waiter, "refusing to wake PI futex\n")) in __futex_wake_mark()
117 * The waiting task can free the futex_q as soon as q->lock_ptr = NULL in __futex_wake_mark()
123 smp_store_release(&q->lock_ptr, NULL); in __futex_wake_mark()
136 struct task_struct *p = q->task; in futex_wake_mark()
147 * the hb->lock. in futex_wake_mark()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gt/
Dintel_reset.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2008-2018 Intel Corporation
41 struct drm_i915_file_private *file_priv = ctx->file_priv; in client_mark_guilty()
52 prev_hang = xchg(&file_priv->hang_timestamp, jiffies); in client_mark_guilty()
57 atomic_add(score, &file_priv->ban_score); in client_mark_guilty()
59 drm_dbg(&ctx->i915->drm, in client_mark_guilty()
61 ctx->name, score, in client_mark_guilty()
62 atomic_read(&file_priv->ban_score)); in client_mark_guilty()
73 if (intel_context_is_closed(rq->context)) in mark_guilty()
77 ctx = rcu_dereference(rq->context->gem_context); in mark_guilty()
[all …]
/linux-6.14.4/tools/testing/selftests/mm/
Dmrelease_test.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <asm-generic/unistd.h>
42 timeout--; in alloc_noexit()
54 if (!syscall(__NR_process_mrelease, pidfd, (unsigned int)-1) || in run_negative_tests()
70 /* Allocate and fault-in memory and wait to be killed */ in child_main()
80 bool success, retry; in main() local
90 if (!syscall(__NR_process_mrelease, -1, 0) || errno != EBADF) { in main()
102 retry: in main()
155 * which causes it to spend more time on cleanup and increases in main()
157 * Retry until we succeed or reach MAX_SIZE_MB. in main()
[all …]
/linux-6.14.4/drivers/mfd/
Dgateworks-gsc.c1 // SPDX-License-Identifier: GPL-2.0
3 * The Gateworks System Controller (GSC) is a multi-function
6 * system functions such as push-button monitoring, multiple ADC's for
35 int retry, ret; in gsc_write() local
37 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_write()
40 * -EAGAIN returned when the i2c host controller is busy in gsc_write()
41 * -EIO returned when i2c device is busy in gsc_write()
43 if (ret != -EAGAIN && ret != -EIO) in gsc_write()
54 int retry, ret; in gsc_read() local
56 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_read()
[all …]

12345678910>>...43