Home
last modified time | relevance | path

Searched refs:circularQ (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/pm8001/
H A Dpm8001_hwi.c1268 * @circularQ: the inbound queue we want to transfer to HBA.
1272 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 in pm8001_mpi_msg_free_get()
1315 pm8001_mpi_build_cmd(struct pm8001_hba_info *pm8001_ha, struct inbound_queue_table *circularQ, u32 opCode, void *payload, size_t nb, u32 responseQueue) pm8001_mpi_build_cmd() argument
1363 pm8001_mpi_msg_free_set(struct pm8001_hba_info *pm8001_ha, void *pMsg, struct outbound_queue_table *circularQ, u8 bc) pm8001_mpi_msg_free_set() argument
1409 pm8001_mpi_msg_consume(struct pm8001_hba_info *pm8001_ha, struct outbound_queue_table *circularQ, void **messagePtr1, u8 *pBC) pm8001_mpi_msg_consume() argument
1704 struct inbound_queue_table *circularQ; pm8001_send_abort_all() local
1759 struct inbound_queue_table *circularQ; pm8001_send_read_log() local
3268 struct inbound_queue_table *circularQ; pm8001_hw_event_ack_req() local
4024 struct outbound_queue_table *circularQ; process_oq() local
4100 struct inbound_queue_table *circularQ; pm8001_chip_smp_req() local
4168 struct inbound_queue_table *circularQ; pm8001_chip_ssp_io_req() local
4223 struct inbound_queue_table *circularQ; pm8001_chip_sata_req() local
4328 struct inbound_queue_table *circularQ; pm8001_chip_phy_start_req() local
4363 struct inbound_queue_table *circularQ; pm8001_chip_phy_stop_req() local
4385 struct inbound_queue_table *circularQ; pm8001_chip_reg_dev_req() local
4448 struct inbound_queue_table *circularQ; pm8001_chip_dereg_dev_req() local
4471 struct inbound_queue_table *circularQ; pm8001_chip_phy_ctl_req() local
4519 struct inbound_queue_table *circularQ; send_task_abort() local
4575 struct inbound_queue_table *circularQ; pm8001_chip_ssp_tm_req() local
4601 struct inbound_queue_table *circularQ; pm8001_chip_get_nvmd_req() local
4696 struct inbound_queue_table *circularQ; pm8001_chip_set_nvmd_req() local
4785 struct inbound_queue_table *circularQ; pm8001_chip_fw_flash_update_build() local
4939 struct inbound_queue_table *circularQ; pm8001_chip_set_dev_state_req() local
4968 struct inbound_queue_table *circularQ; pm8001_chip_sas_re_initialization() local
[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
1794 struct inbound_queue_table *circularQ; pm80xx_send_read_log() local
3197 struct inbound_queue_table *circularQ; pm80xx_hw_event_ack_req() local
4071 struct outbound_queue_table *circularQ; process_oq() local
4170 struct inbound_queue_table *circularQ; pm80xx_chip_smp_req() local
4330 struct inbound_queue_table *circularQ; pm80xx_chip_ssp_io_req() local
4491 struct inbound_queue_table *circularQ; pm80xx_chip_sata_req() local
4722 struct inbound_queue_table *circularQ; pm80xx_chip_phy_start_req() local
4762 struct inbound_queue_table *circularQ; pm80xx_chip_phy_stop_req() local
4784 struct inbound_queue_table *circularQ; pm80xx_chip_reg_dev_req() local
4857 struct inbound_queue_table *circularQ; pm80xx_chip_phy_ctl_req() local
4914 struct inbound_queue_table *circularQ; mpi_set_phy_profile_req() local
4956 struct inbound_queue_table *circularQ; pm8001_set_phy_profile_single() 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.c270 struct inbound_queue_table *circularQ; in pm8001_alloc() local
311 circularQ = &pm8001_ha->inbnd_q_tbl[i]; in pm8001_alloc()
312 spin_lock_init(&circularQ->iq_lock); in pm8001_alloc()
/kernel/linux/linux-6.6/drivers/scsi/pm8001/
H A Dpm8001_hwi.c1275 * @circularQ: the inbound queue we want to transfer to HBA.
1279 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 in pm8001_mpi_msg_free_get()
1329 struct inbound_queue_table *circularQ = &pm8001_ha->inbnd_q_tbl[q_index]; pm8001_mpi_build_cmd() local
1373 pm8001_mpi_msg_free_set(struct pm8001_hba_info *pm8001_ha, void *pMsg, struct outbound_queue_table *circularQ, u8 bc) pm8001_mpi_msg_free_set() argument
1419 pm8001_mpi_msg_consume(struct pm8001_hba_info *pm8001_ha, struct outbound_queue_table *circularQ, void **messagePtr1, u8 *pBC) pm8001_mpi_msg_consume() argument
3906 struct outbound_queue_table *circularQ; process_oq() local
[all...]
H A Dpm80xx_hwi.c2261 struct outbound_queue_table *circularQ, void *piomb) in mpi_sata_completion()
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 in mpi_sata_completion()
2260 mpi_sata_completion(struct pm8001_hba_info *pm8001_ha, struct outbound_queue_table *circularQ, void *piomb) mpi_sata_completion() argument
2670 mpi_sata_event(struct pm8001_hba_info *pm8001_ha, struct outbound_queue_table *circularQ, void *piomb) mpi_sata_event() argument
3810 process_one_iomb(struct pm8001_hba_info *pm8001_ha, struct outbound_queue_table *circularQ, void *piomb) process_one_iomb() argument
4022 struct outbound_queue_table *circularQ; process_oq() local
[all...]
H A 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,

Completed in 19 milliseconds