Home
last modified time | relevance | path

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

/Linux-v6.6/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.c2261 struct outbound_queue_table *circularQ, void *piomb) in mpi_sata_completion() argument
2473 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion()
2474 circularQ->lock_flags); in mpi_sata_completion()
2476 spin_lock_irqsave(&circularQ->oq_lock, in mpi_sata_completion()
2477 circularQ->lock_flags); in mpi_sata_completion()
2493 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion()
2494 circularQ->lock_flags); in mpi_sata_completion()
2496 spin_lock_irqsave(&circularQ->oq_lock, in mpi_sata_completion()
2497 circularQ->lock_flags); in mpi_sata_completion()
2521 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion()
[all …]
Dpm8001_sas.h663 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ,
666 struct outbound_queue_table *circularQ, u8 bc);
668 struct outbound_queue_table *circularQ,