Home
last modified time | relevance | path

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

/drivers/misc/habanalabs/common/
Dcommand_buffer.c181 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()
220 cb_size, &cb->bus_address, GFP_KERNEL); in hl_cb_alloc()
222 p = hdev->asic_funcs->asic_dma_alloc_coherent(hdev, cb_size, in hl_cb_alloc()
230 cb_size); in hl_cb_alloc()
236 cb->size = cb_size; in hl_cb_alloc()
242 struct hl_ctx *ctx, u32 cb_size, bool internal_cb, in hl_cb_create() argument
261 if (cb_size > SZ_2M) { in hl_cb_create()
263 cb_size, SZ_2M); in hl_cb_create()
[all …]
Dcommand_submission.c1059 if ((chunk->cb_size < 8) || (chunk->cb_size > cb->size)) { in get_cb_from_cs_chunk()
1060 dev_err(hdev->dev, "CB size %u invalid\n", chunk->cb_size); in get_cb_from_cs_chunk()
1361 job->user_cb_size = chunk->cb_size; in cs_ioctl_default()
1700 u32 cb_size; in cs_ioctl_signal_wait_create_jobs() local
1713 cb_size = hdev->asic_funcs->get_wait_cb_size(hdev); in cs_ioctl_signal_wait_create_jobs()
1715 cb_size = hdev->asic_funcs->get_signal_cb_size(hdev); in cs_ioctl_signal_wait_create_jobs()
1717 cb = hl_cb_kernel_create(hdev, cb_size, in cs_ioctl_signal_wait_create_jobs()
1730 job->user_cb_size = cb_size; in cs_ioctl_signal_wait_create_jobs()
Dhw_queue.c229 u32 cb_size, u64 cb_ptr) in hl_hw_queue_send_cb_no_cmpl() argument
252 hl_hw_queue_submit_bd(hdev, q, 0, cb_size, cb_ptr); in hl_hw_queue_send_cb_no_cmpl()
Dhabanalabs.h2742 u32 cb_size, u64 cb_ptr);
2803 struct hl_ctx *ctx, u32 cb_size, bool internal_cb,
2813 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size,
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtxq.h96 __le32 cb_size; member
/drivers/misc/habanalabs/gaudi/
Dgaudi.c930 u32 cb_size, ctl; in _gaudi_init_tpc_mem() local
939 cb_size = sizeof(*init_tpc_mem_pkt); in _gaudi_init_tpc_mem()
940 memset(init_tpc_mem_pkt, 0, cb_size); in _gaudi_init_tpc_mem()
967 job->user_cb_size = cb_size; in _gaudi_init_tpc_mem()
1170 u32 master_sob_base, master_monitor, queue_id, cb_size = 0; in gaudi_collective_master_init_job() local
1199 wait_prop.size = cb_size; in gaudi_collective_master_init_job()
1200 cb_size += gaudi_gen_wait_cb(hdev, &wait_prop); in gaudi_collective_master_init_job()
1214 wait_prop.size = cb_size; in gaudi_collective_master_init_job()
1215 cb_size += gaudi_gen_wait_cb(hdev, &wait_prop); in gaudi_collective_master_init_job()
1223 u32 queue_id, cb_size = 0; in gaudi_collective_slave_init_job() local
[all …]
/drivers/ata/
Dsata_sil24.c1200 size_t cb_size = sizeof(*cb) * SIL24_MAX_CMDS; in sil24_port_start() local
1207 cb = dmam_alloc_coherent(dev, cb_size, &cb_dma, GFP_KERNEL); in sil24_port_start()
/drivers/misc/habanalabs/goya/
Dgoya.c4925 u32 cb_size, ctl; in goya_memset_device_memory() local
4930 cb_size = lin_dma_pkts_cnt * sizeof(struct packet_lin_dma) + in goya_memset_device_memory()
4932 cb = hl_cb_kernel_create(hdev, cb_size, false); in goya_memset_device_memory()
4972 job->user_cb_size = cb_size; in goya_memset_device_memory()
/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1212 cmd.cb_size = cpu_to_le32(TFD_QUEUE_CB_SIZE(size)); in iwl_txq_dyn_alloc()