/linux/kernel/bpf/ |
A D | bpf_iter.c | 11 const struct bpf_iter_reg *reg_info; member 243 return link->tinfo->reg_info->seq_info; in __get_seq_info() 294 tinfo->reg_info = reg_info; in bpf_iter_reg_target() 311 if (reg_info == tinfo->reg_info) { in bpf_iter_unreg_target() 372 const struct bpf_iter_reg *reg_info; in bpf_iter_get_func_proto() local 374 reg_info = tinfo->reg_info; in bpf_iter_get_func_proto() 375 if (reg_info->get_func_proto) in bpf_iter_get_func_proto() 376 fn = reg_info->get_func_proto(func_id, prog); in bpf_iter_get_func_proto() 390 if (iter_link->tinfo->reg_info->detach_target) in bpf_iter_link_release() 438 iter_link->tinfo->reg_info->target); in bpf_iter_link_show_fdinfo() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | reg.c | 574 num_rules = reg_info->num_5g_reg_rules + reg_info->num_2g_reg_rules; in ath11k_reg_build_regd() 580 if (reg_info->dfs_region == ATH11K_DFS_REG_ETSI) in ath11k_reg_build_regd() 597 reg_info->dfs_region, num_rules); in ath11k_reg_build_regd() 602 if (reg_info->num_2g_reg_rules && in ath11k_reg_build_regd() 603 (i < reg_info->num_2g_reg_rules)) { in ath11k_reg_build_regd() 604 reg_rule = reg_info->reg_rules_2g_ptr + i; in ath11k_reg_build_regd() 606 reg_info->max_bw_2g); in ath11k_reg_build_regd() 608 } else if (reg_info->num_5g_reg_rules && in ath11k_reg_build_regd() 609 (j < reg_info->num_5g_reg_rules)) { in ath11k_reg_build_regd() 610 reg_rule = reg_info->reg_rules_5g_ptr + j++; in ath11k_reg_build_regd() [all …]
|
A D | wmi.c | 4530 if (!(reg_info->num_2g_reg_rules + reg_info->num_5g_reg_rules)) { in ath11k_pull_reg_chan_list_update_ev() 4567 __func__, reg_info->alpha2, reg_info->dfs_region, in ath11k_pull_reg_chan_list_update_ev() 4568 reg_info->min_bw_2g, reg_info->max_bw_2g, in ath11k_pull_reg_chan_list_update_ev() 4569 reg_info->min_bw_5g, reg_info->max_bw_5g); in ath11k_pull_reg_chan_list_update_ev() 4583 if (!reg_info->reg_rules_2g_ptr) { in ath11k_pull_reg_chan_list_update_ev() 5832 reg_info = kzalloc(sizeof(*reg_info), GFP_ATOMIC); in ath11k_reg_chan_list_event() 5833 if (!reg_info) { in ath11k_reg_chan_list_event() 5853 pdev_idx = reg_info->phy_id; in ath11k_reg_chan_list_event() 5883 (char *)reg_info->alpha2, 2)) in ath11k_reg_chan_list_event() 5937 if (reg_info) { in ath11k_reg_chan_list_event() [all …]
|
A D | reg.h | 33 struct cur_regulatory_info *reg_info, bool intersect);
|
/linux/drivers/clk/mmp/ |
A D | clk-mix.c | 29 unsigned int div_mask = (1 << mix->reg_info.width_div) - 1; in _get_maxdiv() 137 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; in _set_rate() 292 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; in mmp_clk_mix_get_parent() 310 width = mix->reg_info.width_mux; in mmp_clk_mix_get_parent() 311 shift = mix->reg_info.shift_mux; in mmp_clk_mix_get_parent() 322 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; in mmp_clk_mix_recalc_rate() 340 width = mix->reg_info.width_div; in mmp_clk_mix_recalc_rate() 341 shift = mix->reg_info.shift_div; in mmp_clk_mix_recalc_rate() 465 memcpy(&mix->reg_info, &config->reg_info, sizeof(config->reg_info)); in mmp_clk_register_mix() 490 if (config->reg_info.bit_fc >= 32) in mmp_clk_register_mix() [all …]
|
A D | clk-of-mmp2.c | 303 .reg_info = DEFINE_MIX_REG_INFO(4, 10, 2, 8, 32), 329 .reg_info = DEFINE_MIX_REG_INFO(4, 17, 2, 6, 32), 332 .reg_info = DEFINE_MIX_REG_INFO(4, 16, 2, 6, 32), 401 sdh_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_SDH0; in mmp2_axi_periph_clk_init() 407 ccic0_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC0; in mmp2_axi_periph_clk_init() 414 ccic1_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC1; in mmp2_axi_periph_clk_init()
|
A D | clk.h | 77 struct mmp_clk_mix_reg_info reg_info; member 88 struct mmp_clk_mix_reg_info reg_info; member
|
/linux/arch/arc/kernel/ |
A D | unwind.c | 55 } reg_info[] = { variable 62 #define REG_INVALID(r) (reg_info[r].width == 0) 147 struct unwind_item regs[ARRAY_SIZE(reg_info)]; 1074 || reg_info[retAddrReg].width != in arc_unwind() 1149 || state.cfa.reg >= ARRAY_SIZE(reg_info) in arc_unwind() 1208 || reg_info[i].width > in arc_unwind() 1209 reg_info[state.regs[i].value].width) in arc_unwind() 1211 switch (reg_info[state.regs[i].value].width) { in arc_unwind() 1245 if (reg_info[i].width != sizeof(UNW_SP(frame)) in arc_unwind() 1252 switch (reg_info[i].width) { in arc_unwind() [all …]
|
/linux/arch/ia64/kernel/ |
A D | palinfo.c | 151 static void bitregister_process(struct seq_file *m, u64 *reg_info, int max) in bitregister_process() argument 154 u64 value = reg_info[0]; in bitregister_process() 160 if (i != 0 && (i%64) == 0) value = *++reg_info; in bitregister_process() 422 u64 reg_info[2]; in register_info() local 435 if (ia64_pal_register_info(info, ®_info[0], ®_info[1]) != 0) in register_info() 438 bitregister_process(m, reg_info, 128); in register_info()
|
/linux/drivers/net/wwan/iosm/ |
A 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()
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_symbol.h | 72 struct reg_info { struct 129 struct reg_info *rinfo;
|
A D | aicasm_gram.y | 1480 (struct reg_info *)malloc(sizeof(struct reg_info)); in initialize_symbol() 1486 sizeof(struct reg_info)); in initialize_symbol()
|
/linux/drivers/regulator/ |
A D | rc5t583-regulator.c | 39 struct rc5t583_regulator_info *reg_info = rdev_get_drvdata(rdev); in rc5t583_regulator_enable_time() local 43 return DIV_ROUND_UP(curr_uV, reg_info->enable_uv_per_us); in rc5t583_regulator_enable_time()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_debugfs.c | 163 const struct hclge_dbg_reg_type_info *reg_info, in hclge_dbg_dump_reg_tqp() argument 166 const struct hclge_dbg_dfx_message *dfx_message = reg_info->dfx_msg; in hclge_dbg_dump_reg_tqp() 167 const struct hclge_dbg_reg_common_msg *reg_msg = ®_info->reg_msg; in hclge_dbg_dump_reg_tqp() 193 dfx_message = reg_info->dfx_msg; in hclge_dbg_dump_reg_tqp() 217 const struct hclge_dbg_reg_type_info *reg_info, in hclge_dbg_dump_reg_common() argument 220 const struct hclge_dbg_reg_common_msg *reg_msg = ®_info->reg_msg; in hclge_dbg_dump_reg_common() 625 const struct hclge_dbg_reg_type_info *reg_info; in hclge_dbg_dump_reg_cmd() local 630 reg_info = &hclge_dbg_reg_info[i]; in hclge_dbg_dump_reg_cmd() 631 if (cmd == reg_info->cmd) { in hclge_dbg_dump_reg_cmd() 633 return hclge_dbg_dump_reg_tqp(hdev, reg_info, in hclge_dbg_dump_reg_cmd() [all …]
|
/linux/drivers/bus/mhi/core/ |
A D | init.c | 439 } reg_info[] = { in mhi_init_mmio() local 547 for (i = 0; reg_info[i].offset; i++) in mhi_init_mmio() 548 mhi_write_reg_field(mhi_cntrl, base, reg_info[i].offset, in mhi_init_mmio() 549 reg_info[i].mask, reg_info[i].shift, in mhi_init_mmio() 550 reg_info[i].val); in mhi_init_mmio()
|
/linux/drivers/remoteproc/ |
A D | qcom_q6v5_mss.c | 128 struct reg_info { struct 198 struct reg_info active_regs[1]; 199 struct reg_info proxy_regs[1]; 200 struct reg_info fallback_proxy_regs[2]; 244 static int q6v5_regulator_init(struct device *dev, struct reg_info *regs, in q6v5_regulator_init() 271 struct reg_info *regs, int count) in q6v5_regulator_enable() 321 struct reg_info *regs, int count) in q6v5_regulator_disable()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A 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()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | dbg.c | 1628 const struct iwl_fw_mon_reg *reg_info) in iwl_get_mon_reg() argument 1637 if (!reg_info || !reg_info->addr || !reg_info->mask) in iwl_get_mon_reg() 1640 val = iwl_read_prph_no_grab(fwrt->trans, reg_info->addr + offs); in iwl_get_mon_reg() 1642 return cpu_to_le32(mask_apply_and_normalize(val, reg_info->mask)); in iwl_get_mon_reg()
|
/linux/sound/soc/samsung/ |
A D | i2s.c | 1269 const struct samsung_i2s_variant_regs *reg_info = priv->variant_regs; in i2s_register_clock_provider() local 1303 priv->addr + I2SMOD, reg_info->rclksrc_off, in i2s_register_clock_provider() 1319 priv->addr + I2SMOD, reg_info->cdclkcon_off, in i2s_register_clock_provider()
|
/linux/drivers/net/wireless/ath/ath6kl/ |
A D | debug.c | 172 const char *reg_info; member 978 "%s\n", diag_reg[i].reg_info); in ath6kl_regdump_open()
|
/linux/include/linux/ |
A D | bpf.h | 1549 int bpf_iter_reg_target(const struct bpf_iter_reg *reg_info); 1550 void bpf_iter_unreg_target(const struct bpf_iter_reg *reg_info);
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | reg.h | 12532 const struct mlxsw_reg_info *reg_info; in mlxsw_reg_id_str() local 12536 reg_info = mlxsw_reg_infos[i]; in mlxsw_reg_id_str() 12537 if (reg_info->id == reg_id) in mlxsw_reg_id_str() 12538 return reg_info->name; in mlxsw_reg_id_str()
|
/linux/drivers/dma/qcom/ |
A D | gpi.c | 479 struct reg_info { struct
|