Lines Matching refs:offset
345 int offset, __u16 val) in sonic_buf_put() argument
349 ((__u16 *) base + (offset*2))[1] = val; in sonic_buf_put()
351 ((__u16 *) base + (offset*2))[0] = val; in sonic_buf_put()
354 ((__u16 *) base)[offset] = val; in sonic_buf_put()
358 int offset) in sonic_buf_get() argument
362 return ((volatile __u16 *) base + (offset*2))[1]; in sonic_buf_get()
364 return ((volatile __u16 *) base + (offset*2))[0]; in sonic_buf_get()
367 return ((volatile __u16 *) base)[offset]; in sonic_buf_get()
372 int offset, __u16 val) in sonic_cda_put() argument
376 (entry * SIZEOF_SONIC_CD) + offset, val); in sonic_cda_put()
380 int offset) in sonic_cda_get() argument
384 (entry * SIZEOF_SONIC_CD) + offset); in sonic_cda_get()
400 int offset, __u16 val) in sonic_tda_put() argument
404 (entry * SIZEOF_SONIC_TD) + offset, val); in sonic_tda_put()
408 int offset) in sonic_tda_get() argument
412 (entry * SIZEOF_SONIC_TD) + offset); in sonic_tda_get()
416 int offset, __u16 val) in sonic_rda_put() argument
420 (entry * SIZEOF_SONIC_RD) + offset, val); in sonic_rda_put()
424 int offset) in sonic_rda_get() argument
428 (entry * SIZEOF_SONIC_RD) + offset); in sonic_rda_get()
432 int offset, __u16 val) in sonic_rra_put() argument
436 (entry * SIZEOF_SONIC_RR) + offset, val); in sonic_rra_put()
440 int offset) in sonic_rra_get() argument
444 (entry * SIZEOF_SONIC_RR) + offset); in sonic_rra_get()