Home
last modified time | relevance | path

Searched defs:nr (Results 1 – 25 of 1001) sorted by relevance

12345678910>>...41

/linux-6.3-rc2/arch/m68k/include/asm/
A Dbitops.h59 #define set_bit(nr, vaddr) bset_reg_set_bit(nr, vaddr) argument
61 #define set_bit(nr, vaddr) bset_mem_set_bit(nr, vaddr) argument
63 #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ argument
163 static inline int bset_reg_test_and_set_bit(int nr, in bset_reg_test_and_set_bit()
176 static inline int bset_mem_test_and_set_bit(int nr, in bset_mem_test_and_set_bit()
188 static inline int bfset_mem_test_and_set_bit(int nr, in bfset_mem_test_and_set_bit()
216 static inline int bclr_reg_test_and_clear_bit(int nr, in bclr_reg_test_and_clear_bit()
229 static inline int bclr_mem_test_and_clear_bit(int nr, in bclr_mem_test_and_clear_bit()
241 static inline int bfclr_mem_test_and_clear_bit(int nr, in bfclr_mem_test_and_clear_bit()
269 static inline int bchg_reg_test_and_change_bit(int nr, in bchg_reg_test_and_change_bit()
[all …]
/linux-6.3-rc2/arch/x86/include/asm/
A Dbitops.h49 #define CONST_MASK(nr) (1 << ((nr) & 7)) argument
52 arch_set_bit(long nr, volatile unsigned long *addr) in arch_set_bit()
66 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
72 arch_clear_bit(long nr, volatile unsigned long *addr) in arch_clear_bit()
85 arch_clear_bit_unlock(long nr, volatile unsigned long *addr) in arch_clear_bit_unlock()
92 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit()
111 arch___clear_bit_unlock(long nr, volatile unsigned long *addr) in arch___clear_bit_unlock()
123 arch_change_bit(long nr, volatile unsigned long *addr) in arch_change_bit()
136 arch_test_and_set_bit(long nr, volatile unsigned long *addr) in arch_test_and_set_bit()
160 arch_test_and_clear_bit(long nr, volatile unsigned long *addr) in arch_test_and_clear_bit()
[all …]
A Dsync_bitops.h32 static inline void sync_set_bit(long nr, volatile unsigned long *addr) in sync_set_bit()
50 static inline void sync_clear_bit(long nr, volatile unsigned long *addr) in sync_clear_bit()
67 static inline void sync_change_bit(long nr, volatile unsigned long *addr) in sync_change_bit()
83 static inline bool sync_test_and_set_bit(long nr, volatile unsigned long *addr) in sync_test_and_set_bit()
96 static inline int sync_test_and_clear_bit(long nr, volatile unsigned long *addr) in sync_test_and_clear_bit()
109 static inline int sync_test_and_change_bit(long nr, volatile unsigned long *addr) in sync_test_and_change_bit()
114 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
/linux-6.3-rc2/arch/s390/include/asm/
A Dbitops.h45 __bitops_word(unsigned long nr, const volatile unsigned long *ptr) in __bitops_word()
53 static inline unsigned long __bitops_mask(unsigned long nr) in __bitops_mask()
74 static __always_inline void arch_change_bit(unsigned long nr, in arch_change_bit()
83 static inline bool arch_test_and_set_bit(unsigned long nr, in arch_test_and_set_bit()
94 static inline bool arch_test_and_clear_bit(unsigned long nr, in arch_test_and_clear_bit()
105 static inline bool arch_test_and_change_bit(unsigned long nr, in arch_test_and_change_bit()
117 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
190 static inline void arch_clear_bit_unlock(unsigned long nr, in arch_clear_bit_unlock()
197 static inline void arch___clear_bit_unlock(unsigned long nr, in arch___clear_bit_unlock()
232 static inline bool test_and_clear_bit_inv(unsigned long nr, in test_and_clear_bit_inv()
[all …]
A Debcdic.h23 codepage_convert(const __u8 *codepage, volatile char *addr, unsigned long nr) in codepage_convert()
39 #define ASCEBC(addr,nr) codepage_convert(_ascebc, addr, nr) argument
40 #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr) argument
41 #define ASCEBC_500(addr,nr) codepage_convert(_ascebc_500, addr, nr) argument
42 #define EBCASC_500(addr,nr) codepage_convert(_ebcasc_500, addr, nr) argument
43 #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr) argument
44 #define EBC_TOUPPER(addr,nr) codepage_convert(_ebc_toupper, addr, nr) argument
/linux-6.3-rc2/net/ncsi/
A Dncsi-rsp.c22 static int ncsi_validate_rsp_pkt(struct ncsi_request *nr, in ncsi_validate_rsp_pkt()
76 static int ncsi_rsp_handler_cis(struct ncsi_request *nr) in ncsi_rsp_handler_cis()
97 static int ncsi_rsp_handler_sp(struct ncsi_request *nr) in ncsi_rsp_handler_sp()
123 static int ncsi_rsp_handler_dp(struct ncsi_request *nr) in ncsi_rsp_handler_dp()
148 static int ncsi_rsp_handler_ec(struct ncsi_request *nr) in ncsi_rsp_handler_ec()
170 static int ncsi_rsp_handler_dc(struct ncsi_request *nr) in ncsi_rsp_handler_dc()
197 static int ncsi_rsp_handler_rc(struct ncsi_request *nr) in ncsi_rsp_handler_rc()
263 static int ncsi_rsp_handler_ae(struct ncsi_request *nr) in ncsi_rsp_handler_ae()
292 static int ncsi_rsp_handler_sl(struct ncsi_request *nr) in ncsi_rsp_handler_sl()
383 static int ncsi_rsp_handler_ev(struct ncsi_request *nr) in ncsi_rsp_handler_ev()
[all …]
/linux-6.3-rc2/arch/hexagon/include/asm/
A Dbitops.h31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit()
55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit()
81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit()
106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit()
111 static inline void set_bit(int nr, volatile void *addr) in set_bit()
116 static inline void change_bit(int nr, volatile void *addr) in change_bit()
131 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit()
137 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
143 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit()
156 arch___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_set_bit()
[all …]
/linux-6.3-rc2/drivers/hwmon/
A Df75375s.c46 #define F75375_REG_VOLT(nr) (0x10 + (nr)) argument
50 #define F75375_REG_TEMP(nr) (0x14 + (nr)) argument
55 #define F75375_REG_FAN(nr) (0x16 + (nr) * 2) argument
63 #define F75375_REG_FAN_B_SPEED(nr, step) \ argument
71 #define F75375_FAN_CTRL_LINEAR(nr) (4 + nr) argument
73 #define FAN_CTRL_MODE(nr) (4 + ((nr) * 2)) argument
75 #define F75387_FAN_MANU_MODE(nr) ((nr) * 4) argument
180 int nr; in f75375_update_device() local
287 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min() local
755 int nr; in f75375_init() local
[all …]
A Dlm85.c38 #define LM85_REG_IN(nr) (0x20 + (nr)) argument
39 #define LM85_REG_IN_MIN(nr) (0x44 + (nr) * 2) argument
40 #define LM85_REG_IN_MAX(nr) (0x45 + (nr) * 2) argument
42 #define LM85_REG_TEMP(nr) (0x25 + (nr)) argument
47 #define LM85_REG_FAN(nr) (0x28 + (nr) * 2) argument
48 #define LM85_REG_FAN_MIN(nr) (0x54 + (nr) * 2) argument
50 #define LM85_REG_PWM(nr) (0x30 + (nr)) argument
555 int nr = to_sensor_dev_attr(attr)->index; in fan_show() local
563 int nr = to_sensor_dev_attr(attr)->index; in fan_min_show() local
572 int nr = to_sensor_dev_attr(attr)->index; in fan_min_store() local
[all …]
A Dlm93.c52 #define LM93_REG_IN(nr) (0x56 + (nr)) argument
53 #define LM93_REG_IN_MIN(nr) (0x90 + (nr) * 2) argument
54 #define LM93_REG_IN_MAX(nr) (0x91 + (nr) * 2) argument
57 #define LM93_REG_TEMP(nr) (0x50 + (nr)) argument
62 #define LM93_REG_BOOST(nr) (0x80 + (nr)) argument
70 #define LM93_REG_FAN(nr) (0x6e + (nr) * 2) argument
84 #define LM93_REG_VID(nr) (0x6c + (nr)) argument
523 int nr, int mode) in LM93_AUTO_BOOST_HYST_TO_REG()
1446 int nr = s_attr->index; in temp_auto_offset_show() local
1460 int nr = s_attr->index; in temp_auto_offset_store() local
[all …]
/linux-6.3-rc2/arch/riscv/include/asm/
A Dbitops.h36 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument
48 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument
55 #define __test_and_op_bit(op, mod, nr, addr) \ argument
57 #define __op_bit(op, mod, nr, addr) \ argument
71 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit()
113 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit()
127 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
141 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit()
155 unsigned long nr, volatile unsigned long *addr) in test_and_set_bit_lock()
168 unsigned long nr, volatile unsigned long *addr) in clear_bit_unlock()
[all …]
/linux-6.3-rc2/include/asm-generic/bitops/
A Dinstrumented-non-atomic.h26 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit()
42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit()
58 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit()
64 static __always_inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop()
97 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit()
112 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit()
127 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit()
139 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit()
151 _test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in _test_bit_acquire()
A Dle.h19 static inline int test_bit_le(int nr, const void *addr) in test_bit_le()
24 static inline void set_bit_le(int nr, void *addr) in set_bit_le()
29 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le()
34 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le()
39 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le()
44 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le()
49 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le()
54 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le()
59 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
A Dgeneric-non-atomic.h28 generic___set_bit(unsigned long nr, volatile unsigned long *addr) in generic___set_bit()
37 generic___clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___clear_bit()
55 generic___change_bit(unsigned long nr, volatile unsigned long *addr) in generic___change_bit()
73 generic___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_set_bit()
93 generic___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_clear_bit()
105 generic___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_change_bit()
121 generic_test_bit(unsigned long nr, const volatile unsigned long *addr) in generic_test_bit()
137 generic_test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in generic_test_bit_acquire()
166 const_test_bit(unsigned long nr, const volatile unsigned long *addr) in const_test_bit()
/linux-6.3-rc2/tools/include/linux/
A Dbitops.h18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) argument
19 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u64)) argument
20 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) argument
21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) argument
33 #define bitop(op, nr, addr) \ argument
36 #define __set_bit(nr, addr) bitop(___set_bit, nr, addr) argument
37 #define __clear_bit(nr, addr) bitop(___clear_bit, nr, addr) argument
38 #define __change_bit(nr, addr) bitop(___change_bit, nr, addr) argument
39 #define __test_and_set_bit(nr, addr) bitop(___test_and_set_bit, nr, addr) argument
40 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) argument
[all …]
/linux-6.3-rc2/include/linux/
A Dbitops.h19 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) argument
20 #define BITS_TO_U64(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u64)) argument
21 #define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) argument
48 #define bitop(op, nr, addr) \ argument
55 #define __set_bit(nr, addr) bitop(___set_bit, nr, addr) argument
56 #define __clear_bit(nr, addr) bitop(___clear_bit, nr, addr) argument
57 #define __change_bit(nr, addr) bitop(___change_bit, nr, addr) argument
61 #define test_bit(nr, addr) bitop(_test_bit, nr, addr) argument
302 #define __ptr_set_bit(nr, addr) \ argument
317 #define __ptr_clear_bit(nr, addr) \ argument
[all …]
/linux-6.3-rc2/include/uapi/asm-generic/
A Dioctl.h69 #define _IOC(dir,type,nr,size) \ argument
85 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
86 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
87 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
89 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
90 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
91 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
94 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
95 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
96 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
[all …]
/linux-6.3-rc2/arch/sh/include/asm/
A Dbitops-op32.h14 #define BYTE_NUMBER(nr) ((nr ^ BITOP_LE_SWIZZLE) / BITS_PER_BYTE) argument
15 #define BYTE_OFFSET(nr) ((nr ^ BITOP_LE_SWIZZLE) % BITS_PER_BYTE) argument
17 #define BYTE_NUMBER(nr) ((nr) / BITS_PER_BYTE) argument
18 #define BYTE_OFFSET(nr) ((nr) % BITS_PER_BYTE) argument
22 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
40 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit()
68 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit()
96 arch___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_set_bit()
116 arch___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_clear_bit()
128 arch___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_change_bit()
/linux-6.3-rc2/net/netrom/
A Dnr_timer.c37 struct nr_sock *nr = nr_sk(sk); in nr_init_timers() local
50 struct nr_sock *nr = nr_sk(sk); in nr_start_t1timer() local
57 struct nr_sock *nr = nr_sk(sk); in nr_start_t2timer() local
64 struct nr_sock *nr = nr_sk(sk); in nr_start_t4timer() local
71 struct nr_sock *nr = nr_sk(sk); in nr_start_idletimer() local
115 struct nr_sock *nr = nr_sk(sk); in nr_heartbeat_expiry() local
154 struct nr_sock *nr = from_timer(nr, t, t2timer); in nr_t2timer_expiry() local
168 struct nr_sock *nr = from_timer(nr, t, t4timer); in nr_t4timer_expiry() local
179 struct nr_sock *nr = from_timer(nr, t, idletimer); in nr_idletimer_expiry() local
208 struct nr_sock *nr = from_timer(nr, t, t1timer); in nr_t1timer_expiry() local
/linux-6.3-rc2/arch/alpha/include/asm/
A Dbitops.h29 set_bit(unsigned long nr, volatile void * addr) in set_bit()
50 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
58 clear_bit(unsigned long nr, volatile void * addr) in clear_bit()
76 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock()
86 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit()
94 __clear_bit_unlock(unsigned long nr, volatile void * addr) in __clear_bit_unlock()
101 change_bit(unsigned long nr, volatile void * addr) in change_bit()
130 test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit()
160 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock()
201 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit()
[all …]
/linux-6.3-rc2/arch/arm/include/asm/
A Dsync_bitops.h17 #define sync_set_bit(nr, p) _set_bit(nr, p) argument
18 #define sync_clear_bit(nr, p) _clear_bit(nr, p) argument
19 #define sync_change_bit(nr, p) _change_bit(nr, p) argument
20 #define sync_test_and_set_bit(nr, p) _test_and_set_bit(nr, p) argument
21 #define sync_test_and_clear_bit(nr, p) _test_and_clear_bit(nr, p) argument
22 #define sync_test_and_change_bit(nr, p) _test_and_change_bit(nr, p) argument
23 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
/linux-6.3-rc2/arch/arm64/include/asm/
A Dsync_bitops.h18 #define sync_set_bit(nr, p) set_bit(nr, p) argument
19 #define sync_clear_bit(nr, p) clear_bit(nr, p) argument
20 #define sync_change_bit(nr, p) change_bit(nr, p) argument
21 #define sync_test_and_set_bit(nr, p) test_and_set_bit(nr, p) argument
22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p) argument
23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p) argument
24 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
/linux-6.3-rc2/arch/alpha/include/uapi/asm/
A Dioctl.h40 #define _IOC(dir,type,nr,size) \ argument
48 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
49 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
51 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
54 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
57 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
/linux-6.3-rc2/arch/sparc/include/uapi/asm/
A Dioctl.h39 #define _IOC(dir,type,nr,size) \ argument
45 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
46 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
47 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
48 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
51 #define _IOC_DIR(nr) \ argument
55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument
57 #define _IOC_SIZE(nr) \ argument
/linux-6.3-rc2/arch/ia64/include/asm/
A Dbitops.h40 set_bit (int nr, volatile void *addr) in set_bit()
65 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
81 clear_bit (int nr, volatile void *addr) in clear_bit()
105 clear_bit_unlock (int nr, volatile void *addr) in clear_bit_unlock()
129 __clear_bit_unlock(int nr, void *addr) in __clear_bit_unlock()
147 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit()
162 change_bit (int nr, volatile void *addr) in change_bit()
187 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit()
201 test_and_set_bit (int nr, volatile void *addr) in test_and_set_bit()
255 test_and_clear_bit (int nr, volatile void *addr) in test_and_clear_bit()
[all …]

Completed in 46 milliseconds

12345678910>>...41