Home
last modified time | relevance | path

Searched refs:control_type (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/powercap/
H A Dpowercap_sys.c328 static bool control_type_valid(void *control_type) in control_type_valid() argument
336 if (pos == control_type) { in control_type_valid()
406 struct powercap_control_type *control_type = in powercap_release() local
410 allocated = control_type->allocated; in powercap_release()
411 idr_destroy(&control_type->idr); in powercap_release()
412 mutex_destroy(&control_type->lock); in powercap_release()
413 if (control_type->ops && control_type->ops->release) in powercap_release()
414 control_type->ops->release(control_type); in powercap_release()
416 kfree(control_type); in powercap_release()
433 struct powercap_control_type *control_type = in enabled_show() local
[all …]
H A Dintel_rapl_msr.c220 rapl_msr_priv->control_type = powercap_register_control_type(NULL, "intel-rapl", NULL); in rapl_msr_probe()
221 if (IS_ERR(rapl_msr_priv->control_type)) { in rapl_msr_probe()
223 return PTR_ERR(rapl_msr_priv->control_type); in rapl_msr_probe()
236 powercap_unregister_control_type(rapl_msr_priv->control_type); in rapl_msr_probe()
243 powercap_unregister_control_type(rapl_msr_priv->control_type); in rapl_msr_remove()
H A Dintel_rapl_common.c1355 rp->priv->control_type, rp->name, in rapl_package_register_powercap()
1384 rp->priv->control_type, in rapl_package_register_powercap()
1405 powercap_unregister_zone(rp->priv->control_type, in rapl_package_register_powercap()
2144 powercap_unregister_zone(rp->priv->control_type, in rapl_remove_package_cpuslocked()
2148 powercap_unregister_zone(rp->priv->control_type, in rapl_remove_package_cpuslocked()
2197 && rp->priv->control_type == priv->control_type) in rapl_find_package_domain_cpuslocked()
H A Dintel_rapl_tpmi.c299 trp->priv.control_type = tpmi_control_type; in intel_rapl_tpmi_probe()
/linux/include/linux/
H A Dpowercap.h253 struct powercap_control_type *control_type,
294 struct powercap_control_type *control_type,
309 int powercap_unregister_zone(struct powercap_control_type *control_type,
H A Dintel_rapl.h150 struct powercap_control_type *control_type; member
/linux/sound/pci/asihpi/
H A Dhpicmn.c226 if (info->control_type) { in control_cache_alloc_check()
238 info->control_index, info->control_type, in control_cache_alloc_check()
286 (*pI)->control_type); in find_control()
322 switch (pC->u.i.control_type) { in hpi_check_control_cache_single()
516 pC->u.i.control_index, pC->u.i.control_type, in hpi_check_control_cache_single()
558 switch (pC->u.i.control_type) { in hpi_cmn_control_cache_sync_to_msg_single()
H A Dasihpi.c1274 u16 control_type; member
2543 prev_ctl.control_type = -1; in snd_card_asihpi_mixer_new()
2553 &hpi_ctl.control_type, in snd_card_asihpi_mixer_new()
2574 if ((hpi_ctl.control_type == prev_ctl.control_type) && in snd_card_asihpi_mixer_new()
2585 switch (hpi_ctl.control_type) { in snd_card_asihpi_mixer_new()
2626 hpi_ctl.control_type, in snd_card_asihpi_mixer_new()
H A Dhpi_internal.h773 u16 control_type; /* = HPI_CONTROL_METER _VOLUME etc */ member
1255 u8 control_type; member
H A Dhpi.h1316 u16 control_type, u32 *ph_control);
H A Dhpifunc.c1234 u16 control_type, u32 *ph_control) in hpi_mixer_get_control() argument
1246 hm.u.m.control_type = control_type; in hpi_mixer_get_control()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c693 (enum dmub_backlight_control_type) backlight_level_params->control_type; in dmub_abm_set_backlight()
725 if (backlight_level_params->control_type != BACKLIGHT_CONTROL_AMD_AUX) in dcn31_set_backlight_level()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-powercap25 This status affects every power zone using this "control_type.
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h1448 enum backlight_control_type control_type; member