Home
last modified time | relevance | path

Searched refs:linkstat (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/phy/
Dphy-twl4030-usb.c162 enum omap_musb_vbus_id_status linkstat; member
274 enum omap_musb_vbus_id_status linkstat = OMAP_MUSB_UNKNOWN; in twl4030_usb_linkstat() local
300 linkstat = OMAP_MUSB_ID_GROUND; in twl4030_usb_linkstat()
302 linkstat = OMAP_MUSB_VBUS_VALID; in twl4030_usb_linkstat()
304 linkstat = OMAP_MUSB_VBUS_OFF; in twl4030_usb_linkstat()
306 if (twl->linkstat != OMAP_MUSB_UNKNOWN) in twl4030_usb_linkstat()
307 linkstat = OMAP_MUSB_VBUS_OFF; in twl4030_usb_linkstat()
311 status, status, linkstat); in twl4030_usb_linkstat()
317 return linkstat; in twl4030_usb_linkstat()
456 if (twl->linkstat == OMAP_MUSB_ID_GROUND) { in twl4030_phy_resume()
[all …]
Dphy-twl6030-usb.c104 enum omap_musb_vbus_id_status linkstat; member
190 switch (twl->linkstat) { in twl6030_usb_vbus_show()
228 twl->linkstat = status; in twl6030_usb_irq()
231 if (twl->linkstat != OMAP_MUSB_UNKNOWN) { in twl6030_usb_irq()
233 twl->linkstat = status; in twl6030_usb_irq()
265 twl->linkstat = status; in twl6030_usbotg_irq()
336 twl->linkstat = OMAP_MUSB_UNKNOWN; in twl6030_usb_probe()
/drivers/infiniband/hw/qib/
Dqib_pcie.c275 u16 linkstat, speed; in qib_pcie_params() local
300 pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKSTA, &linkstat); in qib_pcie_params()
305 speed = linkstat & 0xf; in qib_pcie_params()
306 linkstat >>= 4; in qib_pcie_params()
307 linkstat &= 0x1f; in qib_pcie_params()
308 dd->lbus_width = linkstat; in qib_pcie_params()
326 if (minw && linkstat < minw) in qib_pcie_params()
329 linkstat, minw); in qib_pcie_params()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c2261 u32 pcs_anadv_reg, pcs_lpab_reg, linkstat; in ixgbe_fc_autoneg_fiber() local
2270 linkstat = IXGBE_READ_REG(hw, IXGBE_PCS1GLSTA); in ixgbe_fc_autoneg_fiber()
2271 if ((!!(linkstat & IXGBE_PCS1GLSTA_AN_COMPLETE) == 0) || in ixgbe_fc_autoneg_fiber()
2272 (!!(linkstat & IXGBE_PCS1GLSTA_AN_TIMED_OUT) == 1)) in ixgbe_fc_autoneg_fiber()