lpa 1527 arch/x86/kvm/svm.c phys_addr_t lpa = __sme_set(page_to_phys(kvm_svm->avic_logical_id_table_page)); lpa 1531 arch/x86/kvm/svm.c vmcb->control.avic_logical_id = lpa & AVIC_HPA_MASK; lpa 1988 drivers/net/ethernet/broadcom/bcm63xx_enet.c int val, j, up, advertise, lpa, speed, duplex, media; lpa 2028 drivers/net/ethernet/broadcom/bcm63xx_enet.c lpa = bcmenet_sw_mdio_read(priv, external_phy, port->phy_id, lpa 2032 drivers/net/ethernet/broadcom/bcm63xx_enet.c media = mii_nway_result(lpa & advertise); lpa 2044 drivers/net/ethernet/broadcom/bcm63xx_enet.c lpa = bcmenet_sw_mdio_read(priv, external_phy, lpa 2048 drivers/net/ethernet/broadcom/bcm63xx_enet.c && lpa & (LPA_1000FULL | LPA_1000HALF)) { lpa 2050 drivers/net/ethernet/broadcom/bcm63xx_enet.c duplex = (lpa & LPA_1000FULL); lpa 133 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c unsigned int bmcr, status, lpa, adv; lpa 179 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c &lpa); lpa 186 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (lpa & adv & ADVERTISE_PAUSE_CAP) lpa 188 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c else if ((lpa & ADVERTISE_PAUSE_CAP) && lpa 189 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c (lpa & ADVERTISE_PAUSE_ASYM) && lpa 192 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c else if ((lpa & ADVERTISE_PAUSE_ASYM) && lpa 209 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c unsigned int bmcr, status, lpa, adv; lpa 239 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_LPA, &lpa); lpa 246 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (adv & lpa & ADVERTISE_1000XFULL) { lpa 249 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c } else if (adv & lpa & ADVERTISE_1000XHALF) { lpa 255 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (lpa & adv & ADVERTISE_1000XPAUSE) lpa 257 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c else if ((lpa & ADVERTISE_1000XPAUSE) && lpa 258 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c (adv & lpa & ADVERTISE_1000XPSE_ASYM)) lpa 260 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c else if ((lpa & ADVERTISE_1000XPSE_ASYM) && lpa 754 drivers/net/ethernet/davicom/dm9000.c int lpa; lpa 760 drivers/net/ethernet/davicom/dm9000.c lpa = mii->mdio_read(mii->dev, mii->phy_id, MII_LPA); lpa 764 drivers/net/ethernet/davicom/dm9000.c (ncr & NCR_FDX) ? "full" : "half", lpa); lpa 405 drivers/net/ethernet/dec/tulip/media.c unsigned int bmsr, lpa, negotiated, new_csr6; lpa 408 drivers/net/ethernet/dec/tulip/media.c lpa = tulip_mdio_read(dev, tp->phys[0], MII_LPA); lpa 411 drivers/net/ethernet/dec/tulip/media.c bmsr, lpa); lpa 424 drivers/net/ethernet/dec/tulip/media.c negotiated = lpa & tp->advertising[0]; lpa 442 drivers/net/ethernet/dec/tulip/media.c tp->phys[0], lpa); lpa 224 drivers/net/ethernet/ibm/emac/phy.c int lpa = phy_read(phy, MII_LPA) & phy_read(phy, MII_ADVERTISE); lpa 225 drivers/net/ethernet/ibm/emac/phy.c if (lpa < 0) lpa 226 drivers/net/ethernet/ibm/emac/phy.c return lpa; lpa 247 drivers/net/ethernet/ibm/emac/phy.c } else if (lpa & (LPA_100FULL | LPA_100HALF)) { lpa 249 drivers/net/ethernet/ibm/emac/phy.c if (lpa & LPA_100FULL) lpa 251 drivers/net/ethernet/ibm/emac/phy.c } else if (lpa & LPA_10FULL) lpa 255 drivers/net/ethernet/ibm/emac/phy.c phy->pause = lpa & LPA_PAUSE_CAP ? 1 : 0; lpa 256 drivers/net/ethernet/ibm/emac/phy.c phy->asym_pause = lpa & LPA_PAUSE_ASYM ? 1 : 0; lpa 179 drivers/net/ethernet/intel/e1000e/e1000.h u16 lpa; /* link partner ability register */ lpa 805 drivers/net/ethernet/intel/e1000e/ich8lan.c u16 lpa, pcs_status, adv, adv_addr, lpi_ctrl, data; lpa 809 drivers/net/ethernet/intel/e1000e/ich8lan.c lpa = I82579_EEE_LP_ABILITY; lpa 814 drivers/net/ethernet/intel/e1000e/ich8lan.c lpa = I217_EEE_LP_ABILITY; lpa 836 drivers/net/ethernet/intel/e1000e/ich8lan.c ret_val = e1000_read_emi_reg_locked(hw, lpa, lpa 5040 drivers/net/ethernet/intel/e1000e/netdev.c ret_val |= e1e_rphy(hw, MII_LPA, &phy->lpa); lpa 5057 drivers/net/ethernet/intel/e1000e/netdev.c phy->lpa = 0; lpa 6112 drivers/net/ethernet/intel/e1000e/netdev.c data->val_out = adapter->phy_regs.lpa; lpa 1225 drivers/net/ethernet/marvell/skge.c u16 lpa, aux; lpa 1230 drivers/net/ethernet/marvell/skge.c lpa = xm_phy_read(hw, port, PHY_XMAC_AUNE_LP); lpa 1231 drivers/net/ethernet/marvell/skge.c if (lpa & PHY_B_AN_RF) { lpa 1432 drivers/net/ethernet/marvell/skge.c u16 lpa, res; lpa 1437 drivers/net/ethernet/marvell/skge.c lpa = xm_phy_read(hw, port, PHY_XMAC_AUNE_LP); lpa 1438 drivers/net/ethernet/marvell/skge.c if (lpa & PHY_B_AN_RF) { lpa 1461 drivers/net/ethernet/marvell/skge.c (lpa & PHY_X_P_SYM_MD)) lpa 1464 drivers/net/ethernet/marvell/skge.c (lpa & PHY_X_RS_PAUSE) == PHY_X_P_ASYM_MD) lpa 1468 drivers/net/ethernet/marvell/skge.c (lpa & PHY_X_RS_PAUSE) == PHY_X_P_BOTH_MD) lpa 2238 drivers/net/ethernet/marvell/sky2.c u16 advert, lpa; lpa 2241 drivers/net/ethernet/marvell/sky2.c lpa = gm_phy_read(hw, port, PHY_MARV_AUNE_LP); lpa 2242 drivers/net/ethernet/marvell/sky2.c if (lpa & PHY_M_AN_RF) { lpa 2261 drivers/net/ethernet/marvell/sky2.c lpa &= ~(LPA_PAUSE_CAP|LPA_PAUSE_ASYM); lpa 2267 drivers/net/ethernet/marvell/sky2.c if (lpa & LPA_1000XPAUSE) lpa 2268 drivers/net/ethernet/marvell/sky2.c lpa |= LPA_PAUSE_CAP; lpa 2269 drivers/net/ethernet/marvell/sky2.c if (lpa & LPA_1000XPAUSE_ASYM) lpa 2270 drivers/net/ethernet/marvell/sky2.c lpa |= LPA_PAUSE_ASYM; lpa 2275 drivers/net/ethernet/marvell/sky2.c if (lpa & LPA_PAUSE_CAP) lpa 2280 drivers/net/ethernet/marvell/sky2.c if ((lpa & LPA_PAUSE_CAP) && (lpa & LPA_PAUSE_ASYM)) lpa 2405 drivers/net/ethernet/natsemi/natsemi.c u16 lpa = mdio_read(dev, MII_LPA); lpa 2411 drivers/net/ethernet/natsemi/natsemi.c np->advertising, lpa); lpa 3350 drivers/net/ethernet/nvidia/forcedeth.c int lpa = 0; lpa 3414 drivers/net/ethernet/nvidia/forcedeth.c lpa = mii_rw(dev, np->phyaddr, MII_LPA, MII_READ); lpa 3430 drivers/net/ethernet/nvidia/forcedeth.c adv_lpa = lpa & adv; lpa 3529 drivers/net/ethernet/nvidia/forcedeth.c lpa_pause = lpa & (LPA_PAUSE_CAP | LPA_PAUSE_ASYM); lpa 660 drivers/net/ethernet/packetengines/yellowfin.c int lpa = mdio_read(ioaddr, yp->phys[0], MII_LPA); lpa 661 drivers/net/ethernet/packetengines/yellowfin.c int negotiated = lpa & yp->advertising; lpa 664 drivers/net/ethernet/packetengines/yellowfin.c yp->phys[0], bmsr, lpa); lpa 443 drivers/net/ethernet/sfc/falcon/tenxpress.c u32 adv = 0, lpa = 0; lpa 451 drivers/net/ethernet/sfc/falcon/tenxpress.c lpa |= ADVERTISED_10000baseT_Full; lpa 453 drivers/net/ethernet/sfc/falcon/tenxpress.c mdio45_ethtool_ksettings_get_npage(&efx->mdio, cmd, adv, lpa); lpa 533 drivers/net/ethernet/sfc/mcdi_port.c static void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) lpa 548 drivers/net/ethernet/sfc/mcdi_port.c if (lpa & (1 << MC_CMD_PHY_CAP_PAUSE_LBN)) lpa 550 drivers/net/ethernet/sfc/mcdi_port.c if (lpa & (1 << MC_CMD_PHY_CAP_ASYM_LBN)) lpa 1154 drivers/net/ethernet/sfc/mcdi_port.c u32 flags, fcntl, speed, lpa; lpa 1162 drivers/net/ethernet/sfc/mcdi_port.c lpa = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_LP_CAP); lpa 1170 drivers/net/ethernet/sfc/mcdi_port.c efx_mcdi_phy_check_fcntl(efx, lpa); lpa 1097 drivers/net/ethernet/sun/niu.c int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; lpa 1118 drivers/net/ethernet/sun/niu.c lpa = err; lpa 1164 drivers/net/ethernet/sun/niu.c neg = advert & lpa; lpa 261 drivers/net/ethernet/tundra/tsi108_eth.c int advert, lpa, val, media; lpa 273 drivers/net/ethernet/tundra/tsi108_eth.c lpa = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_LPA); lpa 274 drivers/net/ethernet/tundra/tsi108_eth.c media = mii_nway_result(advert & lpa); lpa 509 drivers/net/mii.c int advertise, lpa, media, duplex; lpa 548 drivers/net/mii.c lpa = mii->mdio_read(mii->dev, mii->phy_id, MII_LPA); lpa 553 drivers/net/mii.c media = mii_nway_result(lpa & advertise); lpa 564 drivers/net/mii.c lpa); lpa 149 drivers/net/phy/lxt.c int lpa; lpa 165 drivers/net/phy/lxt.c lpa = phy_read(phydev, MII_LPA); lpa 167 drivers/net/phy/lxt.c if (lpa < 0) lpa 168 drivers/net/phy/lxt.c return lpa; lpa 173 drivers/net/phy/lxt.c } while (lpa == adv && retry--); lpa 175 drivers/net/phy/lxt.c mii_lpa_to_linkmode_lpa_t(phydev->lp_advertising, lpa); lpa 177 drivers/net/phy/lxt.c lpa &= adv; lpa 183 drivers/net/phy/lxt.c if (lpa & (LPA_100FULL | LPA_100HALF)) { lpa 186 drivers/net/phy/lxt.c if (lpa & LPA_100FULL) lpa 189 drivers/net/phy/lxt.c if (lpa & LPA_10FULL) lpa 194 drivers/net/phy/lxt.c phydev->pause = lpa & LPA_PAUSE_CAP ? 1 : 0; lpa 195 drivers/net/phy/lxt.c phydev->asym_pause = lpa & LPA_PAUSE_ASYM ? 1 : 0; lpa 1178 drivers/net/phy/marvell.c static void fiber_lpa_mod_linkmode_lpa_t(unsigned long *advertising, u32 lpa) lpa 1181 drivers/net/phy/marvell.c advertising, lpa & LPA_FIBER_1000HALF); lpa 1184 drivers/net/phy/marvell.c advertising, lpa & LPA_FIBER_1000FULL); lpa 1221 drivers/net/phy/marvell.c int lpa; lpa 1228 drivers/net/phy/marvell.c lpa = phy_read(phydev, MII_LPA); lpa 1229 drivers/net/phy/marvell.c if (lpa < 0) lpa 1230 drivers/net/phy/marvell.c return lpa; lpa 1260 drivers/net/phy/marvell.c mii_lpa_to_linkmode_lpa_t(phydev->lp_advertising, lpa); lpa 1264 drivers/net/phy/marvell.c phydev->pause = lpa & LPA_PAUSE_CAP ? 1 : 0; lpa 1265 drivers/net/phy/marvell.c phydev->asym_pause = lpa & LPA_PAUSE_ASYM ? 1 : 0; lpa 1269 drivers/net/phy/marvell.c fiber_lpa_mod_linkmode_lpa_t(phydev->lp_advertising, lpa); lpa 1272 drivers/net/phy/marvell.c if (!(lpa & LPA_PAUSE_FIBER)) { lpa 1275 drivers/net/phy/marvell.c } else if ((lpa & LPA_PAUSE_ASYM_FIBER)) { lpa 160 drivers/net/phy/meson-gxl.c int ret, wol, lpa, exp; lpa 174 drivers/net/phy/meson-gxl.c lpa = phy_read(phydev, MII_LPA); lpa 175 drivers/net/phy/meson-gxl.c if (lpa < 0) lpa 176 drivers/net/phy/meson-gxl.c return lpa; lpa 183 drivers/net/phy/meson-gxl.c ((exp & EXPANSION_NWAY) && !(lpa & LPA_LPACK))) { lpa 1796 drivers/net/phy/phy_device.c int lpa, lpagb; lpa 1828 drivers/net/phy/phy_device.c lpa = phy_read(phydev, MII_LPA); lpa 1829 drivers/net/phy/phy_device.c if (lpa < 0) lpa 1830 drivers/net/phy/phy_device.c return lpa; lpa 1832 drivers/net/phy/phy_device.c mii_lpa_mod_linkmode_lpa_t(phydev->lp_advertising, lpa); lpa 23 drivers/net/phy/swphy.c u16 lpa; lpa 43 drivers/net/phy/swphy.c .lpa = LPA_10FULL | LPA_10HALF, lpa 47 drivers/net/phy/swphy.c .lpa = LPA_100FULL | LPA_100HALF, lpa 59 drivers/net/phy/swphy.c .lpa = LPA_10HALF | LPA_100HALF, lpa 65 drivers/net/phy/swphy.c .lpa = LPA_10FULL | LPA_100FULL, lpa 121 drivers/net/phy/swphy.c u16 lpa = 0; lpa 138 drivers/net/phy/swphy.c lpa |= speed[speed_index].lpa & duplex[duplex_index].lpa; lpa 142 drivers/net/phy/swphy.c lpa |= LPA_PAUSE_CAP; lpa 145 drivers/net/phy/swphy.c lpa |= LPA_PAUSE_ASYM; lpa 157 drivers/net/phy/swphy.c return lpa; lpa 393 drivers/net/sungem_phy.c u16 lpa; lpa 396 drivers/net/sungem_phy.c lpa = sungem_phy_read(phy, MII_LPA); lpa 398 drivers/net/sungem_phy.c if (lpa & (LPA_10FULL | LPA_100FULL)) lpa 402 drivers/net/sungem_phy.c if (lpa & (LPA_100FULL | LPA_100HALF)) lpa 793 drivers/net/usb/rtl8150.c short lpa, bmcr; lpa 805 drivers/net/usb/rtl8150.c get_registers(dev, ANLP, 2, &lpa); lpa 807 drivers/net/usb/rtl8150.c u32 speed = ((lpa & (LPA_100HALF | LPA_100FULL)) ? lpa 812 drivers/net/usb/rtl8150.c ecmd->base.duplex = (lpa & LPA_100FULL) ? lpa 815 drivers/net/usb/rtl8150.c ecmd->base.duplex = (lpa & LPA_10FULL) ? lpa 2765 drivers/nvme/host/core.c if (id->lpa & NVME_CTRL_LPA_CMD_EFFECTS_LOG) { lpa 342 drivers/nvme/target/admin-cmd.c id->lpa = (1 << 0) | (1 << 1) | (1 << 2); lpa 249 drivers/nvme/target/discovery.c id->lpa = (1 << 2); lpa 570 drivers/parisc/ccio-dma.c pa = lpa(vba); lpa 572 drivers/parisc/sba_iommu.c pa = lpa(vba); lpa 159 drivers/rtc/rtc-st-lpc.c unsigned long long lpa; lpa 169 drivers/rtc/rtc-st-lpc.c lpa = (unsigned long long)alarm_secs * rtc->clkrate; lpa 171 drivers/rtc/rtc-st-lpc.c st_rtc_set_hw_alarm(rtc, lpa >> 32, lpa); lpa 732 fs/ubifs/find.c const struct ubifs_lprops *lpa = *a; lpa 735 fs/ubifs/find.c return lpa->dirty + lpa->free - lpb->dirty - lpb->free; lpa 307 include/linux/mdio.h u32 lpa) lpa 310 include/linux/mdio.h advertising, lpa & MDIO_AN_10GBT_STAT_LP2_5G); lpa 312 include/linux/mdio.h advertising, lpa & MDIO_AN_10GBT_STAT_LP5G); lpa 314 include/linux/mdio.h advertising, lpa & MDIO_AN_10GBT_STAT_LP10G); lpa 260 include/linux/mii.h static inline u32 mii_lpa_to_ethtool_lpa_t(u32 lpa) lpa 264 include/linux/mii.h if (lpa & LPA_LPACK) lpa 267 include/linux/mii.h return result | mii_adv_to_ethtool_adv_t(lpa); lpa 278 include/linux/mii.h static inline u32 mii_stat1000_to_ethtool_lpa_t(u32 lpa) lpa 282 include/linux/mii.h if (lpa & LPA_1000HALF) lpa 284 include/linux/mii.h if (lpa & LPA_1000FULL) lpa 300 include/linux/mii.h u32 lpa) lpa 303 include/linux/mii.h advertising, lpa & LPA_1000HALF); lpa 306 include/linux/mii.h advertising, lpa & LPA_1000FULL); lpa 365 include/linux/mii.h static inline u32 mii_lpa_to_ethtool_lpa_x(u32 lpa) lpa 369 include/linux/mii.h if (lpa & LPA_LPACK) lpa 372 include/linux/mii.h return result | mii_adv_to_ethtool_adv_x(lpa); lpa 431 include/linux/mii.h u32 lpa) lpa 433 include/linux/mii.h mii_adv_to_linkmode_adv_t(lp_advertising, lpa); lpa 435 include/linux/mii.h if (lpa & LPA_LPACK) lpa 450 include/linux/mii.h u32 lpa) lpa 452 include/linux/mii.h mii_adv_mod_linkmode_adv_t(lp_advertising, lpa); lpa 455 include/linux/mii.h lp_advertising, lpa & LPA_LPACK); lpa 229 include/linux/nvme.h __u8 lpa;