/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 696 u32 bit_num; in bnxt_qplib_alloc_pd() local 698 bit_num = find_first_bit(pdt->tbl, pdt->max); in bnxt_qplib_alloc_pd() 699 if (bit_num == pdt->max) in bnxt_qplib_alloc_pd() 703 clear_bit(bit_num, pdt->tbl); in bnxt_qplib_alloc_pd() 704 pd->id = bit_num; in bnxt_qplib_alloc_pd() 752 u32 bit_num; in bnxt_qplib_alloc_dpi() local 754 bit_num = find_first_bit(dpit->tbl, dpit->max); in bnxt_qplib_alloc_dpi() 755 if (bit_num == dpit->max) in bnxt_qplib_alloc_dpi() 759 clear_bit(bit_num, dpit->tbl); in bnxt_qplib_alloc_dpi() 760 dpit->app_tbl[bit_num] = app; in bnxt_qplib_alloc_dpi() [all …]
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-104-idi-48.c | 201 unsigned long bit_num; in idi_48_irq_handler() local 225 for_each_set_bit(bit_num, &irq_mask, 8) { in idi_48_irq_handler() 226 gpio = bit_num + boundary * 8; in idi_48_irq_handler()
|
/kernel/linux/linux-5.10/include/sound/ |
D | hda_register.h | 239 #define AZX_REG_MASK(bit_num, offset) \ argument 240 (((1 << (bit_num)) - 1) << (offset))
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | asic3.c | 566 u8 alt, pin, dir, init, bank_num, bit_num; in asic3_gpio_probe() local 575 bit_num = ASIC3_GPIO_TO_BIT(pin); in asic3_gpio_probe() 577 alt_reg[bank_num] |= (alt << bit_num); in asic3_gpio_probe() 578 out_reg[bank_num] |= (init << bit_num); in asic3_gpio_probe() 579 dir_reg[bank_num] |= (dir << bit_num); in asic3_gpio_probe()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 1098 unsigned int bit_num, in kfd_gtt_sa_calc_gpu_addr() argument 1101 return start_addr + bit_num * chunk_size; in kfd_gtt_sa_calc_gpu_addr() 1105 unsigned int bit_num, in kfd_gtt_sa_calc_cpu_addr() argument 1108 return (uint32_t *) ((uint64_t) start_addr + bit_num * chunk_size); in kfd_gtt_sa_calc_cpu_addr()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 73 enum mtk_dpi_out_bit_num bit_num; member 488 mtk_dpi_config_bit_num(dpi, dpi->bit_num); in mtk_dpi_set_display_mode() 593 dpi->bit_num = MTK_DPI_OUT_BIT_NUM_8BITS; in mtk_dpi_bind()
|
D | mtk_hdmi.c | 455 enum hdmi_audio_sample_size bit_num) in mtk_hdmi_hw_aud_set_bit_num() argument 459 switch (bit_num) { in mtk_hdmi_hw_aud_set_bit_num()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 621 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol() local 629 if ((p ^ l) & (1 << bit_num)) { in armada_37xx_edge_both_irq_swap_pol() 640 p ^= 1 << bit_num; in armada_37xx_edge_both_irq_swap_pol()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
D | amd8111e.c | 1330 int bit_num; in amd8111e_set_multicast_list() local 1359 bit_num = (ether_crc_le(ETH_ALEN, ha->addr) >> 26) & 0x3f; in amd8111e_set_multicast_list() 1360 mc_filter[bit_num >> 5] |= 1 << (bit_num & 31); in amd8111e_set_multicast_list()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 1010 u32 bit_num = smsc9420_hash(ha->addr); in smsc9420_set_multicast_list() local 1011 u32 mask = 1 << (bit_num & 0x1F); in smsc9420_set_multicast_list() 1013 if (bit_num & 0x20) in smsc9420_set_multicast_list()
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | xilinx_sdfec.c | 251 u32 reg_offset, u32 bit_num, in update_bool_config_from_reg() argument 255 u32 bit_mask = 1 << bit_num; in update_bool_config_from_reg()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 2059 u8 bit_num = ppe_pos_bit % 8; in iwl_mvm_he_get_ppe_val() local 2063 if (bit_num <= 5) in iwl_mvm_he_get_ppe_val() 2064 return (ppe[byte_num] >> bit_num) & in iwl_mvm_he_get_ppe_val() 2073 residue_bits = 8 - bit_num; in iwl_mvm_he_get_ppe_val() 2078 res += (ppe[byte_num] >> bit_num) & (BIT(residue_bits) - 1); in iwl_mvm_he_get_ppe_val()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 7152 unsigned int bit_num; in hclge_update_desc_vfid() local 7159 bit_num = vfid % 32; in hclge_update_desc_vfid() 7161 desc[1].data[word_num] &= cpu_to_le32(~(1 << bit_num)); in hclge_update_desc_vfid() 7163 desc[1].data[word_num] |= cpu_to_le32(1 << bit_num); in hclge_update_desc_vfid() 7166 bit_num = vfid % 32; in hclge_update_desc_vfid() 7168 desc[2].data[word_num] &= cpu_to_le32(~(1 << bit_num)); in hclge_update_desc_vfid() 7170 desc[2].data[word_num] |= cpu_to_le32(1 << bit_num); in hclge_update_desc_vfid()
|