/linux-4.4.14/drivers/scsi/libsas/ |
H A D | sas_port.c | 33 struct sas_ha_struct *sas_ha = phy->ha; phy_is_wideport_member() local 36 SAS_ADDR_SIZE) != 0 || (sas_ha->strict_wide_ports && phy_is_wideport_member() 46 struct sas_ha_struct *sas_ha = phy->ha; sas_resume_port() local 47 struct sas_internal *si = to_sas_internal(sas_ha->core.shost->transportt); sas_resume_port() 95 struct sas_ha_struct *sas_ha = phy->ha; sas_form_port() local 98 to_sas_internal(sas_ha->core.shost->transportt); sas_form_port() 109 wake_up(&sas_ha->eh_wait_q); sas_form_port() 120 spin_lock_irqsave(&sas_ha->phy_port_lock, flags); sas_form_port() 121 for (i = 0; i < sas_ha->num_phys; i++) { sas_form_port() 122 port = sas_ha->sas_port[i]; sas_form_port() 134 if (i == sas_ha->num_phys) { sas_form_port() 135 for (i = 0; i < sas_ha->num_phys; i++) { sas_form_port() 136 port = sas_ha->sas_port[i]; sas_form_port() 148 if (i >= sas_ha->num_phys) { sas_form_port() 151 spin_unlock_irqrestore(&sas_ha->phy_port_lock, flags); sas_form_port() 173 spin_unlock_irqrestore(&sas_ha->phy_port_lock, flags); sas_form_port() 206 struct sas_ha_struct *sas_ha = phy->ha; sas_deform_port() local 209 to_sas_internal(sas_ha->core.shost->transportt); sas_deform_port() 232 spin_lock_irqsave(&sas_ha->phy_port_lock, flags); sas_deform_port() 252 spin_unlock_irqrestore(&sas_ha->phy_port_lock, flags); sas_deform_port() 319 struct sas_ha_struct *sas_ha, int i) sas_init_port() 328 port->ha = sas_ha; sas_init_port() 333 int sas_register_ports(struct sas_ha_struct *sas_ha) sas_register_ports() argument 338 for (i = 0; i < sas_ha->num_phys; i++) { sas_register_ports() 339 struct asd_sas_port *port = sas_ha->sas_port[i]; sas_register_ports() 341 sas_init_port(port, sas_ha, i); sas_register_ports() 347 void sas_unregister_ports(struct sas_ha_struct *sas_ha) sas_unregister_ports() argument 351 for (i = 0; i < sas_ha->num_phys; i++) sas_unregister_ports() 352 if (sas_ha->sas_phy[i]->port) sas_unregister_ports() 353 sas_deform_port(sas_ha->sas_phy[i], 0); sas_unregister_ports() 318 sas_init_port(struct asd_sas_port *port, struct sas_ha_struct *sas_ha, int i) sas_init_port() argument
|
H A D | sas_host_smp.c | 22 static void sas_host_smp_discover(struct sas_ha_struct *sas_ha, u8 *resp_data, sas_host_smp_discover() argument 28 if (phy_id >= sas_ha->num_phys) { sas_host_smp_discover() 34 phy = sas_ha->sas_phy[phy_id]->phy; sas_host_smp_discover() 37 memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE); sas_host_smp_discover() 38 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, sas_host_smp_discover() 45 if (!sas_ha->sas_phy[phy_id]->port || sas_host_smp_discover() 46 !sas_ha->sas_phy[phy_id]->port->port_dev) sas_host_smp_discover() 49 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; sas_host_smp_discover() 116 static int sas_host_smp_write_gpio(struct sas_ha_struct *sas_ha, u8 *resp_data, sas_host_smp_write_gpio() argument 120 struct sas_internal *i = to_sas_internal(sas_ha->core.shost->transportt); sas_host_smp_write_gpio() 128 written = i->dft->lldd_write_gpio(sas_ha, reg_type, reg_index, sas_host_smp_write_gpio() 140 static void sas_report_phy_sata(struct sas_ha_struct *sas_ha, u8 *resp_data, sas_report_phy_sata() argument 147 if (phy_id >= sas_ha->num_phys) { sas_report_phy_sata() 154 if (!sas_ha->sas_phy[phy_id]->port) sas_report_phy_sata() 157 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; sas_report_phy_sata() 159 sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd; sas_report_phy_sata() 165 memcpy(resp_data + 16, sas_ha->sas_phy[phy_id]->attached_sas_addr, sas_report_phy_sata() 175 &sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd[i]; sas_report_phy_sata() 183 static void sas_phy_control(struct sas_ha_struct *sas_ha, u8 phy_id, sas_phy_control() argument 188 to_sas_internal(sas_ha->core.shost->transportt); sas_phy_control() 192 if (phy_id >= sas_ha->num_phys) { sas_phy_control() 197 asd_phy = sas_ha->sas_phy[phy_id]; sas_phy_control() 232 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); sas_smp_host_handler() local 280 resp_data[9] = sas_ha->num_phys; sas_smp_host_handler() 305 sas_host_smp_discover(sas_ha, resp_data, req_data[9]); sas_smp_host_handler() 321 sas_report_phy_sata(sas_ha, resp_data, req_data[9]); sas_smp_host_handler() 339 to_write = sas_host_smp_write_gpio(sas_ha, resp_data, req_data[2], sas_smp_host_handler() 358 sas_phy_control(sas_ha, req_data[9], req_data[10], sas_smp_host_handler()
|
H A D | sas_init.c | 120 int sas_register_ha(struct sas_ha_struct *sas_ha) sas_register_ha() argument 124 mutex_init(&sas_ha->disco_mutex); sas_register_ha() 125 spin_lock_init(&sas_ha->phy_port_lock); sas_register_ha() 126 sas_hash_addr(sas_ha->hashed_sas_addr, sas_ha->sas_addr); sas_register_ha() 128 set_bit(SAS_HA_REGISTERED, &sas_ha->state); sas_register_ha() 129 spin_lock_init(&sas_ha->lock); sas_register_ha() 130 mutex_init(&sas_ha->drain_mutex); sas_register_ha() 131 init_waitqueue_head(&sas_ha->eh_wait_q); sas_register_ha() 132 INIT_LIST_HEAD(&sas_ha->defer_q); sas_register_ha() 133 INIT_LIST_HEAD(&sas_ha->eh_dev_q); sas_register_ha() 135 error = sas_register_phys(sas_ha); sas_register_ha() 141 error = sas_register_ports(sas_ha); sas_register_ha() 147 error = sas_init_events(sas_ha); sas_register_ha() 153 INIT_LIST_HEAD(&sas_ha->eh_done_q); sas_register_ha() 154 INIT_LIST_HEAD(&sas_ha->eh_ata_q); sas_register_ha() 159 sas_unregister_ports(sas_ha); sas_register_ha() 165 static void sas_disable_events(struct sas_ha_struct *sas_ha) sas_disable_events() argument 170 mutex_lock(&sas_ha->drain_mutex); sas_disable_events() 171 spin_lock_irq(&sas_ha->lock); sas_disable_events() 172 clear_bit(SAS_HA_REGISTERED, &sas_ha->state); sas_disable_events() 173 spin_unlock_irq(&sas_ha->lock); sas_disable_events() 174 __sas_drain_work(sas_ha); sas_disable_events() 175 mutex_unlock(&sas_ha->drain_mutex); sas_disable_events() 178 int sas_unregister_ha(struct sas_ha_struct *sas_ha) sas_unregister_ha() argument 180 sas_disable_events(sas_ha); sas_unregister_ha() 181 sas_unregister_ports(sas_ha); sas_unregister_ha() 184 mutex_lock(&sas_ha->drain_mutex); sas_unregister_ha() 185 __sas_drain_work(sas_ha); sas_unregister_ha() 186 mutex_unlock(&sas_ha->drain_mutex); sas_unregister_ha() 195 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); sas_get_linkerrors() local 196 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; sas_get_linkerrors() 198 to_sas_internal(sas_ha->core.shost->transportt); sas_get_linkerrors() 244 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); transport_sas_phy_reset() local 245 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; transport_sas_phy_reset() 247 to_sas_internal(sas_ha->core.shost->transportt); transport_sas_phy_reset() 278 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); sas_phy_enable() local 279 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; sas_phy_enable() 281 to_sas_internal(sas_ha->core.shost->transportt); sas_phy_enable() 314 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); sas_phy_reset() local 315 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; sas_phy_reset() 317 to_sas_internal(sas_ha->core.shost->transportt); sas_phy_reset() 349 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); sas_set_phy_speed() local 350 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; sas_set_phy_speed() 352 to_sas_internal(sas_ha->core.shost->transportt); sas_set_phy_speed()
|
H A D | sas_event.c | 119 static void notify_ha_event(struct sas_ha_struct *sas_ha, enum ha_event event) notify_ha_event() argument 123 sas_queue_event(event, &sas_ha->pending, notify_ha_event() 124 &sas_ha->ha_events[event].work, sas_ha); notify_ha_event() 147 int sas_init_events(struct sas_ha_struct *sas_ha) sas_init_events() argument 156 INIT_SAS_WORK(&sas_ha->ha_events[i].work, sas_ha_event_fns[i]); sas_init_events() 157 sas_ha->ha_events[i].ha = sas_ha; sas_init_events() 160 sas_ha->notify_ha_event = notify_ha_event; sas_init_events() 161 sas_ha->notify_port_event = notify_port_event; sas_init_events() 162 sas_ha->notify_phy_event = sas_notify_phy_event; sas_init_events()
|
H A D | sas_phy.c | 56 struct sas_ha_struct *sas_ha = phy->ha; sas_phye_oob_error() local 59 to_sas_internal(sas_ha->core.shost->transportt); sas_phye_oob_error() 87 struct sas_ha_struct *sas_ha = phy->ha; sas_phye_spinup_hold() local 89 to_sas_internal(sas_ha->core.shost->transportt); sas_phye_spinup_hold() 118 int sas_register_phys(struct sas_ha_struct *sas_ha) sas_register_phys() argument 140 for (i = 0; i < sas_ha->num_phys; i++) { sas_register_phys() 142 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; sas_register_phys() 157 phy->ha = sas_ha; sas_register_phys() 162 phy->phy = sas_phy_alloc(&sas_ha->core.shost->shost_gendev, i); sas_register_phys() 169 phy->phy->identify.sas_address = SAS_ADDR(sas_ha->sas_addr); sas_register_phys()
|
H A D | sas_dump.c | 56 void sas_dprint_hae(struct sas_ha_struct *sas_ha, enum ha_event he) sas_dprint_hae() argument 58 SAS_DPRINTK("ha %s: %s event\n", dev_name(sas_ha->dev), sas_dprint_hae()
|
H A D | sas_internal.h | 61 int sas_register_phys(struct sas_ha_struct *sas_ha); 62 void sas_unregister_phys(struct sas_ha_struct *sas_ha); 64 int sas_register_ports(struct sas_ha_struct *sas_ha); 65 void sas_unregister_ports(struct sas_ha_struct *sas_ha); 69 int sas_init_events(struct sas_ha_struct *sas_ha);
|
H A D | sas_ata.c | 101 struct sas_ha_struct *sas_ha = dev->port->ha; sas_ata_task_done() local 108 if (test_bit(SAS_HA_FROZEN, &sas_ha->state)) sas_ata_task_done() 186 struct sas_ha_struct *sas_ha = dev->port->ha; sas_ata_qc_issue() local 187 struct Scsi_Host *host = sas_ha->core.shost; sas_ata_qc_issue() 752 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); sas_ata_strategy_handler() local 764 sas_disable_revalidation(sas_ha); sas_ata_strategy_handler() 766 spin_lock_irq(&sas_ha->phy_port_lock); sas_ata_strategy_handler() 767 for (i = 0; i < sas_ha->num_phys; i++) { sas_ata_strategy_handler() 768 struct asd_sas_port *port = sas_ha->sas_port[i]; sas_ata_strategy_handler() 786 spin_unlock_irq(&sas_ha->phy_port_lock); sas_ata_strategy_handler() 790 sas_enable_revalidation(sas_ha); sas_ata_strategy_handler()
|
H A D | sas_discover.c | 180 struct sas_ha_struct *sas_ha = dev->port->ha; sas_notify_lldd_dev_found() local 181 struct Scsi_Host *shost = sas_ha->core.shost; sas_notify_lldd_dev_found() 191 dev_name(sas_ha->dev), sas_notify_lldd_dev_found() 202 struct sas_ha_struct *sas_ha = dev->port->ha; sas_notify_lldd_dev_gone() local 203 struct Scsi_Host *shost = sas_ha->core.shost; sas_notify_lldd_dev_gone()
|
H A D | sas_scsi_host.c | 224 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(cmd->device->host); sas_eh_finish_cmd() local 237 scsi_eh_finish_cmd(cmd, &sas_ha->eh_done_q); sas_eh_finish_cmd() 870 struct sas_ha_struct *sas_ha; sas_slave_configure() local 879 sas_ha = dev->port->ha; sas_slave_configure()
|
/linux-4.4.14/drivers/scsi/isci/ |
H A D | init.c | 137 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); isci_show_id() local 138 struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha); isci_show_id() 219 * specific members of the sas_ha struct and calls the libsas 222 * libsas sas_ha struct. 231 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); isci_register_sas_ha() local 247 sas_ha->sas_ha_name = DRV_NAME; isci_register_sas_ha() 248 sas_ha->lldd_module = THIS_MODULE; isci_register_sas_ha() 249 sas_ha->sas_addr = &isci_host->phys[0].sas_addr[0]; isci_register_sas_ha() 256 sas_ha->sas_phy = sas_phys; isci_register_sas_ha() 257 sas_ha->sas_port = sas_ports; isci_register_sas_ha() 258 sas_ha->num_phys = SCI_MAX_PHYS; isci_register_sas_ha() 260 sas_ha->strict_wide_ports = 1; isci_register_sas_ha() 262 sas_register_ha(sas_ha); isci_register_sas_ha() 276 sas_unregister_ha(&isci_host->sas_ha); isci_unregister() 527 ihost->sas_ha.dev = &ihost->pdev->dev; isci_host_alloc() 528 ihost->sas_ha.lldd_ha = ihost; isci_host_alloc() 590 SHOST_TO_SAS_HA(shost) = &ihost->sas_ha; isci_host_alloc() 591 ihost->sas_ha.core.shost = shost; isci_host_alloc() 729 sas_suspend_ha(&ihost->sas_ha); for_each_isci_host() 759 sas_prep_resume_ha(&ihost->sas_ha); for_each_isci_host() 762 isci_host_start(ihost->sas_ha.core.shost); for_each_isci_host() 765 sas_resume_ha(&ihost->sas_ha); for_each_isci_host()
|
H A D | host.h | 198 struct sas_ha_struct sas_ha; member in struct:isci_host 310 return ihost->sas_ha.core.shost; to_shost()
|
H A D | port.c | 167 ihost->sas_ha.notify_port_event(&iphy->sas_phy, PORTE_BROADCAST_RCVD); isci_port_bc_change_received() 226 isci_host->sas_ha.notify_port_event(&iphy->sas_phy, isci_port_link_up() 273 isci_host->sas_ha.notify_phy_event(&isci_phy->sas_phy, isci_port_link_down()
|
H A D | host.c | 2792 int isci_gpio_write(struct sas_ha_struct *sas_ha, u8 reg_type, u8 reg_index, isci_gpio_write() argument 2795 struct isci_host *ihost = sas_ha->lldd_ha; isci_gpio_write()
|
H A D | phy.c | 1407 iphy->sas_phy.ha = &ihost->sas_ha; isci_phy_init()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
H A D | aic94xx_init.c | 686 asd_ha->sas_ha.sas_ha_name = (char *) asd_ha->name; asd_register_sas_ha() 687 asd_ha->sas_ha.lldd_module = THIS_MODULE; asd_register_sas_ha() 688 asd_ha->sas_ha.sas_addr = &asd_ha->hw_prof.sas_addr[0]; asd_register_sas_ha() 695 asd_ha->sas_ha.sas_phy = sas_phys; asd_register_sas_ha() 696 asd_ha->sas_ha.sas_port= sas_ports; asd_register_sas_ha() 697 asd_ha->sas_ha.num_phys= ASD_MAX_PHYS; asd_register_sas_ha() 699 return sas_register_ha(&asd_ha->sas_ha); asd_register_sas_ha() 706 scsi_remove_host(asd_ha->sas_ha.core.shost); asd_unregister_sas_ha() 707 err = sas_unregister_ha(&asd_ha->sas_ha); asd_unregister_sas_ha() 709 sas_remove_host(asd_ha->sas_ha.core.shost); asd_unregister_sas_ha() 710 scsi_host_put(asd_ha->sas_ha.core.shost); asd_unregister_sas_ha() 712 kfree(asd_ha->sas_ha.sas_phy); asd_unregister_sas_ha() 713 kfree(asd_ha->sas_ha.sas_port); asd_unregister_sas_ha() 752 asd_ha->sas_ha.dev = &asd_ha->pcidev->dev; asd_pci_probe() 753 asd_ha->sas_ha.lldd_ha = asd_ha; asd_pci_probe() 759 SHOST_TO_SAS_HA(shost) = &asd_ha->sas_ha; asd_pci_probe() 760 asd_ha->sas_ha.core.shost = shost; asd_pci_probe()
|
H A D | aic94xx_scb.c | 89 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; asd_phy_event_tasklet() local 102 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_LOSS_OF_SIGNAL); asd_phy_event_tasklet() 110 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE); asd_phy_event_tasklet() 115 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD); asd_phy_event_tasklet() 123 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR); asd_phy_event_tasklet() 243 struct sas_ha_struct *sas_ha = phy->sas_phy.ha; asd_bytes_dmaed_tasklet() local 255 sas_ha->notify_port_event(&phy->sas_phy, PORTE_BYTES_DMAED); asd_bytes_dmaed_tasklet() 263 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; asd_link_reset_err_tasklet() local 264 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; asd_link_reset_err_tasklet() 291 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); asd_link_reset_err_tasklet() 316 struct sas_ha_struct *sas_ha = &ascb->ha->sas_ha; asd_primitive_rcvd_tasklet() local 317 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; asd_primitive_rcvd_tasklet() 336 sas_ha->notify_port_event(sas_phy,PORTE_BROADCAST_RCVD); asd_primitive_rcvd_tasklet() 357 sas_ha->notify_port_event(sas_phy, PORTE_HARD_RESET); asd_primitive_rcvd_tasklet() 419 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; escb_tasklet_complete() local 423 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; escb_tasklet_complete() 588 sas_ha->notify_port_event(sas_phy, PORTE_TIMER_EVENT); escb_tasklet_complete()
|
H A D | aic94xx.h | 96 int asd_clear_nexus_ha(struct sas_ha_struct *sas_ha);
|
H A D | aic94xx_hwi.c | 49 return sas_request_addr(asd_ha->sas_ha.core.shost, asd_get_user_sas_addr() 145 phy->sas_phy.ha = &asd_ha->sas_ha; asd_init_phys() 721 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; asd_chip_reset() local 725 sas_ha->notify_ha_event(sas_ha, HAE_RESET); asd_chip_reset()
|
H A D | aic94xx_tmf.c | 134 int asd_clear_nexus_ha(struct sas_ha_struct *sas_ha) asd_clear_nexus_ha() argument 136 struct asd_ha_struct *asd_ha = sas_ha->lldd_ha; asd_clear_nexus_ha()
|
H A D | aic94xx_hwi.h | 202 struct sas_ha_struct sas_ha; member in struct:asd_ha_struct
|
/linux-4.4.14/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 239 struct sas_ha_struct *sas_ha; mvs_bytes_dmaed() local 248 sas_ha = mvi->sas; mvs_bytes_dmaed() 249 sas_ha->notify_phy_event(sas_phy, PHYE_OOB_DONE); mvs_bytes_dmaed() 1089 struct sas_ha_struct *sas_ha = sas_phy->ha; mvs_port_notify_formed() local 1098 while (sas_ha->sas_phy[i]) { mvs_port_notify_formed() 1099 if (sas_ha->sas_phy[i] == sas_phy) mvs_port_notify_formed() 1103 hi = i/((struct mvs_prv_info *)sas_ha->lldd_ha)->n_phy; mvs_port_notify_formed() 1104 mvi = ((struct mvs_prv_info *)sas_ha->lldd_ha)->mvi[hi]; mvs_port_notify_formed() 1895 struct sas_ha_struct *sas_ha = mvi->sas; mvs_work_queue() local 1911 sas_ha->notify_phy_event(sas_phy, mvs_work_queue() 1924 sas_ha->notify_port_event(sas_phy, mvs_work_queue()
|
/linux-4.4.14/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 3232 struct sas_ha_struct *sas_ha; pm8001_bytes_dmaed() local 3236 sas_ha = pm8001_ha->sas; pm8001_bytes_dmaed() 3371 struct sas_ha_struct *sas_ha = pm8001_ha->sas; hw_event_sas_phy_up() local 3418 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE); hw_event_sas_phy_up() 3450 struct sas_ha_struct *sas_ha = pm8001_ha->sas; hw_event_sata_phy_up() local 3463 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE); hw_event_sata_phy_up() 3792 struct sas_ha_struct *sas_ha = pm8001_ha->sas; mpi_hw_event() local 3794 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; mpi_hw_event() 3828 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD); mpi_hw_event() 3833 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_LOSS_OF_SIGNAL); mpi_hw_event() 3843 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3855 sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD); mpi_hw_event() 3862 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR); mpi_hw_event() 3870 sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD); mpi_hw_event() 3879 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3889 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3899 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3909 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3921 sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD); mpi_hw_event() 3933 sas_ha->notify_port_event(sas_phy, PORTE_HARD_RESET); mpi_hw_event() 3940 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3950 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3957 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3964 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event()
|
H A D | pm80xx_hwi.c | 2906 struct sas_ha_struct *sas_ha = pm8001_ha->sas; hw_event_sas_phy_up() local 2955 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE); hw_event_sas_phy_up() 2989 struct sas_ha_struct *sas_ha = pm8001_ha->sas; hw_event_sata_phy_up() local 3003 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE); hw_event_sata_phy_up() 3160 struct sas_ha_struct *sas_ha = pm8001_ha->sas; mpi_hw_event() local 3163 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; mpi_hw_event() 3183 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD); mpi_hw_event() 3189 sas_ha->notify_phy_event(&phy->sas_phy, mpi_hw_event() 3200 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3212 sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD); mpi_hw_event() 3219 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR); mpi_hw_event() 3227 sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD); mpi_hw_event() 3266 sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD); mpi_hw_event() 3278 sas_ha->notify_port_event(sas_phy, PORTE_HARD_RESET); mpi_hw_event() 3285 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3295 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3302 sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR); mpi_hw_event() 3313 sas_ha->notify_phy_event(&phy->sas_phy, mpi_hw_event()
|
H A D | pm8001_init.c | 219 * @dev_id: sas_ha structure. The HBA is retrieved from sas_has structure.
|
/linux-4.4.14/include/scsi/ |
H A D | libsas.h | 680 extern void sas_prep_resume_ha(struct sas_ha_struct *sas_ha); 681 extern void sas_resume_ha(struct sas_ha_struct *sas_ha); 682 extern void sas_suspend_ha(struct sas_ha_struct *sas_ha);
|