/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | bitops.h | 31 static inline void bset_reg_set_bit(int nr, volatile unsigned long *vaddr) in bset_reg_set_bit() argument 33 char *p = (char *)vaddr + (nr ^ 31) / 8; in bset_reg_set_bit() 37 : "a" (p), "di" (nr & 7) in bset_reg_set_bit() 41 static inline void bset_mem_set_bit(int nr, volatile unsigned long *vaddr) in bset_mem_set_bit() argument 43 char *p = (char *)vaddr + (nr ^ 31) / 8; in bset_mem_set_bit() 47 : "di" (nr & 7)); in bset_mem_set_bit() 50 static inline void bfset_mem_set_bit(int nr, volatile unsigned long *vaddr) in bfset_mem_set_bit() argument 54 : "d" (nr ^ 31), "o" (*vaddr) in bfset_mem_set_bit() 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 [all …]
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | bitops.h | 45 __bitops_word(unsigned long nr, volatile unsigned long *ptr) in __bitops_word() argument 49 addr = (unsigned long)ptr + ((nr ^ (nr & (BITS_PER_LONG - 1))) >> 3); in __bitops_word() 54 __bitops_byte(unsigned long nr, volatile unsigned long *ptr) in __bitops_byte() argument 56 return ((unsigned char *)ptr) + ((nr ^ (BITS_PER_LONG - 8)) >> 3); in __bitops_byte() 59 static __always_inline void arch_set_bit(unsigned long nr, volatile unsigned long *ptr) in arch_set_bit() argument 61 unsigned long *addr = __bitops_word(nr, ptr); in arch_set_bit() 65 if (__builtin_constant_p(nr)) { in arch_set_bit() 66 unsigned char *caddr = __bitops_byte(nr, ptr); in arch_set_bit() 71 : "i" (1 << (nr & 7)) in arch_set_bit() 76 mask = 1UL << (nr & (BITS_PER_LONG - 1)); in arch_set_bit() [all …]
|
D | facility.h | 18 static inline void __set_facility(unsigned long nr, void *facilities) in __set_facility() argument 22 if (nr >= MAX_FACILITY_BIT) in __set_facility() 24 ptr[nr >> 3] |= 0x80 >> (nr & 7); in __set_facility() 27 static inline void __clear_facility(unsigned long nr, void *facilities) in __clear_facility() argument 31 if (nr >= MAX_FACILITY_BIT) in __clear_facility() 33 ptr[nr >> 3] &= ~(0x80 >> (nr & 7)); in __clear_facility() 36 static inline int __test_facility(unsigned long nr, void *facilities) in __test_facility() argument 40 if (nr >= MAX_FACILITY_BIT) in __test_facility() 42 ptr = (unsigned char *) facilities + (nr >> 3); in __test_facility() 43 return (*ptr & (0x80 >> (nr & 7))) != 0; in __test_facility() [all …]
|
D | kvm_para.h | 27 static inline long __kvm_hypercall0(unsigned long nr) in __kvm_hypercall0() argument 29 register unsigned long __nr asm("1") = nr; in __kvm_hypercall0() 37 static inline long kvm_hypercall0(unsigned long nr) in kvm_hypercall0() argument 40 return __kvm_hypercall0(nr); in kvm_hypercall0() 43 static inline long __kvm_hypercall1(unsigned long nr, unsigned long p1) in __kvm_hypercall1() argument 45 register unsigned long __nr asm("1") = nr; in __kvm_hypercall1() 54 static inline long kvm_hypercall1(unsigned long nr, unsigned long p1) in kvm_hypercall1() argument 57 return __kvm_hypercall1(nr, p1); in kvm_hypercall1() 60 static inline long __kvm_hypercall2(unsigned long nr, unsigned long p1, in __kvm_hypercall2() argument 63 register unsigned long __nr asm("1") = nr; in __kvm_hypercall2() [all …]
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
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() argument 21 if (__builtin_constant_p(nr)) { in __set_bit() 25 : "i" (BYTE_OFFSET(nr)), "i" (BYTE_NUMBER(nr)) in __set_bit() 29 unsigned long mask = BIT_MASK(nr); in __set_bit() 30 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit() 36 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() argument [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | bitops.h | 48 #define CONST_MASK_ADDR(nr, addr) WBYTE_ADDR((void *)(addr) + ((nr)>>3)) argument 49 #define CONST_MASK(nr) (1 << ((nr) & 7)) argument 52 arch_set_bit(long nr, volatile unsigned long *addr) in arch_set_bit() argument 54 if (__builtin_constant_p(nr)) { in arch_set_bit() 56 : CONST_MASK_ADDR(nr, addr) in arch_set_bit() 57 : "iq" (CONST_MASK(nr)) in arch_set_bit() 61 : : RLONG_ADDR(addr), "Ir" (nr) : "memory"); in arch_set_bit() 66 arch___set_bit(long nr, volatile unsigned long *addr) in arch___set_bit() argument 68 asm volatile(__ASM_SIZE(bts) " %1,%0" : : ADDR, "Ir" (nr) : "memory"); in arch___set_bit() 72 arch_clear_bit(long nr, volatile unsigned long *addr) in arch_clear_bit() argument [all …]
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | f75375s.c | 46 #define F75375_REG_VOLT(nr) (0x10 + (nr)) argument 47 #define F75375_REG_VOLT_HIGH(nr) (0x20 + (nr) * 2) argument 48 #define F75375_REG_VOLT_LOW(nr) (0x21 + (nr) * 2) argument 50 #define F75375_REG_TEMP(nr) (0x14 + (nr)) argument 51 #define F75387_REG_TEMP11_LSB(nr) (0x1a + (nr)) argument 52 #define F75375_REG_TEMP_HIGH(nr) (0x28 + (nr) * 2) argument 53 #define F75375_REG_TEMP_HYST(nr) (0x29 + (nr) * 2) argument 55 #define F75375_REG_FAN(nr) (0x16 + (nr) * 2) argument 56 #define F75375_REG_FAN_MIN(nr) (0x2C + (nr) * 2) argument 57 #define F75375_REG_FAN_FULL(nr) (0x70 + (nr) * 0x10) argument [all …]
|
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 34 #define EMC6W201_REG_IN_HIGH(nr) (0x4B + (nr) * 2) argument 35 #define EMC6W201_REG_TEMP_LOW(nr) (0x56 + (nr) * 2) argument 36 #define EMC6W201_REG_TEMP_HIGH(nr) (0x57 + (nr) * 2) argument 37 #define EMC6W201_REG_FAN_MIN(nr) (0x62 + (nr) * 2) argument 126 int nr; in emc6w201_update_device() local 131 for (nr = 0; nr < 6; nr++) { in emc6w201_update_device() [all …]
|
/kernel/linux/linux-5.10/net/netrom/ |
D | nr_timer.c | 37 struct nr_sock *nr = nr_sk(sk); in nr_init_timers() local 39 timer_setup(&nr->t1timer, nr_t1timer_expiry, 0); in nr_init_timers() 40 timer_setup(&nr->t2timer, nr_t2timer_expiry, 0); in nr_init_timers() 41 timer_setup(&nr->t4timer, nr_t4timer_expiry, 0); in nr_init_timers() 42 timer_setup(&nr->idletimer, nr_idletimer_expiry, 0); in nr_init_timers() 50 struct nr_sock *nr = nr_sk(sk); in nr_start_t1timer() local 52 sk_reset_timer(sk, &nr->t1timer, jiffies + nr->t1); in nr_start_t1timer() 57 struct nr_sock *nr = nr_sk(sk); in nr_start_t2timer() local 59 sk_reset_timer(sk, &nr->t2timer, jiffies + nr->t2); in nr_start_t2timer() 64 struct nr_sock *nr = nr_sk(sk); in nr_start_t4timer() local [all …]
|
D | nr_out.c | 81 struct nr_sock *nr = nr_sk(sk); in nr_send_iframe() local 86 skb->data[2] = nr->vs; in nr_send_iframe() 87 skb->data[3] = nr->vr; in nr_send_iframe() 89 if (nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_iframe() 100 struct nr_sock *nr = nr_sk(sk); in nr_send_nak_frame() local 102 if ((skb = skb_peek(&nr->ack_queue)) == NULL) in nr_send_nak_frame() 108 skbn->data[2] = nr->va; in nr_send_nak_frame() 109 skbn->data[3] = nr->vr; in nr_send_nak_frame() 111 if (nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_nak_frame() 116 nr->condition &= ~NR_COND_ACK_PENDING; in nr_send_nak_frame() [all …]
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | bitops.h | 31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() argument 43 : "r" (addr), "r" (nr) in test_and_clear_bit() 55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() argument 67 : "r" (addr), "r" (nr) in test_and_set_bit() 81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() argument 93 : "r" (addr), "r" (nr) in test_and_change_bit() 106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() argument 108 test_and_clear_bit(nr, addr); in clear_bit() 111 static inline void set_bit(int nr, volatile void *addr) in set_bit() argument 113 test_and_set_bit(nr, addr); in set_bit() [all …]
|
/kernel/linux/linux-5.10/include/asm-generic/bitops/ |
D | instrumented-non-atomic.h | 25 static inline void __set_bit(long nr, volatile unsigned long *addr) in __set_bit() argument 27 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in __set_bit() 28 arch___set_bit(nr, addr); in __set_bit() 40 static inline void __clear_bit(long nr, volatile unsigned long *addr) in __clear_bit() argument 42 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in __clear_bit() 43 arch___clear_bit(nr, addr); in __clear_bit() 55 static inline void __change_bit(long nr, volatile unsigned long *addr) in __change_bit() argument 57 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in __change_bit() 58 arch___change_bit(nr, addr); in __change_bit() 61 static inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop() argument [all …]
|
D | non-atomic.h | 16 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() argument 18 unsigned long mask = BIT_MASK(nr); in __set_bit() 19 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit() 24 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() argument 26 unsigned long mask = BIT_MASK(nr); in __clear_bit() 27 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __clear_bit() 41 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() argument 43 unsigned long mask = BIT_MASK(nr); in __change_bit() 44 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit() 58 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() argument [all …]
|
D | instrumented-atomic.h | 26 static inline void set_bit(long nr, volatile unsigned long *addr) in set_bit() argument 28 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in set_bit() 29 arch_set_bit(nr, addr); in set_bit() 39 static inline void clear_bit(long nr, volatile unsigned long *addr) in clear_bit() argument 41 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in clear_bit() 42 arch_clear_bit(nr, addr); in clear_bit() 55 static inline void change_bit(long nr, volatile unsigned long *addr) in change_bit() argument 57 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in change_bit() 58 arch_change_bit(nr, addr); in change_bit() 68 static inline bool test_and_set_bit(long nr, volatile unsigned long *addr) in test_and_set_bit() argument [all …]
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | bitops.h | 29 set_bit(unsigned long nr, volatile void * addr) in set_bit() argument 32 int *m = ((int *) addr) + (nr >> 5); in set_bit() 43 :"Ir" (1UL << (nr & 31)), "m" (*m)); in set_bit() 50 __set_bit(unsigned long nr, volatile void * addr) in __set_bit() argument 52 int *m = ((int *) addr) + (nr >> 5); in __set_bit() 54 *m |= 1 << (nr & 31); in __set_bit() 58 clear_bit(unsigned long nr, volatile void * addr) in clear_bit() argument 61 int *m = ((int *) addr) + (nr >> 5); in clear_bit() 72 :"Ir" (1UL << (nr & 31)), "m" (*m)); in clear_bit() 76 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock() argument [all …]
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | bitops.h | 37 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument 40 __mask = BIT_MASK(nr); \ 43 : "=r" (__res), "+A" (addr[BIT_WORD(nr)]) \ 49 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument 52 : "+A" (addr[BIT_WORD(nr)]) \ 53 : "r" (mod(BIT_MASK(nr))) \ 56 #define __test_and_op_bit(op, mod, nr, addr) \ argument 57 __test_and_op_bit_ord(op, mod, nr, addr, .aqrl) 58 #define __op_bit(op, mod, nr, addr) \ argument 59 __op_bit_ord(op, mod, nr, addr, ) [all …]
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | ioctl.c | 21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd() argument 41 if (nr < strarray__ioctl_tty_cmd.nr_entries && strarray__ioctl_tty_cmd.entries[nr] != NULL) in ioctl__scnprintf_tty_cmd() 42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); in ioctl__scnprintf_tty_cmd() 44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd() 47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd() argument 52 if (nr < strarray__drm_ioctl_cmds.nr_entries && strarray__drm_ioctl_cmds.entries[nr] != NULL) in ioctl__scnprintf_drm_cmd() 53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_drm_cmd() 55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd() 58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd() argument 63 …if (nr < strarray__sndrv_pcm_ioctl_cmds.nr_entries && strarray__sndrv_pcm_ioctl_cmds.entries[nr] !… in ioctl__scnprintf_sndrv_pcm_cmd() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/gpio/ |
D | gpio-mockup-sysfs.sh | 7 active_low_sysfs=`cat $GPIO_SYSFS/gpio$nr/active_low` 8 val_sysfs=`cat $GPIO_SYSFS/gpio$nr/value` 9 dir_sysfs=`cat $GPIO_SYSFS/gpio$nr/direction` 11 gpio_this_debugfs=`cat $GPIO_DEBUGFS |grep "gpio-$nr" | sed "s/(.*)//g"` 38 nr=$1 43 echo $direction > $GPIO_SYSFS/gpio$nr/direction 44 echo $active_low > $GPIO_SYSFS/gpio$nr/active_low 46 echo $value > $GPIO_SYSFS/gpio$nr/value 48 is_consistent $nr 53 nr=$1 [all …]
|
/kernel/linux/linux-5.10/arch/h8300/include/asm/ |
D | bitops.h | 41 static inline void FNAME(int nr, volatile unsigned long *addr) \ 44 unsigned char bit = nr & 7; \ 46 b_addr = (unsigned char *)addr + ((nr >> 3) ^ 3); \ 47 if (__builtin_constant_p(nr)) { \ 48 __asm__(OP " %1,%0" : "+WU"(*b_addr) : "i"(nr & 7)); \ 57 #define __set_bit(nr, addr) set_bit((nr), (addr)) argument 58 #define __clear_bit(nr, addr) clear_bit((nr), (addr)) argument 59 #define __change_bit(nr, addr) change_bit((nr), (addr)) argument 63 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() argument 67 unsigned char bit = nr & 7; in test_bit() [all …]
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | bitops.h | 40 set_bit (int nr, volatile void *addr) in set_bit() argument 46 m = (volatile __u32 *) addr + (nr >> 5); in set_bit() 47 bit = 1 << (nr & 31); in set_bit() 65 __set_bit (int nr, volatile void *addr) in __set_bit() argument 67 *((__u32 *) addr + (nr >> 5)) |= (1 << (nr & 31)); in __set_bit() 81 clear_bit (int nr, volatile void *addr) in clear_bit() argument 87 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit() 88 mask = ~(1 << (nr & 31)); in clear_bit() 105 clear_bit_unlock (int nr, volatile void *addr) in clear_bit_unlock() argument 111 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit_unlock() [all …]
|
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/ |
D | non-atomic.h | 16 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() argument 18 unsigned long mask = BIT_MASK(nr); in __set_bit() 19 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit() 24 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() argument 26 unsigned long mask = BIT_MASK(nr); in __clear_bit() 27 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __clear_bit() 41 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() argument 43 unsigned long mask = BIT_MASK(nr); in __change_bit() 44 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit() 58 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() argument [all …]
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | ioctl.h | 69 #define _IOC(dir,type,nr,size) \ argument 72 ((nr) << _IOC_NRSHIFT) | \ 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 88 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_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 [all …]
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | ioctl.h | 33 #define _IOC(dir,type,nr,size) \ argument 36 ((nr) << _IOC_NRSHIFT) | \ 41 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 42 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 43 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 44 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 45 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 46 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 47 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument 48 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument [all …]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | ioctl.h | 46 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _I… argument 48 #define _IO(type,nr) _IOC(_IOC_NONE, (type), (nr), 0) argument 49 #define _IOR(type,nr,size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument 50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument 51 #define _IOWR(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument 52 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument 53 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument 54 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) argument 55 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument 56 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument [all …]
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | bitops.h | 69 void __mips_set_bit(unsigned long nr, volatile unsigned long *addr); 70 void __mips_clear_bit(unsigned long nr, volatile unsigned long *addr); 71 void __mips_change_bit(unsigned long nr, volatile unsigned long *addr); 72 int __mips_test_and_set_bit_lock(unsigned long nr, 74 int __mips_test_and_clear_bit(unsigned long nr, 76 int __mips_test_and_change_bit(unsigned long nr, 90 static inline void set_bit(unsigned long nr, volatile unsigned long *addr) in set_bit() argument 92 volatile unsigned long *m = &addr[BIT_WORD(nr)]; in set_bit() 93 int bit = nr % BITS_PER_LONG; in set_bit() 96 __mips_set_bit(nr, addr); in set_bit() [all …]
|