Home
last modified time | relevance | path

Searched refs:isp_ops (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_nx.c1195 ret_val = ha->isp_ops->wr_reg_indirect(ha, MD_MIU_TEST_AGT_ADDR_HI, 0); in qla4_8xxx_ms_mem_write_128b()
1211 ret_val = ha->isp_ops->wr_reg_indirect(ha, in qla4_8xxx_ms_mem_write_128b()
1215 ret_val |= ha->isp_ops->wr_reg_indirect(ha, in qla4_8xxx_ms_mem_write_128b()
1218 ret_val |= ha->isp_ops->wr_reg_indirect(ha, in qla4_8xxx_ms_mem_write_128b()
1221 ret_val |= ha->isp_ops->wr_reg_indirect(ha, in qla4_8xxx_ms_mem_write_128b()
1224 ret_val |= ha->isp_ops->wr_reg_indirect(ha, in qla4_8xxx_ms_mem_write_128b()
1234 ret_val = ha->isp_ops->wr_reg_indirect(ha, MD_MIU_TEST_AGT_CTRL, in qla4_8xxx_ms_mem_write_128b()
1236 ret_val |= ha->isp_ops->wr_reg_indirect(ha, in qla4_8xxx_ms_mem_write_128b()
1246 ret_val = ha->isp_ops->rd_reg_indirect(ha, in qla4_8xxx_ms_mem_write_128b()
1821 ha->isp_ops->rd_reg_indirect(ha, addr1, &temp); in ql4_84xx_poll_wait_for_ready()
[all …]
Dql4_83xx.c262 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY); in qla4_83xx_lock_recovery()
269 ha->isp_ops->wr_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY, in qla4_83xx_lock_recovery()
275 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY); in qla4_83xx_lock_recovery()
283 ha->isp_ops->wr_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY, in qla4_83xx_lock_recovery()
287 ha->isp_ops->wr_reg_direct(ha, QLA83XX_DRV_LOCK_ID, 0xFF); in qla4_83xx_lock_recovery()
288 ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_UNLOCK); in qla4_83xx_lock_recovery()
291 ha->isp_ops->wr_reg_direct(ha, QLA83XX_DRV_LOCKRECOVERY, 0); in qla4_83xx_lock_recovery()
294 lock = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCK); in qla4_83xx_lock_recovery()
296 lockid = ha->isp_ops->rd_reg_direct(ha, QLA83XX_DRV_LOCK_ID); in qla4_83xx_lock_recovery()
298 ha->isp_ops->wr_reg_direct(ha, QLA83XX_DRV_LOCK_ID, lockid); in qla4_83xx_lock_recovery()
[all …]
Dql4_iocb.c21 cnt = (uint16_t) ha->isp_ops->rd_shdw_req_q_out(ha); in qla4xxx_space_in_req_ring()
110 ha->isp_ops->queue_iocb(ha); in qla4xxx_send_marker_iocb()
369 ha->isp_ops->queue_iocb(ha); in qla4xxx_send_command_to_isp()
442 ha->isp_ops->queue_iocb(ha); in qla4xxx_send_passthru0()
500 ha->isp_ops->queue_iocb(ha); in qla4xxx_send_mbox_iocb()
Dql4_isr.c567 ha->isp_ops->complete_iocb(ha); in qla4xxx_process_response_queue()
577 ha->isp_ops->complete_iocb(ha); in qla4xxx_process_response_queue()
1148 if (ha->isp_ops->rd_shdw_rsp_q_in(ha) != in qla4xxx_intr_handler()
1202 ha->isp_ops->interrupt_service_routine(ha, intr_status); in qla4xxx_intr_handler()
1263 ha->isp_ops->interrupt_service_routine(ha, intr_status); in qla4_82xx_intr_handler()
1324 ha->isp_ops->interrupt_service_routine(ha, leg_int_ptr); in qla4_83xx_intr_handler()
1418 ha->isp_ops->interrupt_service_routine(ha, intr_status); in qla4_8xxx_default_intr_handler()
1591 ret = request_irq(ha->pdev->irq, ha->isp_ops->intr_handler, in qla4xxx_request_irqs()
Dql4_attr.c77 ha->isp_ops->idc_lock(ha); in qla4_8xxx_sysfs_write_fw_dump()
97 ha->isp_ops->idc_unlock(ha); in qla4_8xxx_sysfs_write_fw_dump()
Dql4_os.c4887 status = ha->isp_ops->reset_firmware(ha); in qla4xxx_recover_adapter()
4889 ha->isp_ops->disable_intrs(ha); in qla4xxx_recover_adapter()
4932 status = ha->isp_ops->reset_chip(ha); in qla4xxx_recover_adapter()
4977 ha->isp_ops->idc_lock(ha); in qla4xxx_recover_adapter()
4980 ha->isp_ops->idc_unlock(ha); in qla4xxx_recover_adapter()
5038 ha->isp_ops->enable_intrs(ha); in qla4xxx_recover_adapter()
5335 ha->isp_ops->idc_lock(ha); in qla4xxx_do_dpc()
5338 ha->isp_ops->idc_unlock(ha); in qla4xxx_do_dpc()
5416 ha->isp_ops->enable_intrs(ha); in qla4xxx_do_dpc()
5472 ha->isp_ops->disable_intrs(ha); in qla4xxx_free_adapter()
[all …]
Dql4_init.c960 ha->isp_ops->pci_config(ha); in qla4xxx_initialize_adapter()
962 ha->isp_ops->disable_intrs(ha); in qla4xxx_initialize_adapter()
965 if (ha->isp_ops->start_firmware(ha) == QLA_ERROR) in qla4xxx_initialize_adapter()
981 if (ha->isp_ops->get_sys_info(ha) == QLA_ERROR) in qla4xxx_initialize_adapter()
Dql4_def.h758 struct isp_operations *isp_ops; member
1058 return ha->isp_ops->rd_reg_direct(ha, ha->reg_tbl[crb_reg]); in qla4_8xxx_rd_direct()
1065 ha->isp_ops->wr_reg_direct(ha, ha->reg_tbl[crb_reg], value); in qla4_8xxx_wr_direct()
Dql4_mbx.c42 ha->isp_ops->interrupt_service_routine(ha, intr_status); in qla4xxx_process_mbox_intr()
143 ha->isp_ops->idc_lock(ha); in qla4xxx_mailbox_command()
145 ha->isp_ops->idc_unlock(ha); in qla4xxx_mailbox_command()
161 ha->isp_ops->queue_mailbox_command(ha, mbx_cmd, inCount); in qla4xxx_mailbox_command()
193 ha->isp_ops->process_mailbox_interrupt(ha, outCount); in qla4xxx_mailbox_command()
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_attr.c164 ha->isp_ops->mpi_fw_dump(vha, 0); in qla2x00_sysfs_write_fw_dump()
212 ha->isp_ops->read_optrom(vha, ha->nvram, faddr << 2, ha->nvram_size); in qla2x00_sysfs_read_nvram()
232 !ha->isp_ops->write_nvram) in qla2x00_sysfs_write_nvram()
270 ha->isp_ops->write_nvram(vha, buf, ha->nvram_base, count); in qla2x00_sysfs_write_nvram()
271 ha->isp_ops->read_nvram(vha, ha->nvram, ha->nvram_base, in qla2x00_sysfs_write_nvram()
436 ha->isp_ops->read_optrom(vha, ha->optrom_buffer, in qla2x00_sysfs_write_optrom_ctl()
518 rval = ha->isp_ops->write_optrom(vha, ha->optrom_buffer, in qla2x00_sysfs_write_optrom_ctl()
580 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
583 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
605 !ha->isp_ops->write_nvram) in qla2x00_sysfs_write_vpd()
[all …]
Dqla_os.c953 rval = ha->isp_ops->start_scsi(sp); in qla2xxx_queuecommand()
1042 rval = ha->isp_ops->start_scsi_mq(sp); in qla2xxx_mqueuecommand()
1318 rval = ha->isp_ops->abort_command(sp); in qla2xxx_eh_abort()
1469 if (ha->isp_ops->lun_reset(fcport, sdev->lun, 1) in qla2xxx_eh_device_reset()
1537 if (ha->isp_ops->target_reset(fcport, 0, 0) != QLA_SUCCESS) { in qla2xxx_eh_target_reset()
1694 if (ha->isp_ops->abort_isp(base_vha)) { in qla2xxx_eh_host_reset()
1800 rval = ha->isp_ops->abort_command(sp); in qla2x00_abort_srb()
1954 ha->isp_ops->calc_req_entries = qla2x00_calc_iocbs_64; in qla2x00_config_dma_addressing()
1955 ha->isp_ops->build_iocbs = qla2x00_build_scsi_iocbs_64; in qla2x00_config_dma_addressing()
3002 ha->isp_ops = &qla2100_isp_ops; in qla2x00_probe_one()
[all …]
Dqla_sup.c686 ha->isp_ops->read_optrom(vha, flt, flt_addr << 2, in qla2xxx_get_flt_info()
958 ha->isp_ops->read_optrom(vha, fdt, ha->flt_region_fdt << 2, in qla2xxx_get_fdt_info()
1054 ha->isp_ops->read_optrom(vha, req->ring, QLA82XX_IDC_PARAM_ADDR, 8); in qla2xxx_get_idc_param()
1116 ha->isp_ops->read_optrom(vha, &hdr, ha->flt_region_npiv_conf << 2, in qla2xxx_flash_npiv_conf()
1136 ha->isp_ops->read_optrom(vha, data, ha->flt_region_npiv_conf << 2, in qla2xxx_flash_npiv_conf()
1532 ha->isp_ops->read_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, in qla25xx_write_nvram_data()
1535 ha->isp_ops->write_optrom(vha, dbuf, ha->flt_region_vpd_nvram << 2, in qla25xx_write_nvram_data()
1696 ha->isp_ops->beacon_blink(vha); /* This turns green LED off */ in qla2x00_beacon_off()
1929 ha->isp_ops->beacon_blink(vha); /* Will flip to all off. */ in qla24xx_beacon_off()
2318 ha->isp_ops->disable_intrs(ha); in qla2x00_suspend_hba()
[all …]
Dqla_init.c2458 rval = ha->isp_ops->pci_config(vha); in qla2x00_initialize_adapter()
2465 ha->isp_ops->reset_chip(vha); in qla2x00_initialize_adapter()
2494 ha->isp_ops->get_flash_version(vha, req->ring); in qla2x00_initialize_adapter()
2501 ha->isp_ops->nvram_config(vha); in qla2x00_initialize_adapter()
2527 rval = ha->isp_ops->chip_diag(vha); in qla2x00_initialize_adapter()
2825 ha->isp_ops->disable_intrs(ha); in qla2x00_reset_chip()
3153 ha->isp_ops->enable_intrs(ha); in qla24xx_reset_risc()
3254 ha->isp_ops->disable_intrs(ha); in qla24xx_reset_chip()
3976 rval = ha->isp_ops->load_risc(vha, &srisc_address); in qla2x00_setup_chip()
3996 rval = ha->isp_ops->load_risc(vha, &srisc_address); in qla2x00_setup_chip()
[all …]
Dqla_gs.c222 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg); in qla2x00_ga_nxt()
314 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg); in qla2x00_gid_pt()
393 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg); in qla2x00_gpn_id()
460 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg); in qla2x00_gnn_id()
1371 rval = ha->isp_ops->fabric_login(vha, vha->mgmt_svr_loop_id, 0xff, 0xff, in qla2x00_mgmt_svr_login()
1725 ha->isp_ops->fw_version_str(vha, eiter->a.fw_version, in qla2x00_hba_attributes()
2167 ms_pkt = ha->isp_ops->prep_ms_fdmi_iocb(vha, 0, size); in qla2x00_fdmi_rhba()
2246 ms_pkt = ha->isp_ops->prep_ms_fdmi_iocb(vha, DHBA_REQ_SIZE, in qla2x00_fdmi_dhba()
2300 ms_pkt = ha->isp_ops->prep_ms_fdmi_iocb(vha, 0, size); in qla2x00_fdmi_rprt()
2385 ms_pkt = ha->isp_ops->prep_ms_fdmi_iocb(vha, 0, size); in qla2x00_fdmi_rpa()
[all …]
Dqla_isr.c366 ha->isp_ops->fw_dump(vha); in qla2100_intr_handler()
492 ha->isp_ops->fw_dump(vha); in qla2300_intr_handler()
918 ha->isp_ops->fw_dump(vha); in qla27xx_handle_8200_aen()
922 ha->isp_ops->mpi_fw_dump(vha, 1); in qla27xx_handle_8200_aen()
1223 ha->isp_ops->mpi_fw_dump(vha, 1); in qla2x00_async_event()
1224 ha->isp_ops->fw_dump(vha); in qla2x00_async_event()
4066 ha->isp_ops->fw_dump(vha); in qla24xx_intr_handler()
4196 ha->isp_ops->fw_dump(vha); in qla24xx_msix_default()
4526 ret = request_irq(ha->pdev->irq, ha->isp_ops->intr_handler, in qla2x00_request_irqs()
Dqla_inline.h65 ha->isp_ops->intr_handler(0, rsp); in qla2x00_poll()
Dqla_mr.c256 if (ha->isp_ops->abort_isp(vha)) { in qlafx00_mailbox_command()
640 ha->isp_ops->disable_intrs(ha); in qlafx00_soft_reset()
1344 ha->isp_ops->reset_chip(vha); in qlafx00_abort_isp_cleanup()
1642 ha->isp_ops->reset_chip(vha); in qlafx00_abort_isp()
2020 rval = ha->isp_ops->pci_config(vha); in qlafx00_initialize_adapter()
Dqla_nx.c1724 ha->isp_ops->disable_intrs(ha); in qla82xx_reset_chip()
3011 ha->isp_ops->get_flash_version(vha, req->ring); in qla82xx_need_reset_handler()
3012 ha->isp_ops->nvram_config(vha); in qla82xx_need_reset_handler()
3499 ha->isp_ops->reset_adapter(vha); in qla82xx_abort_isp()
3642 if (ha->isp_ops->abort_command(sp)) { in qla82xx_chip_reset_cleanup()
Dqla_nvme.c276 rval = ha->isp_ops->abort_command(sp); in qla_nvme_abort_work()
Dqla_bsg.c1496 ha->isp_ops->read_optrom(vha, ha->optrom_buffer, in qla2x00_read_optrom()
1537 rval = ha->isp_ops->write_optrom(vha, ha->optrom_buffer, in qla2x00_update_optrom()
3093 if (!ha->flags.eeh_busy && ha->isp_ops->abort_command(sp)) { in qla24xx_bsg_timeout()
Dqla_nx2.c1657 ha->isp_ops->get_flash_version(vha, vha->req->ring); in qla8044_need_reset_handler()
1658 ha->isp_ops->nvram_config(vha); in qla8044_need_reset_handler()
Dqla_iocb.c378 req_cnt = ha->isp_ops->calc_req_entries(tot_dsds); in qla2x00_start_scsi()
415 ha->isp_ops->build_iocbs(sp, cmd_pkt, tot_dsds); in qla2x00_start_scsi()
Dqla_dbg.c732 vha->hw->isp_ops->fw_dump(vha); in qla2xxx_dump_fw()
Dqla_def.h4646 struct isp_operations *isp_ops; member
Dqla_mbx.c552 if (ha->isp_ops->abort_isp(vha) && in qla2x00_mailbox_command()

12