Home
last modified time | relevance | path

Searched refs:ring_db (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/crypto/hisilicon/sec/
Dsec_drv.c910 sec_queue_errbase_addr(queue, queue->ring_db.paddr); in sec_queue_hw_init()
1082 struct sec_queue_ring_db *ring_db = &queue->ring_db; in sec_queue_res_cfg() local
1101 ring_db->vaddr = dma_alloc_coherent(dev, SEC_Q_DB_SIZE, in sec_queue_res_cfg()
1102 &ring_db->paddr, GFP_KERNEL); in sec_queue_res_cfg()
1103 if (!ring_db->vaddr) { in sec_queue_res_cfg()
1117 dma_free_coherent(dev, SEC_Q_DB_SIZE, queue->ring_db.vaddr, in sec_queue_res_cfg()
1118 queue->ring_db.paddr); in sec_queue_res_cfg()
1133 dma_free_coherent(dev, SEC_Q_DB_SIZE, queue->ring_db.vaddr, in sec_queue_free_ring_pages()
1134 queue->ring_db.paddr); in sec_queue_free_ring_pages()
Dsec_drv.h341 struct sec_queue_ring_db ring_db; member
/Linux-v5.10/drivers/net/ipa/
Dgsi_trans.c541 static void __gsi_trans_commit(struct gsi_trans *trans, bool ring_db) in __gsi_trans_commit() argument
595 if (ring_db || !atomic_read(&channel->trans_info.tre_avail)) { in __gsi_trans_commit()
604 void gsi_trans_commit(struct gsi_trans *trans, bool ring_db) in gsi_trans_commit() argument
607 __gsi_trans_commit(trans, ring_db); in gsi_trans_commit()
Dgsi_trans.h187 void gsi_trans_commit(struct gsi_trans *trans, bool ring_db);