Searched refs:mast (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | nv50.c | 129 u32 src, mast = nvkm_rd32(device, 0x00c040); in read_pll_ref() local 133 src = !!(mast & 0x00200000); in read_pll_ref() 136 src = !!(mast & 0x00400000); in read_pll_ref() 139 src = !!(mast & 0x00010000); in read_pll_ref() 142 src = !!(mast & 0x02000000); in read_pll_ref() 161 u32 mast = nvkm_rd32(device, 0x00c040); in read_pll() local 168 if (base == 0x004028 && (mast & 0x00100000)) { in read_pll() 197 u32 mast = nvkm_rd32(device, 0x00c040); in nv50_clk_read() local 212 switch (mast & 0x30000000) { in nv50_clk_read() 220 if (!(mast & 0x00100000)) in nv50_clk_read() [all …]
|
H A D | mcp77.c | 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() [all …]
|
H A D | nv40.c | 102 u32 mast = nvkm_rd32(device, 0x00c040); in nv40_clk_read() local 110 return read_clk(clk, (mast & 0x00000003) >> 0); in nv40_clk_read() 112 return read_clk(clk, (mast & 0x00000030) >> 4); in nv40_clk_read() 119 nvkm_debug(subdev, "unknown clock source %d %08x\n", src, mast); in nv40_clk_read()
|
/linux/lib/ |
H A D | maple_tree.c | 2245 static inline void mast_rebalance_next(struct maple_subtree_state *mast) in mast_rebalance_next() argument 2247 unsigned char b_end = mast->bn->b_end; in mast_rebalance_next() 2249 mas_mab_cp(mast->orig_r, 0, mt_slot_count(mast->orig_r->node), in mast_rebalance_next() 2250 mast->bn, b_end); in mast_rebalance_next() 2251 mast->orig_r->last = mast->orig_r->max; in mast_rebalance_next() 2258 static inline void mast_rebalance_prev(struct maple_subtree_state *mast) in mast_rebalance_prev() argument 2260 unsigned char end = mas_data_end(mast->orig_l) + 1; in mast_rebalance_prev() 2261 unsigned char b_end = mast->bn->b_end; in mast_rebalance_prev() 2263 mab_shift_right(mast->bn, end); in mast_rebalance_prev() 2264 mas_mab_cp(mast->orig_l, 0, end - 1, mast->bn, 0); in mast_rebalance_prev() [all …]
|