Searched refs:nr_cpr (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/scsi/ |
A D | sd.c | 3111 unsigned int nr_cpr = 0; in sd_read_cpr() local 3142 nr_cpr = (vpd_len - 64) / 32; in sd_read_cpr() 3143 if (nr_cpr == 1) { in sd_read_cpr() 3144 nr_cpr = 0; in sd_read_cpr() 3148 iars = disk_alloc_independent_access_ranges(sdkp->disk, nr_cpr); in sd_read_cpr() 3150 nr_cpr = 0; in sd_read_cpr() 3155 for (i = 0; i < nr_cpr; i++, desc += 32) { in sd_read_cpr() 3159 nr_cpr = 0; in sd_read_cpr() 3169 if (nr_cpr && sdkp->nr_actuators != nr_cpr) { in sd_read_cpr() 3171 "%u concurrent positioning ranges\n", nr_cpr); in sd_read_cpr() [all …]
|
/linux-6.3-rc2/drivers/ata/ |
A D | libata-core.c | 2481 int i, nr_cpr = 0; in ata_dev_config_cpr() local 2508 nr_cpr = buf[0]; in ata_dev_config_cpr() 2509 if (!nr_cpr) in ata_dev_config_cpr() 2512 cpr_log = kzalloc(struct_size(cpr_log, cpr, nr_cpr), GFP_KERNEL); in ata_dev_config_cpr() 2516 cpr_log->nr_cpr = nr_cpr; in ata_dev_config_cpr() 2518 for (i = 0; i < nr_cpr; i++, desc += 32) { in ata_dev_config_cpr()
|
A D | libata-scsi.c | 2146 put_unaligned_be16(64 + (int)cpr_log->nr_cpr * 32 - 4, &rbuf[2]); in ata_scsiop_inq_b9() 2148 for (i = 0; i < cpr_log->nr_cpr; i++, desc += 32) { in ata_scsiop_inq_b9()
|
/linux-6.3-rc2/include/linux/ |
A D | libata.h | 646 u8 nr_cpr; member
|
Completed in 29 milliseconds