linkstat 51 drivers/extcon/extcon-palmas.c if (palmas_usb->linkstat != PALMAS_USB_STATE_VBUS) { linkstat 52 drivers/extcon/extcon-palmas.c palmas_usb->linkstat = PALMAS_USB_STATE_VBUS; linkstat 60 drivers/extcon/extcon-palmas.c if (palmas_usb->linkstat == PALMAS_USB_STATE_VBUS) { linkstat 61 drivers/extcon/extcon-palmas.c palmas_usb->linkstat = PALMAS_USB_STATE_DISCONNECT; linkstat 89 drivers/extcon/extcon-palmas.c palmas_usb->linkstat = PALMAS_USB_STATE_ID; linkstat 97 drivers/extcon/extcon-palmas.c palmas_usb->linkstat = PALMAS_USB_STATE_DISCONNECT; linkstat 100 drivers/extcon/extcon-palmas.c } else if ((palmas_usb->linkstat == PALMAS_USB_STATE_ID) && linkstat 102 drivers/extcon/extcon-palmas.c palmas_usb->linkstat = PALMAS_USB_STATE_DISCONNECT; linkstat 105 drivers/extcon/extcon-palmas.c } else if ((palmas_usb->linkstat == PALMAS_USB_STATE_DISCONNECT) && linkstat 107 drivers/extcon/extcon-palmas.c palmas_usb->linkstat = PALMAS_USB_STATE_ID; linkstat 245 drivers/infiniband/hw/hfi1/pcie.c static u32 extract_speed(u16 linkstat) linkstat 249 drivers/infiniband/hw/hfi1/pcie.c switch (linkstat & PCI_EXP_LNKSTA_CLS) { linkstat 265 drivers/infiniband/hw/hfi1/pcie.c static u32 extract_width(u16 linkstat) linkstat 267 drivers/infiniband/hw/hfi1/pcie.c return (linkstat & PCI_EXP_LNKSTA_NLW) >> PCI_EXP_LNKSTA_NLW_SHIFT; linkstat 273 drivers/infiniband/hw/hfi1/pcie.c u16 linkstat; linkstat 276 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKSTA, &linkstat); linkstat 282 drivers/infiniband/hw/hfi1/pcie.c dd->lbus_width = extract_width(linkstat); linkstat 283 drivers/infiniband/hw/hfi1/pcie.c dd->lbus_speed = extract_speed(linkstat); linkstat 213 drivers/infiniband/hw/qib/qib_pcie.c u16 linkstat, speed; linkstat 245 drivers/infiniband/hw/qib/qib_pcie.c pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKSTA, &linkstat); linkstat 250 drivers/infiniband/hw/qib/qib_pcie.c speed = linkstat & 0xf; linkstat 251 drivers/infiniband/hw/qib/qib_pcie.c linkstat >>= 4; linkstat 252 drivers/infiniband/hw/qib/qib_pcie.c linkstat &= 0x1f; linkstat 253 drivers/infiniband/hw/qib/qib_pcie.c dd->lbus_width = linkstat; linkstat 271 drivers/infiniband/hw/qib/qib_pcie.c if (minw && linkstat < minw) linkstat 274 drivers/infiniband/hw/qib/qib_pcie.c linkstat, minw); linkstat 2312 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 pcs_anadv_reg, pcs_lpab_reg, linkstat; linkstat 2321 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c linkstat = IXGBE_READ_REG(hw, IXGBE_PCS1GLSTA); linkstat 2322 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if ((!!(linkstat & IXGBE_PCS1GLSTA_AN_COMPLETE) == 0) || linkstat 2323 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c (!!(linkstat & IXGBE_PCS1GLSTA_AN_TIMED_OUT) == 1)) linkstat 603 drivers/pci/controller/pcie-altera.c u16 linkcap, linkstat, linkctl; linkstat 618 drivers/pci/controller/pcie-altera.c &linkstat); linkstat 619 drivers/pci/controller/pcie-altera.c if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { linkstat 176 drivers/pci/pci-sysfs.c u16 linkstat; linkstat 180 drivers/pci/pci-sysfs.c err = pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &linkstat); linkstat 184 drivers/pci/pci-sysfs.c switch (linkstat & PCI_EXP_LNKSTA_CLS) { linkstat 212 drivers/pci/pci-sysfs.c u16 linkstat; linkstat 215 drivers/pci/pci-sysfs.c err = pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &linkstat); linkstat 220 drivers/pci/pci-sysfs.c (linkstat & PCI_EXP_LNKSTA_NLW) >> PCI_EXP_LNKSTA_NLW_SHIFT); linkstat 161 drivers/phy/ti/phy-twl4030-usb.c enum musb_vbus_id_status linkstat; linkstat 273 drivers/phy/ti/phy-twl4030-usb.c enum musb_vbus_id_status linkstat = MUSB_UNKNOWN; linkstat 299 drivers/phy/ti/phy-twl4030-usb.c linkstat = MUSB_ID_GROUND; linkstat 301 drivers/phy/ti/phy-twl4030-usb.c linkstat = MUSB_VBUS_VALID; linkstat 303 drivers/phy/ti/phy-twl4030-usb.c linkstat = MUSB_VBUS_OFF; linkstat 305 drivers/phy/ti/phy-twl4030-usb.c if (twl->linkstat != MUSB_UNKNOWN) linkstat 306 drivers/phy/ti/phy-twl4030-usb.c linkstat = MUSB_VBUS_OFF; linkstat 309 drivers/phy/ti/phy-twl4030-usb.c kobject_uevent(&twl->dev->kobj, linkstat == MUSB_VBUS_VALID linkstat 313 drivers/phy/ti/phy-twl4030-usb.c status, status, linkstat); linkstat 319 drivers/phy/ti/phy-twl4030-usb.c return linkstat; linkstat 571 drivers/phy/ti/phy-twl4030-usb.c twl->linkstat = status; linkstat 621 drivers/phy/ti/phy-twl4030-usb.c twl->linkstat = MUSB_UNKNOWN; linkstat 698 drivers/phy/ti/phy-twl4030-usb.c twl->linkstat = MUSB_UNKNOWN; linkstat 789 drivers/phy/ti/phy-twl4030-usb.c if (cable_present(twl->linkstat)) linkstat 95 drivers/usb/phy/phy-twl6030-usb.c enum musb_vbus_id_status linkstat; linkstat 180 drivers/usb/phy/phy-twl6030-usb.c switch (twl->linkstat) { linkstat 224 drivers/usb/phy/phy-twl6030-usb.c twl->linkstat = status; linkstat 227 drivers/usb/phy/phy-twl6030-usb.c twl->linkstat = MUSB_UNKNOWN; linkstat 229 drivers/usb/phy/phy-twl6030-usb.c if (twl->linkstat != MUSB_UNKNOWN) { linkstat 231 drivers/usb/phy/phy-twl6030-usb.c twl->linkstat = status; linkstat 234 drivers/usb/phy/phy-twl6030-usb.c twl->linkstat = MUSB_UNKNOWN; linkstat 265 drivers/usb/phy/phy-twl6030-usb.c twl->linkstat = status; linkstat 268 drivers/usb/phy/phy-twl6030-usb.c twl->linkstat = MUSB_UNKNOWN; linkstat 349 drivers/usb/phy/phy-twl6030-usb.c twl->linkstat = MUSB_UNKNOWN; linkstat 585 include/linux/mfd/palmas.h enum palmas_usb_state linkstat;