Searched refs:block_cnt (Results 1 – 13 of 13) 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()
3296 cnt = hdev->block_cnt; in hci_quote_sent()3611 unsigned int cnt = hdev->block_cnt; in hci_sched_acl_blk()3626 while (hdev->block_cnt > 0 && in hci_sched_acl_blk()3642 if (blocks > hdev->block_cnt) in hci_sched_acl_blk()3651 hdev->block_cnt -= blocks; in hci_sched_acl_blk()3659 if (cnt != hdev->block_cnt) in hci_sched_acl_blk()
1062 hdev->block_cnt = hdev->num_blocks; in hci_cc_read_data_block_size()1065 hdev->block_cnt, hdev->block_len); in hci_cc_read_data_block_size()4500 hdev->block_cnt += block_count; in hci_num_comp_blocks_evt()4501 if (hdev->block_cnt > hdev->num_blocks) in hci_num_comp_blocks_evt()4502 hdev->block_cnt = hdev->num_blocks; in hci_num_comp_blocks_evt()
422 buf->f_blocks = c->block_cnt; in ubifs_statfs()433 ubifs_assert(c, buf->f_bfree <= c->block_cnt); in ubifs_statfs()786 c->block_cnt = tmp64 >> UBIFS_BLOCK_SHIFT; in init_constants_master()
1408 int block_cnt; member
2674 rmd->block_cnt = (u32)scmd->cmnd[4]; in pqi_get_aio_lba_and_block_count()2675 if (rmd->block_cnt == 0) in pqi_get_aio_lba_and_block_count()2676 rmd->block_cnt = 256; in pqi_get_aio_lba_and_block_count()2683 rmd->block_cnt = (u32)get_unaligned_be16(&scmd->cmnd[7]); in pqi_get_aio_lba_and_block_count()2690 rmd->block_cnt = get_unaligned_be32(&scmd->cmnd[6]); in pqi_get_aio_lba_and_block_count()2697 rmd->block_cnt = get_unaligned_be32(&scmd->cmnd[10]); in pqi_get_aio_lba_and_block_count()2716 rmd->last_block = rmd->first_block + rmd->block_cnt - 1; in pci_get_aio_common_raid_map_values()2964 if (unlikely(rmd.block_cnt == 0)) in pqi_raid_bypass_submit_scsi_cmd()3000 rmd.disk_block_cnt = rmd.block_cnt; in pqi_raid_bypass_submit_scsi_cmd()5959 rmd.block_cnt) { in pqi_is_parity_write_stream()[all …]
1036 u32 block_cnt; member
7598 int post_cnt = 0, num_posted = 0, block_cnt = 0; in lpfc_sli4_repost_sgl_list() local7616 block_cnt++; in lpfc_sli4_repost_sgl_list()7621 post_cnt = block_cnt - 1; in lpfc_sli4_repost_sgl_list()7624 block_cnt = 1; in lpfc_sli4_repost_sgl_list()7629 if (block_cnt == LPFC_NEMBED_MBOX_SGL_CNT) { in lpfc_sli4_repost_sgl_list()7632 post_cnt = block_cnt; in lpfc_sli4_repost_sgl_list()7633 block_cnt = 0; in lpfc_sli4_repost_sgl_list()7646 post_cnt = block_cnt; in lpfc_sli4_repost_sgl_list()7647 } else if (block_cnt == 1) { in lpfc_sli4_repost_sgl_list()7696 if (block_cnt == 0) in lpfc_sli4_repost_sgl_list()[all …]
885 uint64_t block_cnt:16; member889 uint64_t block_cnt:16;
498 __u16 block_cnt; member