bit_num 223 drivers/gpio/gpio-104-idi-48.c unsigned long bit_num; bit_num 247 drivers/gpio/gpio-104-idi-48.c for_each_set_bit(bit_num, &irq_mask, 8) { bit_num 248 drivers/gpio/gpio-104-idi-48.c gpio = bit_num + boundary * 8; bit_num 1003 drivers/gpu/drm/amd/amdkfd/kfd_device.c unsigned int bit_num, bit_num 1006 drivers/gpu/drm/amd/amdkfd/kfd_device.c return start_addr + bit_num * chunk_size; bit_num 1010 drivers/gpu/drm/amd/amdkfd/kfd_device.c unsigned int bit_num, bit_num 1013 drivers/gpu/drm/amd/amdkfd/kfd_device.c return (uint32_t *) ((uint64_t) start_addr + bit_num * chunk_size); bit_num 94 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c static void ade_update_reload_bit(void __iomem *base, u32 bit_num, u32 val) bit_num 98 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c bit_ofst = bit_num % 32; bit_num 99 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c reg_num = bit_num / 32; bit_num 105 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c static u32 ade_read_reload_bit(void __iomem *base, u32 bit_num) bit_num 109 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c bit_ofst = bit_num % 32; bit_num 110 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c reg_num = bit_num / 32; bit_num 74 drivers/gpu/drm/mediatek/mtk_dpi.c enum mtk_dpi_out_bit_num bit_num; bit_num 500 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_bit_num(dpi, dpi->bit_num); bit_num 615 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->bit_num = MTK_DPI_OUT_BIT_NUM_8BITS; bit_num 449 drivers/gpu/drm/mediatek/mtk_hdmi.c enum hdmi_audio_sample_size bit_num) bit_num 453 drivers/gpu/drm/mediatek/mtk_hdmi.c switch (bit_num) { bit_num 577 drivers/infiniband/hw/bnxt_re/qplib_res.c u32 bit_num; bit_num 579 drivers/infiniband/hw/bnxt_re/qplib_res.c bit_num = find_first_bit(pdt->tbl, pdt->max); bit_num 580 drivers/infiniband/hw/bnxt_re/qplib_res.c if (bit_num == pdt->max) bit_num 584 drivers/infiniband/hw/bnxt_re/qplib_res.c clear_bit(bit_num, pdt->tbl); bit_num 585 drivers/infiniband/hw/bnxt_re/qplib_res.c pd->id = bit_num; bit_num 633 drivers/infiniband/hw/bnxt_re/qplib_res.c u32 bit_num; bit_num 635 drivers/infiniband/hw/bnxt_re/qplib_res.c bit_num = find_first_bit(dpit->tbl, dpit->max); bit_num 636 drivers/infiniband/hw/bnxt_re/qplib_res.c if (bit_num == dpit->max) bit_num 640 drivers/infiniband/hw/bnxt_re/qplib_res.c clear_bit(bit_num, dpit->tbl); bit_num 641 drivers/infiniband/hw/bnxt_re/qplib_res.c dpit->app_tbl[bit_num] = app; bit_num 643 drivers/infiniband/hw/bnxt_re/qplib_res.c dpi->dpi = bit_num; bit_num 644 drivers/infiniband/hw/bnxt_re/qplib_res.c dpi->dbr = dpit->dbr_bar_reg_iomem + (bit_num * PAGE_SIZE); bit_num 645 drivers/infiniband/hw/bnxt_re/qplib_res.c dpi->umdbr = dpit->unmapped_dbr + (bit_num * PAGE_SIZE); bit_num 105 drivers/input/rmi4/rmi_f30.c unsigned int bit_num = button & 0x07; bit_num 107 drivers/input/rmi4/rmi_f30.c bool key_down = !(f30->data_regs[reg_num] & BIT(bit_num)); bit_num 566 drivers/mfd/asic3.c u8 alt, pin, dir, init, bank_num, bit_num; bit_num 575 drivers/mfd/asic3.c bit_num = ASIC3_GPIO_TO_BIT(pin); bit_num 577 drivers/mfd/asic3.c alt_reg[bank_num] |= (alt << bit_num); bit_num 578 drivers/mfd/asic3.c out_reg[bank_num] |= (init << bit_num); bit_num 579 drivers/mfd/asic3.c dir_reg[bank_num] |= (dir << bit_num); bit_num 251 drivers/misc/xilinx_sdfec.c u32 reg_offset, u32 bit_num, bit_num 255 drivers/misc/xilinx_sdfec.c u32 bit_mask = 1 << bit_num; bit_num 1324 drivers/net/ethernet/amd/amd8111e.c int bit_num; bit_num 1353 drivers/net/ethernet/amd/amd8111e.c bit_num = (ether_crc_le(ETH_ALEN, ha->addr) >> 26) & 0x3f; bit_num 1354 drivers/net/ethernet/amd/amd8111e.c mc_filter[bit_num >> 5] |= 1 << (bit_num & 31); bit_num 6804 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c unsigned int bit_num; bit_num 6811 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c bit_num = vfid % 32; bit_num 6813 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc[1].data[word_num] &= cpu_to_le32(~(1 << bit_num)); bit_num 6815 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc[1].data[word_num] |= cpu_to_le32(1 << bit_num); bit_num 6818 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c bit_num = vfid % 32; bit_num 6820 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc[2].data[word_num] &= cpu_to_le32(~(1 << bit_num)); bit_num 6822 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc[2].data[word_num] |= cpu_to_le32(1 << bit_num); bit_num 210 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_sram_bits_set(struct mvpp2_prs_entry *pe, int bit_num, bit_num 213 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe->sram[MVPP2_BIT_TO_WORD(bit_num)] |= (val << (MVPP2_BIT_IN_WORD(bit_num))); bit_num 217 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_sram_bits_clear(struct mvpp2_prs_entry *pe, int bit_num, bit_num 220 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe->sram[MVPP2_BIT_TO_WORD(bit_num)] &= ~(val << (MVPP2_BIT_IN_WORD(bit_num))); bit_num 1015 drivers/net/ethernet/smsc/smsc9420.c u32 bit_num = smsc9420_hash(ha->addr); bit_num 1016 drivers/net/ethernet/smsc/smsc9420.c u32 mask = 1 << (bit_num & 0x1F); bit_num 1018 drivers/net/ethernet/smsc/smsc9420.c if (bit_num & 0x20) bit_num 1979 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u8 bit_num = ppe_pos_bit % 8; bit_num 1983 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (bit_num <= 5) bit_num 1984 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c return (ppe[byte_num] >> bit_num) & bit_num 1993 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c residue_bits = 8 - bit_num; bit_num 1998 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c res += (ppe[byte_num] >> bit_num) & (BIT(residue_bits) - 1); bit_num 618 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c u32 bit_num = pin_idx % GPIO_PER_REG; bit_num 626 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c if ((p ^ l) & (1 << bit_num)) { bit_num 637 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c p ^= 1 << bit_num; bit_num 969 drivers/video/fbdev/via/hw.c int bit_num = 0; bit_num 983 drivers/video/fbdev/via/hw.c shift_next_reg = bit_num; bit_num 987 drivers/video/fbdev/via/hw.c get_bit = (timing_value & (BIT0 << bit_num)); bit_num 990 drivers/video/fbdev/via/hw.c bit_num++; bit_num 134 include/linux/mfd/tps65090.h uint8_t bit_num) bit_num 138 include/linux/mfd/tps65090.h return regmap_update_bits(tps->rmap, reg, BIT(bit_num), ~0u); bit_num 142 include/linux/mfd/tps65090.h uint8_t bit_num) bit_num 146 include/linux/mfd/tps65090.h return regmap_update_bits(tps->rmap, reg, BIT(bit_num), 0u); bit_num 239 include/sound/hda_register.h #define AZX_REG_MASK(bit_num, offset) \ bit_num 240 include/sound/hda_register.h (((1 << (bit_num)) - 1) << (offset))