| /Linux-v5.15/drivers/scsi/libsas/ | 
| D | sas_event.c | 13 int sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw)  in sas_queue_work()32 			    struct sas_ha_struct *ha)  in sas_queue_event()
 45 void __sas_drain_work(struct sas_ha_struct *ha)  in __sas_drain_work()
 70 int sas_drain_work(struct sas_ha_struct *ha)  in sas_drain_work()
 85 void sas_disable_revalidation(struct sas_ha_struct *ha)  in sas_disable_revalidation()
 92 void sas_enable_revalidation(struct sas_ha_struct *ha)  in sas_enable_revalidation()
 138 	struct sas_ha_struct *ha = phy->ha;  in sas_notify_port_event()
 161 	struct sas_ha_struct *ha = phy->ha;  in sas_notify_phy_event()
 
 | 
| D | sas_internal.h | 48 int  sas_register_phys(struct sas_ha_struct *sas_ha);49 void sas_unregister_phys(struct sas_ha_struct *sas_ha);
 54 int  sas_register_ports(struct sas_ha_struct *sas_ha);
 55 void sas_unregister_ports(struct sas_ha_struct *sas_ha);
 57 void sas_disable_revalidation(struct sas_ha_struct *ha);
 58 void sas_enable_revalidation(struct sas_ha_struct *ha);
 59 void __sas_drain_work(struct sas_ha_struct *ha);
 68 int sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw);
 
 | 
| D | sas_init.c | 96 int sas_register_ha(struct sas_ha_struct *sas_ha)  in sas_register_ha()151 static void sas_disable_events(struct sas_ha_struct *sas_ha)  in sas_disable_events()
 164 int sas_unregister_ha(struct sas_ha_struct *sas_ha)  in sas_unregister_ha()
 184 		struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost);  in sas_get_linkerrors()
 233 		struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost);  in transport_sas_phy_reset()
 267 		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()
 338 		struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost);  in sas_set_phy_speed()
 356 void sas_prep_resume_ha(struct sas_ha_struct *ha)  in sas_prep_resume_ha()
 372 static int phys_suspended(struct sas_ha_struct *ha)  in phys_suspended()
 [all …]
 
 | 
| D | sas_port.c | 17 	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()
 80 	struct sas_ha_struct *sas_ha = phy->ha;  in sas_form_port()
 201 	struct sas_ha_struct *sas_ha = phy->ha;  in sas_deform_port()
 317 			  struct sas_ha_struct *sas_ha, int i)  in sas_init_port()
 332 int sas_register_ports(struct sas_ha_struct *sas_ha)  in sas_register_ports()
 346 void sas_unregister_ports(struct sas_ha_struct *sas_ha)  in sas_unregister_ports()
 
 | 
| D | sas_phy.c | 38 	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()
 
 | 
| D | sas_host_smp.c | 19 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()
 
 | 
| D | sas_discover.c | 173 	struct sas_ha_struct *sas_ha = dev->port->ha;  in sas_notify_lldd_dev_found()195 	struct sas_ha_struct *sas_ha = dev->port->ha;  in sas_notify_lldd_dev_gone()
 316 	struct sas_ha_struct *ha = port->ha;  in sas_unregister_common_dev()
 400 	struct sas_ha_struct *ha;  in sas_device_set_phy()
 495 	struct sas_ha_struct *ha = port->ha;  in sas_revalidate_domain()
 526 static void sas_chain_work(struct sas_ha_struct *ha, struct sas_work *sw)  in sas_chain_work()
 538 			    struct sas_ha_struct *ha)  in sas_chain_event()
 
 | 
| D | sas_scsi_host.c | 105 	struct sas_ha_struct *ha = dev->port->ha;  in sas_scsi_task_done()207 	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_wait_eh()
 421 	struct sas_ha_struct *ha = dev->port->ha;  in sas_queue_reset()
 563 	struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);  in sas_eh_handle_sas_errors()
 691 	struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);  in sas_eh_handle_resets()
 725 	struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);  in sas_scsi_recover_host()
 797 	struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);  in sas_find_dev_by_rphy()
 
 | 
| D | sas_ata.c | 81 	struct sas_ha_struct *sas_ha = dev->port->ha;  in sas_ata_task_done()166 	struct sas_ha_struct *sas_ha = dev->port->ha;  in sas_ata_qc_issue()
 485 	struct sas_ha_struct *ha = dev->port->ha;  in sas_ata_sched_eh()
 498 	struct sas_ha_struct *ha = dev->port->ha;  in sas_ata_end_eh()
 548 	struct sas_ha_struct *ha = found_dev->port->ha;  in sas_ata_init()
 736 	struct sas_ha_struct *ha = dev->port->ha;  in async_sas_ata_eh()
 745 	struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost);  in sas_ata_strategy_handler()
 
 | 
| /Linux-v5.15/drivers/scsi/pm8001/ | 
| D | pm8001_ctl.c | 60 	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()
 241 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in pm8001_ctl_max_sg_list_show()
 287 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in pm8001_ctl_sas_spec_support_show()
 316 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in pm8001_ctl_host_sas_address_show()
 [all …]
 
 | 
| D | pm8001_init.c | 155 	sas_phy->ha = (struct sas_ha_struct *)pm8001_ha->shost->hostdata;  in pm8001_phy_init()243 	struct sas_ha_struct *sha = dev_id;  in pm8001_interrupt_handler_intx()
 507 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in pm8001_pci_alloc()
 588 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in pm8001_prep_sas_ha_init()
 633 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in pm8001_post_sas_ha_init()
 1068 	struct sas_ha_struct *sha;  in pm8001_pci_probe()
 1097 	sha = kzalloc(sizeof(struct sas_ha_struct), GFP_KERNEL);  in pm8001_pci_probe()
 1233 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);  in pm8001_pci_remove()
 1279 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);  in pm8001_pci_suspend()
 1324 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);  in pm8001_pci_resume()
 
 | 
| D | pm8001_sas.c | 141 	struct sas_ha_struct *sha = dev->port->ha;  in pm8001_find_ha_by_dev()266 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in pm8001_scan_start()
 282 	struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost);  in pm8001_scan_finished()
 
 | 
| /Linux-v5.15/include/scsi/ | 
| D | libsas.h | 274 	struct sas_ha_struct *ha;344 	struct sas_ha_struct *ha; /* may be set; the class sets it anyway */
 361 struct sas_ha_struct {  struct
 402 #define SHOST_TO_SAS_HA(_shost) (*(struct sas_ha_struct **)(_shost)->hostdata)  argument
 649 	int (*lldd_clear_nexus_ha)(struct sas_ha_struct *);
 655 	int (*lldd_write_gpio)(struct sas_ha_struct *, u8 reg_type,
 659 extern int sas_register_ha(struct sas_ha_struct *);
 660 extern int sas_unregister_ha(struct sas_ha_struct *);
 661 extern void sas_prep_resume_ha(struct sas_ha_struct *sas_ha);
 662 extern void sas_resume_ha(struct sas_ha_struct *sas_ha);
 [all …]
 
 | 
| /Linux-v5.15/drivers/scsi/mvsas/ | 
| D | mv_init.c | 99 	sas_phy->ha = (struct sas_ha_struct *)mvi->shost->hostdata;  in mvs_phy_init()157 	struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque;  in mvs_tasklet()
 183 	struct sas_ha_struct *sha = opaque;  in mvs_interrupt()
 352 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in mvs_pci_alloc()
 409 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in mvs_prep_sas_ha_init()
 415 	memset(sha, 0x00, sizeof(struct sas_ha_struct));  in mvs_prep_sas_ha_init()
 450 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in mvs_post_sas_ha_init()
 526 		kcalloc(1, sizeof(struct sas_ha_struct), GFP_KERNEL);  in mvs_pci_init()
 603 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);  in mvs_pci_remove()
 711 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in interrupt_coalescing_store()
 
 | 
| D | mv_sas.h | 345 	struct sas_ha_struct *sas;462 int mvs_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
 
 | 
| D | mv_sas.c | 64 	struct sas_ha_struct *sha = dev->port->ha;  in mvs_find_dev_mvi()94 	struct sas_ha_struct *sha = dev->port->ha;  in mvs_find_dev_phyno()
 168 	struct sas_ha_struct *sha = sas_phy->ha;  in mvs_phy_control()
 272 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in mvs_scan_start()
 287 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);  in mvs_scan_finished()
 301 	struct sas_ha_struct *sha = mvi->sas;  in mvs_task_prep_smp()
 1075 	struct sas_ha_struct *sas_ha = sas_phy->ha;  in mvs_port_notify_formed()
 2091 int mvs_gpio_write(struct sas_ha_struct *sha, u8 reg_type, u8 reg_index,  in mvs_gpio_write()
 
 | 
| /Linux-v5.15/drivers/scsi/aic94xx/ | 
| D | aic94xx.h | 71 int  asd_clear_nexus_ha(struct sas_ha_struct *sas_ha);
 | 
| D | aic94xx_scb.c | 245 	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()
 
 | 
| D | aic94xx_hwi.h | 184 	struct sas_ha_struct sas_ha;
 | 
| /Linux-v5.15/drivers/scsi/isci/ | 
| D | host.h | 198 	struct sas_ha_struct sas_ha;514 int isci_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
 
 | 
| D | task.h | 162 	struct sas_ha_struct *ha);
 | 
| D | init.c | 137 	struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost);  in isci_show_id()235 	struct sas_ha_struct *sas_ha = &(isci_host->sas_ha);  in isci_register_sas_ha()
 
 | 
| /Linux-v5.15/drivers/scsi/hisi_sas/ | 
| D | hisi_sas_main.c | 841 	struct sas_ha_struct *sha = &hisi_hba->sha;  in hisi_sas_scan_finished()950 	sas_phy->ha = (struct sas_ha_struct *)hisi_hba->shost->hostdata;  in hisi_sas_phy_init()
 987 	struct sas_ha_struct *sas_ha = sas_phy->ha;  in hisi_sas_port_notify_formed()
 1138 	struct sas_ha_struct *sas_ha = sas_phy->ha;  in hisi_sas_control_phy()
 1775 	struct sas_ha_struct *sas_ha = &hisi_hba->sha;  in hisi_sas_debug_I_T_nexus_reset()
 1908 static int hisi_sas_clear_nexus_ha(struct sas_ha_struct *sas_ha)  in hisi_sas_clear_nexus_ha()
 2210 static int hisi_sas_write_gpio(struct sas_ha_struct *sha, u8 reg_type,  in hisi_sas_write_gpio()
 2686 	struct sas_ha_struct *sha;  in hisi_sas_probe()
 2768 	struct sas_ha_struct *sha = platform_get_drvdata(pdev);  in hisi_sas_remove()
 
 | 
| D | hisi_sas.h | 397 	struct sas_ha_struct *p;430 	struct sas_ha_struct sha;
 
 | 
| /Linux-v5.15/Documentation/scsi/ | 
| D | libsas.rst | 31 The sas_ha_struct describes the SAS LLDD to the SAS layer.146 ``struct sas_ha_struct``
 154 	struct sas_ha_struct sas_ha;
 222 	int (*lldd_clear_nexus_ha)(struct sas_ha_struct *);
 
 |