Home
last modified time | relevance | path

Searched refs:block_cnt (Results 1 – 7 of 7) sorted by relevance

/drivers/cdrom/
Dgdrom.c572 int block, block_cnt; in gdrom_readdisk_dma() local
584 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()
/drivers/input/rmi4/
Drmi_f34v7.c624 u16 block_cnt, u8 command) in rmi_f34v7_read_blocks() argument
631 u16 remaining = block_cnt; in rmi_f34v7_read_blocks()
696 const void *block_ptr, u16 block_cnt, in rmi_f34v7_write_f34v7_blocks() argument
704 u16 remaining = block_cnt; in rmi_f34v7_write_f34v7_blocks()
/drivers/scsi/
Dhpsa.c4658 u32 block_cnt; in is_zero_length_transfer() local
4666 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() local
4704 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 …]
Dmyrb.c1431 u32 block_cnt; in myrb_ldev_queuecommand() local
1517 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()
/drivers/scsi/smartpqi/
Dsmartpqi_init.c2695 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 …]
Dsmartpqi.h1036 u32 block_cnt; member
/drivers/scsi/lpfc/
Dlpfc_sli.c7581 int post_cnt = 0, num_posted = 0, block_cnt = 0; in lpfc_sli4_repost_sgl_list() local
7599 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 …]