Lines Matching refs:phys
73 struct brcm_usb_phy phys[BRCM_USB_PHY_ID_MAX]; member
116 container_of(phy, struct brcm_usb_phy_data, phys[phy->id]); in brcm_usb_phy_init()
148 container_of(phy, struct brcm_usb_phy_data, phys[phy->id]); in brcm_usb_phy_exit()
190 if (data->phys[BRCM_USB_PHY_2_0].phy) in brcm_usb_phy_xlate()
191 return data->phys[BRCM_USB_PHY_2_0].phy; in brcm_usb_phy_xlate()
196 if (data->phys[BRCM_USB_PHY_3_0].phy) in brcm_usb_phy_xlate()
197 return data->phys[BRCM_USB_PHY_3_0].phy; in brcm_usb_phy_xlate()
412 priv->phys[BRCM_USB_PHY_2_0].phy = gphy; in brcm_usb_phy_dvr_init()
413 priv->phys[BRCM_USB_PHY_2_0].id = BRCM_USB_PHY_2_0; in brcm_usb_phy_dvr_init()
414 phy_set_drvdata(gphy, &priv->phys[BRCM_USB_PHY_2_0]); in brcm_usb_phy_dvr_init()
423 priv->phys[BRCM_USB_PHY_3_0].phy = gphy; in brcm_usb_phy_dvr_init()
424 priv->phys[BRCM_USB_PHY_3_0].id = BRCM_USB_PHY_3_0; in brcm_usb_phy_dvr_init()
425 phy_set_drvdata(gphy, &priv->phys[BRCM_USB_PHY_3_0]); in brcm_usb_phy_dvr_init()
589 if (priv->phys[BRCM_USB_PHY_3_0].inited) in brcm_usb_phy_suspend()
591 if (priv->phys[BRCM_USB_PHY_2_0].inited) in brcm_usb_phy_suspend()
602 if (priv->phys[BRCM_USB_PHY_3_0].inited) in brcm_usb_phy_suspend()
604 if (priv->phys[BRCM_USB_PHY_2_0].inited || in brcm_usb_phy_suspend()
633 if (priv->phys[BRCM_USB_PHY_2_0].inited) { in brcm_usb_phy_resume()
639 if (priv->phys[BRCM_USB_PHY_3_0].inited) { in brcm_usb_phy_resume()