Searched refs:circularQ (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/scsi/pm8001/ |
| H A D | pm8001_hwi.c | 1223 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, in pm8001_mpi_msg_free_get() argument 1237 consumer_index = pm8001_read_32(circularQ->ci_virt); in pm8001_mpi_msg_free_get() 1238 circularQ->consumer_index = cpu_to_le32(consumer_index); in pm8001_mpi_msg_free_get() 1239 if (((circularQ->producer_idx + bcCount) % PM8001_MPI_QUEUE) == in pm8001_mpi_msg_free_get() 1240 le32_to_cpu(circularQ->consumer_index)) { in pm8001_mpi_msg_free_get() 1245 offset = circularQ->producer_idx * messageSize; in pm8001_mpi_msg_free_get() 1247 circularQ->producer_idx = (circularQ->producer_idx + bcCount) in pm8001_mpi_msg_free_get() 1251 msgHeader = (struct mpi_msg_hdr *)(circularQ->base_virt + offset); in pm8001_mpi_msg_free_get() 1273 struct inbound_queue_table *circularQ = &pm8001_ha->inbnd_q_tbl[q_index]; in pm8001_mpi_build_cmd() local 1278 circularQ->producer_idx, le32_to_cpu(circularQ->consumer_index)); in pm8001_mpi_build_cmd() [all …]
|
| H A D | pm80xx_hwi.c | 2289 struct outbound_queue_table *circularQ, void *piomb) in mpi_sata_completion() argument 2502 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion() 2503 circularQ->lock_flags); in mpi_sata_completion() 2505 spin_lock_irqsave(&circularQ->oq_lock, in mpi_sata_completion() 2506 circularQ->lock_flags); in mpi_sata_completion() 2522 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion() 2523 circularQ->lock_flags); in mpi_sata_completion() 2525 spin_lock_irqsave(&circularQ->oq_lock, in mpi_sata_completion() 2526 circularQ->lock_flags); in mpi_sata_completion() 2550 spin_unlock_irqrestore(&circularQ->oq_lock, in mpi_sata_completion() [all …]
|
| H A D | pm8001_sas.h | 671 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, 674 struct outbound_queue_table *circularQ, u8 bc); 676 struct outbound_queue_table *circularQ,
|