Home
last modified time | relevance | path

Searched refs:blk_sz (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/rtl8188eu/hal/
Dfw.c45 u32 blk_sz = sizeof(u32); in _rtl88e_fw_block_write() local
50 blk_cnt = size / blk_sz; in _rtl88e_fw_block_write()
51 remain = size % blk_sz; in _rtl88e_fw_block_write()
55 for (i = 0; i < blk_cnt; i++, write_address += blk_sz) in _rtl88e_fw_block_write()
58 byte_buffer = buffer + blk_cnt * blk_sz; in _rtl88e_fw_block_write()
/drivers/mmc/core/
Dsdio_io.c236 unsigned int blk_sz, byte_sz; in sdio_align_size() local
266 blk_sz = ((sz + func->cur_blksize - 1) / in sdio_align_size()
268 blk_sz = _sdio_align_size(blk_sz); in sdio_align_size()
274 if ((blk_sz % func->cur_blksize) == 0) in sdio_align_size()
275 return blk_sz; in sdio_align_size()
283 blk_sz = sz / func->cur_blksize; in sdio_align_size()
284 return blk_sz * func->cur_blksize + byte_sz; in sdio_align_size()
/drivers/scsi/isci/
Dscu_task_context.h870 u32 blk_sz:2; member
Drequest.c301 u8 blk_sz = scu_bg_blk_size(scmd->device); in scu_ssp_ireq_dif_insert() local
305 tc->blk_sz = blk_sz; in scu_ssp_ireq_dif_insert()
356 u8 blk_sz = scu_bg_blk_size(scmd->device); in scu_ssp_ireq_dif_strip() local
360 tc->blk_sz = blk_sz; in scu_ssp_ireq_dif_strip()
/drivers/scsi/qla2xxx/
Dqla_iocb.c847 qla24xx_get_one_block_sg(uint32_t blk_sz, struct qla2_sgx *sgx, in qla24xx_get_one_block_sg() argument
865 if ((cumulative_partial + (sg_len - sgx->bytes_consumed)) >= blk_sz) { in qla24xx_get_one_block_sg()
866 sgx->dma_len = (blk_sz - cumulative_partial); in qla24xx_get_one_block_sg()
868 sgx->num_bytes += blk_sz; in qla24xx_get_one_block_sg()
917 prot_int = tc->blk_sz; in qla24xx_walk_and_build_sglist_no_difb()
Dtcm_qla2xxx.c414 cmd->blk_sz = se_cmd->se_dev->dev_attrib.block_size; in tcm_qla2xxx_write_pending()
674 cmd->blk_sz = se_cmd->se_dev->dev_attrib.block_size; in tcm_qla2xxx_queue_data_in()
Dqla_target.h912 uint32_t blk_sz, num_blks; member
Dqla_target.c2425 prm->seg_cnt = DIV_ROUND_UP(cmd->bufflen, cmd->blk_sz); in qlt_pci_map_calc_cnt()
2442 cmd->blk_sz); in qlt_pci_map_calc_cnt()
3039 dif_bytes = (data_bytes / cmd->blk_sz) * 8; in qlt_build_ctio_crc2_pkt()
3166 crc_ctx_pkt->blk_size = cpu_to_le16(cmd->blk_sz); in qlt_build_ctio_crc2_pkt()
3173 tc.blk_sz = cmd->blk_sz; in qlt_build_ctio_crc2_pkt()
Dqla_def.h3489 uint32_t blk_sz; member