Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/accel/habanalabs/gaudi/
DgaudiP.h296 size_t pq_size; member
Dgaudi.c1757 hl_asic_dma_free_coherent(hdev, q->pq_size, q->pq_kernel_addr, q->pq_dma_addr); in gaudi_free_internal_qmans_pq_mem()
1775 q->pq_size = HBM_DMA_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1778 q->pq_size = MME_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1781 q->pq_size = TPC_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1784 q->pq_size = NIC_QMAN_SIZE_IN_BYTES; in gaudi_alloc_internal_qmans_pq_mem()
1792 q->pq_kernel_addr = hl_asic_dma_alloc_coherent(hdev, q->pq_size, &q->pq_dma_addr, in gaudi_alloc_internal_qmans_pq_mem()
4671 *queue_len = q->pq_size / QMAN_PQ_ENTRY_SIZE; in gaudi_get_int_queue_base()