Home
last modified time | relevance | path

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

/drivers/crypto/keembay/
Dkeembay-ocs-hcu-core.c76 size_t blk_sz; member
249 remainder = total % rctx->blk_sz; in kmb_ocs_dma_prepare()
390 if (ctx->key_len > rctx->blk_sz) { in prepare_ipad()
395 rctx->blk_sz - ctx->key_len); in prepare_ipad()
396 ctx->key_len = rctx->blk_sz; in prepare_ipad()
404 for (i = 0; i < rctx->blk_sz; i++) in prepare_ipad()
406 rctx->buf_cnt = rctx->blk_sz; in prepare_ipad()
534 WARN_ON(tctx->key_len != rctx->blk_sz); in kmb_ocs_hcu_do_one_request()
535 for (i = 0; i < rctx->blk_sz; i++) in kmb_ocs_hcu_do_one_request()
539 rctx->buffer[rctx->blk_sz + i] = req->result[i]; in kmb_ocs_hcu_do_one_request()
[all …]
/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.c298 u8 blk_sz = scu_bg_blk_size(scmd->device); in scu_ssp_ireq_dif_insert() local
302 tc->blk_sz = blk_sz; in scu_ssp_ireq_dif_insert()
353 u8 blk_sz = scu_bg_blk_size(scmd->device); in scu_ssp_ireq_dif_strip() local
357 tc->blk_sz = blk_sz; in scu_ssp_ireq_dif_strip()
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c414 cmd->blk_sz = se_cmd->se_dev->dev_attrib.block_size; in tcm_qla2xxx_write_pending()
681 cmd->blk_sz = se_cmd->se_dev->dev_attrib.block_size; in tcm_qla2xxx_queue_data_in()
Dqla_iocb.c798 qla24xx_get_one_block_sg(uint32_t blk_sz, struct qla2_sgx *sgx, in qla24xx_get_one_block_sg() argument
816 if ((cumulative_partial + (sg_len - sgx->bytes_consumed)) >= blk_sz) { in qla24xx_get_one_block_sg()
817 sgx->dma_len = (blk_sz - cumulative_partial); in qla24xx_get_one_block_sg()
819 sgx->num_bytes += blk_sz; in qla24xx_get_one_block_sg()
868 prot_int = tc->blk_sz; in qla24xx_walk_and_build_sglist_no_difb()
Dqla_target.h924 uint32_t blk_sz, num_blks; member
Dqla_target.c2464 prm->seg_cnt = DIV_ROUND_UP(cmd->bufflen, cmd->blk_sz); in qlt_pci_map_calc_cnt()
2481 cmd->blk_sz); in qlt_pci_map_calc_cnt()
3088 dif_bytes = (data_bytes / cmd->blk_sz) * 8; in qlt_build_ctio_crc2_pkt()
3215 crc_ctx_pkt->blk_size = cpu_to_le16(cmd->blk_sz); in qlt_build_ctio_crc2_pkt()
3222 tc.blk_sz = cmd->blk_sz; in qlt_build_ctio_crc2_pkt()
Dqla_def.h3630 uint32_t blk_sz; member