Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/habanalabs/
Dcommand_buffer.c46 static struct hl_cb *hl_cb_alloc(struct hl_device *hdev, u32 cb_size, in hl_cb_alloc() argument
69 p = hdev->asic_funcs->asic_dma_alloc_coherent(hdev, cb_size, in hl_cb_alloc()
72 p = hdev->asic_funcs->asic_dma_alloc_coherent(hdev, cb_size, in hl_cb_alloc()
78 cb_size); in hl_cb_alloc()
84 cb->size = cb_size; in hl_cb_alloc()
90 u32 cb_size, u64 *handle, int ctx_id) in hl_cb_create() argument
108 if (cb_size > HL_MAX_CB_SIZE) { in hl_cb_create()
111 cb_size, HL_MAX_CB_SIZE); in hl_cb_create()
117 if (cb_size < PAGE_SIZE) in hl_cb_create()
118 cb_size = PAGE_SIZE; in hl_cb_create()
[all …]
Dcommand_submission.c431 if ((chunk->cb_size < 8) || (chunk->cb_size > cb->size)) { in validate_queue_index()
432 dev_err(hdev->dev, "CB size %u invalid\n", chunk->cb_size); in validate_queue_index()
542 job->user_cb_size = chunk->cb_size; in _hl_cs_ioctl()
546 job->job_cb_size = chunk->cb_size; in _hl_cs_ioctl()
Dhw_queue.c188 u32 cb_size, u64 cb_ptr) in hl_hw_queue_send_cb_no_cmpl() argument
213 ext_queue_submit_bd(hdev, q, 0, cb_size, cb_ptr); in hl_hw_queue_send_cb_no_cmpl()
Dhabanalabs.h1435 u32 cb_size, u64 cb_ptr);
1490 int hl_cb_create(struct hl_device *hdev, struct hl_cb_mgr *mgr, u32 cb_size,
1499 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size);
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtxq.h153 __le32 cb_size; member
/Linux-v5.4/include/uapi/misc/
Dhabanalabs.h192 __u32 cb_size; member
225 __u32 cb_size; member
/Linux-v5.4/include/sound/
Dintel-nhlt.h22 u16 cb_size; member
/Linux-v5.4/drivers/ata/
Dsata_sil24.c1195 size_t cb_size = sizeof(*cb) * SIL24_MAX_CMDS; in sil24_port_start() local
1202 cb = dmam_alloc_coherent(dev, cb_size, &cb_dma, GFP_KERNEL); in sil24_port_start()
/Linux-v5.4/drivers/misc/habanalabs/goya/
Dgoya.c4572 u32 cb_size, ctl; in goya_memset_device_memory() local
4577 cb_size = lin_dma_pkts_cnt * sizeof(struct packet_lin_dma) + in goya_memset_device_memory()
4579 cb = hl_cb_kernel_create(hdev, cb_size); in goya_memset_device_memory()
4619 job->user_cb_size = cb_size; in goya_memset_device_memory()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c1232 cmd.cb_size = cpu_to_le32(TFD_QUEUE_CB_SIZE(size)); in iwl_trans_pcie_dyn_txq_alloc()