Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_event.c13 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()
Dsas_internal.h48 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);
Dsas_init.c96 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 …]
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()
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()
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()
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()
Dsas_discover.c173 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()
Dsas_scsi_host.c105 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()
Dsas_ata.c87 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/
Dpm8001_ctl.c59 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 …]
Dpm8001_init.c155 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()
Dpm8001_sas.c141 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/
Dlibsas.h274 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/
Dmv_init.c99 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()
Dmv_sas.h345 struct sas_ha_struct *sas;
462 int mvs_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
Dmv_sas.c64 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/
Daic94xx.h71 int asd_clear_nexus_ha(struct sas_ha_struct *sas_ha);
Daic94xx_scb.c243 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()
Daic94xx_hwi.h184 struct sas_ha_struct sas_ha;
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dhost.h198 struct sas_ha_struct sas_ha;
514 int isci_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
Dtask.h162 struct sas_ha_struct *ha);
Dinit.c137 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/
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;
224 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *);
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas.h404 struct sas_ha_struct *p;
435 struct sas_ha_struct sha;
Dhisi_sas_v3_hw.c2177 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()

12