Home
last modified time | relevance | path

Searched refs:pq_size (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c32 #define QM_PQ_MEM_4KB(pq_size) (pq_size ? DIV_ROUND_UP((pq_size + 1) * \ argument
35 #define QM_PQ_SIZE_256B(pq_size) (pq_size ? DIV_ROUND_UP(pq_size, \ argument
744 u32 pq_size, pq_mem_4kb, mem_addr_4kb; in qed_other_pq_map_rt_init() local
751 pq_size = num_pf_cids + num_tids; in qed_other_pq_map_rt_init()
752 pq_mem_4kb = QM_PQ_MEM_4KB(pq_size); in qed_other_pq_map_rt_init()
761 QM_PQ_SIZE_256B(pq_size)); in qed_other_pq_map_rt_init()
/linux-6.1.9/drivers/misc/habanalabs/gaudi/
DgaudiP.h308 size_t pq_size; member
Dgaudi.c1752 hl_asic_dma_free_coherent(hdev, q->pq_size, q->pq_kernel_addr, q->pq_dma_addr); in gaudi_free_internal_qmans_pq_mem()
1770 q->pq_size = HBM_DMA_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1773 q->pq_size = MME_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1776 q->pq_size = TPC_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1779 q->pq_size = NIC_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1787 q->pq_kernel_addr = hl_asic_dma_alloc_coherent(hdev, q->pq_size, &q->pq_dma_addr, in gaudi_alloc_internal_qmans_pq_mem()
4743 *queue_len = q->pq_size / QMAN_PQ_ENTRY_SIZE; in gaudi_get_int_queue_base()