• Home
  • Raw
  • Download

Lines Matching refs:sha

64 	struct sas_ha_struct *sha = dev->port->ha;  in mvs_find_dev_mvi()  local
68 while (sha->sas_port[i]) { in mvs_find_dev_mvi()
69 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi()
70 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi()
73 while (sha->sas_phy[j]) { in mvs_find_dev_mvi()
74 if (sha->sas_phy[j] == phy) in mvs_find_dev_mvi()
82 hi = j/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_find_dev_mvi()
83 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[hi]; in mvs_find_dev_mvi()
94 struct sas_ha_struct *sha = dev->port->ha; in mvs_find_dev_phyno() local
96 while (sha->sas_port[i]) { in mvs_find_dev_phyno()
97 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_phyno()
100 &sha->sas_port[i]->phy_list, port_phy_el) { in mvs_find_dev_phyno()
102 while (sha->sas_phy[j]) { in mvs_find_dev_phyno()
103 if (sha->sas_phy[j] == phy) in mvs_find_dev_phyno()
168 struct sas_ha_struct *sha = sas_phy->ha; in mvs_phy_control() local
171 while (sha->sas_phy[i]) { in mvs_phy_control()
172 if (sha->sas_phy[i] == sas_phy) in mvs_phy_control()
176 hi = i/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_phy_control()
177 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[hi]; in mvs_phy_control()
272 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_scan_start() local
273 struct mvs_prv_info *mvs_prv = sha->lldd_ha; in mvs_scan_start()
275 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_scan_start()
278 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[j]; in mvs_scan_start()
287 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_scan_finished() local
288 struct mvs_prv_info *mvs_prv = sha->lldd_ha; in mvs_scan_finished()
293 sas_drain_work(sha); in mvs_scan_finished()
301 struct sas_ha_struct *sha = mvi->sas; in mvs_task_prep_smp() local
307 struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number]; in mvs_task_prep_smp()
2091 int mvs_gpio_write(struct sas_ha_struct *sha, u8 reg_type, u8 reg_index, in mvs_gpio_write() argument
2094 struct mvs_prv_info *mvs_prv = sha->lldd_ha; in mvs_gpio_write()