Lines Matching refs:mast
82 u32 mast = nv_rd32(clk, 0x00c054); in mcp77_clk_read() local
95 switch (mast & 0x000c0000) { in mcp77_clk_read()
105 switch (mast & 0x00000003) { in mcp77_clk_read()
113 if ((mast & 0x03000000) != 0x03000000) in mcp77_clk_read()
116 if ((mast & 0x00000200) == 0x00000000) in mcp77_clk_read()
119 switch (mast & 0x00000c00) { in mcp77_clk_read()
127 switch (mast & 0x00000030) { in mcp77_clk_read()
129 if (mast & 0x00000040) in mcp77_clk_read()
143 switch (mast & 0x00400000) { in mcp77_clk_read()
156 nv_debug(priv, "unknown clock source %d 0x%08x\n", src, mast); in mcp77_clk_read()
298 u32 pllmask = 0, mast; in mcp77_clk_prog() local
308 mast = nv_mask(clk, 0xc054, 0x03400e70, 0x03400640); in mcp77_clk_prog()
309 mast &= ~0x00400e73; in mcp77_clk_prog()
310 mast |= 0x03000000; in mcp77_clk_prog()
315 mast |= 0x00000002; in mcp77_clk_prog()
322 mast |= 0x00000003; in mcp77_clk_prog()
336 mast |= 0x00000020; in mcp77_clk_prog()
343 mast |= 0x00000030; in mcp77_clk_prog()
357 mast |= 0x00400000; in mcp77_clk_prog()
362 nv_wr32(clk, 0xc054, mast); in mcp77_clk_prog()