Home
last modified time | relevance | path

Searched refs:nr_cpr (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/scsi/
A Dsd.c3151 unsigned int nr_cpr = 0; in sd_read_cpr() local
3182 nr_cpr = (vpd_len - 64) / 32; in sd_read_cpr()
3183 if (nr_cpr == 1) { in sd_read_cpr()
3184 nr_cpr = 0; in sd_read_cpr()
3188 iars = disk_alloc_independent_access_ranges(sdkp->disk, nr_cpr); in sd_read_cpr()
3190 nr_cpr = 0; in sd_read_cpr()
3195 for (i = 0; i < nr_cpr; i++, desc += 32) { in sd_read_cpr()
3199 nr_cpr = 0; in sd_read_cpr()
3209 if (nr_cpr && sdkp->nr_actuators != nr_cpr) { in sd_read_cpr()
3211 "%u concurrent positioning ranges\n", nr_cpr); in sd_read_cpr()
[all …]
/linux/drivers/ata/
A Dlibata-core.c2482 int i, nr_cpr = 0; in ata_dev_config_cpr() local
2506 nr_cpr = buf[0]; in ata_dev_config_cpr()
2507 if (!nr_cpr) in ata_dev_config_cpr()
2510 cpr_log = kzalloc(struct_size(cpr_log, cpr, nr_cpr), GFP_KERNEL); in ata_dev_config_cpr()
2514 cpr_log->nr_cpr = nr_cpr; in ata_dev_config_cpr()
2516 for (i = 0; i < nr_cpr; i++, desc += 32) { in ata_dev_config_cpr()
A Dlibata-scsi.c2145 put_unaligned_be16(64 + (int)cpr_log->nr_cpr * 32 - 4, &rbuf[3]); in ata_scsiop_inq_b9()
2147 for (i = 0; i < cpr_log->nr_cpr; i++, desc += 32) { in ata_scsiop_inq_b9()
/linux/include/linux/
A Dlibata.h688 u8 nr_cpr; member

Completed in 30 milliseconds