Searched refs:block_cnt (Results 1 – 7 of 7) sorted by relevance
572 int block, block_cnt; in gdrom_readdisk_dma() local584 block_cnt = blk_rq_sectors(req)/GD_TO_BLK; in gdrom_readdisk_dma()587 __raw_writel(block_cnt * GDROM_HARD_SECTOR, GDROM_DMA_LENGTH_REG); in gdrom_readdisk_dma()593 read_command->cmd[8] = (block_cnt >> 16) & 0xFF; in gdrom_readdisk_dma()594 read_command->cmd[9] = (block_cnt >> 8) & 0xFF; in gdrom_readdisk_dma()595 read_command->cmd[10] = block_cnt & 0xFF; in gdrom_readdisk_dma()
624 u16 block_cnt, u8 command) in rmi_f34v7_read_blocks() argument631 u16 remaining = block_cnt; in rmi_f34v7_read_blocks()696 const void *block_ptr, u16 block_cnt, in rmi_f34v7_write_f34v7_blocks() argument704 u16 remaining = block_cnt; in rmi_f34v7_write_f34v7_blocks()
4658 u32 block_cnt; in is_zero_length_transfer() local4666 block_cnt = get_unaligned_be16(&cdb[7]); in is_zero_length_transfer()4672 block_cnt = get_unaligned_be32(&cdb[6]); in is_zero_length_transfer()4677 block_cnt = get_unaligned_be32(&cdb[10]); in is_zero_length_transfer()4683 return block_cnt == 0; in is_zero_length_transfer()4690 u32 block_cnt; in fixup_ioaccel_cdb() local4704 block_cnt = cdb[4]; in fixup_ioaccel_cdb()4705 if (block_cnt == 0) in fixup_ioaccel_cdb()4706 block_cnt = 256; in fixup_ioaccel_cdb()4710 block_cnt = get_unaligned_be32(&cdb[6]); in fixup_ioaccel_cdb()[all …]
1431 u32 block_cnt; in myrb_ldev_queuecommand() local1517 block_cnt = scmd->cmnd[4]; in myrb_ldev_queuecommand()1531 block_cnt = get_unaligned_be16(&scmd->cmnd[7]); in myrb_ldev_queuecommand()1545 block_cnt = get_unaligned_be32(&scmd->cmnd[6]); in myrb_ldev_queuecommand()1566 mbox->type5.ld.xfer_len = block_cnt; in myrb_ldev_queuecommand()1587 mbox->type5.ld.xfer_len = block_cnt; in myrb_ldev_queuecommand()
2695 rmd->block_cnt = (u32)scmd->cmnd[4]; in pqi_get_aio_lba_and_block_count()2696 if (rmd->block_cnt == 0) in pqi_get_aio_lba_and_block_count()2697 rmd->block_cnt = 256; in pqi_get_aio_lba_and_block_count()2704 rmd->block_cnt = (u32)get_unaligned_be16(&scmd->cmnd[7]); in pqi_get_aio_lba_and_block_count()2711 rmd->block_cnt = get_unaligned_be32(&scmd->cmnd[6]); in pqi_get_aio_lba_and_block_count()2718 rmd->block_cnt = get_unaligned_be32(&scmd->cmnd[10]); in pqi_get_aio_lba_and_block_count()2737 rmd->last_block = rmd->first_block + rmd->block_cnt - 1; in pci_get_aio_common_raid_map_values()2985 if (unlikely(rmd.block_cnt == 0)) in pqi_raid_bypass_submit_scsi_cmd()3021 rmd.disk_block_cnt = rmd.block_cnt; in pqi_raid_bypass_submit_scsi_cmd()5975 rmd.block_cnt) { in pqi_is_parity_write_stream()[all …]
1036 u32 block_cnt; member
7581 int post_cnt = 0, num_posted = 0, block_cnt = 0; in lpfc_sli4_repost_sgl_list() local7599 block_cnt++; in lpfc_sli4_repost_sgl_list()7604 post_cnt = block_cnt - 1; in lpfc_sli4_repost_sgl_list()7607 block_cnt = 1; in lpfc_sli4_repost_sgl_list()7612 if (block_cnt == LPFC_NEMBED_MBOX_SGL_CNT) { in lpfc_sli4_repost_sgl_list()7615 post_cnt = block_cnt; in lpfc_sli4_repost_sgl_list()7616 block_cnt = 0; in lpfc_sli4_repost_sgl_list()7629 post_cnt = block_cnt; in lpfc_sli4_repost_sgl_list()7630 } else if (block_cnt == 1) { in lpfc_sli4_repost_sgl_list()7679 if (block_cnt == 0) in lpfc_sli4_repost_sgl_list()[all …]