Home
last modified time | relevance | path

Searched refs:disk_block_cnt (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/scsi/
Dhpsa.c5098 u32 disk_block_cnt; in hpsa_scsi_ioaccel_raid_map() local
5364 disk_block_cnt = block_cnt; in hpsa_scsi_ioaccel_raid_map()
5369 disk_block_cnt <<= map->phys_blk_shift; in hpsa_scsi_ioaccel_raid_map()
5371 BUG_ON(disk_block_cnt > 0xffff); in hpsa_scsi_ioaccel_raid_map()
5385 cdb[10] = (u8) (disk_block_cnt >> 24); in hpsa_scsi_ioaccel_raid_map()
5386 cdb[11] = (u8) (disk_block_cnt >> 16); in hpsa_scsi_ioaccel_raid_map()
5387 cdb[12] = (u8) (disk_block_cnt >> 8); in hpsa_scsi_ioaccel_raid_map()
5388 cdb[13] = (u8) (disk_block_cnt); in hpsa_scsi_ioaccel_raid_map()
5400 cdb[7] = (u8) (disk_block_cnt >> 8); in hpsa_scsi_ioaccel_raid_map()
5401 cdb[8] = (u8) (disk_block_cnt); in hpsa_scsi_ioaccel_raid_map()
/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_init.c2362 u32 disk_block_cnt; in pqi_raid_bypass_submit_scsi_cmd() local
2609 disk_block_cnt = block_cnt; in pqi_raid_bypass_submit_scsi_cmd()
2614 disk_block_cnt <<= raid_map->phys_blk_shift; in pqi_raid_bypass_submit_scsi_cmd()
2617 if (unlikely(disk_block_cnt > 0xffff)) in pqi_raid_bypass_submit_scsi_cmd()
2625 put_unaligned_be32(disk_block_cnt, &cdb[10]); in pqi_raid_bypass_submit_scsi_cmd()
2634 put_unaligned_be16((u16)disk_block_cnt, &cdb[7]); in pqi_raid_bypass_submit_scsi_cmd()