Lines Matching refs:sas_port

64 	while (sha->sas_port[i]) {  in mvs_find_dev_mvi()
65 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi()
66 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi()
67 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi()
69 spin_unlock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi()
94 while (sha->sas_port[i]) { in mvs_find_dev_phyno()
95 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_phyno()
98 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_phyno()
100 &sha->sas_port[i]->phy_list, port_phy_el) { in mvs_find_dev_phyno()
112 spin_unlock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_phyno()
306 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_smp() local
391 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_smp()
434 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_ata() local
454 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | in mvs_task_prep_ata()
539 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_ata()
547 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, in mvs_task_prep_ata()
562 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_ssp() local
577 sas_port->phy_mask) & TXQ_PHY_MASK; in mvs_task_prep_ssp()
643 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_ssp()
1072 struct asd_sas_port *sas_port = sas_phy->port; in mvs_port_notify_formed() local
1075 if (!sas_port) in mvs_port_notify_formed()
1093 sas_port->lldd_port = port; in mvs_port_notify_formed()
1095 port->wide_port_phymap = sas_port->phy_mask; in mvs_port_notify_formed()
1096 mv_printk("set wide port phy map %x\n", sas_port->phy_mask); in mvs_port_notify_formed()
1586 "%016llX.\n", slot->port->sas_port.id, slot_idx, in mvs_slot_complete()
1632 mv_dprintk("port %d has removed.\n", slot->port->sas_port.id); in mvs_slot_complete()