circularQ 1299 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, circularQ 1313 drivers/scsi/pm8001/pm8001_hwi.c consumer_index = pm8001_read_32(circularQ->ci_virt); circularQ 1314 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_index = cpu_to_le32(consumer_index); circularQ 1315 drivers/scsi/pm8001/pm8001_hwi.c if (((circularQ->producer_idx + bcCount) % PM8001_MPI_QUEUE) == circularQ 1316 drivers/scsi/pm8001/pm8001_hwi.c le32_to_cpu(circularQ->consumer_index)) { circularQ 1321 drivers/scsi/pm8001/pm8001_hwi.c offset = circularQ->producer_idx * messageSize; circularQ 1323 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_idx = (circularQ->producer_idx + bcCount) circularQ 1327 drivers/scsi/pm8001/pm8001_hwi.c msgHeader = (struct mpi_msg_hdr *)(circularQ->base_virt + offset); circularQ 1341 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ, circularQ 1347 drivers/scsi/pm8001/pm8001_hwi.c if (pm8001_mpi_msg_free_get(circularQ, pm8001_ha->iomb_size, circularQ 1365 drivers/scsi/pm8001/pm8001_hwi.c pm8001_cw32(pm8001_ha, circularQ->pi_pci_bar, circularQ 1366 drivers/scsi/pm8001/pm8001_hwi.c circularQ->pi_offset, circularQ->producer_idx); circularQ 1369 drivers/scsi/pm8001/pm8001_hwi.c responseQueue, opCode, circularQ->producer_idx, circularQ 1370 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_index)); circularQ 1375 drivers/scsi/pm8001/pm8001_hwi.c struct outbound_queue_table *circularQ, u8 bc) circularQ 1382 drivers/scsi/pm8001/pm8001_hwi.c pOutBoundMsgHeader = (struct mpi_msg_hdr *)(circularQ->base_virt + circularQ 1383 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx * pm8001_ha->iomb_size); circularQ 1387 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx, msgHeader)); circularQ 1390 drivers/scsi/pm8001/pm8001_hwi.c producer_index = pm8001_read_32(circularQ->pi_virt); circularQ 1391 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_index = cpu_to_le32(producer_index); circularQ 1394 drivers/scsi/pm8001/pm8001_hwi.c "msgHeader = %p\n", circularQ->consumer_idx, circularQ 1395 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_index, msgHeader)); circularQ 1399 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx = (circularQ->consumer_idx + bc) circularQ 1402 drivers/scsi/pm8001/pm8001_hwi.c pm8001_cw32(pm8001_ha, circularQ->ci_pci_bar, circularQ->ci_offset, circularQ 1403 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx); circularQ 1405 drivers/scsi/pm8001/pm8001_hwi.c producer_index = pm8001_read_32(circularQ->pi_virt); circularQ 1406 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_index = cpu_to_le32(producer_index); circularQ 1408 drivers/scsi/pm8001/pm8001_hwi.c pm8001_printk(" CI=%d PI=%d\n", circularQ->consumer_idx, circularQ 1409 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_index)); circularQ 1422 drivers/scsi/pm8001/pm8001_hwi.c struct outbound_queue_table *circularQ, circularQ 1430 drivers/scsi/pm8001/pm8001_hwi.c if (le32_to_cpu(circularQ->producer_index) circularQ 1431 drivers/scsi/pm8001/pm8001_hwi.c != circularQ->consumer_idx) { circularQ 1434 drivers/scsi/pm8001/pm8001_hwi.c (circularQ->base_virt + circularQ 1435 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx * pm8001_ha->iomb_size); circularQ 1450 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx, circularQ 1451 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_index, circularQ 1455 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx = circularQ 1456 drivers/scsi/pm8001/pm8001_hwi.c (circularQ->consumer_idx + circularQ 1464 drivers/scsi/pm8001/pm8001_hwi.c circularQ->ci_pci_bar, circularQ 1465 drivers/scsi/pm8001/pm8001_hwi.c circularQ->ci_offset, circularQ 1466 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx); circularQ 1469 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx = circularQ 1470 drivers/scsi/pm8001/pm8001_hwi.c (circularQ->consumer_idx + circularQ 1476 drivers/scsi/pm8001/pm8001_hwi.c pm8001_cw32(pm8001_ha, circularQ->ci_pci_bar, circularQ 1477 drivers/scsi/pm8001/pm8001_hwi.c circularQ->ci_offset, circularQ 1478 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx); circularQ 1483 drivers/scsi/pm8001/pm8001_hwi.c void *pi_virt = circularQ->pi_virt; circularQ 1492 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_index = cpu_to_le32(producer_index); circularQ 1494 drivers/scsi/pm8001/pm8001_hwi.c } while (le32_to_cpu(circularQ->producer_index) != circularQ 1495 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx); circularQ 1726 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 1754 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 1761 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, 0); circularQ 1777 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 1819 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 1834 drivers/scsi/pm8001/pm8001_hwi.c res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, 0); circularQ 3349 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 3352 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[Qnum]; circularQ 3358 drivers/scsi/pm8001/pm8001_hwi.c pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 4173 drivers/scsi/pm8001/pm8001_hwi.c struct outbound_queue_table *circularQ; circularQ 4180 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->outbnd_q_tbl[vec]; circularQ 4182 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_msg_consume(pm8001_ha, circularQ, &pMsg1, &bc); circularQ 4188 drivers/scsi/pm8001/pm8001_hwi.c circularQ, bc); circularQ 4192 drivers/scsi/pm8001/pm8001_hwi.c circularQ->producer_index = circularQ 4193 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_read_32(circularQ->pi_virt)); circularQ 4194 drivers/scsi/pm8001/pm8001_hwi.c if (le32_to_cpu(circularQ->producer_index) == circularQ 4195 drivers/scsi/pm8001/pm8001_hwi.c circularQ->consumer_idx) circularQ 4249 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4275 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4286 drivers/scsi/pm8001/pm8001_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, circularQ 4317 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4333 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4355 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &ssp_cmd, 0); circularQ 4372 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4376 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4464 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, 0); circularQ 4478 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4482 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4499 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opcode, &payload, 0); circularQ 4513 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4517 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4521 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opcode, &payload, 0); circularQ 4534 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4543 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4580 drivers/scsi/pm8001/pm8001_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 4593 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4595 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4601 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 4616 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4620 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4624 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 4661 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4663 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4675 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, 0); circularQ 4719 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4731 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4732 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sspTMCmd, 0); circularQ 4744 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4755 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4822 drivers/scsi/pm8001/pm8001_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &nvmd_req, 0); circularQ 4838 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4847 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4906 drivers/scsi/pm8001/pm8001_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &nvmd_req, 0); circularQ 4925 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 4930 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4941 drivers/scsi/pm8001/pm8001_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 5070 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 5082 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 5086 drivers/scsi/pm8001/pm8001_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 5095 drivers/scsi/pm8001/pm8001_hwi.c struct inbound_queue_table *circularQ; circularQ 5106 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 5111 drivers/scsi/pm8001/pm8001_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 665 drivers/scsi/pm8001/pm8001_sas.h struct inbound_queue_table *circularQ, circularQ 667 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, circularQ 670 drivers/scsi/pm8001/pm8001_sas.h struct outbound_queue_table *circularQ, u8 bc); circularQ 672 drivers/scsi/pm8001/pm8001_sas.h struct outbound_queue_table *circularQ, circularQ 865 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 876 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 888 drivers/scsi/pm8001/pm80xx_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 904 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 918 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 970 drivers/scsi/pm8001/pm80xx_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 1075 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 1085 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 1093 drivers/scsi/pm8001/pm80xx_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 1409 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 1439 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 1446 drivers/scsi/pm8001/pm80xx_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, 0); circularQ 1463 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 1507 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 1522 drivers/scsi/pm8001/pm80xx_hwi.c res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, 0); circularQ 2869 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 2872 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[Qnum]; circularQ 2878 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 3811 drivers/scsi/pm8001/pm80xx_hwi.c struct outbound_queue_table *circularQ; circularQ 3830 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->outbnd_q_tbl[vec]; circularQ 3836 drivers/scsi/pm8001/pm80xx_hwi.c if (!circularQ->pi_virt) circularQ 3838 drivers/scsi/pm8001/pm80xx_hwi.c ret = pm8001_mpi_msg_consume(pm8001_ha, circularQ, &pMsg1, &bc); circularQ 3844 drivers/scsi/pm8001/pm80xx_hwi.c circularQ, bc); circularQ 3848 drivers/scsi/pm8001/pm80xx_hwi.c circularQ->producer_index = circularQ 3849 drivers/scsi/pm8001/pm80xx_hwi.c cpu_to_le32(pm8001_read_32(circularQ->pi_virt)); circularQ 3850 drivers/scsi/pm8001/pm80xx_hwi.c if (le32_to_cpu(circularQ->producer_index) == circularQ 3851 drivers/scsi/pm8001/pm80xx_hwi.c circularQ->consumer_idx) circularQ 3897 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 3926 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 3996 drivers/scsi/pm8001/pm80xx_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, circularQ 4060 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4081 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[q_index]; circularQ 4204 drivers/scsi/pm8001/pm80xx_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, circularQ 4224 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4229 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[q_index]; circularQ 4445 drivers/scsi/pm8001/pm80xx_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, circularQ 4460 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4464 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4501 drivers/scsi/pm8001/pm80xx_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opcode, &payload, 0); circularQ 4515 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4519 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4523 drivers/scsi/pm8001/pm80xx_hwi.c ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opcode, &payload, 0); circularQ 4536 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4545 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4589 drivers/scsi/pm8001/pm80xx_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 4609 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4615 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4619 drivers/scsi/pm8001/pm80xx_hwi.c return pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 4657 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4664 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4674 drivers/scsi/pm8001/pm80xx_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); circularQ 4698 drivers/scsi/pm8001/pm80xx_hwi.c struct inbound_queue_table *circularQ; circularQ 4706 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->inbnd_q_tbl[0]; circularQ 4716 drivers/scsi/pm8001/pm80xx_hwi.c rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0);