Home
last modified time | relevance | path

Searched refs:num_chunks (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/staging/media/atomisp/pci/
Dsh_css_defs.h291 #define __ISP_MIN_INTERNAL_WIDTH(num_chunks, pipelining, mode) \ argument
292 ((num_chunks) * (pipelining) * (1 << _ISP_LOG_VECTOR_STEP(mode)) * \
301 #define __ISP_CHUNK_STRIDE_DDR(c_subsampling, num_chunks) \ argument
302 ((c_subsampling) * (num_chunks) * HIVE_ISP_DDR_WORD_BYTES)
308 num_chunks, \ argument
313 __ISP_MIN_INTERNAL_WIDTH(num_chunks, \
319 __ISP_CHUNK_STRIDE_DDR(c_subsampling, num_chunks) \
Dia_css_acc_types.h120 u32 num_chunks; member
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dicp_qat_uclo.h252 unsigned short num_chunks; member
267 short num_chunks; member
507 unsigned short num_chunks; member
533 unsigned short num_chunks; member
549 unsigned short num_chunks; member
Dqat_uclo.c112 if (suof_hdr->num_chunks <= 0x1) { in qat_uclo_check_suof_format()
455 for (i = 0; i < obj_hdr->num_chunks; i++) { in qat_uclo_find_chunk()
502 for (i = 0; i < file_hdr->num_chunks; i++) { in qat_uclo_map_chunk()
1180 suof_handle->img_table.num_simgs = suof_ptr->num_chunks - 1; in qat_uclo_map_suof()
1744 uobj_chunk_num = uobj_hdr->num_chunks; in qat_uclo_map_objs_from_mof()
1746 sobj_chunk_num = sobj_hdr->num_chunks; in qat_uclo_map_objs_from_mof()
1826 if (mof_hdr->num_chunks <= 0x1) { in qat_uclo_check_mof_format()
1870 chunks_num = mof_ptr->num_chunks; in qat_uclo_map_mof_obj()
/linux-6.6.21/drivers/platform/x86/intel/ifs/
Dload.c95 int i, num_chunks, chunk_size; in copy_hashes_authenticate_chunks() local
106 num_chunks = hashes_status.num_chunks; in copy_hashes_authenticate_chunks()
124 for (i = 0; i < num_chunks; i++) { in copy_hashes_authenticate_chunks()
Difs.h152 u32 num_chunks :8; member
/linux-6.6.21/drivers/accel/habanalabs/common/
Dcommand_submission.c1330 u32 cs_type_flags, num_chunks; in hl_cs_sanity_checks() local
1362 num_chunks = args->in.num_chunks_execute; in hl_cs_sanity_checks()
1373 if (!num_chunks) { in hl_cs_sanity_checks()
1377 } else if (is_sync_stream && num_chunks != 1) { in hl_cs_sanity_checks()
1389 void __user *chunks, u32 num_chunks, in hl_cs_copy_chunk_array() argument
1394 if (num_chunks > HL_MAX_JOBS_PER_CS) { in hl_cs_copy_chunk_array()
1403 *cs_chunk_array = kmalloc_array(num_chunks, sizeof(**cs_chunk_array), in hl_cs_copy_chunk_array()
1406 *cs_chunk_array = kmalloc_array(num_chunks, in hl_cs_copy_chunk_array()
1414 size_to_copy = num_chunks * sizeof(struct hl_cs_chunk); in hl_cs_copy_chunk_array()
1470 u32 num_chunks, u64 *cs_seq, u32 flags, in cs_ioctl_default() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/lima/
Dlima_sched.c334 dt->num_chunks++; in lima_sched_build_error_task_list()
341 dt->num_chunks++; in lima_sched_build_error_task_list()
347 dt->num_chunks++; in lima_sched_build_error_task_list()
386 dt->num_chunks++; in lima_sched_build_error_task_list()
Dlima_dump.h47 __u32 num_chunks; member
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_mem.c372 int num_pages, num_chunks, i, rv = 0; in siw_umem_get() local
382 num_chunks = (num_pages >> CHUNK_SHIFT) + 1; in siw_umem_get()
408 kcalloc(num_chunks, sizeof(struct siw_page_chunk), GFP_KERNEL); in siw_umem_get()
/linux-6.6.21/drivers/crypto/marvell/octeontx/
Dotx_cptvf.h37 u32 num_chunks; /* Number of command chunks */ member
Dotx_cptvf_main.c179 queue->num_chunks = 0; in free_command_queues()
226 i, queue->num_chunks); in alloc_command_queues()
231 if (queue->num_chunks == 0) { in alloc_command_queues()
238 queue->num_chunks++; in alloc_command_queues()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_cs.c280 if (!cs->num_chunks) { in radeon_cs_parser_init()
292 p->chunks_array = kvmalloc_array(cs->num_chunks, sizeof(uint64_t), GFP_KERNEL); in radeon_cs_parser_init()
298 sizeof(uint64_t)*cs->num_chunks)) { in radeon_cs_parser_init()
302 p->nchunks = cs->num_chunks; in radeon_cs_parser_init()
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_spi.c44 int num_chunks; in sja1105_xfer() local
47 num_chunks = DIV_ROUND_UP(len, priv->max_xfer_len); in sja1105_xfer()
56 for (i = 0; i < num_chunks; i++) { in sja1105_xfer()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c51 if (cs->in.num_chunks == 0) in amdgpu_cs_parser_init()
188 chunk_array = kvmalloc_array(cs->in.num_chunks, sizeof(uint64_t), in amdgpu_cs_pass1()
196 sizeof(uint64_t)*cs->in.num_chunks)) { in amdgpu_cs_pass1()
201 p->nchunks = cs->in.num_chunks; in amdgpu_cs_pass1()
/linux-6.6.21/drivers/mtd/nand/raw/
Dmxc_nand.c252 u16 num_chunks = mtd->writesize / 512; in copy_spare() local
259 oob_chunk_size = (host->used_oobsize / num_chunks) & ~1; in copy_spare()
262 for (i = 0; i < num_chunks - 1; i++) in copy_spare()
272 for (i = 0; i < num_chunks - 1; i++) in copy_spare()
/linux-6.6.21/net/sctp/
Dsocket.c6966 u32 num_chunks = 0; in sctp_getsockopt_peer_auth_chunks() local
6988 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
6989 if (len < num_chunks) in sctp_getsockopt_peer_auth_chunks()
6992 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
6995 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_peer_auth_chunks()
6998 if (put_user(num_chunks, &p->gauth_number_of_chunks)) in sctp_getsockopt_peer_auth_chunks()
7011 u32 num_chunks = 0; in sctp_getsockopt_local_auth_chunks() local
7038 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
7039 if (len < sizeof(struct sctp_authchunks) + num_chunks) in sctp_getsockopt_local_auth_chunks()
7042 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()
[all …]
/linux-6.6.21/include/uapi/drm/
Dradeon_drm.h984 __u32 num_chunks; member
Damdgpu_drm.h615 __u32 num_chunks; member
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c3765 if (le32_to_cpu(bd->u.data.num_chunks) > NUM_TFD_CHUNKS) { in ipw_queue_tx_free_tfd()
3767 le32_to_cpu(bd->u.data.num_chunks)); in ipw_queue_tx_free_tfd()
3773 for (i = 0; i < le32_to_cpu(bd->u.data.num_chunks); i++) { in ipw_queue_tx_free_tfd()
10161 tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2), in ipw_tx_skb()
10164 txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks)); in ipw_tx_skb()
10165 for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) { in ipw_tx_skb()
10167 i, le32_to_cpu(tfd->u.data.num_chunks), in ipw_tx_skb()
10170 i, tfd->u.data.num_chunks, in ipw_tx_skb()
10214 le32_add_cpu(&tfd->u.data.num_chunks, 1); in ipw_tx_skb()
Dipw2200.h488 __le32 num_chunks; member
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c107 info->output.num_chunks, info->pipeline.pipelining); in ia_css_binary_internal_res()
/linux-6.6.21/fs/btrfs/
Dinode.c719 atomic_t num_chunks; member
1605 if (atomic_dec_and_test(&async_cow->num_chunks)) in async_cow_free()
1618 u64 num_chunks = DIV_ROUND_UP(end - start, SZ_512K); in run_delalloc_compressed() local
1624 ctx = kvmalloc(struct_size(ctx, chunks, num_chunks), GFP_KERNEL); in run_delalloc_compressed()
1633 atomic_set(&ctx->num_chunks, num_chunks); in run_delalloc_compressed()
1635 for (i = 0; i < num_chunks; i++) { in run_delalloc_compressed()
/linux-6.6.21/drivers/staging/media/ipu3/
Dipu3-abi.h1559 u32 num_chunks; member