Home
last modified time | relevance | path

Searched refs:reg_info (Results 1 – 25 of 49) sorted by relevance

12

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbpf_iter.c11 const struct bpf_iter_reg *reg_info; member
229 return link->tinfo->reg_info->seq_info; in __get_seq_info()
272 int bpf_iter_reg_target(const struct bpf_iter_reg *reg_info) in bpf_iter_reg_target() argument
280 tinfo->reg_info = reg_info; in bpf_iter_reg_target()
290 void bpf_iter_unreg_target(const struct bpf_iter_reg *reg_info) in bpf_iter_unreg_target() argument
297 if (reg_info == tinfo->reg_info) { in bpf_iter_unreg_target()
333 if (!strcmp(attach_fname + prefix_len, tinfo->reg_info->target)) { in bpf_iter_prog_supported()
342 prog->aux->ctx_arg_info_size = tinfo->reg_info->ctx_arg_info_size; in bpf_iter_prog_supported()
343 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
354 if (iter_link->tinfo->reg_info->detach_target) in bpf_iter_link_release()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Dreg.c573 struct cur_regulatory_info *reg_info, bool intersect) in ath11k_reg_build_regd() argument
583 num_rules = reg_info->num_5g_reg_rules + reg_info->num_2g_reg_rules; in ath11k_reg_build_regd()
589 if (reg_info->dfs_region == ATH11K_DFS_REG_ETSI) in ath11k_reg_build_regd()
598 memcpy(tmp_regd->alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd()
599 memcpy(alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd()
601 tmp_regd->dfs_region = ath11k_map_fw_dfs_region(reg_info->dfs_region); in ath11k_reg_build_regd()
606 reg_info->dfs_region, num_rules); in ath11k_reg_build_regd()
611 if (reg_info->num_2g_reg_rules && in ath11k_reg_build_regd()
612 (i < reg_info->num_2g_reg_rules)) { in ath11k_reg_build_regd()
613 reg_rule = reg_info->reg_rules_2g_ptr + i; in ath11k_reg_build_regd()
[all …]
H A Dwmi.c4081 struct cur_regulatory_info *reg_info) in ath11k_pull_reg_chan_list_update_ev() argument
4105 reg_info->num_2g_reg_rules = chan_list_event_hdr->num_2g_reg_rules; in ath11k_pull_reg_chan_list_update_ev()
4106 reg_info->num_5g_reg_rules = chan_list_event_hdr->num_5g_reg_rules; in ath11k_pull_reg_chan_list_update_ev()
4108 if (!(reg_info->num_2g_reg_rules + reg_info->num_5g_reg_rules)) { in ath11k_pull_reg_chan_list_update_ev()
4114 memcpy(reg_info->alpha2, &chan_list_event_hdr->alpha2, in ath11k_pull_reg_chan_list_update_ev()
4116 reg_info->dfs_region = chan_list_event_hdr->dfs_region; in ath11k_pull_reg_chan_list_update_ev()
4117 reg_info->phybitmap = chan_list_event_hdr->phybitmap; in ath11k_pull_reg_chan_list_update_ev()
4118 reg_info->num_phy = chan_list_event_hdr->num_phy; in ath11k_pull_reg_chan_list_update_ev()
4119 reg_info->phy_id = chan_list_event_hdr->phy_id; in ath11k_pull_reg_chan_list_update_ev()
4120 reg_info->ctry_code = chan_list_event_hdr->country_id; in ath11k_pull_reg_chan_list_update_ev()
[all …]
H A Dreg.h32 struct cur_regulatory_info *reg_info, bool intersect);
/OK3568_Linux_fs/kernel/drivers/clk/mmp/
H A Dclk-mix.c29 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 …]
H A Dclk-of-mmp2.c303 .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()
H A Dclk.h77 struct mmp_clk_mix_reg_info reg_info; member
88 struct mmp_clk_mix_reg_info reg_info; member
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/pxaregs/pxaregs-1.14/
H A Dpxaregs.c33 struct reg_info { struct
43 static struct reg_info regs[] = { argument
1885 int n=sizeof(regs)/sizeof(struct reg_info); in dumpall()
1896 int n=sizeof(regs)/sizeof(struct reg_info); in dumpmatching()
1912 int n=sizeof(regs)/sizeof(struct reg_info); in setreg()
H A Dserial.patch5 @@ -78,6 +78,9 @@ static struct reg_info regs[] = {
H A Dusb.patch5 @@ -78,6 +78,12 @@ static struct reg_info regs[] = {
/OK3568_Linux_fs/kernel/arch/arc/kernel/
H A Dunwind.c55 } reg_info[] = { variable
62 #define REG_INVALID(r) (reg_info[r].width == 0)
147 struct unwind_item regs[ARRAY_SIZE(reg_info)];
154 static const struct cfa badCFA = { ARRAY_SIZE(reg_info), 1 };
901 #define FRAME_REG(r, t) (((t *)frame)[reg_info[r].offs]) in arc_unwind()
1071 if (ptr > end || retAddrReg >= ARRAY_SIZE(reg_info) in arc_unwind()
1073 || reg_info[retAddrReg].width != in arc_unwind()
1148 || state.cfa.reg >= ARRAY_SIZE(reg_info) in arc_unwind()
1149 || reg_info[state.cfa.reg].width != sizeof(unsigned long) in arc_unwind()
1205 if (state.regs[i].value >= ARRAY_SIZE(reg_info) in arc_unwind()
[all …]
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dpalinfo.c151 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, &reg_info[0], &reg_info[1]) != 0) in register_info()
438 bitregister_process(m, reg_info, 128); in register_info()
/OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.h72 struct reg_info { struct
129 struct reg_info *rinfo;
H A Daicasm_gram.y1481 (struct reg_info *)malloc(sizeof(struct reg_info)); in initialize_symbol()
1487 sizeof(struct reg_info)); in initialize_symbol()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Drc5t583-regulator.c39 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()
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Dbios.c60 struct eregs reg_info = { in int_exception_handler() local
75 struct eregs *regs = &reg_info; in int_exception_handler()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c118 const struct hclge_dbg_reg_type_info *reg_info, in hclge_dbg_dump_reg_common() argument
123 const char *s = &cmd_buf[strlen(reg_info->reg_type) + IDX_OFFSET]; in hclge_dbg_dump_reg_common()
124 const struct hclge_dbg_dfx_message *dfx_message = reg_info->dfx_msg; in hclge_dbg_dump_reg_common()
125 const struct hclge_dbg_reg_common_msg *reg_msg = &reg_info->reg_msg; in hclge_dbg_dump_reg_common()
402 const struct hclge_dbg_reg_type_info *reg_info; in hclge_dbg_dump_reg_cmd() local
407 reg_info = &hclge_dbg_reg_info[i]; in hclge_dbg_dump_reg_cmd()
408 if (!strncmp(cmd_buf, reg_info->reg_type, in hclge_dbg_dump_reg_cmd()
409 strlen(reg_info->reg_type))) { in hclge_dbg_dump_reg_cmd()
410 hclge_dbg_dump_reg_common(hdev, reg_info, cmd_buf); in hclge_dbg_dump_reg_cmd()
/OK3568_Linux_fs/kernel/drivers/bus/mhi/core/
H A Dinit.c423 } reg_info[] = { in mhi_init_mmio() local
533 for (i = 0; reg_info[i].offset; i++) in mhi_init_mmio()
534 mhi_write_reg_field(mhi_cntrl, base, reg_info[i].offset, in mhi_init_mmio()
535 reg_info[i].mask, reg_info[i].shift, in mhi_init_mmio()
536 reg_info[i].val); in mhi_init_mmio()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/intel_common/
H A Dlpc.c46 struct reg_info { in lpc_common_early_init() struct
/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dqcom_q6v5_mss.c120 struct reg_info { struct
179 struct reg_info active_regs[1];
180 struct reg_info proxy_regs[3];
220 static int q6v5_regulator_init(struct device *dev, struct reg_info *regs, in q6v5_regulator_init()
247 struct reg_info *regs, int count) in q6v5_regulator_enable()
297 struct reg_info *regs, int count) in q6v5_regulator_disable()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c1578 const struct iwl_fw_mon_reg *reg_info) in iwl_get_mon_reg() argument
1587 if (!reg_info || !reg_info->addr || !reg_info->mask) in iwl_get_mon_reg()
1590 val = iwl_read_prph_no_grab(fwrt->trans, reg_info->addr + offs); in iwl_get_mon_reg()
1592 return cpu_to_le32(mask_apply_and_normalize(val, reg_info->mask)); in iwl_get_mon_reg()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c806 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()
/OK3568_Linux_fs/kernel/sound/soc/samsung/
H A Di2s.c1271 const struct samsung_i2s_variant_regs *reg_info = priv->variant_regs; in i2s_register_clock_provider() local
1305 priv->addr + I2SMOD, reg_info->rclksrc_off, in i2s_register_clock_provider()
1321 priv->addr + I2SMOD, reg_info->cdclkcon_off, in i2s_register_clock_provider()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/
H A Drtw_mlme_ext.h844 void rtw_macid_ctl_init_sleep_reg(struct macid_ctl_t *macid_ctl, u16 reg_ctrl, u16 reg_info);
845 void rtw_macid_ctl_init_drop_reg(struct macid_ctl_t *macid_ctl, u16 reg_ctrl, u16 reg_info);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/
H A Drtw_mlme_ext.h842 void rtw_macid_ctl_init_sleep_reg(struct macid_ctl_t *macid_ctl, u16 reg_ctrl, u16 reg_info);
843 void rtw_macid_ctl_init_drop_reg(struct macid_ctl_t *macid_ctl, u16 reg_ctrl, u16 reg_info);

12