Home
last modified time | relevance | path

Searched refs:power_source (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/pinctrl/qcom/
H A Dpinctrl-ssbi-mpp.c116 u8 power_source; member
203 level = pin->power_source; in pm8xxx_mpp_update()
343 arg = pin->power_source; in pm8xxx_pin_config_get()
399 pin->power_source = arg; in pm8xxx_pin_config_set()
667 pin->power_source = level; in pm8xxx_pin_populate()
673 pin->power_source = level; in pm8xxx_pin_populate()
681 pin->power_source = level; in pm8xxx_pin_populate()
722 pin->power_source = level; in pm8xxx_pin_populate()
H A Dpinctrl-ssbi-gpio.c76 u8 power_source; member
291 arg = pin->power_source; in pm8xxx_pin_config_get()
372 pin->power_source = arg; in pm8xxx_pin_config_set()
400 val = pin->power_source << 1; in pm8xxx_pin_config_set()
569 seq_printf(s, " VIN%d", pin->power_source); in pm8xxx_gpio_dbg_show_one()
613 pin->power_source = (val >> 1) & 0x7; in pm8xxx_pin_populate()
H A Dpinctrl-spmi-mpp.c132 unsigned int power_source; member
365 arg = pad->power_source; in pmic_mpp_config_get()
444 pad->power_source = arg; in pmic_mpp_config_set()
475 val = pad->power_source << PMIC_MPP_REG_VIN_SHIFT; in pmic_mpp_config_set()
543 seq_printf(s, " vin-%d", pad->power_source); in pmic_mpp_config_dbg_show()
746 pad->power_source = val >> PMIC_MPP_REG_VIN_SHIFT; in pmic_mpp_populate()
747 pad->power_source &= PMIC_MPP_REG_VIN_MASK; in pmic_mpp_populate()
H A Dpinctrl-spmi-gpio.c168 unsigned int power_source; member
430 arg = pad->power_source; in pmic_gpio_config_get()
524 pad->power_source = arg; in pmic_gpio_config_set()
576 val = pad->power_source << PMIC_GPIO_REG_VIN_SHIFT; in pmic_gpio_config_set()
707 seq_printf(s, " vin-%d", pad->power_source); in pmic_gpio_config_dbg_show()
922 pad->power_source = val >> PMIC_GPIO_REG_VIN_SHIFT; in pmic_gpio_populate()
923 pad->power_source &= PMIC_GPIO_REG_VIN_MASK; in pmic_gpio_populate()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v11_0.h133 uint32_t power_source; member
139 uint32_t power_source; member
H A Dsmu_v14_0.h120 uint32_t power_source; member
H A Dsmu_v13_0.h121 uint32_t power_source; member
/linux/drivers/platform/x86/amd/pmf/
H A Dspc.c37 dev_dbg(dev->dev, "Power Source: %s\n", amd_pmf_source_as_str(in->ev_info.power_source)); in amd_pmf_dump_ta_inputs()
199 in->ev_info.power_source = amd_pmf_get_power_source(); in amd_pmf_populate_ta_inputs()
H A Dpmf.h309 enum power_source { enum
653 u32 power_source; member
/linux/arch/powerpc/kernel/
H A Drtas-proc.c493 const char * power_source[] = { "AC\t", "Battery", in ppc_rtas_process_sensor() local
546 num_states = sizeof(power_source) / sizeof(char *); in ppc_rtas_process_sensor()
549 power_source[state]); in ppc_rtas_process_sensor()
/linux/include/net/
H A Dieee802154_netdev.h132 power_source:1, member
144 power_source:1,
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzg2l.c303 u16 power_source; member
836 return pctrl->settings[pin].power_source; in rzg2l_get_power_source()
864 pctrl->settings[pin].power_source = ps; in rzg2l_set_power_source()
889 pctrl->settings[pin].power_source = ps; in rzg2l_set_power_source()
1409 settings.power_source = arg; in rzg2l_pinctrl_pinconf_set()
1484 if (settings.power_source != pctrl->settings[_pin].power_source) { in rzg2l_pinctrl_pinconf_set()
1485 ret = rzg2l_ps_is_supported(settings.power_source); in rzg2l_pinctrl_pinconf_set()
1490 ret = rzg2l_set_power_source(pctrl, _pin, cfg, settings.power_source); in rzg2l_pinctrl_pinconf_set()
1500 iolh_idx = rzg2l_ps_to_iolh_idx(settings.power_source); in rzg2l_pinctrl_pinconf_set()
2693 pctrl->settings[i].power_source = 3300; in rzg2l_pinctrl_register()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c209 state->power_source = params ? params->power_source : DC_POWER_SOURCE_AC; in dc_state_create()
H A Ddc.c2114 dc->current_state->power_source == params->power_source) in dc_commit_streams()
2156 context->power_source = params->power_source; in dc_commit_streams()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h641 enum dc_power_source_type power_source; member
/linux/net/mac802154/
H A Dscan.c548 frame.assoc_req_pl.power_source = 1; in mac802154_perform_association()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1619 …context->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_c… in dcn401_validate_bandwidth()
1629 …context->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_c… in dcn401_prepare_mcache_programming()
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.h812 u8 power_source; member
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1743 …context->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_c… in dcn35_validate_bandwidth()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1817 …context->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_c… in dcn32_validate_bandwidth()