Home
last modified time | relevance | path

Searched refs:pwrsrc (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c54 args->v0.pwrsrc = clk->pwrsrc; in nvkm_control_mthd_pstate_info()
60 args->v0.pwrsrc = -ENODEV; in nvkm_control_mthd_pstate_info()
153 args->v0.version, args->v0.ustate, args->v0.pwrsrc); in nvkm_control_mthd_pstate_user()
159 if (args->v0.pwrsrc >= 0) { in nvkm_control_mthd_pstate_user()
160 ret |= nvkm_clk_ustate(clk, args->v0.ustate, args->v0.pwrsrc); in nvkm_control_mthd_pstate_user()
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvif/
Dif0001.h16 __s8 pwrsrc; /* out: current power source */ member
44 __s8 pwrsrc; /* in: target power source */ member
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c104 seq_printf(m, "%s:", info.pwrsrc == 0 ? "DC" : in nouveau_debugfs_pstate_get()
105 info.pwrsrc == 1 ? "AC" : "--"); in nouveau_debugfs_pstate_get()
148 struct nvif_control_pstate_user_v0 args = { .pwrsrc = -EINVAL }; in nouveau_debugfs_pstate_set()
165 args.pwrsrc = 0; in nouveau_debugfs_pstate_set()
169 args.pwrsrc = 1; in nouveau_debugfs_pstate_set()
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dclk.h96 int pwrsrc; member
/linux-6.12.1/drivers/platform/x86/intel/
Dbytcrc_pwrsrc.c105 DEFINE_SHOW_ATTRIBUTE(pwrsrc);
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c308 clk->pwrsrc = power_supply_is_system_supplied(); in nvkm_pstate_work()
311 clk->pstate, clk->pwrsrc, clk->ustate_ac, clk->ustate_dc, in nvkm_pstate_work()
314 pstate = clk->pwrsrc ? clk->ustate_ac : clk->ustate_dc; in nvkm_pstate_work()