Home
last modified time | relevance | path

Searched refs:reg_pwr (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/include/linux/platform_data/
H A Dmlxreg.h143 u32 reg_pwr; member
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Ddebugfs.c189 s16 rates, tpc, reg_pwr; in ath12k_tpc_get_rate() local
262 reg_pwr = tpc_stats->max_reg_allowed_power.reg_pwr_array[chain_idx]; in ath12k_tpc_get_rate()
264 if (reg_pwr < 0) in ath12k_tpc_get_rate()
265 reg_pwr = TPC_INVAL; in ath12k_tpc_get_rate()
267 tpc = min_t(s16, rates_ctl_min, reg_pwr); in ath12k_tpc_get_rate()
H A Dreg.c526 u32 end_freq, u32 bw, u32 ant_gain, u32 reg_pwr, in ath12k_reg_update_rule() argument
533 reg_rule->power_rule.max_eirp = DBM_TO_MBM(reg_pwr); in ath12k_reg_update_rule()
H A Dwmi.c8191 struct wmi_max_reg_power_allowed_arg *reg_pwr; in ath12k_tpc_get_reg_pwr() local
8200 reg_pwr = &tpc_stats->max_reg_allowed_power; in ath12k_tpc_get_reg_pwr()
8215 memcpy(&reg_pwr->tpc_reg_pwr, ev, sizeof(struct wmi_max_reg_power_fixed_params)); in ath12k_tpc_get_reg_pwr()
8217 reg_pwr->reg_pwr_array = kzalloc(le32_to_cpu(reg_pwr->tpc_reg_pwr.reg_array_len), in ath12k_tpc_get_reg_pwr()
8219 if (!reg_pwr->reg_pwr_array) in ath12k_tpc_get_reg_pwr()
/linux-6.15/drivers/platform/mellanox/
H A Dmlxreg-lc.c463 err = regmap_read(mlxreg_lc->par_regmap, mlxreg_lc->data->reg_pwr, &regval); in mlxreg_lc_power_on_off()
472 err = regmap_write(mlxreg_lc->par_regmap, mlxreg_lc->data->reg_pwr, regval); in mlxreg_lc_power_on_off()
669 err = regmap_read(mlxreg_lc->par_regmap, mlxreg_lc->data->reg_pwr, &regval); in mlxreg_lc_completion_notify()
H A Dmlx-platform.c1606 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
1620 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
1634 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
1648 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
1662 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
1676 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
1690 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
1704 .reg_pwr = MLXPLAT_CPLD_LPC_REG_LC_PWR_ON,
/linux-6.15/sound/soc/codecs/
H A Dwm9081.c360 unsigned int reg_pwr = snd_soc_component_read(component, WM9081_POWER_MANAGEMENT); in speaker_mode_put() local
369 if (reg_pwr & WM9081_SPK_ENA) in speaker_mode_put()
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Dreg.c524 u32 end_freq, u32 bw, u32 ant_gain, u32 reg_pwr, in ath11k_reg_update_rule() argument
531 reg_rule->power_rule.max_eirp = DBM_TO_MBM(reg_pwr); in ath11k_reg_update_rule()