Home
last modified time | relevance | path

Searched refs:bit_mask (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/rt2x00/
Drt2x00reg.h135 u8 bit_mask; member
140 u16 bit_mask; member
145 u32 bit_mask; member
224 *(__reg) &= ~((__field).bit_mask); \
227 ((__field).bit_mask); \
233 ((__reg) & ((__field).bit_mask)) >> \
Drt73usb.c319 field.bit_mask = 0x7 << field.bit_offset; in rt73usb_config_shared_key()
326 field.bit_mask = 0x7 << field.bit_offset; in rt73usb_config_shared_key()
2140 field.bit_mask = 0xffff << field.bit_offset; in rt73usb_conf_tx()
2147 field.bit_mask = 0xffff << field.bit_offset; in rt73usb_conf_tx()
2156 field.bit_mask = 0xf << field.bit_offset; in rt73usb_conf_tx()
Drt61pci.c385 field.bit_mask = 0x7 << field.bit_offset; in rt61pci_config_shared_key()
392 field.bit_mask = 0x7 << field.bit_offset; in rt61pci_config_shared_key()
2652 field.bit_mask = 0xffff << field.bit_offset; in rt61pci_conf_tx()
2659 field.bit_mask = 0xffff << field.bit_offset; in rt61pci_conf_tx()
2668 field.bit_mask = 0xf << field.bit_offset; in rt61pci_conf_tx()
Drt2500usb.c352 mask = TXRX_CSR0_KEY_ID.bit_mask; in rt2500usb_config_key()
/drivers/gpio/
Dtwl4030-gpio.c361 u8 bit_mask; in gpio_twl4030_pulls() local
364 for (bit_mask = 0, j = 0; j < 8; j += 2, gpio_bit <<= 1) { in gpio_twl4030_pulls()
366 bit_mask |= 1 << (j + 1); in gpio_twl4030_pulls()
368 bit_mask |= 1 << (j + 0); in gpio_twl4030_pulls()
370 message[i] = bit_mask; in gpio_twl4030_pulls()
/drivers/mfd/
Dda903x.c172 int da903x_set_bits(struct device *dev, int reg, uint8_t bit_mask) in da903x_set_bits() argument
184 if ((reg_val & bit_mask) == 0) { in da903x_set_bits()
185 reg_val |= bit_mask; in da903x_set_bits()
194 int da903x_clr_bits(struct device *dev, int reg, uint8_t bit_mask) in da903x_clr_bits() argument
206 if (reg_val & bit_mask) { in da903x_clr_bits()
207 reg_val &= ~bit_mask; in da903x_clr_bits()
/drivers/video/
Dsysimgblt.c191 u32 bit_mask, end_mask, eorx, shift; in fast_imageblit() local
217 bit_mask = (1 << ppw) - 1; in fast_imageblit()
228 end_mask = tab[(*src >> shift) & bit_mask]; in fast_imageblit()
Dcfbimgblt.c221 u32 bit_mask, end_mask, eorx, shift; in fast_imageblit() local
247 bit_mask = (1 << ppw) - 1; in fast_imageblit()
256 end_mask = tab[(*src >> shift) & bit_mask]; in fast_imageblit()
/drivers/usb/gadget/
Dfsl_usb2_udc.c1500 int i, ep_num, direction, bit_mask, status; in dtd_complete_irq() local
1515 bit_mask = 1 << (ep_num + 16 * direction); in dtd_complete_irq()
1517 if (!(bit_pos & bit_mask)) in dtd_complete_irq()