/kernel/linux/linux-5.10/include/linux/ |
D | bit_spinlock.h | 16 static inline void bit_spin_lock(int bitnum, unsigned long *addr) in bit_spin_lock() argument 27 while (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_lock() 31 } while (test_bit(bitnum, addr)); in bit_spin_lock() 41 static inline int bit_spin_trylock(int bitnum, unsigned long *addr) in bit_spin_trylock() argument 45 if (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_trylock() 57 static inline void bit_spin_unlock(int bitnum, unsigned long *addr) in bit_spin_unlock() argument 60 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock() 63 clear_bit_unlock(bitnum, addr); in bit_spin_unlock() 74 static inline void __bit_spin_unlock(int bitnum, unsigned long *addr) in __bit_spin_unlock() argument 77 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/unicode/ |
D | mkutf8data.c | 369 unsigned char bitnum; member 389 if (*key & (1 << (node->bitnum & 7))) { in lookup() 441 node->bitnum, node->nextbyte, in tree_walk() 449 bitmask = 1 << node->bitnum; in tree_walk() 495 int bitnum; in alloc_node() local 510 bitnum = parent->bitnum; in alloc_node() 511 if ((bitnum & 7) == 0) { in alloc_node() 512 node->bitnum = bitnum + 7 + 8; in alloc_node() 515 node->bitnum = bitnum - 1; in alloc_node() 519 node->bitnum = 7; in alloc_node() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | cpufeature.h | 185 [bitnum] "i" (1 << (bit & 7)), in _static_cpu_has()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | smsc95xx.c | 500 u32 bitnum = smsc95xx_hash(ha->addr); in smsc95xx_set_multicast() local 501 u32 mask = 0x01 << (bitnum & 0x1F); in smsc95xx_set_multicast() 502 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 | 1109 u32 bitnum = lan78xx_hash(ha->addr); in lan78xx_set_multicast() local 1111 pdata->mchash_table[bitnum / 32] |= in lan78xx_set_multicast() 1112 (1 << (bitnum % 32)); in lan78xx_set_multicast()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 1864 unsigned int bitnum = smsc911x_hash(ha->addr); in smsc911x_set_multicast_list() local 1865 unsigned int mask = 0x01 << (bitnum & 0x1F); in smsc911x_set_multicast_list() 1867 if (bitnum & 0x20) in smsc911x_set_multicast_list()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1149 u32 bitnum = (ether_crc(ETH_ALEN, ha->addr) >> in lan743x_rfe_set_multicast() local 1151 hash_table[bitnum / 32] |= (1 << (bitnum % 32)); in lan743x_rfe_set_multicast()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/agere/ |
D | et131x.c | 1298 u16 bitnum, in et1310_phy_read_mii_bit() argument 1302 u16 mask = 1 << bitnum; in et1310_phy_read_mii_bit() 1306 *value = (reg & mask) >> bitnum; in et1310_phy_read_mii_bit()
|