Lines Matching refs:total_read
829 int total_read;
845 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count);
846 if (total_read < 0) {
847 ret = total_read;
851 *ppos += total_read;
853 ret = copy_to_user(buf, buff, total_read);
859 ret = total_read;
934 int total_read;
949 total_read = qsfp_read(ppd, target, *ppos, buff, count);
950 if (total_read < 0) {
951 ret = total_read;
955 *ppos += total_read;
957 ret = copy_to_user(buf, buff, total_read);
963 ret = total_read;