Lines Matching defs:total_read
787 int total_read;
803 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count);
804 if (total_read < 0) {
805 ret = total_read;
809 *ppos += total_read;
811 ret = copy_to_user(buf, buff, total_read);
817 ret = total_read;
892 int total_read;
907 total_read = qsfp_read(ppd, target, *ppos, buff, count);
908 if (total_read < 0) {
909 ret = total_read;
913 *ppos += total_read;
915 ret = copy_to_user(buf, buff, total_read);
921 ret = total_read;