Home
last modified time | relevance | path

Searched refs:unit_size (Results 1 – 10 of 10) sorted by relevance

/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c122 u32 unit_size; in ccp_aes_xts_crypt() local
134 unit_size = CCP_XTS_AES_UNIT_SIZE__LAST; in ccp_aes_xts_crypt()
138 unit_size = unit_size_map[unit].value; in ccp_aes_xts_crypt()
144 if ((unit_size == CCP_XTS_AES_UNIT_SIZE__LAST) || in ccp_aes_xts_crypt()
171 rctx->cmd.u.xts.unit_size = unit_size; in ccp_aes_xts_crypt()
Dccp-ops.c788 unsigned int unit_size, dm_offset; in ccp_run_xts_aes_cmd() local
794 switch (xts->unit_size) { in ccp_run_xts_aes_cmd()
796 unit_size = 16; in ccp_run_xts_aes_cmd()
799 unit_size = 512; in ccp_run_xts_aes_cmd()
802 unit_size = 1024; in ccp_run_xts_aes_cmd()
805 unit_size = 2048; in ccp_run_xts_aes_cmd()
808 unit_size = 4096; in ccp_run_xts_aes_cmd()
841 op.u.xts.unit_size = xts->unit_size; in ccp_run_xts_aes_cmd()
910 unit_size, in ccp_run_xts_aes_cmd()
919 unit_size, DMA_FROM_DEVICE); in ccp_run_xts_aes_cmd()
[all …]
Dccp-dev.h479 enum ccp_xts_aes_unit_size unit_size; member
Dccp-dev-v3.c190 | (op->u.xts.unit_size << REQ1_XTS_AES_SIZE_SHIFT) in ccp_perform_xts_aes()
Dccp-dev-v5.c323 CCP_XTS_SIZE(&function) = op->u.xts.unit_size; in ccp5_perform_xts_aes()
/drivers/target/
Dtarget_core_file.c772 int unit_size = FDBD_FORMAT_UNIT_SIZE * dev->dev_attrib.block_size; in fd_format_prot() local
780 buf = vzalloc(unit_size); in fd_format_prot()
790 memset(buf, 0xff, unit_size); in fd_format_prot()
792 buf, unit_size); in fd_format_prot()
/drivers/memstick/core/
Dmspro_block.c92 __be16 unit_size; member
378 be16_to_cpu(x_sys->unit_size)); in mspro_block_attr_show_sysinfo()
1210 msb->page_size = be16_to_cpu(sys_info->unit_size); in mspro_block_init_disk()
/drivers/scsi/csiostor/
Dcsio_scsi.c2324 uint32_t unit_size = 0; in csio_scsi_alloc_ddp_bufs() local
2339 unit_size = buf_size; in csio_scsi_alloc_ddp_bufs()
2350 ddp_desc->vaddr = pci_alloc_consistent(hw->pdev, unit_size, in csio_scsi_alloc_ddp_bufs()
2360 ddp_desc->len = unit_size; in csio_scsi_alloc_ddp_bufs()
/drivers/net/wireless/ath/ath10k/
Dwmi.c4533 u32 req_id, num_units, unit_size, num_unit_info; in ath10k_wmi_is_host_mem_allocated() local
4544 unit_size = __le32_to_cpu(mem_reqs[i]->unit_size); in ath10k_wmi_is_host_mem_allocated()
4561 pool_size = num_units * round_up(unit_size, 4); in ath10k_wmi_is_host_mem_allocated()
4653 u32 num_units, req_id, unit_size, num_mem_reqs, num_unit_info, i; in ath10k_wmi_event_service_ready_work() local
4751 unit_size = __le32_to_cpu(arg.mem_reqs[i]->unit_size); in ath10k_wmi_event_service_ready_work()
4774 unit_size, in ath10k_wmi_event_service_ready_work()
4778 unit_size); in ath10k_wmi_event_service_ready_work()
Dwmi.h1972 __le32 unit_size; member