Searched refs:control_type (Results 1 – 7 of 7) sorted by relevance
| /drivers/powercap/ |
| A D | powercap_sys.c | 414 if (control_type->ops && control_type->ops->release) in powercap_release() 415 control_type->ops->release(control_type); in powercap_release() 436 if (control_type->ops && control_type->ops->get_enable) in enabled_show() 437 if (control_type->ops->get_enable(control_type, &mode)) in enabled_show() 460 if (control_type->ops && control_type->ops->set_enable) in enabled_store() 461 if (!control_type->ops->set_enable(control_type, mode)) in enabled_store() 613 if (control_type) { in powercap_register_control_type() 616 memset(control_type, 0, sizeof(*control_type)); in powercap_register_control_type() 618 control_type = kzalloc(sizeof(*control_type), GFP_KERNEL); in powercap_register_control_type() 619 if (!control_type) in powercap_register_control_type() [all …]
|
| A D | intel_rapl_msr.c | 184 rapl_msr_priv->control_type = powercap_register_control_type(NULL, "intel-rapl", NULL); in rapl_msr_probe() 185 if (IS_ERR(rapl_msr_priv->control_type)) { in rapl_msr_probe() 187 return PTR_ERR(rapl_msr_priv->control_type); in rapl_msr_probe() 200 powercap_unregister_control_type(rapl_msr_priv->control_type); in rapl_msr_probe() 207 powercap_unregister_control_type(rapl_msr_priv->control_type); in rapl_msr_remove()
|
| A D | intel_rapl_common.c | 1350 rp->priv->control_type, rp->name, in rapl_package_register_powercap() 1379 rp->priv->control_type, in rapl_package_register_powercap() 1400 powercap_unregister_zone(rp->priv->control_type, in rapl_package_register_powercap() 2133 powercap_unregister_zone(rp->priv->control_type, in rapl_remove_package_cpuslocked() 2137 powercap_unregister_zone(rp->priv->control_type, in rapl_remove_package_cpuslocked() 2186 && rp->priv->control_type == priv->control_type) in rapl_find_package_domain_cpuslocked()
|
| A D | intel_rapl_tpmi.c | 299 trp->priv.control_type = tpmi_control_type; in intel_rapl_tpmi_probe()
|
| /drivers/thermal/intel/int340x_thermal/ |
| A D | processor_thermal_rapl.c | 71 rapl_mmio_priv.control_type = powercap_register_control_type(NULL, "intel-rapl-mmio", NULL); in proc_thermal_rapl_add() 72 if (IS_ERR(rapl_mmio_priv.control_type)) { in proc_thermal_rapl_add() 74 return PTR_ERR(rapl_mmio_priv.control_type); in proc_thermal_rapl_add() 93 powercap_unregister_control_type(rapl_mmio_priv.control_type); in proc_thermal_rapl_add() 94 rapl_mmio_priv.control_type = NULL; in proc_thermal_rapl_add() 103 if (IS_ERR_OR_NULL(rapl_mmio_priv.control_type)) in proc_thermal_rapl_remove() 109 powercap_unregister_control_type(rapl_mmio_priv.control_type); in proc_thermal_rapl_remove()
|
| /drivers/gpu/drm/amd/display/dc/ |
| A D | dc_types.h | 1359 enum backlight_control_type control_type; member
|
| /drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
| A D | dcn31_hwseq.c | 681 (enum dmub_backlight_control_type) backlight_level_params->control_type; in dmub_abm_set_backlight()
|
Completed in 25 milliseconds