/Linux-v6.1/include/uapi/linux/ |
D | atmmpc.h | 1 /* 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-v6.1/drivers/rtc/ |
D | rtc-sun4v.c | 1 // 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 …]
|
D | rtc-ntxec.c | 1 // 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-v6.1/Documentation/admin-guide/ |
D | xfs.rst | 1 .. 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-v6.1/arch/x86/kernel/ |
D | tsc_sync.c | 1 // 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. 62 if (!resume && time_before(jiffies, adj->nextcheck)) in tsc_verify_tsc_adjust() 65 adj->nextcheck = jiffies + HZ; in tsc_verify_tsc_adjust() 68 if (adj->adjusted == curval) in tsc_verify_tsc_adjust() 72 wrmsrl(MSR_IA32_TSC_ADJUST, adj->adjusted); in tsc_verify_tsc_adjust() 74 if (!adj->warned || resume) { in tsc_verify_tsc_adjust() 75 pr_warn(FW_BUG "TSC ADJUST differs: CPU%u %lld --> %lld. Restoring\n", in tsc_verify_tsc_adjust() [all …]
|
/Linux-v6.1/Documentation/locking/ |
D | seqlock.rst | 8 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-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v7.c | 53 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() 122 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts() 123 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts() 139 retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + in get_sdma_rlc_reg_offset() 140 m->sdma_queue_id * KFD_CIK_SDMA_QUEUE_OFFSET; in get_sdma_rlc_reg_offset() 143 m->sdma_engine_id, m->sdma_queue_id, retval); in get_sdma_rlc_reg_offset() 173 mqd_hqd = &m->cp_mqd_base_addr_lo; in kgd_hqd_load() [all …]
|
D | amdgpu_amdkfd_gfx_v8.c | 47 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() 117 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts() 118 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts() 134 retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + in get_sdma_rlc_reg_offset() 135 m->sdma_queue_id * KFD_VI_SDMA_QUEUE_OFFSET; in get_sdma_rlc_reg_offset() 138 m->sdma_engine_id, m->sdma_queue_id, retval); in get_sdma_rlc_reg_offset() 168 if (m->cp_hqd_vmid == 0) { in kgd_hqd_load() [all …]
|
D | amdgpu_amdkfd_gfx_v10.c | 45 mutex_lock(&adev->srbm_mutex); in lock_srbm() 52 mutex_unlock(&adev->srbm_mutex); in unlock_srbm() 58 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue() 59 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue() 67 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask() 134 /* TODO - RING0 form of field is obsolete, seems to date back to SI 143 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts() 144 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts() 163 mmSDMA0_RLC0_RB_CNTL) - mmSDMA0_RLC0_RB_CNTL, in get_sdma_rlc_reg_offset() 171 mmSDMA1_RLC0_RB_CNTL) - mmSDMA0_RLC0_RB_CNTL in get_sdma_rlc_reg_offset() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/ipmi/ |
D | ipmi-ipmb.yaml | 1 # 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 <cminyard@mvista.com> 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-v6.1/include/scsi/ |
D | scsi_status.h | 1 /* 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-v6.1/Documentation/devicetree/bindings/i2c/ |
D | i2c-arb-gpio-challenge.txt | 1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 7 the standard I2C multi-master rules. Using GPIOs is generally useful in 21 others can see. These are all active low with pull-ups enabled. We'll 24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus 25 - THEIR_CLAIMS: output from others signaling that they want the bus 33 2. Waits a little bit for the other sides to notice (slew time, say 10 39 6. Go back to 1 (until retry time has expired). 43 - compatible: i2c-arb-gpio-challenge 44 - our-claim-gpio: The GPIO that we use to claim the bus. 45 - their-claim-gpios: The GPIOs that the other sides use to claim the bus. [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | stacktrace_build_id_nmi.c | 1 // SPDX-License-Identifier: GPL-2.0 15 "return default value: 5000,err %d\n", -errno); in read_perf_max_sample_freq() 35 int retry = 1; in test_stacktrace_build_id_nmi() local 39 retry: in test_stacktrace_build_id_nmi() 45 bpf_program__set_type(skel->progs.oncpu, BPF_PROG_TYPE_PERF_EVENT); in test_stacktrace_build_id_nmi() 51 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_stacktrace_build_id_nmi() 52 0 /* cpu 0 */, -1 /* group id */, in test_stacktrace_build_id_nmi() 63 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi() 65 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) { in test_stacktrace_build_id_nmi() 71 control_map_fd = bpf_map__fd(skel->maps.control_map); in test_stacktrace_build_id_nmi() [all …]
|
D | stacktrace_build_id.c | 1 // SPDX-License-Identifier: GPL-2.0 16 int retry = 1; in test_stacktrace_build_id() local 18 retry: in test_stacktrace_build_id() 28 control_map_fd = bpf_map__fd(skel->maps.control_map); in test_stacktrace_build_id() 29 stackid_hmap_fd = bpf_map__fd(skel->maps.stackid_hmap); in test_stacktrace_build_id() 30 stackmap_fd = bpf_map__fd(skel->maps.stackmap); in test_stacktrace_build_id() 31 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() 83 } while (bpf_map__get_next_key(skel->maps.stackmap, &prev_key, &key, sizeof(key)) == 0); in test_stacktrace_build_id() 87 * try it one more time. in test_stacktrace_build_id() [all …]
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | hvcall.h | 1 /* 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-v6.1/net/atm/ |
D | lec.h | 1 /* 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-v6.1/drivers/iio/imu/bno055/ |
D | bno055_ser_core.c | 1 // 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-v6.1/drivers/parport/ |
D | ieee1284_ops.c | 1 // 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-v6.1/Documentation/ABI/stable/ |
D | sysfs-devices-system-xen_memory | 9 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-devel@lists.xenproject.org
|
/Linux-v6.1/kernel/futex/ |
D | waitwake.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 63 * smp_mb(); (A) <-- paired with -. 72 * `--------> smp_mb(); (B) 79 * waiters--; (b) unlock(hash_bucket(futex)); 103 * acquiring the lock. It then decrements them again after releasing it - 117 struct task_struct *p = q->task; in futex_wake_mark() 119 if (WARN(q->pi_state || q->rt_waiter, "refusing to wake PI futex\n")) in futex_wake_mark() 125 * The waiting task can free the futex_q as soon as q->lock_ptr = NULL in futex_wake_mark() 131 smp_store_release(&q->lock_ptr, NULL); in futex_wake_mark() 135 * the hb->lock. in futex_wake_mark() [all …]
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | mrelease_test.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #define __NR_pidfd_open -1 22 #define __NR_process_mrelease -1 54 timeout--; in alloc_noexit() 67 if (!syscall(__NR_process_mrelease, pidfd, (unsigned int)-1) || in run_negative_tests() 88 /* Allocate and fault-in memory and wait to be killed */ in child_main() 98 bool success, retry; in main() local 105 if (!syscall(__NR_process_mrelease, -1, 0) || errno != EBADF) { in main() 113 retry: in main() 173 * which causes it to spend more time on cleanup and increases in main() [all …]
|
D | mremap_test.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <time.h> 41 _1KB = 1ULL << 10, /* 1KB -> not page aligned */ 80 -1, 0); in is_remap_region_valid() 136 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_expand_merge() 147 while (getline(&line, &len, fp) != -1) { in mremap_expand_merge() 148 char *first = strtok(line, "- "); in mremap_expand_merge() 150 char *second = strtok(NULL, "- "); in mremap_expand_merge() 177 retry: in get_source_mapping() 180 goto retry; in get_source_mapping() [all …]
|
/Linux-v6.1/drivers/usb/core/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 30 Documentation/driver-api/usb/persist.rst for more info. 39 to initialize and enumerate it, with lots of nested retry loops. 40 This almost always works, but when it fails it can take a long time. 41 This option tells the kernel to make only a few retry attempts, 42 so that the total time required for a failed initialization is 45 Say N here unless you require new-device enumeration failure to 64 "Dual-Role" device, which can act as either a device 69 Select this only if your board has Mini-AB/Micro-AB 97 Implements OTG Finite State Machine as specified in On-The-Go
|
/Linux-v6.1/drivers/mfd/ |
D | gateworks-gsc.c | 1 // 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 …]
|
/Linux-v6.1/drivers/s390/block/ |
D | dasd_3990_erp.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define KMSG_COMPONENT "dasd-eckd" 55 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup() 57 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup() 58 cqr->status = final_status; in dasd_3990_erp_cleanup() 74 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() 80 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 82 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 83 erp->status = DASD_CQR_FILLED; in dasd_3990_erp_block_queue() 84 if (erp->block) in dasd_3990_erp_block_queue() [all …]
|