/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_shared_buf.c | 34 unsigned int unit_size; in nfp_shared_buf_pool_get() local 37 unit_size = nfp_shared_buf_pool_unit(pf, sb); in nfp_shared_buf_pool_get() 38 if (!unit_size) in nfp_shared_buf_pool_get() 50 pool_info->size = le32_to_cpu(get_data.size) * unit_size; in nfp_shared_buf_pool_get() 51 pool_info->cell_size = unit_size; in nfp_shared_buf_pool_get() 67 unsigned int unit_size; in nfp_shared_buf_pool_set() local 69 unit_size = nfp_shared_buf_pool_unit(pf, sb); in nfp_shared_buf_pool_set() 70 if (!unit_size || size % unit_size) in nfp_shared_buf_pool_set() 72 set_data.size = cpu_to_le32(size / unit_size); in nfp_shared_buf_pool_set()
|
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
D | ccp-crypto-aes-xts.c | 113 u32 unit_size; in ccp_aes_xts_crypt() local 128 unit_size = CCP_XTS_AES_UNIT_SIZE__LAST; in ccp_aes_xts_crypt() 131 unit_size = unit; in ccp_aes_xts_crypt() 139 if (unit_size == CCP_XTS_AES_UNIT_SIZE__LAST) in ccp_aes_xts_crypt() 173 rctx->cmd.u.xts.unit_size = unit_size; in ccp_aes_xts_crypt()
|
D | ccp-ops.c | 1096 unsigned int unit_size, dm_offset; in ccp_run_xts_aes_cmd() local 1102 switch (xts->unit_size) { in ccp_run_xts_aes_cmd() 1104 unit_size = 16; in ccp_run_xts_aes_cmd() 1107 unit_size = 512; in ccp_run_xts_aes_cmd() 1110 unit_size = 1024; in ccp_run_xts_aes_cmd() 1113 unit_size = 2048; in ccp_run_xts_aes_cmd() 1116 unit_size = 4096; in ccp_run_xts_aes_cmd() 1151 op.u.xts.unit_size = xts->unit_size; in ccp_run_xts_aes_cmd() 1230 unit_size, in ccp_run_xts_aes_cmd() 1239 unit_size, DMA_FROM_DEVICE); in ccp_run_xts_aes_cmd() [all …]
|
D | ccp-dev.h | 503 enum ccp_xts_aes_unit_size unit_size; member
|
D | ccp-dev-v3.c | 186 | (op->u.xts.unit_size << REQ1_XTS_AES_SIZE_SHIFT) in ccp_perform_xts_aes()
|
D | ccp-dev-v5.c | 344 CCP_XTS_SIZE(&function) = op->u.xts.unit_size; in ccp5_perform_xts_aes()
|
/kernel/linux/linux-5.10/mm/ |
D | percpu.c | 2315 upa = ai->alloc_size / ai->unit_size; in pcpu_dump_alloc_info() 2321 ai->unit_size, ai->alloc_size / ai->atom_size, ai->atom_size); in pcpu_dump_alloc_info() 2436 PCPU_SETUP_BUG_ON(ai->unit_size < size_sum); in pcpu_setup_first_chunk() 2437 PCPU_SETUP_BUG_ON(offset_in_page(ai->unit_size)); in pcpu_setup_first_chunk() 2438 PCPU_SETUP_BUG_ON(ai->unit_size < PCPU_MIN_UNIT_SIZE); in pcpu_setup_first_chunk() 2439 PCPU_SETUP_BUG_ON(!IS_ALIGNED(ai->unit_size, PCPU_BITMAP_BLOCK_SIZE)); in pcpu_setup_first_chunk() 2482 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk() 2494 unit_off[cpu] = gi->base_offset + i * ai->unit_size; in pcpu_setup_first_chunk() 2521 pcpu_unit_pages = ai->unit_size >> PAGE_SHIFT; in pcpu_setup_first_chunk() 2775 ai->unit_size = alloc_size / upa; in pcpu_build_alloc_info() [all …]
|
D | percpu-km.c | 112 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
|
D | percpu-internal.h | 188 pcpu_stats.min_alloc_size = pcpu_stats_ai.unit_size; in pcpu_stats_save_ai()
|
D | percpu-stats.c | 180 PL(unit_size); in percpu_stats_show()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | imx214.c | 50 struct v4l2_ctrl *unit_size; member 951 static const struct v4l2_area unit_size = { in imx214_probe() local 1036 imx214->unit_size = v4l2_ctrl_new_std_compound(&imx214->ctrls, in imx214_probe() 1039 v4l2_ctrl_ptr_create((void *)&unit_size)); in imx214_probe()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | mtrr.c | 215 u64 unit_size = fixed_mtrr_seg_unit_size(seg); in fixed_mtrr_seg_unit_range() local 217 *start = mtrr_seg->start + unit * unit_size; in fixed_mtrr_seg_unit_range() 218 *end = *start + unit_size; in fixed_mtrr_seg_unit_range()
|
/kernel/linux/linux-5.10/include/linux/ |
D | percpu.h | 79 size_t unit_size; member
|
D | ccp.h | 233 enum ccp_xts_aes_unit_size unit_size; member
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_file.c | 875 int unit_size = FDBD_FORMAT_UNIT_SIZE * dev->dev_attrib.block_size; in fd_format_prot() local 883 buf = vzalloc(unit_size); in fd_format_prot() 893 memset(buf, 0xff, unit_size); in fd_format_prot() 895 buf, unit_size); in fd_format_prot()
|
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | contig.c | 130 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
|
D | discontig.c | 221 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
|
/kernel/linux/linux-5.10/drivers/memstick/core/ |
D | mspro_block.c | 88 __be16 unit_size; member 374 be16_to_cpu(x_sys->unit_size)); in mspro_block_attr_show_sysinfo() 1200 msb->page_size = be16_to_cpu(sys_info->unit_size); in mspro_block_init_disk()
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
D | csio_scsi.c | 2321 uint32_t unit_size = 0; in csio_scsi_alloc_ddp_bufs() local 2336 unit_size = buf_size; in csio_scsi_alloc_ddp_bufs() 2347 ddp_desc->vaddr = dma_alloc_coherent(&hw->pdev->dev, unit_size, in csio_scsi_alloc_ddp_bufs() 2357 ddp_desc->len = unit_size; in csio_scsi_alloc_ddp_bufs()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | wmi.c | 5375 u32 req_id, num_units, unit_size, num_unit_info; in ath10k_wmi_is_host_mem_allocated() local 5386 unit_size = __le32_to_cpu(mem_reqs[i]->unit_size); in ath10k_wmi_is_host_mem_allocated() 5403 pool_size = num_units * round_up(unit_size, 4); in ath10k_wmi_is_host_mem_allocated() 5511 u32 num_units, req_id, unit_size, num_mem_reqs, num_unit_info, i; in ath10k_wmi_event_service_ready_work() local 5616 unit_size = __le32_to_cpu(arg.mem_reqs[i]->unit_size); in ath10k_wmi_event_service_ready_work() 5640 unit_size, in ath10k_wmi_event_service_ready_work() 5644 unit_size); in ath10k_wmi_event_service_ready_work()
|
D | wmi.h | 2254 __le32 unit_size; member
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 181005 + s32 unit_size; 181138 + .unit_size = CH_SYNC_BUF_SZ, 181143 + .unit_size = CH_SYNC_BUF_SZ, 181169 + .unit_size = CH_CTRL_BUF_SZ, 181174 + .unit_size = CH_CTRL_BUF_SZ, 181200 + .unit_size = CH_ASYNC_BUF_SZ, 181205 + .unit_size = CH_ASYNC_BUF_SZ, 181231 + .unit_size = CH_ISOC_BUF_SZ, 181236 + .unit_size = CH_ISOC_BUF_SZ, 182684 + pdevinfo->rx_rbuf.unit_size = ring_buf_size; [all …]
|