Home
last modified time | relevance | path

Searched refs:q_base_pa (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Dcore.c149 qcq->q_base, qcq->q_base_pa); in pdsc_qcq_free()
196 dma_addr_t q_base_pa; in pdsc_qcq_alloc() local
241 &qcq->q_base_pa, in pdsc_qcq_alloc()
248 q_base_pa = ALIGN(qcq->q_base_pa, PDS_PAGE_SIZE); in pdsc_qcq_alloc()
249 pdsc_q_map(&qcq->q, q_base, q_base_pa); in pdsc_qcq_alloc()
254 cq_base_pa = ALIGN(qcq->q_base_pa + in pdsc_qcq_alloc()
262 &qcq->q_base_pa, in pdsc_qcq_alloc()
269 q_base_pa = ALIGN(qcq->q_base_pa, PDS_PAGE_SIZE); in pdsc_qcq_alloc()
270 pdsc_q_map(&qcq->q, q_base, q_base_pa); in pdsc_qcq_alloc()
293 dma_free_coherent(dev, qcq->q_size, qcq->q_base, qcq->q_base_pa); in pdsc_qcq_alloc()
[all …]
Ddebugfs.c117 debugfs_create_x64("q_base_pa", 0400, qcq_dentry, &qcq->q_base_pa); in pdsc_debugfs_add_qcq()
Dcore.h118 dma_addr_t q_base_pa; /* might not be page aligned */ member
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c399 dma_free_coherent(dev, qcq->q_size, qcq->q_base, qcq->q_base_pa); in ionic_qcq_free()
401 qcq->q_base_pa = 0; in ionic_qcq_free()
543 dma_addr_t q_base_pa = 0; in ionic_qcq_alloc() local
604 &new->q_base_pa, GFP_KERNEL); in ionic_qcq_alloc()
611 q_base_pa = ALIGN(new->q_base_pa, PAGE_SIZE); in ionic_qcq_alloc()
612 ionic_q_map(&new->q, q_base, q_base_pa); in ionic_qcq_alloc()
615 cq_base_pa = ALIGN(new->q_base_pa + q_size, PAGE_SIZE); in ionic_qcq_alloc()
621 new->q_base = dma_alloc_coherent(dev, new->q_size, &new->q_base_pa, in ionic_qcq_alloc()
629 q_base_pa = ALIGN(new->q_base_pa, PAGE_SIZE); in ionic_qcq_alloc()
630 ionic_q_map(&new->q, q_base, q_base_pa); in ionic_qcq_alloc()
[all …]
Dionic_debugfs.c130 debugfs_create_x64("q_base_pa", 0400, qcq_dentry, &qcq->q_base_pa); in ionic_debugfs_add_qcq()
Dionic_lif.h66 dma_addr_t q_base_pa; member