/linux-5.19.10/drivers/scsi/libsas/ |
D | sas_event.c | 13 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 …]
|
D | sas_internal.h | 49 int sas_register_phys(struct sas_ha_struct *sas_ha); 50 void sas_unregister_phys(struct sas_ha_struct *sas_ha); 55 int sas_register_ports(struct sas_ha_struct *sas_ha); 56 void sas_unregister_ports(struct sas_ha_struct *sas_ha); 58 void sas_disable_revalidation(struct sas_ha_struct *ha); 59 void sas_enable_revalidation(struct sas_ha_struct *ha); 60 void sas_queue_deferred_work(struct sas_ha_struct *ha); 61 void __sas_drain_work(struct sas_ha_struct *ha); 70 bool 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() 152 static void sas_disable_events(struct sas_ha_struct *sas_ha) in sas_disable_events() 165 int sas_unregister_ha(struct sas_ha_struct *sas_ha) in sas_unregister_ha() 186 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_get_linkerrors() 235 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in transport_sas_phy_reset() 269 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_phy_enable() 306 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_phy_reset() 342 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_set_phy_speed() 360 void sas_prep_resume_ha(struct sas_ha_struct *ha) in sas_prep_resume_ha() 377 static int phys_suspended(struct sas_ha_struct *ha) in phys_suspended() [all …]
|
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_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() 108 struct sas_ha_struct *sas_ha = phy->ha; in sas_form_port() 212 struct sas_ha_struct *sas_ha = phy->ha; in sas_deform_port() 328 struct sas_ha_struct *sas_ha, int i) in sas_init_port() 343 int sas_register_ports(struct sas_ha_struct *sas_ha) in sas_register_ports() 357 void sas_unregister_ports(struct sas_ha_struct *sas_ha) in sas_unregister_ports()
|
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 | 172 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() 399 struct sas_ha_struct *ha; in sas_device_set_phy() 494 struct sas_ha_struct *ha = port->ha; in sas_revalidate_domain() 525 static void sas_chain_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_chain_work() 537 struct sas_ha_struct *ha) in sas_chain_event()
|
D | sas_ata.c | 79 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() 490 struct sas_ha_struct *ha = dev->port->ha; in sas_ata_sched_eh() 503 struct sas_ha_struct *ha = dev->port->ha; in sas_ata_end_eh() 553 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init() 741 struct sas_ha_struct *ha = dev->port->ha; in async_sas_ata_eh() 750 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in sas_ata_strategy_handler()
|
D | sas_scsi_host.c | 103 struct sas_ha_struct *ha = dev->port->ha; in sas_scsi_task_done() 206 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(cmd->device->host); in sas_eh_finish_cmd() 372 struct sas_ha_struct *ha = dev->port->ha; in sas_get_local_phy() 392 struct sas_ha_struct *ha = dev->port->ha; in sas_wait_eh() 422 struct sas_ha_struct *ha = dev->port->ha; in sas_queue_reset() 566 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_eh_handle_sas_errors() 694 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_eh_handle_resets() 728 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_scsi_recover_host() 801 struct sas_ha_struct *ha = SHOST_TO_SAS_HA(shost); in sas_find_dev_by_rphy() 927 struct sas_ha_struct *ha = device->port->ha; in sas_execute_internal_abort()
|
/linux-5.19.10/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 | 159 sas_phy->ha = (struct sas_ha_struct *)pm8001_ha->shost->hostdata; in pm8001_phy_init() 247 struct sas_ha_struct *sha = dev_id; in pm8001_interrupt_handler_intx() 509 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_pci_alloc() 590 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_prep_sas_ha_init() 635 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_post_sas_ha_init() 1070 struct sas_ha_struct *sha; in pm8001_pci_probe() 1099 sha = kzalloc(sizeof(struct sas_ha_struct), GFP_KERNEL); in pm8001_pci_probe() 1237 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in pm8001_pci_remove() 1293 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in pm8001_pci_suspend() 1338 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in pm8001_pci_resume()
|
D | pm8001_sas.c | 142 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() 1142 struct sas_ha_struct *sas_ha = sas_phy->ha; in pm8001_port_formed()
|
/linux-5.19.10/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 */ 362 struct sas_ha_struct { struct 403 #define SHOST_TO_SAS_HA(_shost) (*(struct sas_ha_struct **)(_shost)->hostdata) argument 679 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *); 685 int (*lldd_write_gpio)(struct sas_ha_struct *, u8 reg_type, 689 extern int sas_register_ha(struct sas_ha_struct *); 690 extern int sas_unregister_ha(struct sas_ha_struct *); 691 extern void sas_prep_resume_ha(struct sas_ha_struct *sas_ha); 692 extern void sas_resume_ha(struct sas_ha_struct *sas_ha); [all …]
|
/linux-5.19.10/drivers/scsi/mvsas/ |
D | mv_init.c | 98 sas_phy->ha = (struct sas_ha_struct *)mvi->shost->hostdata; in mvs_phy_init() 156 struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque; in mvs_tasklet() 182 struct sas_ha_struct *sha = opaque; in mvs_interrupt() 351 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() 408 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_prep_sas_ha_init() 414 memset(sha, 0x00, sizeof(struct sas_ha_struct)); in mvs_prep_sas_ha_init() 449 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_post_sas_ha_init() 524 kcalloc(1, sizeof(struct sas_ha_struct), GFP_KERNEL); in mvs_pci_init() 604 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in mvs_pci_remove() 713 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in interrupt_coalescing_store()
|
D | mv_sas.c | 64 struct sas_ha_struct *sha = dev->port->ha; in mvs_find_dev_mvi() 96 struct sas_ha_struct *sha = dev->port->ha; in mvs_find_dev_phyno() 173 struct sas_ha_struct *sha = sas_phy->ha; in mvs_phy_control() 277 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_scan_start() 292 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_scan_finished() 306 struct sas_ha_struct *sha = mvi->sas; in mvs_task_prep_smp() 1072 struct sas_ha_struct *sas_ha = sas_phy->ha; in mvs_port_notify_formed() 1931 int mvs_gpio_write(struct sas_ha_struct *sha, u8 reg_type, u8 reg_index, in mvs_gpio_write()
|
D | mv_sas.h | 345 struct sas_ha_struct *sas; 459 int mvs_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
|
/linux-5.19.10/drivers/scsi/aic94xx/ |
D | aic94xx.h | 70 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-5.19.10/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 | 158 struct sas_ha_struct *ha);
|
D | init.c | 137 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); in isci_show_id() 236 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha()
|
/linux-5.19.10/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 853 struct sas_ha_struct *sha = &hisi_hba->sha; in hisi_sas_scan_finished() 988 sas_phy->ha = (struct sas_ha_struct *)hisi_hba->shost->hostdata; in hisi_sas_phy_init() 1025 struct sas_ha_struct *sas_ha = sas_phy->ha; in hisi_sas_port_notify_formed() 1194 struct sas_ha_struct *sas_ha = sas_phy->ha; in hisi_sas_control_phy() 1664 struct sas_ha_struct *sas_ha = &hisi_hba->sha; in hisi_sas_debug_I_T_nexus_reset() 1817 static int hisi_sas_clear_nexus_ha(struct sas_ha_struct *sas_ha) in hisi_sas_clear_nexus_ha() 1920 static int hisi_sas_write_gpio(struct sas_ha_struct *sha, u8 reg_type, in hisi_sas_write_gpio() 2392 struct sas_ha_struct *sha; in hisi_sas_probe() 2474 struct sas_ha_struct *sha = platform_get_drvdata(pdev); in hisi_sas_remove()
|
D | hisi_sas.h | 389 struct sas_ha_struct *p; 422 struct sas_ha_struct sha;
|
/linux-5.19.10/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; 221 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *);
|