Lines Matching refs:mast
86 u32 mast = nvkm_rd32(device, 0x00c054); in mcp77_clk_read() local
99 switch (mast & 0x000c0000) { in mcp77_clk_read()
109 switch (mast & 0x00000003) { in mcp77_clk_read()
117 if ((mast & 0x03000000) != 0x03000000) in mcp77_clk_read()
120 if ((mast & 0x00000200) == 0x00000000) in mcp77_clk_read()
123 switch (mast & 0x00000c00) { in mcp77_clk_read()
131 switch (mast & 0x00000030) { in mcp77_clk_read()
133 if (mast & 0x00000040) in mcp77_clk_read()
147 switch (mast & 0x00400000) { in mcp77_clk_read()
160 nvkm_debug(subdev, "unknown clock source %d %08x\n", src, mast); in mcp77_clk_read()
304 u32 pllmask = 0, mast; in mcp77_clk_prog() local
314 mast = nvkm_mask(device, 0xc054, 0x03400e70, 0x03400640); in mcp77_clk_prog()
315 mast &= ~0x00400e73; in mcp77_clk_prog()
316 mast |= 0x03000000; in mcp77_clk_prog()
321 mast |= 0x00000002; in mcp77_clk_prog()
328 mast |= 0x00000003; in mcp77_clk_prog()
342 mast |= 0x00000020; in mcp77_clk_prog()
349 mast |= 0x00000030; in mcp77_clk_prog()
365 mast |= 0x00400000; in mcp77_clk_prog()
370 nvkm_wr32(device, 0xc054, mast); in mcp77_clk_prog()