Lines Matching refs:aux
26 #define AUX_DBG(fmt, args...) nv_debug(aux, "AUXCH(%d): " fmt, ch, ##args)
27 #define AUX_ERR(fmt, args...) nv_error(aux, "AUXCH(%d): " fmt, ch, ##args)
30 auxch_fini(struct nvkm_i2c *aux, int ch) in auxch_fini() argument
32 nv_mask(aux, 0x00d954 + (ch * 0x50), 0x00310000, 0x00000000); in auxch_fini()
36 auxch_init(struct nvkm_i2c *aux, int ch) in auxch_init() argument
46 ctrl = nv_rd32(aux, 0x00d954 + (ch * 0x50)); in auxch_init()
55 nv_mask(aux, 0x00d954 + (ch * 0x50), 0x00300000, ureq); in auxch_init()
58 ctrl = nv_rd32(aux, 0x00d954 + (ch * 0x50)); in auxch_init()
62 auxch_fini(aux, ch); in auxch_init()
74 struct nvkm_i2c *aux = nvkm_i2c(base); in gm204_aux() local
83 ret = auxch_init(aux, ch); in gm204_aux()
87 stat = nv_rd32(aux, 0x00d958 + (ch * 0x50)); in gm204_aux()
98 nv_wr32(aux, 0x00d930 + (ch * 0x50) + i, xbuf[i / 4]); in gm204_aux()
102 ctrl = nv_rd32(aux, 0x00d954 + (ch * 0x50)); in gm204_aux()
106 nv_wr32(aux, 0x00d950 + (ch * 0x50), addr); 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()
132 stat = nv_mask(aux, 0x00d958 + (ch * 0x50), 0, 0); in gm204_aux()
146 xbuf[i / 4] = nv_rd32(aux, 0x00d940 + (ch * 0x50) + i); in gm204_aux()
153 auxch_fini(aux, ch); in gm204_aux()
159 .aux = gm204_aux,
178 port->base.aux = info->auxch; in gm204_aux_port_ctor()
216 .aux = 8,