/drivers/net/ethernet/dec/tulip/ |
D | timer.c | 59 s8 bitnum = p[offset]; in tulip_media_task() local 72 csr12, (bitnum >> 1) & 7, in tulip_media_task() 73 (csr12 & (1 << ((bitnum >> 1) & 7))) != 0, in tulip_media_task() 74 (bitnum >= 0)); in tulip_media_task() 76 if ((bitnum < 0) != in tulip_media_task() 77 ((csr12 & (1 << ((bitnum >> 1) & 7))) != 0)) { in tulip_media_task()
|
/drivers/s390/cio/ |
D | idset.c | 64 int bitnum; in idset_get_first() local 66 bitnum = find_first_bit(set->bitmap, set->num_ssid * set->num_id); in idset_get_first() 67 if (bitnum >= set->num_ssid * set->num_id) in idset_get_first() 69 *ssid = bitnum / set->num_id; in idset_get_first() 70 *id = bitnum % set->num_id; in idset_get_first()
|
/drivers/video/fbdev/core/ |
D | svgalib.c | 25 u8 regval, bitval, bitnum; in svga_wcrt_multi() local 29 bitnum = regset->lowbit; in svga_wcrt_multi() 30 while (bitnum <= regset->highbit) { in svga_wcrt_multi() 31 bitval = 1 << bitnum; in svga_wcrt_multi() 34 bitnum ++; in svga_wcrt_multi() 45 u8 regval, bitval, bitnum; in svga_wseq_multi() local 49 bitnum = regset->lowbit; in svga_wseq_multi() 50 while (bitnum <= regset->highbit) { in svga_wseq_multi() 51 bitval = 1 << bitnum; in svga_wseq_multi() 54 bitnum ++; in svga_wseq_multi()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | pll.c | 187 static int wait_for_bit_change(void __iomem *reg, int bitnum, int value) in wait_for_bit_change() argument 196 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change() 203 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change()
|
D | dsi.c | 492 const struct dsi_reg idx, int bitnum, int value) in wait_for_bit_change() argument 501 if (REG_GET(dsidev, idx, bitnum, bitnum) == value) in wait_for_bit_change() 508 if (REG_GET(dsidev, idx, bitnum, bitnum) == value) in wait_for_bit_change()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | pll.c | 323 static int wait_for_bit_change(void __iomem *reg, int bitnum, int value) in wait_for_bit_change() argument 332 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change() 339 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change()
|
D | dsi.c | 490 int bitnum, int value) in wait_for_bit_change() argument 499 if (REG_GET(dsi, idx, bitnum, bitnum) == value) in wait_for_bit_change() 506 if (REG_GET(dsi, idx, bitnum, bitnum) == value) in wait_for_bit_change()
|
/drivers/iio/accel/ |
D | mma9551.c | 188 int bitnum; in mma9551_config_incli_event() local 193 bitnum = 7 + 8 * MMA9551_TILT_YZ_ANG_REG; in mma9551_config_incli_event() 196 bitnum = 7 + 8 * MMA9551_TILT_XZ_ANG_REG; in mma9551_config_incli_event() 199 bitnum = 7 + 8 * MMA9551_TILT_XY_ANG_REG; in mma9551_config_incli_event() 212 MMA9551_APPID_TILT, bitnum, 0); in mma9551_config_incli_event()
|
D | mma9553.c | 335 u8 bitnum = 0, appid = MMA9551_APPID_PEDOMETER; in mma9553_conf_gpio() local 350 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_MRGFL); in mma9553_conf_gpio() 352 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_STEPCHG); in mma9553_conf_gpio() 354 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_ACTCHG); in mma9553_conf_gpio() 358 if (data->gpio_bitnum == bitnum) in mma9553_conf_gpio() 370 bitnum, MMA9553_DEFAULT_GPIO_POLARITY); in mma9553_conf_gpio() 373 data->gpio_bitnum = bitnum; in mma9553_conf_gpio()
|
D | mma9551_core.h | 62 u8 app_id, u8 bitnum, int polarity);
|
D | mma9551_core.c | 532 u8 app_id, u8 bitnum, int polarity) in mma9551_gpio_config() argument 556 reg + 1, bitnum); in mma9551_gpio_config()
|
/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_output.h | 69 #define REG_BIT_WAIT(reg, val, bitnum) \ argument 70 REGISTER_FLD_WAIT(dev, reg, val, bitnum, bitnum)
|
/drivers/video/fbdev/ |
D | broadsheetfb.c | 364 u16 reg, int bitnum, int val, in broadsheet_spiflash_wait_for_bit() argument 371 if (((tmp >> bitnum) & 1) == val) in broadsheet_spiflash_wait_for_bit()
|
/drivers/net/usb/ |
D | smsc95xx.c | 482 u32 bitnum = smsc95xx_hash(ha->addr); in smsc95xx_set_multicast() local 483 u32 mask = 0x01 << (bitnum & 0x1F); in smsc95xx_set_multicast() 484 if (bitnum & 0x20) in smsc95xx_set_multicast()
|
D | smsc75xx.c | 571 u32 bitnum = smsc75xx_hash(ha->addr); in smsc75xx_set_multicast() local 572 pdata->multicast_hash_table[bitnum / 32] |= in smsc75xx_set_multicast() 573 (1 << (bitnum % 32)); in smsc75xx_set_multicast()
|
D | lan78xx.c | 1111 u32 bitnum = lan78xx_hash(ha->addr); in lan78xx_set_multicast() local 1113 pdata->mchash_table[bitnum / 32] |= in lan78xx_set_multicast() 1114 (1 << (bitnum % 32)); in lan78xx_set_multicast()
|
/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 1865 unsigned int bitnum = smsc911x_hash(ha->addr); in smsc911x_set_multicast_list() local 1866 unsigned int mask = 0x01 << (bitnum & 0x1F); in smsc911x_set_multicast_list() 1868 if (bitnum & 0x20) in smsc911x_set_multicast_list()
|
/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1094 u32 bitnum = (ether_crc(ETH_ALEN, ha->addr) >> in lan743x_rfe_set_multicast() local 1096 hash_table[bitnum / 32] |= (1 << (bitnum % 32)); in lan743x_rfe_set_multicast()
|
/drivers/net/ethernet/agere/ |
D | et131x.c | 1302 u16 bitnum, in et1310_phy_read_mii_bit() argument 1306 u16 mask = 1 << bitnum; in et1310_phy_read_mii_bit() 1310 *value = (reg & mask) >> bitnum; in et1310_phy_read_mii_bit()
|