Home
last modified time | relevance | path

Searched refs:core_power (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/msm/dp/
Ddp_parser.c156 struct dss_module_power *core_power = &parser->mp[DP_CORE_PM]; in dp_parser_init_clk_data() local
188 core_power->num_clk = core_clk_count; in dp_parser_init_clk_data()
189 core_power->clocks = devm_kcalloc(dev, in dp_parser_init_clk_data()
190 core_power->num_clk, sizeof(struct clk_bulk_data), in dp_parser_init_clk_data()
192 if (!core_power->clocks) in dp_parser_init_clk_data()
236 struct dss_module_power *core_power = &parser->mp[DP_CORE_PM]; in dp_parser_clock() local
246 core_clk_count = core_power->num_clk; in dp_parser_clock()
261 core_power->clocks[core_clk_index].id = devm_kstrdup(dev, clk_name, GFP_KERNEL); in dp_parser_clock()
/Linux-v6.6/drivers/platform/x86/intel/speed_select_if/
Disst_tpmi_core.c456 struct isst_core_power core_power; in isst_if_core_power_state() local
461 if (copy_from_user(&core_power, argp, sizeof(core_power))) in isst_if_core_power_state()
464 power_domain_info = get_instance(core_power.socket_id, core_power.power_domain_id); in isst_if_core_power_state()
468 if (core_power.get_set) { in isst_if_core_power_state()
469 _write_cp_info("cp_enable", core_power.enable, SST_CP_CONTROL_OFFSET, in isst_if_core_power_state()
471 _write_cp_info("cp_prio_type", core_power.priority_type, SST_CP_CONTROL_OFFSET, in isst_if_core_power_state()
476 _read_cp_info("cp_enable", core_power.enable, SST_CP_STATUS_OFFSET, in isst_if_core_power_state()
478 _read_cp_info("cp_prio_type", core_power.priority_type, SST_CP_STATUS_OFFSET, in isst_if_core_power_state()
481 core_power.supported = !!(power_domain_info->sst_header.cap_mask & BIT(0)); in isst_if_core_power_state()
482 if (copy_to_user(argp, &core_power, sizeof(core_power))) in isst_if_core_power_state()
/Linux-v6.6/arch/mips/kernel/
Dsmp-cps.c28 static DECLARE_BITMAP(core_power, NR_CPUS);
89 bitmap_set(core_power, 0, 1); in cps_smp_setup()
276 bitmap_set(core_power, core, 1); in boot_core()
309 if (!test_bit(core, core_power)) { in cps_boot_secondary()
578 bitmap_clear(core_power, core, 1); in cps_cleanup_dead_cpu()
/Linux-v6.6/drivers/media/platform/qcom/venus/
Dcore.c473 if (pm_ops->core_power) { in venus_runtime_suspend()
474 ret = pm_ops->core_power(core, POWER_OFF); in venus_runtime_suspend()
492 if (pm_ops->core_power) in venus_runtime_suspend()
493 pm_ops->core_power(core, POWER_ON); in venus_runtime_suspend()
512 if (pm_ops->core_power) { in venus_runtime_resume()
513 ret = pm_ops->core_power(core, POWER_ON); in venus_runtime_resume()
Dpm_helpers.h15 int (*core_power)(struct venus_core *core, int on); member
Dpm_helpers.c328 .core_power = core_power_v1,
401 .core_power = core_power_v1,
1182 .core_power = core_power_v4,
/Linux-v6.6/drivers/platform/x86/amd/pmf/
Dpmf.h112 u16 core_power[8]; /* in mW */ member