Lines Matching refs:total_len
585 size_t total_len, read_len; in fsi_slave_sysfs_raw_read() local
594 for (total_len = 0; total_len < count; total_len += read_len) { in fsi_slave_sysfs_raw_read()
595 read_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_read()
597 rc = fsi_slave_read(slave, off, buf + total_len, read_len); in fsi_slave_sysfs_raw_read()
612 size_t total_len, write_len; in fsi_slave_sysfs_raw_write() local
621 for (total_len = 0; total_len < count; total_len += write_len) { in fsi_slave_sysfs_raw_write()
622 write_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_write()
624 rc = fsi_slave_write(slave, off, buf + total_len, write_len); in fsi_slave_sysfs_raw_write()
700 size_t total_len, read_len; in cfam_read() local
710 for (total_len = 0; total_len < count; total_len += read_len) { in cfam_read()
719 rc = copy_to_user(buf + total_len, &data, read_len); in cfam_read()
736 size_t total_len, write_len; in cfam_write() local
747 for (total_len = 0; total_len < count; total_len += write_len) { in cfam_write()
753 rc = copy_from_user(&data, buf + total_len, write_len); in cfam_write()