Lines Matching refs:ctrl
71 u32 ctrl, timeout; in auxch_init() local
76 ctrl = nv_rd32(aux, 0x00e4e4 + (ch * 0x50)); in auxch_init()
79 AUX_ERR("begin idle timeout 0x%08x\n", ctrl); in auxch_init()
82 } while (ctrl & 0x03010000); in auxch_init()
88 ctrl = nv_rd32(aux, 0x00e4e4 + (ch * 0x50)); in auxch_init()
91 AUX_ERR("magic wait 0x%08x\n", ctrl); in auxch_init()
95 } while ((ctrl & 0x03000000) != urep); in auxch_init()
106 u32 ctrl, stat, timeout, retries; in g94_aux() local
132 ctrl = nv_rd32(aux, 0x00e4e4 + (ch * 0x50)); in g94_aux()
133 ctrl &= ~0x0001f0ff; in g94_aux()
134 ctrl |= type << 12; in g94_aux()
135 ctrl |= size - 1; in g94_aux()
141 nv_wr32(aux, 0x00e4e4 + (ch * 0x50), 0x80000000 | ctrl); in g94_aux()
142 nv_wr32(aux, 0x00e4e4 + (ch * 0x50), 0x00000000 | ctrl); in g94_aux()
147 nv_wr32(aux, 0x00e4e4 + (ch * 0x50), 0x00010000 | ctrl); in g94_aux()
151 ctrl = nv_rd32(aux, 0x00e4e4 + (ch * 0x50)); in g94_aux()
154 AUX_ERR("tx req timeout 0x%08x\n", ctrl); in g94_aux()
158 } while (ctrl & 0x00010000); in g94_aux()
171 AUX_DBG("%02d 0x%08x 0x%08x\n", retries, ctrl, stat); in g94_aux()