Searched refs:control_type (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/powercap/ |
A D | powercap_sys.c | 413 if (control_type->ops && control_type->ops->release) in powercap_release() 414 control_type->ops->release(control_type); in powercap_release() 435 if (control_type->ops && control_type->ops->get_enable) in enabled_show() 436 if (control_type->ops->get_enable(control_type, &mode)) in enabled_show() 459 if (control_type->ops && control_type->ops->set_enable) in enabled_store() 460 if (!control_type->ops->set_enable(control_type, mode)) in enabled_store() 608 if (control_type) { in powercap_register_control_type() 611 memset(control_type, 0, sizeof(*control_type)); in powercap_register_control_type() 613 control_type = kzalloc(sizeof(*control_type), GFP_KERNEL); in powercap_register_control_type() 614 if (!control_type) in powercap_register_control_type() [all …]
|
A D | intel_rapl_msr.c | 173 rapl_msr_priv->control_type = powercap_register_control_type(NULL, "intel-rapl", NULL); in rapl_msr_probe() 174 if (IS_ERR(rapl_msr_priv->control_type)) { in rapl_msr_probe() 176 return PTR_ERR(rapl_msr_priv->control_type); in rapl_msr_probe() 189 powercap_unregister_control_type(rapl_msr_priv->control_type); in rapl_msr_probe() 196 powercap_unregister_control_type(rapl_msr_priv->control_type); in rapl_msr_remove()
|
A D | intel_rapl_common.c | 1111 rp->priv->control_type, rp->name, in rapl_package_register_powercap() 1140 rp->priv->control_type, in rapl_package_register_powercap() 1161 powercap_unregister_zone(rp->priv->control_type, in rapl_package_register_powercap() 1282 powercap_unregister_zone(rp->priv->control_type, in rapl_remove_package() 1286 powercap_unregister_zone(rp->priv->control_type, in rapl_remove_package() 1301 && rp->priv->control_type == priv->control_type) in rapl_find_package_domain()
|
/linux/drivers/thermal/intel/int340x_thermal/ |
A D | processor_thermal_rapl.c | 105 rapl_mmio_priv.control_type = powercap_register_control_type(NULL, "intel-rapl-mmio", NULL); in proc_thermal_rapl_add() 106 if (IS_ERR(rapl_mmio_priv.control_type)) { in proc_thermal_rapl_add() 108 return PTR_ERR(rapl_mmio_priv.control_type); in proc_thermal_rapl_add() 114 powercap_unregister_control_type(rapl_mmio_priv.control_type); in proc_thermal_rapl_add() 115 rapl_mmio_priv.control_type = NULL; in proc_thermal_rapl_add() 126 if (IS_ERR_OR_NULL(rapl_mmio_priv.control_type)) in proc_thermal_rapl_remove() 130 powercap_unregister_control_type(rapl_mmio_priv.control_type); in proc_thermal_rapl_remove()
|
/linux/include/linux/ |
A D | powercap.h | 253 struct powercap_control_type *control_type, 294 struct powercap_control_type *control_type, 309 int powercap_unregister_zone(struct powercap_control_type *control_type,
|
A D | intel_rapl.h | 120 struct powercap_control_type *control_type; member
|
/linux/sound/pci/asihpi/ |
A D | hpicmn.c | 226 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()
|
A D | asihpi.c | 1288 u16 control_type; member 2563 prev_ctl.control_type = -1; in snd_card_asihpi_mixer_new() 2573 &hpi_ctl.control_type, in snd_card_asihpi_mixer_new() 2594 if ((hpi_ctl.control_type == prev_ctl.control_type) && in snd_card_asihpi_mixer_new() 2605 switch (hpi_ctl.control_type) { in snd_card_asihpi_mixer_new() 2646 hpi_ctl.control_type, in snd_card_asihpi_mixer_new()
|
A D | hpi_internal.h | 773 u16 control_type; /* = HPI_CONTROL_METER _VOLUME etc */ member 1255 u8 control_type; member
|
A D | hpi.h | 1329 u16 control_type, u32 *ph_control);
|
A D | hpifunc.c | 1234 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/Documentation/ABI/testing/ |
A D | sysfs-class-powercap | 25 This status affects every power zone using this "control_type.
|
Completed in 33 milliseconds