Lines Matching full: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()
146 switch (mast & 0x00400000) { in mcp77_clk_read()
157 nvkm_debug(subdev, "unknown clock source %d %08x\n", src, mast); in mcp77_clk_read()
301 u32 pllmask = 0, mast; in mcp77_clk_prog() local
311 mast = nvkm_mask(device, 0xc054, 0x03400e70, 0x03400640); in mcp77_clk_prog()
312 mast &= ~0x00400e73; in mcp77_clk_prog()
313 mast |= 0x03000000; in mcp77_clk_prog()
318 mast |= 0x00000002; in mcp77_clk_prog()
325 mast |= 0x00000003; in mcp77_clk_prog()
335 /* mast |= 0x00000000; */ in mcp77_clk_prog()
339 mast |= 0x00000020; in mcp77_clk_prog()
346 mast |= 0x00000030; in mcp77_clk_prog()
362 mast |= 0x00400000; in mcp77_clk_prog()
368 nvkm_wr32(device, 0xc054, mast); in mcp77_clk_prog()