Searched refs:control_type (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/drivers/powercap/ |
D | powercap_sys.c | 341 static bool control_type_valid(void *control_type) in control_type_valid() argument 349 if (pos == control_type) { in control_type_valid() 419 struct powercap_control_type *control_type = in powercap_release() local 423 allocated = control_type->allocated; in powercap_release() 424 idr_destroy(&control_type->idr); in powercap_release() 425 mutex_destroy(&control_type->lock); in powercap_release() 426 if (control_type->ops && control_type->ops->release) in powercap_release() 427 control_type->ops->release(control_type); in powercap_release() 429 kfree(control_type); in powercap_release() 446 struct powercap_control_type *control_type = in enabled_show() local [all …]
|
D | intel_rapl.c | 248 static struct powercap_control_type *control_type; /* PowerCap Controller */ variable 1160 powercap_unregister_zone(control_type, &rd->power_zone); in rapl_unregister_powercap() 1164 powercap_unregister_zone(control_type, in rapl_unregister_powercap() 1167 powercap_unregister_control_type(control_type); in rapl_unregister_powercap() 1190 control_type, in rapl_package_register_powercap() 1219 control_type, rd->name, in rapl_package_register_powercap() 1240 powercap_unregister_zone(control_type, &rd->power_zone); in rapl_package_register_powercap() 1252 control_type = powercap_register_control_type(NULL, "intel-rapl", NULL); in rapl_register_powercap() 1253 if (IS_ERR(control_type)) { in rapl_register_powercap() 1255 return PTR_ERR(control_type); in rapl_register_powercap() [all …]
|
/linux-4.4.14/include/linux/ |
D | powercap.h | 266 struct powercap_control_type *control_type, 307 struct powercap_control_type *control_type, 322 int powercap_unregister_zone(struct powercap_control_type *control_type,
|
/linux-4.4.14/sound/pci/asihpi/ |
D | hpicmn.c | 235 if (info->control_type) { in control_cache_alloc_check() 247 info->control_index, info->control_type, in control_cache_alloc_check() 295 (*pI)->control_type); in find_control() 331 switch (pC->u.i.control_type) { in hpi_check_control_cache_single() 525 pC->u.i.control_index, pC->u.i.control_type, in hpi_check_control_cache_single() 567 switch (pC->u.i.control_type) { in hpi_cmn_control_cache_sync_to_msg_single()
|
D | asihpi.c | 1357 u16 control_type; member 2637 prev_ctl.control_type = -1; in snd_card_asihpi_mixer_new() 2647 &hpi_ctl.control_type, in snd_card_asihpi_mixer_new() 2668 if ((hpi_ctl.control_type == prev_ctl.control_type) && in snd_card_asihpi_mixer_new() 2679 switch (hpi_ctl.control_type) { in snd_card_asihpi_mixer_new() 2720 hpi_ctl.control_type, in snd_card_asihpi_mixer_new()
|
D | hpi_internal.h | 784 u16 control_type; /* = HPI_CONTROL_METER _VOLUME etc */ member 1266 u8 control_type; member
|
D | hpi.h | 1340 u16 control_type, u32 *ph_control);
|
D | hpifunc.c | 1233 u16 control_type, u32 *ph_control) in hpi_mixer_get_control() argument 1245 hm.u.m.control_type = control_type; in hpi_mixer_get_control()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-powercap | 25 This status affects every power zone using this "control_type.
|