Home
last modified time | relevance | path

Searched refs:sas_ha_struct (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/scsi/libsas/
H A Dsas_event.c13 bool sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_queue_work()
29 struct sas_ha_struct *ha) in sas_queue_event()
41 void sas_queue_deferred_work(struct sas_ha_struct *ha) in sas_queue_deferred_work()
57 void __sas_drain_work(struct sas_ha_struct *ha) in __sas_drain_work()
71 int sas_drain_work(struct sas_ha_struct *ha) in sas_drain_work()
86 void sas_disable_revalidation(struct sas_ha_struct *ha) in sas_disable_revalidation()
93 void sas_enable_revalidation(struct sas_ha_struct *ha) in sas_enable_revalidation()
128 struct sas_ha_struct *ha = phy->ha; in sas_port_event_worker()
139 struct sas_ha_struct *ha = phy->ha; in sas_phy_event_worker()
149 struct sas_ha_struct *ha = phy->ha; in sas_defer_event()
[all …]
H A Dsas_init.c93 int sas_register_ha(struct sas_ha_struct *sas_ha) in sas_register_ha()
149 static void sas_disable_events(struct sas_ha_struct *sas_ha) in sas_disable_events()
162 int sas_unregister_ha(struct sas_ha_struct *sas_ha) in sas_unregister_ha()
183 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_get_linkerrors()
232 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in transport_sas_phy_reset()
266 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_phy_enable()
303 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_phy_reset()
339 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_set_phy_speed()
357 void sas_prep_resume_ha(struct sas_ha_struct *ha) in sas_prep_resume_ha()
374 static int phys_suspended(struct sas_ha_struct *ha) in phys_suspended()
[all …]
H A Dsas_internal.h56 int sas_register_phys(struct sas_ha_struct *sas_ha);
65 int sas_register_ports(struct sas_ha_struct *sas_ha);
66 void sas_unregister_ports(struct sas_ha_struct *sas_ha);
68 void sas_disable_revalidation(struct sas_ha_struct *ha);
69 void sas_enable_revalidation(struct sas_ha_struct *ha);
70 void sas_queue_deferred_work(struct sas_ha_struct *ha);
71 void __sas_drain_work(struct sas_ha_struct *ha);
80 bool sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw);
H A Dsas_port.c17 struct sas_ha_struct *sas_ha = phy->ha; in phy_is_wideport_member()
30 struct sas_ha_struct *sas_ha = phy->ha; in sas_resume_port()
107 struct sas_ha_struct *sas_ha = phy->ha; in sas_form_port()
211 struct sas_ha_struct *sas_ha = phy->ha; in sas_deform_port()
326 struct sas_ha_struct *sas_ha, int i) in sas_init_port()
341 int sas_register_ports(struct sas_ha_struct *sas_ha) in sas_register_ports()
355 void sas_unregister_ports(struct sas_ha_struct *sas_ha) in sas_unregister_ports()
H A Dsas_phy.c38 struct sas_ha_struct *sas_ha = phy->ha; in sas_phye_oob_error()
67 struct sas_ha_struct *sas_ha = phy->ha; in sas_phye_spinup_hold()
96 struct sas_ha_struct *sas_ha = phy->ha; in sas_phye_shutdown()
116 int sas_register_phys(struct sas_ha_struct *sas_ha) in sas_register_phys()
H A Dsas_host_smp.c19 static void sas_host_smp_discover(struct sas_ha_struct *sas_ha, u8 *resp_data, in sas_host_smp_discover()
113 static int sas_host_smp_write_gpio(struct sas_ha_struct *sas_ha, u8 *resp_data, in sas_host_smp_write_gpio()
137 static void sas_report_phy_sata(struct sas_ha_struct *sas_ha, u8 *resp_data, in sas_report_phy_sata()
180 static void sas_phy_control(struct sas_ha_struct *sas_ha, u8 phy_id, in sas_phy_control()
227 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_smp_host_handler()
H A Dsas_discover.c172 struct sas_ha_struct *sas_ha = dev->port->ha; in sas_notify_lldd_dev_found()
194 struct sas_ha_struct *sas_ha = dev->port->ha; in sas_notify_lldd_dev_gone()
315 struct sas_ha_struct *ha = port->ha; in sas_unregister_common_dev()
375 struct sas_ha_struct *sas_ha = dev->port->ha; in sas_abort_device_scsi_cmds()
428 struct sas_ha_struct *ha; in sas_device_set_phy()
517 struct sas_ha_struct *ha = port->ha; in sas_revalidate_domain()
548 static void sas_chain_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_chain_work()
560 struct sas_ha_struct *ha) in sas_chain_event()
H A Dsas_scsi_host.c103 struct sas_ha_struct *ha = dev->port->ha; in sas_scsi_task_done()
205 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(cmd->device->host); in sas_eh_finish_cmd()
371 struct sas_ha_struct *ha = dev->port->ha; in sas_get_local_phy()
391 struct sas_ha_struct *ha = dev->port->ha; in sas_queue_reset()
530 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_eh_handle_sas_errors()
658 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_eh_handle_resets()
692 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_scsi_recover_host()
765 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_find_dev_by_rphy()
892 struct sas_ha_struct *ha = device->port->ha; in sas_execute_internal_abort()
H A Dsas_ata.c79 struct sas_ha_struct *sas_ha = dev->port->ha; in sas_ata_task_done()
164 struct sas_ha_struct *sas_ha = dev->port->ha; in sas_ata_qc_issue()
525 struct sas_ha_struct *ha = dev->port->ha; in sas_ata_sched_eh()
538 struct sas_ha_struct *ha = dev->port->ha; in sas_ata_end_eh()
576 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init()
816 struct sas_ha_struct *ha = dev->port->ha; in async_sas_ata_eh()
825 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_ata_strategy_handler()
/linux/drivers/scsi/pm8001/
H A Dpm8001_ctl.c60 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_mpi_interface_rev_show()
86 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in controller_fatal_error_show()
106 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_fw_version_show()
137 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_ila_version_show()
163 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_inactive_fw_version_show()
190 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_max_out_io_show()
214 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_max_devices_show()
239 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_max_sg_list_show()
283 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_sas_spec_support_show()
312 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_host_sas_address_show()
[all …]
H A Dpm8001_init.c99 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_map_queues()
170 sas_phy->ha = (struct sas_ha_struct *)pm8001_ha->shost->hostdata; in pm8001_phy_init()
293 struct sas_ha_struct *sha = dev_id; in pm8001_interrupt_handler_intx()
537 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_pci_alloc()
608 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_prep_sas_ha_init()
649 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_post_sas_ha_init()
1119 struct sas_ha_struct *sha; in pm8001_pci_probe()
1148 sha = kzalloc(sizeof(struct sas_ha_struct), GFP_KERNEL); in pm8001_pci_probe()
1295 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in pm8001_pci_remove()
1335 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in pm8001_pci_suspend()
[all …]
H A Dpm8001_sas.c144 struct sas_ha_struct *sha = dev->port->ha; in pm8001_find_ha_by_dev()
281 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_scan_start()
297 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in pm8001_scan_finished()
1164 struct sas_ha_struct *sas_ha = sas_phy->ha; in pm8001_port_formed()
/linux/include/scsi/
H A Dlibsas.h263 struct sas_ha_struct *ha;
331 struct sas_ha_struct *ha; /* may be set; the class sets it anyway */
344 struct sas_ha_struct { struct
384 #define SHOST_TO_SAS_HA(_shost) (*(struct sas_ha_struct **)(_shost)->hostdata) argument
665 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *);
671 int (*lldd_write_gpio)(struct sas_ha_struct *, u8 reg_type,
675 extern int sas_register_ha(struct sas_ha_struct *);
676 extern int sas_unregister_ha(struct sas_ha_struct *);
677 extern void sas_prep_resume_ha(struct sas_ha_struct *sas_ha);
678 extern void sas_resume_ha(struct sas_ha_struct *sas_ha);
[all …]
/linux/drivers/scsi/aic94xx/
H A Daic94xx.h70 int asd_clear_nexus_ha(struct sas_ha_struct *sas_ha);
H A Daic94xx_scb.c245 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; in asd_link_reset_err_tasklet()
298 struct sas_ha_struct *sas_ha = &ascb->ha->sas_ha; in asd_primitive_rcvd_tasklet()
403 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; in escb_tasklet_complete()
H A Daic94xx_hwi.h184 struct sas_ha_struct sas_ha;
/linux/drivers/scsi/isci/
H A Dhost.h198 struct sas_ha_struct sas_ha;
514 int isci_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
H A Dtask.h158 struct sas_ha_struct *ha);
H A Dinit.c133 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in isci_show_id()
219 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha()
/linux/drivers/scsi/mvsas/
H A Dmv_sas.c60 struct sas_ha_struct *sha = dev->port->ha; in mvs_find_dev_mvi()
92 struct sas_ha_struct *sha = dev->port->ha; in mvs_find_dev_phyno()
169 struct sas_ha_struct *sha = sas_phy->ha; in mvs_phy_control()
273 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_scan_start()
288 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_scan_finished()
302 struct sas_ha_struct *sha = mvi->sas; in mvs_task_prep_smp()
1069 struct sas_ha_struct *sas_ha = sas_phy->ha; in mvs_port_notify_formed()
1921 int mvs_gpio_write(struct sas_ha_struct *sha, u8 reg_type, u8 reg_index, in mvs_gpio_write()
H A Dmv_sas.h345 struct sas_ha_struct *sas;
453 int mvs_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c897 struct sas_ha_struct *sha = &hisi_hba->sha; in hisi_sas_scan_finished()
1030 sas_phy->ha = (struct sas_ha_struct *)hisi_hba->shost->hostdata; in hisi_sas_phy_init()
1234 struct sas_ha_struct *sas_ha = sas_phy->ha; in hisi_sas_control_phy()
1751 struct sas_ha_struct *sas_ha = &hisi_hba->sha; in hisi_sas_debug_I_T_nexus_reset()
1909 static int hisi_sas_clear_nexus_ha(struct sas_ha_struct *sas_ha) in hisi_sas_clear_nexus_ha()
2023 static int hisi_sas_write_gpio(struct sas_ha_struct *sha, u8 reg_type, in hisi_sas_write_gpio()
2497 struct sas_ha_struct *sha; in hisi_sas_probe()
2578 struct sas_ha_struct *sha = platform_get_drvdata(pdev); in hisi_sas_remove()
H A Dhisi_sas.h391 struct sas_ha_struct *p;
424 struct sas_ha_struct sha;
H A Dhisi_sas_v3_hw.c2287 struct sas_ha_struct *ha; in slot_complete_v3_hw()
4781 struct sas_ha_struct *sha; in hisi_sas_v3_probe()
4932 struct sas_ha_struct *sha = dev_get_drvdata(dev); in hisi_sas_v3_remove()
4952 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in hisi_sas_reset_prepare_v3_hw()
4970 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in hisi_sas_reset_done_v3_hw()
5015 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in _suspend_v3_hw()
5074 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in _resume_v3_hw()
5113 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in suspend_v3_hw()
5129 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in resume_v3_hw()
/linux/Documentation/scsi/
H A Dlibsas.rst31 The sas_ha_struct describes the SAS LLDD to the SAS layer.
146 ``struct sas_ha_struct``
154 struct sas_ha_struct sas_ha;
221 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *);

12