Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgt215.c148 u32 hsrc; in gt215_clk_read() local
167 hsrc = (nvkm_rd32(device, 0xc040) & 0x30000000) >> 28; in gt215_clk_read()
168 switch (hsrc) { in gt215_clk_read()
175 nvkm_error(subdev, "unknown HOST clock source %d\n", hsrc); in gt215_clk_read()
419 u32 hsrc = (nvkm_rd32(device, 0xc040)); in prog_host() local
423 if ((hsrc & 0x30000000) == 0) { in prog_host()
424 nvkm_wr32(device, 0xc040, hsrc | 0x20000000); in prog_host()
430 if ((hsrc & 0x30000000) >= 0x20000000) { in prog_host()
431 nvkm_wr32(device, 0xc040, hsrc & ~0x30000000); in prog_host()