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