Searched refs:pwrsrc (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
A D | ctrl.c | 54 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.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_debugfs.c | 103 seq_printf(m, "%s:", info.pwrsrc == 0 ? "DC" : in nouveau_debugfs_pstate_get() 104 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.3-rc2/drivers/gpu/drm/nouveau/include/nvif/ |
A D | if0001.h | 16 __s8 pwrsrc; /* out: current power source */ member 44 __s8 pwrsrc; /* in: target power source */ member
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
A D | clk.h | 96 int pwrsrc; member
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | base.c | 308 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()
|
Completed in 8 milliseconds