Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/platform/x86/intel/ifs/
Dload.c59 int i, num_chunks, chunk_size; in copy_hashes_authenticate_chunks() local
70 num_chunks = hashes_status.num_chunks; in copy_hashes_authenticate_chunks()
88 for (i = 0; i < num_chunks; i++) { in copy_hashes_authenticate_chunks()
Difs.h135 u32 num_chunks :8; member
/linux-6.1.9/drivers/crypto/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()
1179 suof_handle->img_table.num_simgs = suof_ptr->num_chunks - 1; in qat_uclo_map_suof()
1743 uobj_chunk_num = uobj_hdr->num_chunks; in qat_uclo_map_objs_from_mof()
1745 sobj_chunk_num = sobj_hdr->num_chunks; in qat_uclo_map_objs_from_mof()
1825 if (mof_hdr->num_chunks <= 0x1) { in qat_uclo_check_mof_format()
1869 chunks_num = mof_ptr->num_chunks; in qat_uclo_map_mof_obj()
/linux-6.1.9/drivers/misc/habanalabs/common/
Dcommand_submission.c1257 u32 cs_type_flags, num_chunks; in hl_cs_sanity_checks() local
1282 num_chunks = args->in.num_chunks_execute; in hl_cs_sanity_checks()
1293 if (!num_chunks) { in hl_cs_sanity_checks()
1297 } else if (is_sync_stream && num_chunks != 1) { in hl_cs_sanity_checks()
1309 void __user *chunks, u32 num_chunks, in hl_cs_copy_chunk_array() argument
1314 if (num_chunks > HL_MAX_JOBS_PER_CS) { in hl_cs_copy_chunk_array()
1323 *cs_chunk_array = kmalloc_array(num_chunks, sizeof(**cs_chunk_array), in hl_cs_copy_chunk_array()
1326 *cs_chunk_array = kmalloc_array(num_chunks, in hl_cs_copy_chunk_array()
1334 size_to_copy = num_chunks * sizeof(struct hl_cs_chunk); in hl_cs_copy_chunk_array()
1390 u32 num_chunks, u64 *cs_seq, u32 flags, in cs_ioctl_default() argument
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/gpu/drm/radeon/
Dradeon_cs.c279 if (!cs->num_chunks) { in radeon_cs_parser_init()
291 p->chunks_array = kvmalloc_array(cs->num_chunks, sizeof(uint64_t), GFP_KERNEL); in radeon_cs_parser_init()
297 sizeof(uint64_t)*cs->num_chunks)) { in radeon_cs_parser_init()
301 p->nchunks = cs->num_chunks; in radeon_cs_parser_init()
/linux-6.1.9/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.1.9/drivers/mtd/nand/raw/
Dmxc_nand.c253 u16 num_chunks = mtd->writesize / 512; in copy_spare() local
260 oob_chunk_size = (host->used_oobsize / num_chunks) & ~1; in copy_spare()
263 for (i = 0; i < num_chunks - 1; i++) in copy_spare()
273 for (i = 0; i < num_chunks - 1; i++) in copy_spare()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c49 if (cs->in.num_chunks == 0) in amdgpu_cs_parser_init()
195 chunk_array = kvmalloc_array(cs->in.num_chunks, sizeof(uint64_t), in amdgpu_cs_pass1()
203 sizeof(uint64_t)*cs->in.num_chunks)) { in amdgpu_cs_pass1()
208 p->nchunks = cs->in.num_chunks; in amdgpu_cs_pass1()
/linux-6.1.9/net/sctp/
Dsocket.c6948 u32 num_chunks = 0; in sctp_getsockopt_peer_auth_chunks() local
6970 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
6971 if (len < num_chunks) in sctp_getsockopt_peer_auth_chunks()
6974 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
6977 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_peer_auth_chunks()
6980 if (put_user(num_chunks, &p->gauth_number_of_chunks)) in sctp_getsockopt_peer_auth_chunks()
6993 u32 num_chunks = 0; in sctp_getsockopt_local_auth_chunks() local
7020 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
7021 if (len < sizeof(struct sctp_authchunks) + num_chunks) in sctp_getsockopt_local_auth_chunks()
7024 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()
[all …]
/linux-6.1.9/include/uapi/drm/
Damdgpu_drm.h593 __u32 num_chunks; member
Dradeon_drm.h984 __u32 num_chunks; member
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c3808 if (le32_to_cpu(bd->u.data.num_chunks) > NUM_TFD_CHUNKS) { in ipw_queue_tx_free_tfd()
3810 le32_to_cpu(bd->u.data.num_chunks)); in ipw_queue_tx_free_tfd()
3816 for (i = 0; i < le32_to_cpu(bd->u.data.num_chunks); i++) { in ipw_queue_tx_free_tfd()
10204 tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2), in ipw_tx_skb()
10207 txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks)); in ipw_tx_skb()
10208 for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) { in ipw_tx_skb()
10210 i, le32_to_cpu(tfd->u.data.num_chunks), in ipw_tx_skb()
10213 i, tfd->u.data.num_chunks, in ipw_tx_skb()
10257 le32_add_cpu(&tfd->u.data.num_chunks, 1); in ipw_tx_skb()
Dipw2200.h488 __le32 num_chunks; member
/linux-6.1.9/fs/btrfs/
Dinode.c498 atomic_t num_chunks; member
1505 if (atomic_dec_and_test(&async_cow->num_chunks)) in async_cow_free()
1521 u64 num_chunks = DIV_ROUND_UP(end - start, SZ_512K); in cow_file_range_async() local
1531 num_chunks = 1; in cow_file_range_async()
1538 ctx = kvmalloc(struct_size(ctx, chunks, num_chunks), GFP_KERNEL); in cow_file_range_async()
1554 atomic_set(&ctx->num_chunks, num_chunks); in cow_file_range_async()
1556 for (i = 0; i < num_chunks; i++) { in cow_file_range_async()
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c105 info->output.num_chunks, info->pipeline.pipelining); in ia_css_binary_internal_res()
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-abi.h1559 u32 num_chunks; member