Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/otg/
Dtwl4030-usb.c162 u8 linkstat; member
252 int linkstat = USB_EVENT_NONE; in twl4030_usb_linkstat() local
276 linkstat = USB_EVENT_ID; in twl4030_usb_linkstat()
278 linkstat = USB_EVENT_VBUS; in twl4030_usb_linkstat()
280 linkstat = USB_EVENT_NONE; in twl4030_usb_linkstat()
283 status, status, linkstat); in twl4030_usb_linkstat()
285 twl->phy.last_event = linkstat; in twl4030_usb_linkstat()
292 twl->linkstat = linkstat; in twl4030_usb_linkstat()
293 if (linkstat == USB_EVENT_ID) { in twl4030_usb_linkstat()
302 return linkstat; in twl4030_usb_linkstat()
Dtwl6030-usb.c103 u8 linkstat; member
150 if (twl->linkstat == USB_EVENT_ID) in twl6030_phy_init()
237 switch (twl->linkstat) { in twl6030_usb_vbus_show()
274 twl->linkstat = status; in twl6030_usb_irq()
280 twl->linkstat = status; in twl6030_usb_irq()
314 twl->linkstat = status; in twl6030_usbotg_irq()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_pcie.c273 u16 linkstat, speed; in qib_pcie_params() local
299 pci_read_config_word(dd->pcidev, pose + PCI_EXP_LNKSTA, &linkstat); in qib_pcie_params()
304 speed = linkstat & 0xf; in qib_pcie_params()
305 linkstat >>= 4; in qib_pcie_params()
306 linkstat &= 0x1f; in qib_pcie_params()
307 dd->lbus_width = linkstat; in qib_pcie_params()
325 if (minw && linkstat < minw) in qib_pcie_params()
328 linkstat, minw); in qib_pcie_params()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c2118 u32 pcs_anadv_reg, pcs_lpab_reg, linkstat; in ixgbe_fc_autoneg_fiber() local
2127 linkstat = IXGBE_READ_REG(hw, IXGBE_PCS1GLSTA); in ixgbe_fc_autoneg_fiber()
2128 if ((!!(linkstat & IXGBE_PCS1GLSTA_AN_COMPLETE) == 0) || in ixgbe_fc_autoneg_fiber()
2129 (!!(linkstat & IXGBE_PCS1GLSTA_AN_TIMED_OUT) == 1)) { in ixgbe_fc_autoneg_fiber()