Lines Matching defs:phy
17 struct mvs_phy *phy = &mvi->phy[i];
23 phy->phy_type &= ~(PORT_TYPE_SAS | PORT_TYPE_SATA);
26 phy->phy_type |= PORT_TYPE_SAS;
30 phy->phy_type |= PORT_TYPE_SATA;
163 /*Notice: this function must be called when phy is disabled*/
278 mv_dprintk("phy hard reset failed.\n");
399 /* disable Multiplexing, enable phy implemented */
462 /* set phy local SAS address */
464 cpu_to_le64(mvi->phy[i].dev_sas_addr));
487 /* clear phy int status */
492 /* set phy int mask */
831 mv_dprintk("94xx phy %d atta frame %d %x.\n",
867 struct mvs_phy *phy = &mvi->phy[i];
868 struct asd_sas_phy *sas_phy = &phy->sas_phy;
869 mv_dprintk("get all reg link rate is 0x%x\n", phy->phy_status);
871 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
875 phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS;
876 phy->maximum_linkrate = SAS_LINK_RATE_6_0_GBPS;
878 phy->dev_info = mvs_94xx_make_dev_info(id);
880 if (phy->phy_type & PORT_TYPE_SAS) {
882 phy->att_dev_info = mvs_94xx_make_att_info(id);
883 phy->att_dev_sas_addr = *(u64 *)id->sas_addr;
885 phy->att_dev_info = PORT_DEV_STP_TRGT | 1;