Lines Matching refs:ctrl
41 u32 ctrl, timeout; in auxch_init() local
46 ctrl = nv_rd32(aux, 0x00d954 + (ch * 0x50)); in auxch_init()
49 AUX_ERR("begin idle timeout 0x%08x\n", ctrl); in auxch_init()
52 } while (ctrl & 0x03010000); in auxch_init()
58 ctrl = nv_rd32(aux, 0x00d954 + (ch * 0x50)); in auxch_init()
61 AUX_ERR("magic wait 0x%08x\n", ctrl); in auxch_init()
65 } while ((ctrl & 0x03000000) != urep); in auxch_init()
76 u32 ctrl, stat, timeout, retries; in gm204_aux() local
102 ctrl = nv_rd32(aux, 0x00d954 + (ch * 0x50)); in gm204_aux()
103 ctrl &= ~0x0001f0ff; in gm204_aux()
104 ctrl |= type << 12; in gm204_aux()
105 ctrl |= size - 1; in gm204_aux()
111 nv_wr32(aux, 0x00d954 + (ch * 0x50), 0x80000000 | ctrl); in gm204_aux()
112 nv_wr32(aux, 0x00d954 + (ch * 0x50), 0x00000000 | ctrl); in gm204_aux()
117 nv_wr32(aux, 0x00d954 + (ch * 0x50), 0x00010000 | ctrl); in gm204_aux()
121 ctrl = nv_rd32(aux, 0x00d954 + (ch * 0x50)); in gm204_aux()
124 AUX_ERR("tx req timeout 0x%08x\n", ctrl); in gm204_aux()
128 } while (ctrl & 0x00010000); in gm204_aux()
141 AUX_DBG("%02d 0x%08x 0x%08x\n", retries, ctrl, stat); in gm204_aux()