Searched defs:sas_ha (Results 1 - 18 of 18) sorted by relevance

/drivers/scsi/libsas/
H A Dsas_dump.c55 void sas_dprint_hae(struct sas_ha_struct *sas_ha, enum ha_event he) argument
57 SAS_DPRINTK("ha %s: %s event\n", dev_name(sas_ha->dev),
H A Dsas_phy.c56 struct sas_ha_struct *sas_ha = phy->ha; local
59 to_sas_internal(sas_ha->core.shost->transportt);
87 struct sas_ha_struct *sas_ha = phy->ha; local
89 to_sas_internal(sas_ha->core.shost->transportt);
99 int sas_register_phys(struct sas_ha_struct *sas_ha) argument
119 for (i = 0; i < sas_ha->num_phys; i++) {
121 struct asd_sas_phy *phy = sas_ha->sas_phy[i];
136 phy->ha = sas_ha;
141 phy->phy = sas_phy_alloc(&sas_ha->core.shost->shost_gendev, i);
148 phy->phy->identify.sas_address = SAS_ADDR(sas_ha
[all...]
H A Dsas_event.c119 static void notify_ha_event(struct sas_ha_struct *sas_ha, enum ha_event event) argument
123 sas_queue_event(event, &sas_ha->pending,
124 &sas_ha->ha_events[event].work, sas_ha);
147 int sas_init_events(struct sas_ha_struct *sas_ha) argument
156 INIT_SAS_WORK(&sas_ha->ha_events[i].work, sas_ha_event_fns[i]);
157 sas_ha->ha_events[i].ha = sas_ha;
160 sas_ha->notify_ha_event = notify_ha_event;
161 sas_ha
[all...]
H A Dsas_port.c33 struct sas_ha_struct *sas_ha = phy->ha; local
36 SAS_ADDR_SIZE) != 0 || (sas_ha->strict_wide_ports &&
52 struct sas_ha_struct *sas_ha = phy->ha; local
55 to_sas_internal(sas_ha->core.shost->transportt);
70 spin_lock_irqsave(&sas_ha->phy_port_lock, flags);
71 for (i = 0; i < sas_ha->num_phys; i++) {
72 port = sas_ha->sas_port[i];
84 if (i == sas_ha->num_phys) {
85 for (i = 0; i < sas_ha->num_phys; i++) {
86 port = sas_ha
156 struct sas_ha_struct *sas_ha = phy->ha; local
268 sas_init_port(struct asd_sas_port *port, struct sas_ha_struct *sas_ha, int i) argument
283 sas_register_ports(struct sas_ha_struct *sas_ha) argument
297 sas_unregister_ports(struct sas_ha_struct *sas_ha) argument
[all...]
H A Dsas_host_smp.c22 static void sas_host_smp_discover(struct sas_ha_struct *sas_ha, u8 *resp_data, argument
28 if (phy_id >= sas_ha->num_phys) {
34 phy = sas_ha->sas_phy[phy_id]->phy;
37 memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE);
38 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr,
45 if (!sas_ha->sas_phy[phy_id]->port ||
46 !sas_ha->sas_phy[phy_id]->port->port_dev)
49 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
116 static int sas_host_smp_write_gpio(struct sas_ha_struct *sas_ha, u8 *resp_data, argument
120 struct sas_internal *i = to_sas_internal(sas_ha
140 sas_report_phy_sata(struct sas_ha_struct *sas_ha, u8 *resp_data, u8 phy_id) argument
183 sas_phy_control(struct sas_ha_struct *sas_ha, u8 phy_id, u8 phy_op, enum sas_linkrate min, enum sas_linkrate max, u8 *resp_data) argument
232 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
[all...]
H A Dsas_discover.c184 struct sas_ha_struct *sas_ha = dev->port->ha; local
185 struct Scsi_Host *shost = sas_ha->core.shost;
193 dev_name(sas_ha->dev),
204 struct sas_ha_struct *sas_ha = dev->port->ha; local
205 struct Scsi_Host *shost = sas_ha->core.shost;
H A Dsas_init.c103 int sas_register_ha(struct sas_ha_struct *sas_ha) argument
107 mutex_init(&sas_ha->disco_mutex);
108 spin_lock_init(&sas_ha->phy_port_lock);
109 sas_hash_addr(sas_ha->hashed_sas_addr, sas_ha->sas_addr);
111 if (sas_ha->lldd_queue_size == 0)
112 sas_ha->lldd_queue_size = 1;
113 else if (sas_ha->lldd_queue_size == -1)
114 sas_ha->lldd_queue_size = 128; /* Sanity */
116 set_bit(SAS_HA_REGISTERED, &sas_ha
160 sas_unregister_ha(struct sas_ha_struct *sas_ha) argument
191 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
240 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
274 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
310 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
345 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
[all...]
H A Dsas_ata.c101 struct sas_ha_struct *sas_ha = dev->port->ha; local
108 if (test_bit(SAS_HA_FROZEN, &sas_ha->state))
187 struct sas_ha_struct *sas_ha = dev->port->ha; local
188 struct Scsi_Host *host = sas_ha->core.shost;
247 if (sas_ha->lldd_max_execute_num < 2)
722 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
734 sas_disable_revalidation(sas_ha);
736 spin_lock_irq(&sas_ha->phy_port_lock);
737 for (i = 0; i < sas_ha->num_phys; i++) {
738 struct asd_sas_port *port = sas_ha
[all...]
H A Dsas_scsi_host.c184 struct sas_ha_struct *sas_ha = task->dev->port->ha; local
185 struct scsi_core *core = &sas_ha->core;
190 if (sas_ha->lldd_queue_size < core->task_queue_size + 1) {
206 struct sas_ha_struct *sas_ha = dev->port->ha; local
228 if (sas_ha->lldd_max_execute_num < 2)
252 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(cmd->device->host); local
265 scsi_eh_finish_cmd(cmd, &sas_ha->eh_done_q);
781 struct sas_ha_struct *sas_ha; local
790 sas_ha = dev->port->ha;
868 static void sas_queue(struct sas_ha_struct *sas_ha) argument
926 struct sas_ha_struct *sas_ha = _sas_ha; local
939 sas_init_queue(struct sas_ha_struct *sas_ha) argument
955 sas_shutdown_queue(struct sas_ha_struct *sas_ha) argument
[all...]
/drivers/scsi/isci/
H A Dinit.c137 struct sas_ha_struct *sas_ha = SHOST_TO_SAS_HA(shost); local
138 struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha);
217 * specific members of the sas_ha struct and calls the libsas
220 * libsas sas_ha struct.
229 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); local
245 sas_ha->sas_ha_name = DRV_NAME;
246 sas_ha->lldd_module = THIS_MODULE;
247 sas_ha
[all...]
H A Dhost.h191 struct sas_ha_struct sas_ha; member in struct:isci_host
H A Dhost.c2518 ihost->sas_ha.dev = &ihost->pdev->dev;
2519 ihost->sas_ha.lldd_ha = ihost;
3019 int isci_gpio_write(struct sas_ha_struct *sas_ha, u8 reg_type, u8 reg_index, argument
3022 struct isci_host *ihost = sas_ha->lldd_ha;
/drivers/scsi/aic94xx/
H A Daic94xx_scb.c89 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; local
102 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_LOSS_OF_SIGNAL);
110 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
115 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD);
123 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR);
243 struct sas_ha_struct *sas_ha = phy->sas_phy.ha; local
255 sas_ha->notify_port_event(&phy->sas_phy, PORTE_BYTES_DMAED);
263 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; local
316 struct sas_ha_struct *sas_ha = &ascb->ha->sas_ha; local
419 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; local
[all...]
H A Daic94xx_tmf.c134 int asd_clear_nexus_ha(struct sas_ha_struct *sas_ha) argument
136 struct asd_ha_struct *asd_ha = sas_ha->lldd_ha;
H A Daic94xx_hwi.c49 return sas_request_addr(asd_ha->sas_ha.core.shost,
145 phy->sas_phy.ha = &asd_ha->sas_ha;
721 struct sas_ha_struct *sas_ha = &asd_ha->sas_ha; local
725 sas_ha->notify_ha_event(sas_ha, HAE_RESET);
H A Daic94xx_hwi.h202 struct sas_ha_struct sas_ha; member in struct:asd_ha_struct
/drivers/scsi/mvsas/
H A Dmv_sas.c239 struct sas_ha_struct *sas_ha; local
248 sas_ha = mvi->sas;
249 sas_ha->notify_phy_event(sas_phy, PHYE_OOB_DONE);
1185 struct sas_ha_struct *sas_ha = sas_phy->ha; local
1194 while (sas_ha->sas_phy[i]) {
1195 if (sas_ha->sas_phy[i] == sas_phy)
1199 hi = i/((struct mvs_prv_info *)sas_ha->lldd_ha)->n_phy;
1200 mvi = ((struct mvs_prv_info *)sas_ha->lldd_ha)->mvi[hi];
1982 struct sas_ha_struct *sas_ha = mvi->sas; local
1998 sas_ha
[all...]
/drivers/scsi/pm8001/
H A Dpm8001_hwi.c2964 struct sas_ha_struct *sas_ha; local
2968 sas_ha = pm8001_ha->sas;
3099 struct sas_ha_struct *sas_ha = pm8001_ha->sas; local
3145 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
3177 struct sas_ha_struct *sas_ha = pm8001_ha->sas; local
3189 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
3505 struct sas_ha_struct *sas_ha = pm8001_ha->sas; local
3507 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
3541 sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD);
3546 sas_ha
[all...]

Completed in 266 milliseconds