Searched refs:unit_size (Results 1 – 10 of 10) sorted by relevance
/drivers/crypto/ccp/ |
D | ccp-crypto-aes-xts.c | 122 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()
|
D | ccp-ops.c | 788 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 …]
|
D | ccp-dev.h | 479 enum ccp_xts_aes_unit_size unit_size; member
|
D | ccp-dev-v3.c | 190 | (op->u.xts.unit_size << REQ1_XTS_AES_SIZE_SHIFT) in ccp_perform_xts_aes()
|
D | ccp-dev-v5.c | 323 CCP_XTS_SIZE(&function) = op->u.xts.unit_size; in ccp5_perform_xts_aes()
|
/drivers/target/ |
D | target_core_file.c | 772 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/ |
D | mspro_block.c | 92 __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/ |
D | csio_scsi.c | 2324 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/ |
D | wmi.c | 4533 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()
|
D | wmi.h | 1972 __le32 unit_size; member
|