/linux-6.6.21/include/linux/mfd/ |
D | tps65090.h | 134 uint8_t bit_num) in tps65090_set_bits() argument 138 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), ~0u); in tps65090_set_bits() 142 uint8_t bit_num) in tps65090_clr_bits() argument 146 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), 0u); in tps65090_clr_bits()
|
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 648 u32 bit_num; in bnxt_qplib_alloc_pd() local 652 bit_num = find_first_bit(pdt->tbl, pdt->max); in bnxt_qplib_alloc_pd() 653 if (bit_num == pdt->max) { in bnxt_qplib_alloc_pd() 659 clear_bit(bit_num, pdt->tbl); in bnxt_qplib_alloc_pd() 660 pd->id = bit_num; in bnxt_qplib_alloc_pd() 719 u32 bit_num; in bnxt_qplib_alloc_dpi() local 725 bit_num = find_first_bit(dpit->tbl, dpit->max); in bnxt_qplib_alloc_dpi() 726 if (bit_num == dpit->max) { in bnxt_qplib_alloc_dpi() 732 clear_bit(bit_num, dpit->tbl); in bnxt_qplib_alloc_dpi() 733 dpit->app_tbl[bit_num] = app; in bnxt_qplib_alloc_dpi() [all …]
|
/linux-6.6.21/include/sound/ |
D | hda_register.h | 243 #define AZX_REG_MASK(bit_num, offset) \ argument 244 (((1 << (bit_num)) - 1) << (offset))
|
/linux-6.6.21/drivers/gpu/drm/hisilicon/kirin/ |
D | kirin_drm_ade.c | 94 static void ade_update_reload_bit(void __iomem *base, u32 bit_num, u32 val) in ade_update_reload_bit() argument 98 bit_ofst = bit_num % 32; in ade_update_reload_bit() 99 reg_num = bit_num / 32; in ade_update_reload_bit() 105 static u32 ade_read_reload_bit(void __iomem *base, u32 bit_num) in ade_read_reload_bit() argument 109 bit_ofst = bit_num % 32; in ade_read_reload_bit() 110 reg_num = bit_num / 32; in ade_read_reload_bit()
|
/linux-6.6.21/drivers/input/rmi4/ |
D | rmi_f30.c | 105 unsigned int bit_num = button & 0x07; in rmi_f30_report_button() local 107 bool key_down = !(f30->data_regs[reg_num] & BIT(bit_num)); in rmi_f30_report_button()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 1171 unsigned int bit_num, in kfd_gtt_sa_calc_gpu_addr() argument 1174 return start_addr + bit_num * chunk_size; in kfd_gtt_sa_calc_gpu_addr() 1178 unsigned int bit_num, in kfd_gtt_sa_calc_cpu_addr() argument 1181 return (uint32_t *) ((uint64_t) start_addr + bit_num * chunk_size); in kfd_gtt_sa_calc_cpu_addr()
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 79 enum mtk_dpi_out_bit_num bit_num; member 604 mtk_dpi_config_bit_num(dpi, dpi->bit_num); in mtk_dpi_set_display_mode() 692 dpi->bit_num = MTK_DPI_OUT_BIT_NUM_8BITS; in mtk_dpi_bridge_atomic_check()
|
D | mtk_hdmi.c | 451 enum hdmi_audio_sample_size bit_num) in mtk_hdmi_hw_aud_set_bit_num() argument 455 switch (bit_num) { in mtk_hdmi_hw_aud_set_bit_num()
|
/linux-6.6.21/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_prs.c | 210 static void mvpp2_prs_sram_bits_set(struct mvpp2_prs_entry *pe, int bit_num, in mvpp2_prs_sram_bits_set() argument 213 pe->sram[MVPP2_BIT_TO_WORD(bit_num)] |= (val << (MVPP2_BIT_IN_WORD(bit_num))); in mvpp2_prs_sram_bits_set() 217 static void mvpp2_prs_sram_bits_clear(struct mvpp2_prs_entry *pe, int bit_num, in mvpp2_prs_sram_bits_clear() argument 220 pe->sram[MVPP2_BIT_TO_WORD(bit_num)] &= ~(val << (MVPP2_BIT_IN_WORD(bit_num))); in mvpp2_prs_sram_bits_clear()
|
/linux-6.6.21/drivers/video/fbdev/via/ |
D | hw.c | 969 int bit_num = 0; in viafb_load_reg() local 983 shift_next_reg = bit_num; in viafb_load_reg() 987 get_bit = (timing_value & (BIT0 << bit_num)); in viafb_load_reg() 990 bit_num++; in viafb_load_reg()
|
/linux-6.6.21/sound/soc/codecs/ |
D | cs35l56.c | 492 int bit_num; in cs35l56_make_tdm_config_word() local 496 for_each_set_bit(bit_num, &mask, 32) { in cs35l56_make_tdm_config_word() 498 reg_val |= bit_num << channel_shift; in cs35l56_make_tdm_config_word()
|
/linux-6.6.21/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 631 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol() local 639 if ((p ^ l) & (1 << bit_num)) { in armada_37xx_edge_both_irq_swap_pol() 650 p ^= 1 << bit_num; in armada_37xx_edge_both_irq_swap_pol()
|
/linux-6.6.21/drivers/net/ethernet/amd/ |
D | amd8111e.c | 1322 int bit_num; in amd8111e_set_multicast_list() local 1351 bit_num = (ether_crc_le(ETH_ALEN, ha->addr) >> 26) & 0x3f; in amd8111e_set_multicast_list() 1352 mc_filter[bit_num >> 5] |= 1 << (bit_num & 31); in amd8111e_set_multicast_list()
|
/linux-6.6.21/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 1012 u32 bit_num = smsc9420_hash(ha->addr); in smsc9420_set_multicast_list() local 1013 u32 mask = 1 << (bit_num & 0x1F); in smsc9420_set_multicast_list() 1015 if (bit_num & 0x20) in smsc9420_set_multicast_list()
|
/linux-6.6.21/drivers/misc/ |
D | xilinx_sdfec.c | 252 u32 reg_offset, u32 bit_num, in update_bool_config_from_reg() argument 256 u32 bit_mask = 1 << bit_num; in update_bool_config_from_reg()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 1951 u8 bit_num = ppe_pos_bit % 8; in iwl_mvm_he_get_ppe_val() local 1955 if (bit_num <= 5) in iwl_mvm_he_get_ppe_val() 1956 return (ppe[byte_num] >> bit_num) & in iwl_mvm_he_get_ppe_val() 1965 residue_bits = 8 - bit_num; in iwl_mvm_he_get_ppe_val() 1970 res += (ppe[byte_num] >> bit_num) & (BIT(residue_bits) - 1); in iwl_mvm_he_get_ppe_val()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | pci.c | 3332 static u16 gray_code_to_bin(u16 gray_code, u32 bit_num) in gray_code_to_bin() argument 3337 for (bit_idx = 0; bit_idx < bit_num; bit_idx++) { in gray_code_to_bin() 3339 if (bit_num - bit_idx > 1) in gray_code_to_bin()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 8110 unsigned int bit_num; in hclge_update_desc_vfid() local 8117 bit_num = vfid % 32; in hclge_update_desc_vfid() 8119 desc[1].data[word_num] &= cpu_to_le32(~(1 << bit_num)); in hclge_update_desc_vfid() 8121 desc[1].data[word_num] |= cpu_to_le32(1 << bit_num); in hclge_update_desc_vfid() 8124 bit_num = vfid % 32; in hclge_update_desc_vfid() 8126 desc[2].data[word_num] &= cpu_to_le32(~(1 << bit_num)); in hclge_update_desc_vfid() 8128 desc[2].data[word_num] |= cpu_to_le32(1 << bit_num); in hclge_update_desc_vfid()
|