Lines Matching refs:total_len
583 size_t total_len, read_len; in fsi_slave_sysfs_raw_read() local
592 for (total_len = 0; total_len < count; total_len += read_len) { in fsi_slave_sysfs_raw_read()
593 read_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_read()
595 rc = fsi_slave_read(slave, off, buf + total_len, read_len); in fsi_slave_sysfs_raw_read()
610 size_t total_len, write_len; in fsi_slave_sysfs_raw_write() local
619 for (total_len = 0; total_len < count; total_len += write_len) { in fsi_slave_sysfs_raw_write()
620 write_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_write()
622 rc = fsi_slave_write(slave, off, buf + total_len, write_len); in fsi_slave_sysfs_raw_write()
698 size_t total_len, read_len; in cfam_read() local
708 for (total_len = 0; total_len < count; total_len += read_len) { in cfam_read()
717 rc = copy_to_user(buf + total_len, &data, read_len); in cfam_read()
734 size_t total_len, write_len; in cfam_write() local
745 for (total_len = 0; total_len < count; total_len += write_len) { in cfam_write()
751 rc = copy_from_user(&data, buf + total_len, write_len); in cfam_write()