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

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgt215.c145 u32 hsrc; gt215_clk_read() local
164 hsrc = (nvkm_rd32(device, 0xc040) & 0x30000000) >> 28; gt215_clk_read()
165 switch (hsrc) { gt215_clk_read()
172 nvkm_error(subdev, "unknown HOST clock source %d\n", hsrc); gt215_clk_read()
416 u32 hsrc = (nvkm_rd32(device, 0xc040)); prog_host() local
420 if ((hsrc & 0x30000000) == 0) { prog_host()
421 nvkm_wr32(device, 0xc040, hsrc | 0x20000000); prog_host()
427 if ((hsrc & 0x30000000) >= 0x20000000) { prog_host()
428 nvkm_wr32(device, 0xc040, hsrc & ~0x30000000); prog_host()

Completed in 44 milliseconds