Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/pm8001/
H A Dpm8001_hwi.c1272 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ, in pm8001_mpi_msg_free_get() argument
1286 consumer_index = pm8001_read_32(circularQ->ci_virt); in pm8001_mpi_msg_free_get()
1287 circularQ->consumer_index = cpu_to_le32(consumer_index); in pm8001_mpi_msg_free_get()
1288 if (((circularQ->producer_idx + bcCount) % PM8001_MPI_QUEUE) == in pm8001_mpi_msg_free_get()
1289 le32_to_cpu(circularQ->consumer_index)) { in pm8001_mpi_msg_free_get()
1294 offset = circularQ->producer_idx * messageSize; in pm8001_mpi_msg_free_get()
1296 circularQ->producer_idx = (circularQ->producer_idx + bcCount) in pm8001_mpi_msg_free_get()
1300 msgHeader = (struct mpi_msg_hdr *)(circularQ->base_virt + offset); in pm8001_mpi_msg_free_get()
1316 struct inbound_queue_table *circularQ, in pm8001_mpi_build_cmd() argument
1323 int q_index = circularQ - pm8001_ha->inbnd_q_tbl; in pm8001_mpi_build_cmd()
[all …]
H A Dpm80xx_hwi.c1192 struct inbound_queue_table *circularQ; in pm80xx_set_thermal_config() local
1203 circularQ = &pm8001_ha->inbnd_q_tbl[0]; in pm80xx_set_thermal_config()
1221 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, in pm80xx_set_thermal_config()
1238 struct inbound_queue_table *circularQ; in pm80xx_set_sas_protocol_timer_config() local
1252 circularQ = &pm8001_ha->inbnd_q_tbl[0]; in pm80xx_set_sas_protocol_timer_config()
1294 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, in pm80xx_set_sas_protocol_timer_config()
1400 struct inbound_queue_table *circularQ; in pm80xx_encrypt_update() local
1410 circularQ = &pm8001_ha->inbnd_q_tbl[0]; in pm80xx_encrypt_update()
1423 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, in pm80xx_encrypt_update()
1738 struct inbound_queue_table *circularQ; in pm80xx_send_abort_all() local
[all …]
H A Dpm8001_sas.h663 struct inbound_queue_table *circularQ,
666 int pm8001_mpi_msg_free_get(struct inbound_queue_table *circularQ,
669 struct outbound_queue_table *circularQ, u8 bc);
671 struct outbound_queue_table *circularQ,
H A Dpm8001_init.c271 struct inbound_queue_table *circularQ; in pm8001_alloc() local
319 circularQ = &pm8001_ha->inbnd_q_tbl[i]; in pm8001_alloc()
320 spin_lock_init(&circularQ->iq_lock); in pm8001_alloc()