Home
last modified time | relevance | path

Searched refs:msg_ring (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/crypto/hisilicon/sec/
Dsec_drv.c682 struct sec_queue_ring_cmd *msg_ring = &queue->ring_cmd; in sec_isr_handle() local
694 msg = msg_ring->vaddr + q_id; in sec_isr_handle()
705 msg = msg_ring->vaddr + queue->expected; in sec_isr_handle()
707 msg_ring->callback(msg, in sec_isr_handle()
712 atomic_dec(&msg_ring->used); in sec_isr_handle()
720 msg = msg_ring->vaddr + q_id; in sec_isr_handle()
845 struct sec_queue_ring_cmd *msg_ring = &queue->ring_cmd; in sec_queue_empty() local
847 return !atomic_read(&msg_ring->used); in sec_queue_empty()
860 struct sec_queue_ring_cmd *msg_ring = &queue->ring_cmd; in sec_queue_send() local
864 mutex_lock(&msg_ring->lock); in sec_queue_send()
[all …]
/linux-5.19.10/drivers/net/wwan/iosm/
Diosm_ipc_protocol.h103 union ipc_mem_msg_entry msg_ring[IPC_MEM_MSG_ENTRIES]; member
Diosm_ipc_protocol_ops.c25 msg = &ipc_protocol->p_ap_shm->msg_ring[head]; in ipc_protocol_free_msg_get()
195 &ipc_protocol->p_ap_shm->msg_ring[i]; in ipc_protocol_msg_process()
Diosm_ipc_protocol.c264 addr + offsetof(struct ipc_protocol_ap_shm, msg_ring); in ipc_protocol_init()
/linux-5.19.10/drivers/scsi/
Dvmw_pvscsi.c87 struct PVSCSIRingMsgDesc *msg_ring; member
476 adapter->msg_ring = dma_alloc_coherent(&adapter->dev->dev, in pvscsi_allocate_rings()
479 if (!adapter->msg_ring) in pvscsi_allocate_rings()
525 memset(adapter->msg_ring, 0, adapter->msg_pages * PAGE_SIZE); in pvscsi_setup_all_rings()
1101 struct PVSCSIRingMsgDesc *ring = adapter->msg_ring; in pvscsi_process_msg_ring()
1247 if (adapter->msg_ring) in pvscsi_release_resources()
1250 adapter->msg_ring, adapter->msgRingPA); in pvscsi_release_resources()