Searched refs:block_cnt (Results 1 – 4 of 4) sorted by relevance
/drivers/cdrom/ |
D | gdrom.c | 586 int err, block, block_cnt; in gdrom_readdisk_dma() local 604 block_cnt = blk_rq_sectors(req)/GD_TO_BLK; in gdrom_readdisk_dma() 606 __raw_writel(block_cnt * GDROM_HARD_SECTOR, GDROM_DMA_LENGTH_REG); in gdrom_readdisk_dma() 612 read_command->cmd[8] = (block_cnt >> 16) & 0xFF; in gdrom_readdisk_dma() 613 read_command->cmd[9] = (block_cnt >> 8) & 0xFF; in gdrom_readdisk_dma() 614 read_command->cmd[10] = block_cnt & 0xFF; in gdrom_readdisk_dma()
|
/drivers/scsi/ |
D | hpsa.c | 3245 u32 block_cnt; in fixup_ioaccel_cdb() local 3256 block_cnt = cdb[4]; in fixup_ioaccel_cdb() 3263 block_cnt = in fixup_ioaccel_cdb() 3269 if (block_cnt > 0xffff) in fixup_ioaccel_cdb() 3279 cdb[7] = (u8) (block_cnt >> 8); in fixup_ioaccel_cdb() 3280 cdb[8] = (u8) (block_cnt); in fixup_ioaccel_cdb() 3654 u32 block_cnt; in hpsa_scsi_ioaccel_raid_map() local 3688 block_cnt = cmd->cmnd[4]; in hpsa_scsi_ioaccel_raid_map() 3689 if (block_cnt == 0) in hpsa_scsi_ioaccel_raid_map() 3690 block_cnt = 256; in hpsa_scsi_ioaccel_raid_map() [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 752 int post_cnt = 0, block_cnt = 0, num_posting = 0, num_posted = 0; in lpfc_sli4_post_scsi_sgl_list() local 768 block_cnt++; in lpfc_sli4_post_scsi_sgl_list() 773 post_cnt = block_cnt - 1; in lpfc_sli4_post_scsi_sgl_list() 776 block_cnt = 1; in lpfc_sli4_post_scsi_sgl_list() 781 if (block_cnt == LPFC_NEMBED_MBOX_SGL_CNT) { in lpfc_sli4_post_scsi_sgl_list() 783 post_cnt = block_cnt; in lpfc_sli4_post_scsi_sgl_list() 784 block_cnt = 0; in lpfc_sli4_post_scsi_sgl_list() 795 post_cnt = block_cnt; in lpfc_sli4_post_scsi_sgl_list() 796 } else if (block_cnt == 1) { in lpfc_sli4_post_scsi_sgl_list() 830 if (block_cnt == 0) in lpfc_sli4_post_scsi_sgl_list()
|
D | lpfc_sli.c | 6060 int status, total_cnt, post_cnt = 0, num_posted = 0, block_cnt = 0; in lpfc_sli4_repost_els_sgl_list() local 6080 block_cnt++; in lpfc_sli4_repost_els_sgl_list() 6085 post_cnt = block_cnt - 1; in lpfc_sli4_repost_els_sgl_list() 6088 block_cnt = 1; in lpfc_sli4_repost_els_sgl_list() 6093 if (block_cnt == LPFC_NEMBED_MBOX_SGL_CNT) { in lpfc_sli4_repost_els_sgl_list() 6096 post_cnt = block_cnt; in lpfc_sli4_repost_els_sgl_list() 6097 block_cnt = 0; in lpfc_sli4_repost_els_sgl_list() 6110 post_cnt = block_cnt; in lpfc_sli4_repost_els_sgl_list() 6111 } else if (block_cnt == 1) { in lpfc_sli4_repost_els_sgl_list() 6160 if (block_cnt == 0) in lpfc_sli4_repost_els_sgl_list()
|