Lines Matching refs:total_len
561 size_t total_len, read_len; in fsi_slave_sysfs_raw_read() local
570 for (total_len = 0; total_len < count; total_len += read_len) { in fsi_slave_sysfs_raw_read()
571 read_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_read()
573 rc = fsi_slave_read(slave, off, buf + total_len, read_len); in fsi_slave_sysfs_raw_read()
588 size_t total_len, write_len; in fsi_slave_sysfs_raw_write() local
597 for (total_len = 0; total_len < count; total_len += write_len) { in fsi_slave_sysfs_raw_write()
598 write_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_write()
600 rc = fsi_slave_write(slave, off, buf + total_len, write_len); in fsi_slave_sysfs_raw_write()
664 size_t total_len, read_len; in cfam_read() local
674 for (total_len = 0; total_len < count; total_len += read_len) { in cfam_read()
683 rc = copy_to_user(buf + total_len, &data, read_len); in cfam_read()
700 size_t total_len, write_len; in cfam_write() local
711 for (total_len = 0; total_len < count; total_len += write_len) { in cfam_write()
717 rc = copy_from_user(&data, buf + total_len, write_len); in cfam_write()