/kernel/linux/linux-6.6/drivers/net/dsa/qca/ |
H A 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 in qca8k_get_control_led_reg() 98 struct qca8k_led_pattern_en reg_info; qca8k_led_brightness_set() local 166 struct qca8k_led_pattern_en reg_info; qca8k_led_brightness_get() local 197 struct qca8k_led_pattern_en reg_info; qca8k_cled_blink_set() local 232 struct qca8k_led_pattern_en reg_info; qca8k_cled_trigger_offload() local 257 struct qca8k_led_pattern_en reg_info; qca8k_cled_hw_control_status() local 289 struct qca8k_led_pattern_en reg_info; qca8k_cled_hw_control_set() local 313 struct qca8k_led_pattern_en reg_info; qca8k_cled_hw_control_get() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/ |
H A D | hypercalls.c | 173 const struct kvm_fw_reg_info *reg_info = &fw_reg_info[i]; in test_fw_regs_before_vm_start() local 176 vcpu_get_reg(vcpu, reg_info->reg, &val); in test_fw_regs_before_vm_start() 177 TEST_ASSERT(val == FW_REG_ULIMIT_VAL(reg_info->max_feat_bit), in test_fw_regs_before_vm_start() 179 reg_info->reg, FW_REG_ULIMIT_VAL(reg_info->max_feat_bit), val); in test_fw_regs_before_vm_start() 182 ret = __vcpu_set_reg(vcpu, reg_info->reg, 0); in test_fw_regs_before_vm_start() 185 reg_info->reg, errno); in test_fw_regs_before_vm_start() 187 vcpu_get_reg(vcpu, reg_info->reg, &val); in test_fw_regs_before_vm_start() 189 "Expected all the features to be cleared for reg: 0x%lx\n", reg_info->reg); in test_fw_regs_before_vm_start() 195 if (reg_info in test_fw_regs_before_vm_start() 211 const struct kvm_fw_reg_info *reg_info = &fw_reg_info[i]; test_fw_regs_after_vm_start() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | reg.c | 565 struct ath12k_reg_info *reg_info, bool intersect) in ath12k_reg_build_regd() 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 in ath12k_reg_build_regd() 564 ath12k_reg_build_regd(struct ath12k_base *ab, struct ath12k_reg_info *reg_info, bool intersect) ath12k_reg_build_regd() argument [all...] |
H A D | wmi.c | 4422 struct ath12k_reg_info *reg_info) in ath12k_pull_reg_chan_list_ext_update_ev() 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 in ath12k_pull_reg_chan_list_ext_update_ev() 4420 ath12k_pull_reg_chan_list_ext_update_ev(struct ath12k_base *ab, struct sk_buff *skb, struct ath12k_reg_info *reg_info) ath12k_pull_reg_chan_list_ext_update_ev() argument 5409 struct ath12k_reg_info *reg_info = NULL; ath12k_reg_chan_list_event() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | reg.c | 612 struct cur_regulatory_info *reg_info, bool intersect) in ath11k_reg_build_regd() 622 num_rules = reg_info->num_5ghz_reg_rules + reg_info->num_2ghz_reg_rules; in ath11k_reg_build_regd() 627 if (reg_info->is_ext_reg_event) in ath11k_reg_build_regd() 628 num_rules += reg_info->num_6ghz_rules_ap[WMI_REG_INDOOR_AP]; in ath11k_reg_build_regd() 634 if (reg_info->dfs_region == ATH11K_DFS_REG_ETSI) in ath11k_reg_build_regd() 643 memcpy(tmp_regd->alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd() 644 memcpy(alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd() 646 tmp_regd->dfs_region = ath11k_map_fw_dfs_region(reg_info->dfs_region); in ath11k_reg_build_regd() 651 reg_info in ath11k_reg_build_regd() 611 ath11k_reg_build_regd(struct ath11k_base *ab, struct cur_regulatory_info *reg_info, bool intersect) ath11k_reg_build_regd() argument [all...] |
H A D | wmi.c | 5095 struct cur_regulatory_info *reg_info) in ath11k_pull_reg_chan_list_update_ev() 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 in ath11k_pull_reg_chan_list_update_ev() 5093 ath11k_pull_reg_chan_list_update_ev(struct ath11k_base *ab, struct sk_buff *skb, struct cur_regulatory_info *reg_info) ath11k_pull_reg_chan_list_update_ev() argument 5266 ath11k_pull_reg_chan_list_ext_update_ev(struct ath11k_base *ab, struct sk_buff *skb, struct cur_regulatory_info *reg_info) ath11k_pull_reg_chan_list_ext_update_ev() argument 7077 struct cur_regulatory_info *reg_info = NULL; ath11k_reg_chan_list_event() local [all...] |
H A D | reg.h | 33 struct cur_regulatory_info *reg_info, bool intersect);
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | bpf_iter.c | 12 const struct bpf_iter_reg *reg_info; member 73 return tinfo->reg_info->feature & BPF_ITER_RESCHED; in bpf_iter_target_support_resched() 253 return link->tinfo->reg_info->seq_info; in __get_seq_info() 291 /* The argument reg_info will be cached in bpf_iter_target_info. 292 * The common practice is to declare target reg_info as 296 int bpf_iter_reg_target(const struct bpf_iter_reg *reg_info) in bpf_iter_reg_target() argument 304 tinfo->reg_info = reg_info; in bpf_iter_reg_target() 314 void bpf_iter_unreg_target(const struct bpf_iter_reg *reg_info) in bpf_iter_unreg_target() argument 321 if (reg_info in bpf_iter_unreg_target() 381 const struct bpf_iter_reg *reg_info; bpf_iter_get_func_proto() local [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | bpf_iter.c | 11 const struct bpf_iter_reg *reg_info; member 229 return link->tinfo->reg_info->seq_info; in __get_seq_info() 267 /* The argument reg_info will be cached in bpf_iter_target_info. 268 * The common practice is to declare target reg_info as 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() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | reg.c | 573 struct cur_regulatory_info *reg_info, bool intersect) in ath11k_reg_build_regd() 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 in ath11k_reg_build_regd() 572 ath11k_reg_build_regd(struct ath11k_base *ab, struct cur_regulatory_info *reg_info, bool intersect) ath11k_reg_build_regd() argument [all...] |
H A D | reg.h | 32 struct cur_regulatory_info *reg_info, bool intersect);
|
H A D | wmi.c | 4081 struct cur_regulatory_info *reg_info) in ath11k_pull_reg_chan_list_update_ev() 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 in ath11k_pull_reg_chan_list_update_ev() 4079 ath11k_pull_reg_chan_list_update_ev(struct ath11k_base *ab, struct sk_buff *skb, struct cur_regulatory_info *reg_info) ath11k_pull_reg_chan_list_update_ev() argument 5337 struct cur_regulatory_info *reg_info = NULL; ath11k_reg_chan_list_event() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
H 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, sizeo in mmp_clk_register_mix() [all...] |
H 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()
|
/kernel/linux/linux-6.6/drivers/clk/mmp/ |
H A 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, sizeo in mmp_clk_register_mix() [all...] |
H A 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()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H 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)]; 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...] |
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H 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)]; 154 static const struct cfa badCFA = { ARRAY_SIZE(reg_info), 1 }; 899 #define FRAME_REG(r, t) (((t *)frame)[reg_info[r].offs]) in arc_unwind() 1069 if (ptr > end || retAddrReg >= ARRAY_SIZE(reg_info) in arc_unwind() 1071 || reg_info[retAddrReg].width != in arc_unwind() 1146 || state.cfa.reg >= ARRAY_SIZE(reg_info) in arc_unwind() 1147 || reg_info[state.cfa.reg].width != sizeof(unsigned long) in arc_unwind() 1203 if (state.regs[i].value >= ARRAY_SIZE(reg_info) in arc_unwind() [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H 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()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_symbol.h | 72 struct reg_info { struct 129 struct reg_info *rinfo;
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_symbol.h | 72 struct reg_info { struct 129 struct reg_info *rinfo;
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A 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()
|