Searched refs:control_type (Results  1 – 12 of 12) sorted by relevance
| /Linux-v5.4/drivers/powercap/ | 
| D | powercap_sys.c | 329 static bool control_type_valid(void *control_type)  in control_type_valid()  argument337 		if (pos == control_type) {  in control_type_valid()
 407 		struct powercap_control_type *control_type =  in powercap_release()  local
 411 		allocated = control_type->allocated;  in powercap_release()
 412 		idr_destroy(&control_type->idr);  in powercap_release()
 413 		mutex_destroy(&control_type->lock);  in powercap_release()
 414 		if (control_type->ops && control_type->ops->release)  in powercap_release()
 415 			control_type->ops->release(control_type);  in powercap_release()
 417 			kfree(control_type);  in powercap_release()
 434 		struct powercap_control_type *control_type =  in enabled_show()  local
 [all …]
 
 | 
| D | intel_rapl_msr.c | 133 	rapl_msr_priv.control_type = powercap_register_control_type(NULL, "intel-rapl", NULL);  in rapl_msr_probe()134 	if (IS_ERR(rapl_msr_priv.control_type)) {  in rapl_msr_probe()
 136 		return PTR_ERR(rapl_msr_priv.control_type);  in rapl_msr_probe()
 152 		powercap_unregister_control_type(rapl_msr_priv.control_type);  in rapl_msr_probe()
 160 	powercap_unregister_control_type(rapl_msr_priv.control_type);  in rapl_msr_remove()
 
 | 
| D | intel_rapl_common.c | 1032 					    rp->priv->control_type, rp->name,  in rapl_package_register_powercap()1057 						    rp->priv->control_type,  in rapl_package_register_powercap()
 1078 		powercap_unregister_zone(rp->priv->control_type,  in rapl_package_register_powercap()
 1120 	power_zone = powercap_register_zone(&rd->power_zone, priv->control_type,  in rapl_add_platform_domain()
 1139 		powercap_unregister_zone(priv->control_type,  in rapl_remove_platform_domain()
 1261 		powercap_unregister_zone(rp->priv->control_type,  in rapl_remove_package()
 1265 	powercap_unregister_zone(rp->priv->control_type,  in rapl_remove_package()
 1280 		    && rp->priv->control_type == priv->control_type)  in rapl_find_package_domain()
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | powercap.h | 254 				struct powercap_control_type *control_type,295 			struct powercap_control_type *control_type,
 310 int powercap_unregister_zone(struct powercap_control_type *control_type,
 
 | 
| D | intel_rapl.h | 115 	struct powercap_control_type *control_type;  member
 | 
| /Linux-v5.4/drivers/thermal/intel/int340x_thermal/ | 
| D | processor_thermal_device.c | 557 	rapl_mmio_priv.control_type = powercap_register_control_type(NULL, "intel-rapl-mmio", NULL);  in proc_thermal_rapl_add()558 	if (IS_ERR(rapl_mmio_priv.control_type)) {  in proc_thermal_rapl_add()
 560 		return PTR_ERR(rapl_mmio_priv.control_type);  in proc_thermal_rapl_add()
 566 		powercap_unregister_control_type(rapl_mmio_priv.control_type);  in proc_thermal_rapl_add()
 567 		rapl_mmio_priv.control_type = NULL;  in proc_thermal_rapl_add()
 577 	if (IS_ERR_OR_NULL(rapl_mmio_priv.control_type))  in proc_thermal_rapl_remove()
 581 	powercap_unregister_control_type(rapl_mmio_priv.control_type);  in proc_thermal_rapl_remove()
 
 | 
| /Linux-v5.4/sound/pci/asihpi/ | 
| D | hpicmn.c | 224 			if (info->control_type) {  in control_cache_alloc_check()236 				info->control_index, info->control_type,  in control_cache_alloc_check()
 284 			(*pI)->control_type);  in find_control()
 320 	switch (pC->u.i.control_type) {  in hpi_check_control_cache_single()
 514 		pC->u.i.control_index, pC->u.i.control_type,  in hpi_check_control_cache_single()
 556 	switch (pC->u.i.control_type) {  in hpi_cmn_control_cache_sync_to_msg_single()
 
 | 
| D | asihpi.c | 1337 	u16 control_type;  member2614 	prev_ctl.control_type = -1;  in snd_card_asihpi_mixer_new()
 2624 				&hpi_ctl.control_type,  in snd_card_asihpi_mixer_new()
 2645 		if ((hpi_ctl.control_type == prev_ctl.control_type) &&  in snd_card_asihpi_mixer_new()
 2656 		switch (hpi_ctl.control_type) {  in snd_card_asihpi_mixer_new()
 2697 					hpi_ctl.control_type,  in snd_card_asihpi_mixer_new()
 
 | 
| D | hpi_internal.h | 773 	u16 control_type;	/* = HPI_CONTROL_METER _VOLUME etc */  member1255 	u8 control_type;  member
 
 | 
| D | hpi.h | 1329 	u16 control_type, u32 *ph_control);
 | 
| D | hpifunc.c | 1234 	u16 control_type, u32 *ph_control)  in hpi_mixer_get_control()  argument1246 	hm.u.m.control_type = control_type;  in hpi_mixer_get_control()
 
 | 
| /Linux-v5.4/Documentation/ABI/testing/ | 
| D | sysfs-class-powercap | 25 		This status affects every power zone using this "control_type.
 |