Lines Matching refs:off
60 size_t count, loff_t *off);
62 size_t count, loff_t *off);
75 size_t count, loff_t *off);
326 size_t count, loff_t *off) in ipath_diagpkt_write() argument
489 size_t count, loff_t *off) in ipath_diag_read() argument
499 else if ((count % 4) || (*off % 4)) in ipath_diag_read()
502 else if (ipath_diag_inuse < 1 && (*off || count != 8)) in ipath_diag_read()
504 else if ((count % 8) || (*off % 8)) in ipath_diag_read()
506 ret = ipath_read_umem32(dd, data, kreg_base + *off, count); in ipath_diag_read()
508 ret = ipath_read_umem64(dd, data, kreg_base + *off, count); in ipath_diag_read()
511 *off += count; in ipath_diag_read()
521 size_t count, loff_t *off) in ipath_diag_write() argument
531 else if ((count % 4) || (*off % 4)) in ipath_diag_write()
534 else if ((ipath_diag_inuse == -1 && (*off || count != 8)) || in ipath_diag_write()
537 else if ((count % 8) || (*off % 8)) in ipath_diag_write()
539 ret = ipath_write_umem32(dd, kreg_base + *off, data, count); in ipath_diag_write()
541 ret = ipath_write_umem64(dd, kreg_base + *off, data, count); in ipath_diag_write()
544 *off += count; in ipath_diag_write()