Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 20 of 20) sorted by relevance

/include/linux/
Dbitops.h27 #define for_each_set_bit(bit, addr, size) \ argument
28 for ((bit) = find_first_bit((addr), (size)); \
29 (bit) < (size); \
30 (bit) = find_next_bit((addr), (size), (bit) + 1))
33 #define for_each_set_bit_from(bit, addr, size) \ argument
34 for ((bit) = find_next_bit((addr), (size), (bit)); \
35 (bit) < (size); \
36 (bit) = find_next_bit((addr), (size), (bit) + 1))
38 #define for_each_clear_bit(bit, addr, size) \ argument
39 for ((bit) = find_first_zero_bit((addr), (size)); \
[all …]
Dwait.h60 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument
61 { .flags = word, .bit_nr = bit, }
841 #define DEFINE_WAIT_BIT(name, word, bit) \ argument
843 .key = __WAIT_BIT_KEY_INITIALIZER(word, bit), \
874 static inline int wait_on_bit(void *word, int bit, in wait_on_bit() argument
877 if (!test_bit(bit, word)) in wait_on_bit()
879 return out_of_line_wait_on_bit(word, bit, action, mode); in wait_on_bit()
898 static inline int wait_on_bit_lock(void *word, int bit, in wait_on_bit_lock() argument
901 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock()
903 return out_of_line_wait_on_bit_lock(word, bit, action, mode); in wait_on_bit_lock()
[all …]
Dhdlcdrv.h40 unsigned int bit) in hdlcdrv_add_bitbuffer() argument
46 buf->shreg |= (!!bit) << 7; in hdlcdrv_add_bitbuffer()
243 static inline void hdlcdrv_channelbit(struct hdlcdrv_state *s, unsigned int bit) in hdlcdrv_channelbit() argument
246 hdlcdrv_add_bitbuffer(&s->bitbuf_channel, bit); in hdlcdrv_channelbit()
Dbuffer_head.h84 #define BUFFER_FNS(bit, name) \ argument
87 set_bit(BH_##bit, &(bh)->b_state); \
91 clear_bit(BH_##bit, &(bh)->b_state); \
95 return test_bit(BH_##bit, &(bh)->b_state); \
101 #define TAS_BUFFER_FNS(bit, name) \ argument
104 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
108 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \
Dhid.h651 struct hid_usage *usage, unsigned long **bit, int *max);
654 struct hid_usage *usage, unsigned long **bit, int *max);
816 struct hid_usage *usage, unsigned long **bit, int *max, in hid_map_usage() argument
826 *bit = input->absbit; in hid_map_usage()
830 *bit = input->relbit; in hid_map_usage()
834 *bit = input->keybit; in hid_map_usage()
838 *bit = input->ledbit; in hid_map_usage()
851 struct hid_usage *usage, unsigned long **bit, int *max, in hid_map_usage_clear() argument
854 hid_map_usage(hidinput, usage, bit, max, type, c); in hid_map_usage_clear()
855 clear_bit(c, *bit); in hid_map_usage_clear()
Dvt_kern.h189 extern int vt_get_kbd_mode_bit(int console, int bit);
190 extern void vt_set_kbd_mode_bit(int console, int bit);
191 extern void vt_clr_kbd_mode_bit(int console, int bit);
Dnetdev_features.h74 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) argument
Dgfp.h255 int bit = (__force int) (flags & GFP_ZONEMASK); in gfp_zone() local
257 z = (GFP_ZONE_TABLE >> (bit * ZONES_SHIFT)) & in gfp_zone()
259 VM_BUG_ON((GFP_ZONE_BAD >> bit) & 1); in gfp_zone()
Dfs_enet_pd.h100 u8 bit; member
/include/net/netfilter/
Dnf_conntrack_labels.h46 bool nf_connlabel_match(const struct nf_conn *ct, u16 bit);
47 int nf_connlabel_set(struct nf_conn *ct, u16 bit);
/include/uapi/linux/netfilter/
Dxt_connlabel.h10 __u16 bit; member
/include/linux/iio/
Dbuffer.h107 struct iio_buffer *buffer, int bit);
116 struct iio_buffer *buffer, int bit);
/include/sound/
Dvx_core.h282 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time);
283 #define vx_check_isr(chip,mask,bit,time) snd_vx_check_reg_bit(chip, VX_ISR, mask, bit, time) argument
284 #define vx_wait_isr_bit(chip,bit) vx_check_isr(chip, bit, bit, 200) argument
Di2c.h66 struct snd_i2c_bit_ops *bit; member
Dwavefront.h28 of 22 bytes, corresponding to 16-bit alignment (as would have been
34 All other wavefront_* types end up aligned to 32 bit values and
/include/acpi/
Dactypes.h443 #define ACPI_SET_BIT(target,bit) ((target) |= (bit)) argument
444 #define ACPI_CLEAR_BIT(target,bit) ((target) &= ~(bit)) argument
/include/net/
Dnetlabel.h399 u32 bit,
510 u32 bit, in netlbl_secattr_catmap_setbit() argument
/include/media/
Dsaa7146_vv.h215 int saa7146_res_get(struct saa7146_fh *fh, unsigned int bit);
/include/linux/usb/
Dhcd.h441 #define usb_settoggle(dev, ep, out, bit) \ argument
443 ((bit) << (ep)))
/include/scsi/
Dlibsas.h479 static inline unsigned int to_sas_gpio_od(int device, int bit) in to_sas_gpio_od() argument
481 return 3 * device + bit; in to_sas_gpio_od()