Searched refs:circularQ (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/scsi/pm8001/ |
| D | pm8001_hwi.c | 1299 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, in pm8001_mpi_msg_free_get() argument 1313 consumer_index = pm8001_read_32(circularQ->ci_virt); in pm8001_mpi_msg_free_get() 1314 circularQ->consumer_index = cpu_to_le32(consumer_index); in pm8001_mpi_msg_free_get() 1315 if (((circularQ->producer_idx + bcCount) % PM8001_MPI_QUEUE) == in pm8001_mpi_msg_free_get() 1316 le32_to_cpu(circularQ->consumer_index)) { in pm8001_mpi_msg_free_get() 1321 offset = circularQ->producer_idx * messageSize; in pm8001_mpi_msg_free_get() 1323 circularQ->producer_idx = (circularQ->producer_idx + bcCount) in pm8001_mpi_msg_free_get() 1327 msgHeader = (struct mpi_msg_hdr *)(circularQ->base_virt + offset); in pm8001_mpi_msg_free_get() 1341 struct inbound_queue_table *circularQ, in pm8001_mpi_build_cmd() argument 1347 if (pm8001_mpi_msg_free_get(circularQ, pm8001_ha->iomb_size, in pm8001_mpi_build_cmd() [all …]
|
| D | pm80xx_hwi.c | 865 struct inbound_queue_table *circularQ; in pm80xx_set_thermal_config() local 876 circularQ = &pm8001_ha->inbnd_q_tbl[0]; in pm80xx_set_thermal_config() 888 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); in pm80xx_set_thermal_config() 904 struct inbound_queue_table *circularQ; in pm80xx_set_sas_protocol_timer_config() local 918 circularQ = &pm8001_ha->inbnd_q_tbl[0]; in pm80xx_set_sas_protocol_timer_config() 970 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); in pm80xx_set_sas_protocol_timer_config() 1075 struct inbound_queue_table *circularQ; in pm80xx_encrypt_update() local 1085 circularQ = &pm8001_ha->inbnd_q_tbl[0]; in pm80xx_encrypt_update() 1093 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); in pm80xx_encrypt_update() 1409 struct inbound_queue_table *circularQ; in pm80xx_send_abort_all() local [all …]
|
| D | pm8001_sas.h | 665 struct inbound_queue_table *circularQ, 667 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, 670 struct outbound_queue_table *circularQ, u8 bc); 672 struct outbound_queue_table *circularQ,
|