Home
last modified time | relevance | path

Searched refs:rw (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/linux-6.3-rc2/drivers/net/wireless/zydas/zd1211rw/
A Dzd_rf_rf2959.c54 bits(rw, 14, 15), bit(rw, 3), bit(rw, 2), bit(rw, 1),
61 bit(rw, 17), bit(rw, 16), bit(rw, 15), bit(rw, 14),
62 bit(rw, 13), bit(rw, 12), bit(rw, 11), bit(rw, 10),
63 bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0, 3));
74 bits(rw, 8, 16), bits(rw, 4, 7), bits(rw, 0, 3));
80 bit(rw, 17), bit(rw, 16), bit(rw, 15), bit(rw, 14),
81 bit(rw, 13), bit(rw, 12), bit(rw, 11), bit(rw, 10),
82 bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0,3));
105 bits(rw, 7, 9), bits(rw, 4, 6), bit(rw, 3), bit(rw, 2),
111 bits(rw, 15, 17), bits(rw, 9, 14), bits(rw, 3, 8),
[all …]
/linux-6.3-rc2/arch/arc/include/asm/
A Dspinlock.h101 : [rwlock] "r" (&(rw->counter)), in arch_read_lock()
125 : [rwlock] "r" (&(rw->counter)), in arch_read_trylock()
158 : [rwlock] "r" (&(rw->counter)), in arch_write_lock()
183 : [rwlock] "r" (&(rw->counter)), in arch_write_trylock()
209 : [rwlock] "r" (&(rw->counter)) in arch_read_unlock()
310 if (rw->counter > 0) { in arch_read_trylock()
311 rw->counter--; in arch_read_trylock()
337 rw->counter = 0; in arch_write_trylock()
348 while (!arch_read_trylock(rw)) in arch_read_lock()
354 while (!arch_write_trylock(rw)) in arch_write_lock()
[all …]
/linux-6.3-rc2/arch/parisc/include/asm/
A Dspinlock.h58 arch_spin_lock(&(rw->lock_mutex)); in arch_read_trylock()
64 if (rw->counter > 0) { in arch_read_trylock()
65 rw->counter--; in arch_read_trylock()
69 arch_spin_unlock(&(rw->lock_mutex)); in arch_read_trylock()
82 arch_spin_lock(&(rw->lock_mutex)); in arch_write_trylock()
91 rw->counter = 0; in arch_write_trylock()
102 while (!arch_read_trylock(rw)) in arch_read_lock()
108 while (!arch_write_trylock(rw)) in arch_write_lock()
117 arch_spin_lock(&(rw->lock_mutex)); in arch_read_unlock()
118 rw->counter++; in arch_read_unlock()
[all …]
/linux-6.3-rc2/arch/s390/include/asm/
A Dspinlock.h99 #define arch_read_relax(rw) barrier() argument
100 #define arch_write_relax(rw) barrier() argument
109 old = __atomic_add(1, &rw->cnts); in arch_read_lock()
111 arch_read_lock_wait(rw); in arch_read_lock()
116 __atomic_add_const_barrier(-1, &rw->cnts); in arch_read_unlock()
121 if (!__atomic_cmpxchg_bool(&rw->cnts, 0, 0x30000)) in arch_write_lock()
122 arch_write_lock_wait(rw); in arch_write_lock()
127 __atomic_add_barrier(-0x30000, &rw->cnts); in arch_write_unlock()
135 old = READ_ONCE(rw->cnts); in arch_read_trylock()
137 __atomic_cmpxchg_bool(&rw->cnts, old, old + 1)); in arch_read_trylock()
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dsimple_spinlock.h171 : "r" (&rw->lock), [eh] "n" (eh) in __arch_read_trylock()
204 if (likely(__arch_read_trylock(rw) > 0)) in arch_read_lock()
209 splpar_rw_yield(rw); in arch_read_lock()
210 } while (unlikely(rw->lock < 0)); in arch_read_lock()
218 if (likely(__arch_write_trylock(rw) == 0)) in arch_write_lock()
223 splpar_rw_yield(rw); in arch_write_lock()
224 } while (unlikely(rw->lock != 0)); in arch_write_lock()
231 return __arch_read_trylock(rw) > 0; in arch_read_trylock()
236 return __arch_write_trylock(rw) == 0; in arch_write_trylock()
251 : "r"(&rw->lock) in arch_read_unlock()
[all …]
/linux-6.3-rc2/arch/sh/include/asm/
A Dspinlock-cas.h52 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() argument
55 do old = rw->lock; in arch_read_lock()
59 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() argument
62 do old = rw->lock; in arch_read_unlock()
63 while (__sl_cas(&rw->lock, old, old+1) != old); in arch_read_unlock()
66 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() argument
71 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() argument
73 __sl_cas(&rw->lock, 0, RW_LOCK_BIAS); in arch_write_unlock()
76 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() argument
79 do old = rw->lock; in arch_read_trylock()
[all …]
A Dspinlock-llsc.h90 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock() argument
103 : "r" (&rw->lock) in arch_read_lock()
108 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock() argument
119 : "r" (&rw->lock) in arch_read_unlock()
124 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() argument
137 : "r" (&rw->lock), "r" (RW_LOCK_BIAS) in arch_write_lock()
142 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock() argument
147 : "r" (&rw->lock), "r" (RW_LOCK_BIAS) in arch_write_unlock()
152 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock() argument
168 : "r" (&rw->lock) in arch_read_trylock()
[all …]
/linux-6.3-rc2/block/
A Dblk-throttle.c342 int rw; in throtl_pd_alloc() local
356 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_alloc()
422 int rw; in tg_update_has_rules() local
424 for (rw = READ; rw <= WRITE; rw++) { in tg_update_has_rules()
1252 int rw; in blk_throtl_dispatch_work_fn() local
1257 for (rw = READ; rw <= WRITE; rw++) in blk_throtl_dispatch_work_fn()
2074 for (rw = READ; rw <= WRITE; rw++) { in throtl_update_latency_buckets()
2100 avg_latency[rw][i].latency = latency[rw]; in throtl_update_latency_buckets()
2105 for (rw = READ; rw <= WRITE; rw++) { in throtl_update_latency_buckets()
2115 latency[rw] = avg_latency[rw][i].latency; in throtl_update_latency_buckets()
[all …]
/linux-6.3-rc2/arch/arm/include/asm/
A Dspinlock.h143 prefetchw(&rw->lock); in arch_write_lock()
152 : "r" (&rw->lock), "r" (0x80000000) in arch_write_lock()
162 prefetchw(&rw->lock); in arch_write_trylock()
170 : "r" (&rw->lock), "r" (0x80000000) in arch_write_trylock()
189 : "r" (&rw->lock), "r" (0) in arch_write_unlock()
211 prefetchw(&rw->lock); in arch_read_lock()
221 : "r" (&rw->lock) in arch_read_lock()
233 prefetchw(&rw->lock); in arch_read_unlock()
241 : "r" (&rw->lock) in arch_read_unlock()
252 prefetchw(&rw->lock); in arch_read_trylock()
[all …]
/linux-6.3-rc2/arch/sparc/include/asm/
A Dspinlock_32.h79 static inline void __arch_read_lock(arch_rwlock_t *rw) in __arch_read_lock() argument
82 lp = rw; in __arch_read_lock()
102 lp = rw; in __arch_read_unlock()
119 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock() argument
122 lp = rw; in arch_write_lock()
142 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock() argument
148 : "r" (&rw->lock) in arch_write_trylock()
152 val = rw->lock & ~0xff; in arch_write_trylock()
154 ((volatile u8*)&rw->lock)[3] = 0; in arch_write_trylock()
156 *(volatile u32*)&rw->lock = ~0U; in arch_write_trylock()
[all …]
/linux-6.3-rc2/arch/sparc/kernel/
A Dprocess_32.c134 rw->locals[0], rw->locals[1], rw->locals[2], rw->locals[3], in show_regs()
135 rw->locals[4], rw->locals[5], rw->locals[6], rw->locals[7]); in show_regs()
137 rw->ins[0], rw->ins[1], rw->ins[2], rw->ins[3], in show_regs()
138 rw->ins[4], rw->ins[5], rw->ins[6], rw->ins[7]); in show_regs()
149 struct reg_window32 *rw; in show_stack() local
165 rw = (struct reg_window32 *) fp; in show_stack()
166 pc = rw->ins[7]; in show_stack()
169 fp = rw->ins[6]; in show_stack()
372 struct reg_window32 *rw; local
382 pc = rw->ins[7];
[all …]
A Dprocess_64.c108 struct reg_window32 __user *rw; in show_regwindow32() local
132 struct reg_window __user *rw; in show_regwindow() local
206 struct reg_window *rw; in __global_reg_self() local
208 rw = (struct reg_window *) in __global_reg_self()
211 rp->i7 = rw->ins[7]; in __global_reg_self()
212 rw = (struct reg_window *) in __global_reg_self()
213 (rw->ins[6] + STACK_BIAS); in __global_reg_self()
215 rp->rpc = rw->ins[7]; in __global_reg_self()
661 struct reg_window *rw; in __get_wchan() local
673 pc = rw->ins[7]; in __get_wchan()
[all …]
/linux-6.3-rc2/io_uring/
A Drw.c50 rw->len = clen; in io_iov_compat_buffer_select_prep()
61 if (rw->len != 1) in io_iov_buffer_select_prep()
72 rw->len = iov.iov_len; in io_iov_buffer_select_prep()
158 return &rw->kiocb.ki_pos; in io_kiocb_update_pos()
166 rw->kiocb.ki_pos = 0; in io_kiocb_update_pos()
375 ret = io_import_fixed(ddir, iter, req->imu, rw->addr, rw->len); in __io_import_iovec()
382 sqe_len = rw->len; in __io_import_iovec()
391 rw->len = sqe_len; in __io_import_iovec()
480 rw->addr += nr; in loop_rw_iter()
481 rw->len -= nr; in loop_rw_iter()
[all …]
/linux-6.3-rc2/kernel/trace/
A Dtrace_mmiotrace.c169 struct mmiotrace_rw *rw; in mmio_print_rw() local
176 rw = &field->rw; in mmio_print_rw()
178 switch (rw->opcode) { in mmio_print_rw()
182 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw()
184 rw->value, rw->pc, 0); in mmio_print_rw()
189 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw()
191 rw->value, rw->pc, 0); in mmio_print_rw()
199 (rw->value >> 16) & 0xff, (rw->value >> 8) & 0xff, in mmio_print_rw()
200 (rw->value >> 0) & 0xff, rw->pc, 0); in mmio_print_rw()
295 struct mmiotrace_rw *rw) in __trace_mmiotrace_rw() argument
[all …]
/linux-6.3-rc2/Documentation/hwmon/
A Damc6821.rst30 temp1_min rw "
31 temp1_max rw "
32 temp1_crit rw "
38 temp2_min rw "
39 temp2_max rw "
40 temp2_crit rw "
47 fan1_min rw "
48 fan1_max rw "
50 fan1_div rw Fan divisor can be either 2 or 4.
52 pwm1 rw pwm1
[all …]
A Dmax1668.rst35 temp1_max rw local temperature maximum threshold for alarm
37 temp1_min rw local temperature minimum threshold for alarm
40 temp2_max rw remote temperature 1 maximum threshold for alarm
42 temp2_min rw remote temperature 1 minimum threshold for alarm
45 temp3_max rw remote temperature 2 maximum threshold for alarm
47 temp3_min rw remote temperature 2 minimum threshold for alarm
55 temp4_max rw remote temperature 3 maximum threshold for alarm
57 temp4_min rw remote temperature 3 minimum threshold for alarm
60 temp5_max rw remote temperature 4 maximum threshold for alarm
62 temp5_min rw remote temperature 4 minimum threshold for alarm
/linux-6.3-rc2/drivers/block/xen-blkback/
A Dcommon.h408 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_32_req()
409 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_32_req()
410 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_32_req()
411 dst->u.rw.sector_number = src->u.rw.sector_number; in blkif_get_x86_32_req()
414 n = dst->u.rw.nr_segments; in blkif_get_x86_32_req()
416 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_32_req()
456 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_64_req()
457 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_64_req()
458 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_64_req()
459 dst->u.rw.sector_number = src->u.rw.sector_number; in blkif_get_x86_64_req()
[all …]
/linux-6.3-rc2/drivers/pci/
A Dpci-bridge-emul.c43 u32 rw; member
92 .rw = GENMASK(24, 0),
111 .rw = GENMASK(31, 20) | GENMASK(15, 4),
119 .rw = GENMASK(31, 20) | GENMASK(15, 4),
126 .rw = ~0,
130 .rw = ~0,
134 .rw = ~0,
157 .rw = (GENMASK(7, 0) |
199 .rw = GENMASK(14, 0),
243 .rw = GENMASK(14, 0),
[all …]
/linux-6.3-rc2/drivers/firmware/arm_scmi/
A Draw_mode.c352 rw->cinfo = cinfo; in scmi_xfer_raw_waiter_get()
353 rw->xfer = xfer; in scmi_xfer_raw_waiter_get()
357 return rw; in scmi_xfer_raw_waiter_get()
363 if (rw->xfer) { in scmi_xfer_raw_waiter_put()
365 rw->xfer = NULL; in scmi_xfer_raw_waiter_put()
406 return rw; in scmi_xfer_raw_waiter_dequeue()
451 if (!rw) in scmi_xfer_raw_worker()
455 xfer = rw->xfer; in scmi_xfer_raw_worker()
630 if (!rw) { in scmi_do_xfer_raw_start()
1063 rw = devm_kcalloc(dev, raw->tx_max_msg, sizeof(*rw), GFP_KERNEL); in scmi_xfer_raw_worker_init()
[all …]
/linux-6.3-rc2/arch/s390/lib/
A Dspinlock.c269 void arch_read_lock_wait(arch_rwlock_t *rw) in arch_read_lock_wait() argument
272 while (READ_ONCE(rw->cnts) & 0x10000) in arch_read_lock_wait()
278 __atomic_add_const(-1, &rw->cnts); in arch_read_lock_wait()
280 arch_spin_lock(&rw->wait); in arch_read_lock_wait()
282 __atomic_add_const(1, &rw->cnts); in arch_read_lock_wait()
284 while (READ_ONCE(rw->cnts) & 0x10000) in arch_read_lock_wait()
286 arch_spin_unlock(&rw->wait); in arch_read_lock_wait()
295 __atomic_add(0x20000, &rw->cnts); in arch_write_lock_wait()
298 arch_spin_lock(&rw->wait); in arch_write_lock_wait()
301 old = READ_ONCE(rw->cnts); in arch_write_lock_wait()
[all …]
/linux-6.3-rc2/Documentation/target/
A Dtcm_mod_builder.rst76 -rw-r--r-- 1 root root 282 2010-10-05 03:22 Kbuild
77 -rw-r--r-- 1 root root 171 2010-10-05 03:22 Kconfig
78 -rw-r--r-- 1 root root 49 2010-10-05 03:23 modules.order
79 -rw-r--r-- 1 root root 738 2010-10-05 03:22 tcm_nab5000_base.h
83 -rw-r--r-- 1 root root 5414 2010-10-05 03:22 tcm_nab5000_fabric.c
87 -rw-r--r-- 1 root root 401861 2010-10-05 03:23 tcm_nab5000.ko
88 -rw-r--r-- 1 root root 265 2010-10-05 03:23 .tcm_nab5000.ko.cmd
89 -rw-r--r-- 1 root root 459 2010-10-05 03:23 tcm_nab5000.mod.c
90 -rw-r--r-- 1 root root 23896 2010-10-05 03:23 tcm_nab5000.mod.o
92 -rw-r--r-- 1 root root 379022 2010-10-05 03:23 tcm_nab5000.o
[all …]
/linux-6.3-rc2/arch/ia64/include/asm/
A Dspinlock.h157 #define arch_read_lock(rw) \ argument
159 arch_rwlock_t *__read_lock_ptr = (rw); \
170 #define arch_read_unlock(rw) \ argument
172 arch_rwlock_t *__read_lock_ptr = (rw); \
205 #define arch_write_trylock(rw) \ argument
213 : "=r"(result) : "r"(rw) : "ar.ccv", "r29", "memory"); \
237 #define arch_write_trylock(rw) \ argument
241 ia64_val = ia64_cmpxchg4_acq((__u32 *)(rw), ia64_set_val, 0); \
/linux-6.3-rc2/Documentation/trace/coresight/
A Dcoresight-etm4x-reference.rst22 :File: ``mode`` (rw)
88 :File: ``addr_idx`` (rw)
101 :File: ``addr_range`` (rw)
137 :File: ``addr_start`` (rw)
149 :File: ``addr_stop`` (rw)
315 :File: ``bb_ctrl`` (rw)
411 :File: ``ctxid_masks`` (rw)
479 :File: ``res_idx`` (rw)
512 :File: ``event`` (rw)
526 :File: ``event_instren`` (rw)
[all …]
/linux-6.3-rc2/arch/riscv/include/asm/
A Dbarrier.h28 #define __smp_mb() RISCV_FENCE(rw,rw)
35 RISCV_FENCE(rw,w); \
43 RISCV_FENCE(r,rw); \
/linux-6.3-rc2/Documentation/translations/zh_CN/PCI/
A Dsysfs-pci.rst49 config PCI配置空间 (binary, rw)
51 enable 设备是否被启用 (ascii, rw)
56 resource0..N PCI资源N,如果存在的话 (binary, mmap, rw\ [1]_)
68 rw - 文件是可读和可写的
75 .. [1] rw 仅适用于 IORESOURCE_IO(I/O 端口)区域

Completed in 70 milliseconds

12345678910>>...18