/linux/arch/m68k/include/asm/ |
A D | bitops.h | 59 #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 68 #define __set_bit(nr, vaddr) set_bit(nr, vaddr) argument 108 #define __clear_bit(nr, vaddr) clear_bit(nr, vaddr) argument 148 #define __change_bit(nr, vaddr) change_bit(nr, vaddr) argument 157 static inline int bset_reg_test_and_set_bit(int nr, in bset_reg_test_and_set_bit() 170 static inline int bset_mem_test_and_set_bit(int nr, in bset_mem_test_and_set_bit() 182 static inline int bfset_mem_test_and_set_bit(int nr, in bfset_mem_test_and_set_bit() 207 static inline int bclr_reg_test_and_clear_bit(int nr, in bclr_reg_test_and_clear_bit() [all …]
|
/linux/arch/x86/include/asm/ |
A D | bitops.h | 49 #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(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(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() 117 arch___change_bit(long nr, volatile unsigned long *addr) in arch___change_bit() 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() [all …]
|
A D | sync_bitops.h | 32 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/arch/s390/include/asm/ |
A D | bitops.h | 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() 124 static inline void arch___clear_bit(unsigned long nr, in arch___clear_bit() 133 static inline void arch___change_bit(unsigned long nr, in arch___change_bit() 142 static inline bool arch___test_and_set_bit(unsigned long nr, in arch___test_and_set_bit() 178 static inline bool arch_test_bit(unsigned long nr, in arch_test_bit() 195 static inline void arch_clear_bit_unlock(unsigned long nr, in arch_clear_bit_unlock() 237 static inline bool test_and_clear_bit_inv(unsigned long nr, in test_and_clear_bit_inv() [all …]
|
A D | ebcdic.h | 23 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/arch/hexagon/include/asm/ |
A D | bitops.h | 31 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() 130 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 135 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 140 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 161 static inline int __test_bit(int nr, const volatile unsigned long *addr) in __test_bit() [all …]
|
/linux/net/ncsi/ |
A D | ncsi-rsp.c | 22 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/arch/riscv/include/asm/ |
A D | bitops.h | 37 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument 49 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument 56 #define __test_and_op_bit(op, mod, nr, addr) \ argument 58 #define __op_bit(op, mod, nr, addr) \ argument 72 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 114 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 128 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 142 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() 156 unsigned long nr, volatile unsigned long *addr) in test_and_set_bit_lock() 169 unsigned long nr, volatile unsigned long *addr) in clear_bit_unlock() [all …]
|
/linux/drivers/hwmon/ |
A D | f75375s.c | 46 #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 D | lm85.c | 38 #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 D | lm93.c | 52 #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 …]
|
A D | emc6w201.c | 27 #define EMC6W201_REG_IN(nr) (0x20 + (nr)) argument 28 #define EMC6W201_REG_TEMP(nr) (0x26 + (nr)) argument 29 #define EMC6W201_REG_FAN(nr) (0x2C + (nr) * 2) argument 33 #define EMC6W201_REG_IN_LOW(nr) (0x4A + (nr) * 2) argument 126 int nr; in emc6w201_update_device() local 184 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_show() local 196 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_store() local 223 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show() local 235 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store() local 262 int nr = to_sensor_dev_attr_2(devattr)->nr; in fan_show() local [all …]
|
/linux/arch/sh/include/asm/ |
A D | bitops-op32.h | 12 #define BYTE_NUMBER(nr) ((nr ^ BITOP_LE_SWIZZLE) / BITS_PER_BYTE) argument 13 #define BYTE_OFFSET(nr) ((nr ^ BITOP_LE_SWIZZLE) % BITS_PER_BYTE) argument 15 #define BYTE_NUMBER(nr) ((nr) / BITS_PER_BYTE) argument 16 #define BYTE_OFFSET(nr) ((nr) % BITS_PER_BYTE) argument 19 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 36 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 63 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 90 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() 109 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() 120 static inline int __test_and_change_bit(int nr, in __test_and_change_bit() [all …]
|
/linux/include/uapi/asm-generic/ |
A D | ioctl.h | 69 #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/include/asm-generic/bitops/ |
A D | instrumented-non-atomic.h | 25 static inline void __set_bit(long nr, volatile unsigned long *addr) in __set_bit() 40 static inline void __clear_bit(long nr, volatile unsigned long *addr) in __clear_bit() 55 static inline void __change_bit(long nr, volatile unsigned long *addr) in __change_bit() 61 static inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop() 93 static inline bool __test_and_set_bit(long nr, volatile unsigned long *addr) in __test_and_set_bit() 107 static inline bool __test_and_clear_bit(long nr, volatile unsigned long *addr) in __test_and_clear_bit() 121 static inline bool __test_and_change_bit(long nr, volatile unsigned long *addr) in __test_and_change_bit() 132 static inline bool test_bit(long nr, const volatile unsigned long *addr) in test_bit()
|
A D | instrumented-atomic.h | 26 static inline void set_bit(long nr, volatile unsigned long *addr) in set_bit() 39 static inline void clear_bit(long nr, volatile unsigned long *addr) in clear_bit() 55 static inline void change_bit(long nr, volatile unsigned long *addr) in change_bit() 68 static inline bool test_and_set_bit(long nr, volatile unsigned long *addr) in test_and_set_bit() 81 static inline bool test_and_clear_bit(long nr, volatile unsigned long *addr) in test_and_clear_bit() 94 static inline bool test_and_change_bit(long nr, volatile unsigned long *addr) in test_and_change_bit()
|
A D | le.h | 83 static inline int test_bit_le(int nr, const void *addr) in test_bit_le() 88 static inline void set_bit_le(int nr, void *addr) in set_bit_le() 93 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le() 98 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le() 103 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le() 108 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le() 113 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le() 118 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le() 123 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
|
/linux/net/netrom/ |
A D | nr_timer.c | 37 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 153 struct nr_sock *nr = from_timer(nr, t, t2timer); in nr_t2timer_expiry() local 167 struct nr_sock *nr = from_timer(nr, t, t4timer); in nr_t4timer_expiry() local 178 struct nr_sock *nr = from_timer(nr, t, idletimer); in nr_idletimer_expiry() local 207 struct nr_sock *nr = from_timer(nr, t, t1timer); in nr_t1timer_expiry() local
|
/linux/arch/alpha/include/asm/ |
A D | bitops.h | 29 set_bit(unsigned long nr, volatile void * addr) in set_bit() 50 __set_bit(unsigned long nr, volatile void * addr) in __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 __clear_bit(unsigned long nr, volatile void * addr) in __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() 122 __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() 190 __test_and_set_bit(unsigned long nr, volatile void * addr) in __test_and_set_bit() [all …]
|
/linux/arch/arm/include/asm/ |
A D | sync_bitops.h | 17 #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/arch/arm64/include/asm/ |
A D | sync_bitops.h | 18 #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/arch/ia64/include/asm/ |
A D | bitops.h | 40 set_bit (int nr, volatile void *addr) in set_bit() 65 __set_bit (int nr, volatile void *addr) in __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 __clear_bit (int nr, volatile void *addr) in __clear_bit() 162 change_bit (int nr, volatile void *addr) in change_bit() 187 __change_bit (int nr, volatile void *addr) in __change_bit() 201 test_and_set_bit (int nr, volatile void *addr) in test_and_set_bit() 324 __test_and_change_bit (int nr, void *addr) in __test_and_change_bit() [all …]
|
/linux/arch/alpha/include/uapi/asm/ |
A D | ioctl.h | 40 #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/arch/sparc/include/uapi/asm/ |
A D | ioctl.h | 39 #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/tools/include/asm-generic/bitops/ |
A D | non-atomic.h | 16 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 24 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 41 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 58 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() 77 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() 88 static inline int __test_and_change_bit(int nr, in __test_and_change_bit() 104 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
|