Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/pm8001/
Dpm8001_hwi.c1279 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, in pm8001_mpi_msg_free_get() argument
1293 consumer_index = pm8001_read_32(circularQ->ci_virt); in pm8001_mpi_msg_free_get()
1294 circularQ->consumer_index = cpu_to_le32(consumer_index); in pm8001_mpi_msg_free_get()
1295 if (((circularQ->producer_idx + bcCount) % PM8001_MPI_QUEUE) == in pm8001_mpi_msg_free_get()
1296 le32_to_cpu(circularQ->consumer_index)) { in pm8001_mpi_msg_free_get()
1301 offset = circularQ->producer_idx * messageSize; in pm8001_mpi_msg_free_get()
1303 circularQ->producer_idx = (circularQ->producer_idx + bcCount) in pm8001_mpi_msg_free_get()
1307 msgHeader = (struct mpi_msg_hdr *)(circularQ->base_virt + offset); in pm8001_mpi_msg_free_get()
1329 struct inbound_queue_table *circularQ = &pm8001_ha->inbnd_q_tbl[q_index]; in pm8001_mpi_build_cmd() local
1334 circularQ->producer_idx, le32_to_cpu(circularQ->consumer_index)); in pm8001_mpi_build_cmd()
[all …]
Dpm80xx_hwi.c2368 struct outbound_queue_table *circularQ, void *piomb) in mpi_sata_completion() argument
2589 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion()
2590 circularQ->lock_flags); in mpi_sata_completion()
2592 spin_lock_irqsave(&circularQ->oq_lock, in mpi_sata_completion()
2593 circularQ->lock_flags); in mpi_sata_completion()
2609 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion()
2610 circularQ->lock_flags); in mpi_sata_completion()
2612 spin_lock_irqsave(&circularQ->oq_lock, in mpi_sata_completion()
2613 circularQ->lock_flags); in mpi_sata_completion()
2637 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion()
[all …]
Dpm8001_sas.h669 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ,
672 struct outbound_queue_table *circularQ, u8 bc);
674 struct outbound_queue_table *circularQ,