/kernel/linux/linux-5.10/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() 181 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); 56 int sas_register_ports(struct sas_ha_struct *sas_ha); 57 void sas_unregister_ports(struct sas_ha_struct *sas_ha); 59 void sas_disable_revalidation(struct sas_ha_struct *ha); 60 void sas_enable_revalidation(struct sas_ha_struct *ha); 61 void __sas_drain_work(struct sas_ha_struct *ha); 70 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 | 87 struct sas_ha_struct *sas_ha = dev->port->ha; in sas_ata_task_done() 171 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()
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_ctl.c | 59 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_mpi_interface_rev_show() 85 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in controller_fatal_error_show() 105 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_fw_version_show() 136 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_ila_version_show() 162 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_inactive_fw_version_show() 189 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_max_out_io_show() 213 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_max_devices_show() 240 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_max_sg_list_show() 286 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_sas_spec_support_show() 315 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() 499 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_pci_alloc() 578 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_prep_sas_ha_init() 623 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_post_sas_ha_init() 1054 struct sas_ha_struct *sha; in pm8001_pci_probe() 1083 sha = kzalloc(sizeof(struct sas_ha_struct), GFP_KERNEL); in pm8001_pci_probe() 1217 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in pm8001_pci_remove() 1263 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in pm8001_pci_suspend() 1313 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()
|
/kernel/linux/linux-5.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 */ 361 struct sas_ha_struct { struct 402 #define SHOST_TO_SAS_HA(_shost) (*(struct sas_ha_struct **)(_shost)->hostdata) argument 643 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *); 649 int (*lldd_write_gpio)(struct sas_ha_struct *, u8 reg_type, 653 extern int sas_register_ha(struct sas_ha_struct *); 654 extern int sas_unregister_ha(struct sas_ha_struct *); 655 extern void sas_prep_resume_ha(struct sas_ha_struct *sas_ha); 656 extern void sas_resume_ha(struct sas_ha_struct *sas_ha); [all …]
|
/kernel/linux/linux-5.10/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() 717 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_store_interrupt_coalescing()
|
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()
|
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
D | aic94xx.h | 71 int asd_clear_nexus_ha(struct sas_ha_struct *sas_ha);
|
D | aic94xx_scb.c | 243 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; in asd_link_reset_err_tasklet() 296 struct sas_ha_struct *sas_ha = &ascb->ha->sas_ha; in asd_primitive_rcvd_tasklet() 399 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;
|
/kernel/linux/linux-5.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 | 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()
|
/kernel/linux/linux-5.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; 224 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *);
|
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
D | hisi_sas.h | 404 struct sas_ha_struct *p; 435 struct sas_ha_struct sha;
|
D | hisi_sas_v3_hw.c | 2177 struct sas_ha_struct *ha; in slot_complete_v3_hw() 3235 struct sas_ha_struct *sha; in hisi_sas_v3_probe() 3384 struct sas_ha_struct *sha = dev_get_drvdata(dev); in hisi_sas_v3_remove() 3405 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in hisi_sas_reset_prepare_v3_hw() 3421 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in hisi_sas_reset_done_v3_hw() 3446 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in _suspend_v3_hw() 3492 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in _resume_v3_hw() 3531 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in suspend_v3_hw() 3547 struct sas_ha_struct *sha = pci_get_drvdata(pdev); in resume_v3_hw()
|