Searched refs:bit_mask (Results 1 – 9 of 9) sorted by relevance
/drivers/net/wireless/rt2x00/ |
D | rt2x00reg.h | 135 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)) >> \
|
D | rt73usb.c | 319 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()
|
D | rt61pci.c | 385 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()
|
D | rt2500usb.c | 352 mask = TXRX_CSR0_KEY_ID.bit_mask; in rt2500usb_config_key()
|
/drivers/gpio/ |
D | twl4030-gpio.c | 361 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/ |
D | da903x.c | 172 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/ |
D | sysimgblt.c | 191 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()
|
D | cfbimgblt.c | 221 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/ |
D | fsl_usb2_udc.c | 1500 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()
|