/drivers/net/dsa/qca/ |
D | qca8k-leds.c | 22 qca8k_get_enable_led_reg(int port_num, int led_num, struct qca8k_led_pattern_en *reg_info) in qca8k_get_enable_led_reg() argument 26 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_enable_led_reg() 27 reg_info->shift = QCA8K_LED_PHY0123_CONTROL_RULE_SHIFT; in qca8k_get_enable_led_reg() 33 reg_info->reg = QCA8K_LED_CTRL3_REG; in qca8k_get_enable_led_reg() 34 reg_info->shift = QCA8K_LED_PHY123_PATTERN_EN_SHIFT(port_num, led_num); in qca8k_get_enable_led_reg() 37 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_enable_led_reg() 38 reg_info->shift = QCA8K_LED_PHY4_CONTROL_RULE_SHIFT; in qca8k_get_enable_led_reg() 48 qca8k_get_control_led_reg(int port_num, int led_num, struct qca8k_led_pattern_en *reg_info) in qca8k_get_control_led_reg() argument 50 reg_info->reg = QCA8K_LED_CTRL_REG(led_num); in qca8k_get_control_led_reg() 57 reg_info->shift = QCA8K_LED_PHY4_CONTROL_RULE_SHIFT; in qca8k_get_control_led_reg() [all …]
|
/drivers/net/wireless/ath/ath12k/ |
D | reg.c | 565 struct ath12k_reg_info *reg_info, bool intersect) in ath12k_reg_build_regd() argument 575 num_rules = reg_info->num_5g_reg_rules + reg_info->num_2g_reg_rules; in ath12k_reg_build_regd() 581 if (reg_info->is_ext_reg_event) in ath12k_reg_build_regd() 582 num_rules += reg_info->num_6g_reg_rules_ap[WMI_REG_INDOOR_AP]; in ath12k_reg_build_regd() 588 if (reg_info->dfs_region == ATH12K_DFS_REG_ETSI) in ath12k_reg_build_regd() 597 memcpy(tmp_regd->alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath12k_reg_build_regd() 598 memcpy(alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath12k_reg_build_regd() 600 tmp_regd->dfs_region = ath12k_map_fw_dfs_region(reg_info->dfs_region); in ath12k_reg_build_regd() 605 reg_info->dfs_region, num_rules); in ath12k_reg_build_regd() 610 if (reg_info->num_2g_reg_rules && in ath12k_reg_build_regd() [all …]
|
D | wmi.c | 4422 struct ath12k_reg_info *reg_info) in ath12k_pull_reg_chan_list_ext_update_ev() argument 4449 reg_info->num_2g_reg_rules = le32_to_cpu(ev->num_2g_reg_rules); in ath12k_pull_reg_chan_list_ext_update_ev() 4450 reg_info->num_5g_reg_rules = le32_to_cpu(ev->num_5g_reg_rules); in ath12k_pull_reg_chan_list_ext_update_ev() 4451 reg_info->num_6g_reg_rules_ap[WMI_REG_INDOOR_AP] = in ath12k_pull_reg_chan_list_ext_update_ev() 4453 reg_info->num_6g_reg_rules_ap[WMI_REG_STD_POWER_AP] = in ath12k_pull_reg_chan_list_ext_update_ev() 4455 reg_info->num_6g_reg_rules_ap[WMI_REG_VLP_AP] = in ath12k_pull_reg_chan_list_ext_update_ev() 4459 reg_info->num_6g_reg_rules_cl[WMI_REG_INDOOR_AP][i] = in ath12k_pull_reg_chan_list_ext_update_ev() 4461 reg_info->num_6g_reg_rules_cl[WMI_REG_STD_POWER_AP][i] = in ath12k_pull_reg_chan_list_ext_update_ev() 4463 reg_info->num_6g_reg_rules_cl[WMI_REG_VLP_AP][i] = in ath12k_pull_reg_chan_list_ext_update_ev() 4467 num_2g_reg_rules = reg_info->num_2g_reg_rules; in ath12k_pull_reg_chan_list_ext_update_ev() [all …]
|
D | reg.h | 90 struct ath12k_reg_info *reg_info,
|
/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 613 struct cur_regulatory_info *reg_info, bool intersect) in ath11k_reg_build_regd() argument 623 num_rules = reg_info->num_5ghz_reg_rules + reg_info->num_2ghz_reg_rules; in ath11k_reg_build_regd() 628 if (reg_info->is_ext_reg_event) in ath11k_reg_build_regd() 629 num_rules += reg_info->num_6ghz_rules_ap[WMI_REG_INDOOR_AP]; in ath11k_reg_build_regd() 635 if (reg_info->dfs_region == ATH11K_DFS_REG_ETSI) in ath11k_reg_build_regd() 644 memcpy(tmp_regd->alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd() 645 memcpy(alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd() 647 tmp_regd->dfs_region = ath11k_map_fw_dfs_region(reg_info->dfs_region); in ath11k_reg_build_regd() 652 reg_info->dfs_region, num_rules); in ath11k_reg_build_regd() 657 if (reg_info->num_2ghz_reg_rules && in ath11k_reg_build_regd() [all …]
|
D | wmi.c | 5095 struct cur_regulatory_info *reg_info) in ath11k_pull_reg_chan_list_update_ev() argument 5119 reg_info->num_2ghz_reg_rules = chan_list_event_hdr->num_2ghz_reg_rules; in ath11k_pull_reg_chan_list_update_ev() 5120 reg_info->num_5ghz_reg_rules = chan_list_event_hdr->num_5ghz_reg_rules; in ath11k_pull_reg_chan_list_update_ev() 5122 if (!(reg_info->num_2ghz_reg_rules + reg_info->num_5ghz_reg_rules)) { in ath11k_pull_reg_chan_list_update_ev() 5128 memcpy(reg_info->alpha2, &chan_list_event_hdr->alpha2, in ath11k_pull_reg_chan_list_update_ev() 5130 reg_info->dfs_region = chan_list_event_hdr->dfs_region; in ath11k_pull_reg_chan_list_update_ev() 5131 reg_info->phybitmap = chan_list_event_hdr->phybitmap; in ath11k_pull_reg_chan_list_update_ev() 5132 reg_info->num_phy = chan_list_event_hdr->num_phy; in ath11k_pull_reg_chan_list_update_ev() 5133 reg_info->phy_id = chan_list_event_hdr->phy_id; in ath11k_pull_reg_chan_list_update_ev() 5134 reg_info->ctry_code = chan_list_event_hdr->country_id; in ath11k_pull_reg_chan_list_update_ev() [all …]
|
D | reg.h | 34 struct cur_regulatory_info *reg_info, bool intersect);
|
/drivers/clk/mmp/ |
D | clk-mix.c | 26 unsigned int div_mask = (1 << mix->reg_info.width_div) - 1; in _get_maxdiv() 134 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; in _set_rate() 289 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; in mmp_clk_mix_get_parent() 307 width = mix->reg_info.width_mux; in mmp_clk_mix_get_parent() 308 shift = mix->reg_info.shift_mux; in mmp_clk_mix_get_parent() 319 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; in mmp_clk_mix_recalc_rate() 337 width = mix->reg_info.width_div; in mmp_clk_mix_recalc_rate() 338 shift = mix->reg_info.shift_div; in mmp_clk_mix_recalc_rate() 462 memcpy(&mix->reg_info, &config->reg_info, sizeof(config->reg_info)); in mmp_clk_register_mix() 487 if (config->reg_info.bit_fc >= 32) in mmp_clk_register_mix() [all …]
|
D | clk-of-mmp2.c | 302 .reg_info = DEFINE_MIX_REG_INFO(4, 10, 2, 8, 32), 328 .reg_info = DEFINE_MIX_REG_INFO(4, 17, 2, 6, 32), 331 .reg_info = DEFINE_MIX_REG_INFO(4, 16, 2, 6, 32), 400 sdh_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_SDH0; in mmp2_axi_periph_clk_init() 406 ccic0_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC0; in mmp2_axi_periph_clk_init() 413 ccic1_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC1; in mmp2_axi_periph_clk_init()
|
D | clk.h | 77 struct mmp_clk_mix_reg_info reg_info; member 88 struct mmp_clk_mix_reg_info reg_info; member
|
/drivers/net/wwan/iosm/ |
D | iosm_ipc_flash.c | 335 __le32 reg_info[2]; /* 0th position region address, 1st position size */ in ipc_flash_download_region() local 343 reg_info[0] = cpu_to_le32(nand_address); in ipc_flash_download_region() 346 reg_info[1] = cpu_to_le32(nand_address + rest_len - 2); in ipc_flash_download_region() 348 (u8 *)reg_info, IOSM_MDM_SEND_8, in ipc_flash_download_region() 360 (u8 *)reg_info, IOSM_MDM_SEND_4, mdm_rsp); in ipc_flash_download_region()
|
/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.h | 72 struct reg_info { struct 129 struct reg_info *rinfo;
|
D | aicasm_gram.y | 1480 (struct reg_info *)malloc(sizeof(struct reg_info)); in initialize_symbol() 1486 sizeof(struct reg_info)); in initialize_symbol()
|
/drivers/regulator/ |
D | rc5t583-regulator.c | 38 struct rc5t583_regulator_info *reg_info = rdev_get_drvdata(rdev); in rc5t583_regulator_enable_time() local 42 return DIV_ROUND_UP(curr_uV, reg_info->enable_uv_per_us); in rc5t583_regulator_enable_time()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_debugfs.c | 190 const struct hclge_dbg_reg_type_info *reg_info, in hclge_dbg_dump_reg_tqp() argument 193 const struct hclge_dbg_dfx_message *dfx_message = reg_info->dfx_msg; in hclge_dbg_dump_reg_tqp() 194 const struct hclge_dbg_reg_common_msg *reg_msg = ®_info->reg_msg; in hclge_dbg_dump_reg_tqp() 220 dfx_message = reg_info->dfx_msg; in hclge_dbg_dump_reg_tqp() 244 const struct hclge_dbg_reg_type_info *reg_info, in hclge_dbg_dump_reg_common() argument 247 const struct hclge_dbg_reg_common_msg *reg_msg = ®_info->reg_msg; in hclge_dbg_dump_reg_common() 248 const struct hclge_dbg_dfx_message *dfx_message = reg_info->dfx_msg; in hclge_dbg_dump_reg_common() 642 const struct hclge_dbg_reg_type_info *reg_info; in hclge_dbg_dump_reg_cmd() local 647 reg_info = &hclge_dbg_reg_info[i]; in hclge_dbg_dump_reg_cmd() 648 if (cmd == reg_info->cmd) { in hclge_dbg_dump_reg_cmd() [all …]
|
/drivers/remoteproc/ |
D | qcom_q6v5_mss.c | 137 struct reg_info { struct 207 struct reg_info active_regs[1]; 208 struct reg_info proxy_regs[1]; 209 struct reg_info fallback_proxy_regs[2]; 260 static int q6v5_regulator_init(struct device *dev, struct reg_info *regs, in q6v5_regulator_init() 287 struct reg_info *regs, int count) in q6v5_regulator_enable() 337 struct reg_info *regs, int count) in q6v5_regulator_disable()
|
/drivers/bus/mhi/host/ |
D | init.c | 451 } reg_info[] = { in mhi_init_mmio() local 561 for (i = 0; reg_info[i].offset; i++) in mhi_init_mmio() 562 mhi_write_reg(mhi_cntrl, base, reg_info[i].offset, in mhi_init_mmio() 563 reg_info[i].val); in mhi_init_mmio()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 806 const struct reg_addr *reg_info) in bnx2x_is_reg_in_chip() argument 809 return IS_E1_REG(reg_info->chips); in bnx2x_is_reg_in_chip() 811 return IS_E1H_REG(reg_info->chips); in bnx2x_is_reg_in_chip() 813 return IS_E2_REG(reg_info->chips); in bnx2x_is_reg_in_chip() 815 return IS_E3A0_REG(reg_info->chips); in bnx2x_is_reg_in_chip() 817 return IS_E3B0_REG(reg_info->chips); in bnx2x_is_reg_in_chip()
|
/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 1649 const struct iwl_fw_mon_reg *reg_info) in iwl_get_mon_reg() argument 1658 if (!reg_info || !reg_info->addr || !reg_info->mask) in iwl_get_mon_reg() 1661 val = iwl_read_prph_no_grab(fwrt->trans, reg_info->addr + offs); in iwl_get_mon_reg() 1663 return cpu_to_le32(mask_apply_and_normalize(val, reg_info->mask)); in iwl_get_mon_reg()
|
/drivers/net/wireless/ath/ath6kl/ |
D | debug.c | 172 const char *reg_info; member 978 "%s\n", diag_reg[i].reg_info); in ath6kl_regdump_open()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 13071 const struct mlxsw_reg_info *reg_info; in mlxsw_reg_id_str() local 13075 reg_info = mlxsw_reg_infos[i]; in mlxsw_reg_id_str() 13076 if (reg_info->id == reg_id) in mlxsw_reg_id_str() 13077 return reg_info->name; in mlxsw_reg_id_str()
|
/drivers/dma/qcom/ |
D | gpi.c | 479 struct reg_info { struct
|