Home
last modified time | relevance | path

Searched refs:cb_size (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dcommand_buffer.c182 static struct hl_cb *hl_cb_alloc(struct hl_device *hdev, u32 cb_size, in hl_cb_alloc() argument
206 p = (void *) gen_pool_alloc(hdev->internal_cb_pool, cb_size); in hl_cb_alloc()
216 p = hdev->asic_funcs->asic_dma_alloc_coherent(hdev, cb_size, in hl_cb_alloc()
219 p = hdev->asic_funcs->asic_dma_alloc_coherent(hdev, cb_size, in hl_cb_alloc()
227 cb_size); in hl_cb_alloc()
233 cb->size = cb_size; in hl_cb_alloc()
239 struct hl_ctx *ctx, u32 cb_size, bool internal_cb, in hl_cb_create() argument
258 if (cb_size > SZ_2M) { in hl_cb_create()
260 cb_size, SZ_2M); in hl_cb_create()
267 if (cb_size < PAGE_SIZE) in hl_cb_create()
[all …]
Dcommand_submission.c571 if ((chunk->cb_size < 8) || (chunk->cb_size > cb->size)) { in get_cb_from_cs_chunk()
572 dev_err(hdev->dev, "CB size %u invalid\n", chunk->cb_size); in get_cb_from_cs_chunk()
699 job->user_cb_size = chunk->cb_size; in cs_ioctl_default()
781 u32 size_to_copy, q_idx, signal_seq_arr_len, cb_size; in cs_ioctl_signal_wait() local
929 cb_size = hdev->asic_funcs->get_wait_cb_size(hdev); in cs_ioctl_signal_wait()
931 cb_size = hdev->asic_funcs->get_signal_cb_size(hdev); in cs_ioctl_signal_wait()
933 cb = hl_cb_kernel_create(hdev, cb_size, in cs_ioctl_signal_wait()
946 job->user_cb_size = cb_size; in cs_ioctl_signal_wait()
Dhw_queue.c219 u32 cb_size, u64 cb_ptr) in hl_hw_queue_send_cb_no_cmpl() argument
251 ext_and_hw_queue_submit_bd(hdev, q, 0, cb_size, cb_ptr); in hl_hw_queue_send_cb_no_cmpl()
Dhabanalabs.h1805 u32 cb_size, u64 cb_ptr);
1861 struct hl_ctx *ctx, u32 cb_size, bool internal_cb,
1870 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size,
/kernel/linux/linux-5.10/fs/ntfs/
Dcompress.c155 u8 *const cb_start, const u32 cb_size, const loff_t i_size, in ntfs_decompress() argument
162 u8 *cb_end = cb_start + cb_size; /* End of cb. */ in ntfs_decompress()
185 ntfs_debug("Entering, cb_size = 0x%x.", cb_size); in ntfs_decompress()
476 u32 cb_size = ni->itype.compressed.block_size; in ntfs_read_compressed_block() local
477 u64 cb_size_mask = cb_size - 1UL; in ntfs_read_compressed_block()
487 VCN end_vcn = ((((s64)(index + 1UL) << PAGE_SHIFT) + cb_size - 1) in ntfs_read_compressed_block()
507 "%i.", index, cb_size, nr_pages); in ntfs_read_compressed_block()
519 bhs_size = cb_size / block_size * sizeof(struct buffer_head *); in ntfs_read_compressed_block()
703 cb_end = cb + cb_size; in ntfs_read_compressed_block()
712 if (cb_pos + 2 <= cb + cb_size) in ntfs_read_compressed_block()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtxq.h153 __le32 cb_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/misc/
Dhabanalabs.h334 __u32 cb_size; member
352 __u32 cb_size; member
/kernel/linux/linux-5.10/include/uapi/misc/
Dhabanalabs.h476 __u32 cb_size; member
526 __u32 cb_size; member
/kernel/linux/linux-5.10/include/sound/
Dintel-nhlt.h22 u16 cb_size; member
/kernel/linux/linux-5.10/drivers/ata/
Dsata_sil24.c1197 size_t cb_size = sizeof(*cb) * SIL24_MAX_CMDS; in sil24_port_start() local
1204 cb = dmam_alloc_coherent(dev, cb_size, &cb_dma, GFP_KERNEL); in sil24_port_start()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c675 u32 cb_size, ctl; in _gaudi_init_tpc_mem() local
684 cb_size = sizeof(*init_tpc_mem_pkt); in _gaudi_init_tpc_mem()
685 memset(init_tpc_mem_pkt, 0, cb_size); in _gaudi_init_tpc_mem()
712 job->user_cb_size = cb_size; in _gaudi_init_tpc_mem()
4340 u32 cb_size, ctl, err_cause; in gaudi_memset_device_memory() local
4350 cb_size = sizeof(*lin_dma_pkt); in gaudi_memset_device_memory()
4382 job->user_cb_size = cb_size; in gaudi_memset_device_memory()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
Dgoya.c4742 u32 cb_size, ctl; in goya_memset_device_memory() local
4747 cb_size = lin_dma_pkts_cnt * sizeof(struct packet_lin_dma) + in goya_memset_device_memory()
4749 cb = hl_cb_kernel_create(hdev, cb_size, false); in goya_memset_device_memory()
4789 job->user_cb_size = cb_size; in goya_memset_device_memory()
/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c1451 if ((attr->cb_mem != NULL) && (attr->cb_size >= sizeof(MemPoolCB))) { in osMemoryPoolNew()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1282 cmd.cb_size = cpu_to_le32(TFD_QUEUE_CB_SIZE(size)); in iwl_txq_dyn_alloc()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch197851 + u_int32 cb_size;
200345 + pEncExpertModeParam->Calib.cb_size = ctx->encoder_stream.size;