Lines Matching refs:oi
36 unsigned int oi, oo; /* offset for in and out */ in sun4i_ss_opti_poll() local
76 oi = 0; in sun4i_ss_opti_poll()
91 todo = min_t(size_t, todo, (mi.length - oi) / 4); in sun4i_ss_opti_poll()
94 writesl(ss->base + SS_RXFIFO, mi.addr + oi, todo); in sun4i_ss_opti_poll()
95 oi += todo * 4; in sun4i_ss_opti_poll()
97 if (oi == mi.length) { in sun4i_ss_opti_poll()
99 oi = 0; in sun4i_ss_opti_poll()
202 unsigned int oi, oo; /* offset for in and out */ in sun4i_ss_cipher_poll() local
267 oi = 0; in sun4i_ss_cipher_poll()
287 todo = min_t(size_t, todo, (mi.length - oi) / 4); in sun4i_ss_cipher_poll()
289 writesl(ss->base + SS_RXFIFO, mi.addr + oi, in sun4i_ss_cipher_poll()
292 oi += todo * 4; in sun4i_ss_cipher_poll()
302 todo = min_t(size_t, todo, mi.length - oi); in sun4i_ss_cipher_poll()
303 memcpy(ss->buf + ob, mi.addr + oi, todo); in sun4i_ss_cipher_poll()
305 oi += todo; in sun4i_ss_cipher_poll()
313 if (oi == mi.length) { in sun4i_ss_cipher_poll()
315 oi = 0; in sun4i_ss_cipher_poll()