/linux-master/arch/powerpc/include/asm/ |
H A D | tsi108.h | 72 * Specify "bcm54xx" in the compatible property of your device tree phy 93 u32 phyregs; /* phy registers base address */ 94 u16 phy; /* phy address */ member in struct:__anon125 96 u8 mac_addr[6]; /* phy mac address */ 97 u16 phy_type; /* type of phy on board */
|
/linux-master/arch/sh/boards/ |
H A D | board-espt.c | 78 .phy = 0,
|
/linux-master/arch/sh/boards/mach-se/770x/ |
H A D | setup.c | 120 .phy = PHY_ID,
|
/linux-master/drivers/atm/ |
H A D | eni.h | 77 void __iomem *phy; /* PHY interface chip registers */ member in struct:eni_dev
|
H A D | fore200e.h | 442 struct stats_phy phy; /* physical encoding statistics */ member in struct:stats
|
/linux-master/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_phy_8960.c | 9 static void hdmi_phy_8960_powerup(struct hdmi_phy *phy, argument 14 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG2, 0x00); 15 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG0, 0x1b); 16 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG1, 0xf2); 17 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG4, 0x00); 18 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG5, 0x00); 19 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG6, 0x00); 20 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG7, 0x00); 21 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG8, 0x00); 22 hdmi_phy_write(phy, REG_HDMI_8960_PHY_REG 28 hdmi_phy_8960_powerdown(struct hdmi_phy *phy) argument [all...] |
H A D | hdmi_phy_8x74.c | 9 static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy, argument 12 hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG0, 0x1b); 13 hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG1, 0xf2); 14 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_CFG0, 0x0); 15 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN0, 0x0); 16 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN1, 0x0); 17 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN2, 0x0); 18 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN3, 0x0); 19 hdmi_phy_write(phy, REG_HDMI_8x74_PD_CTRL1, 0x20); 22 static void hdmi_phy_8x74_powerdown(struct hdmi_phy *phy) argument [all...] |
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi_common.c | 13 struct hdmi_phy_data *phy) 34 r = hdmi_phy_parse_lanes(phy, lanes); 42 r = hdmi_phy_parse_lanes(phy, default_lanes); 12 hdmi_parse_lanes_of(struct platform_device *pdev, struct device_node *ep, struct hdmi_phy_data *phy) argument
|
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun8i_hdmi_phy_clk.c | 12 struct sun8i_hdmi_phy *phy; member in struct:sun8i_phy_clk 74 regmap_read(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG2_REG, ®); 101 regmap_update_bits(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG2_REG, 113 regmap_read(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG, ®); 127 regmap_update_bits(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG, 143 int sun8i_phy_clk_create(struct sun8i_hdmi_phy *phy, struct device *dev, argument 150 parents[0] = __clk_get_name(phy->clk_pll0); 155 parents[1] = __clk_get_name(phy->clk_pll1); 164 init.name = "hdmi-phy-clk"; 170 priv->phy [all...] |
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | Makefile | 32 dvb-usb-mxl111sf-objs += mxl111sf.o mxl111sf-phy.o mxl111sf-i2c.o
|
/linux-master/drivers/net/ethernet/aeroflex/ |
H A D | greth.h | 5 #include <linux/phy.h>
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | Makefile | 7 xgbe-i2c.o xgbe-phy-v1.o xgbe-phy-v2.o \
|
H A D | xgbe-phy-v1.c | 122 #include <linux/phy.h> 234 struct ethtool_link_ksettings *lks = &pdata->phy.lks; 250 if (pdata->phy.pause_autoneg) { 252 pdata->phy.tx_pause = 0; 253 pdata->phy.rx_pause = 0; 256 pdata->phy.tx_pause = 1; 257 pdata->phy.rx_pause = 1; 260 pdata->phy.rx_pause = 1; 262 pdata->phy.tx_pause = 1; 302 struct ethtool_link_ksettings *slks = &pdata->phy [all...] |
/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_xcv.c | 12 #include <linux/phy.h>
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88e1xxx.c | 86 /* Disable all phy interrupts. */ 125 static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument 129 (void) simple_mdio_read(phy, MII_BMCR, &ctl); 144 (void) simple_mdio_write(phy, MII_BMCR, ctl); 200 static int mv88e1xxx_advertise(struct cphy *phy, unsigned int advertise_map) argument 206 (void) simple_mdio_read(phy, MII_GBCR, &val); 213 (void) simple_mdio_write(phy, MII_GBCR, val); 228 (void) simple_mdio_write(phy, MII_ADVERTISE, val);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | aq100x.c | 65 static int aq100x_reset(struct cphy *phy, int wait) argument 71 int err = t3_phy_reset(phy, MDIO_MMD_VEND1, 3000); 74 CH_WARN(phy->adapter, "PHY%d: reset failed (0x%x).\n", 75 phy->mdio.prtad, err); 80 static int aq100x_intr_enable(struct cphy *phy) argument 82 int err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AQ_IMASK_PMA, IMASK_PMA); 86 err = t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, IMASK_GLOBAL); 90 static int aq100x_intr_disable(struct cphy *phy) argument 92 return t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, 0); 95 static int aq100x_intr_clear(struct cphy *phy) argument 105 aq100x_intr_handler(struct cphy *phy) argument 120 aq100x_power_down(struct cphy *phy, int off) argument 127 aq100x_autoneg_enable(struct cphy *phy) argument 140 aq100x_autoneg_restart(struct cphy *phy) argument 153 aq100x_advertise(struct cphy *phy, unsigned int advertise_map) argument 194 aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) argument 201 aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument 207 aq100x_get_link_status(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc) argument 266 t3_aq100x_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) argument [all...] |
H A D | vsc8211.c | 278 static int vsc8211_set_automdi(struct cphy *phy, int enable) argument 282 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_EXT_PAGE_AXS, 0x52b5); 286 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 18, 0x12); 290 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 17, enable ? 0x2803 : 0x3003); 294 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 16, 0x87fa); 298 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_EXT_PAGE_AXS, 0); 305 int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument 309 err = t3_set_phy_speed_duplex(phy, speed, duplex); 311 err = vsc8211_set_automdi(phy, 1); 367 int t3_vsc8211_phy_prep(struct cphy *phy, struc argument [all...] |
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx.h | 17 #include <linux/phy.h>
|
/linux-master/drivers/net/ethernet/ibm/emac/ |
H A D | Makefile | 8 ibm_emac-y := mal.o core.o phy.o
|
H A D | phy.c | 3 * drivers/net/ethernet/ibm/emac/phy.c 30 #include "phy.h" 35 static inline int _phy_read(struct mii_phy *phy, int reg) argument 37 return phy->mdio_read(phy->dev, phy->address, reg); 40 static inline void _phy_write(struct mii_phy *phy, int reg, int val) argument 42 phy->mdio_write(phy->dev, phy 45 gpcs_phy_read(struct mii_phy *phy, int reg) argument 50 gpcs_phy_write(struct mii_phy *phy, int reg, int val) argument 55 emac_mii_reset_phy(struct mii_phy *phy) argument 79 emac_mii_reset_gpcs(struct mii_phy *phy) argument 110 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) argument 169 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) argument 206 genmii_poll_link(struct mii_phy *phy) argument 220 genmii_read_link(struct mii_phy *phy) argument 306 cis8201_init(struct mii_phy *phy) argument 367 m88e1111_init(struct mii_phy *phy) argument 380 m88e1112_init(struct mii_phy *phy) argument 407 et1011c_init(struct mii_phy *phy) argument 474 ar8035_init(struct mii_phy *phy) argument 510 emac_mii_phy_probe(struct mii_phy *phy, int address) argument [all...] |
H A D | phy.h | 3 * drivers/net/ethernet/ibm/emac/phy.h 29 int (*init) (struct mii_phy * phy); 30 int (*suspend) (struct mii_phy * phy, int wol_options); 31 int (*setup_aneg) (struct mii_phy * phy, u32 advertise); 32 int (*setup_forced) (struct mii_phy * phy, int speed, int fd); 33 int (*poll_link) (struct mii_phy * phy); 34 int (*read_link) (struct mii_phy * phy); 79 int emac_mii_phy_probe(struct mii_phy *phy, int address); 80 int emac_mii_reset_phy(struct mii_phy *phy); 81 int emac_mii_reset_gpcs(struct mii_phy *phy); [all...] |
/linux-master/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.h | 15 #include <linux/phy.h>
|
/linux-master/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_hw.c | 412 u8 phy = adapter->physical_port; local 414 if (phy >= NETXEN_NIU_MAX_XG_PORTS) 421 reg_lo = NETXEN_NIU_XGE_STATION_ADDR_0_1 + (0x10000 * phy); 422 reg_hi = NETXEN_NIU_XGE_STATION_ADDR_0_HI + (0x10000 * phy);
|
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | Makefile | 8 qcom-emac-objs := emac.o emac-mac.o emac-phy.o emac-sgmii.o emac-ethtool.o \
|
H A D | emac-phy.c | 9 #include <linux/phy.h> 118 ret = device_property_read_u32(&pdev->dev, "phy-channel", 121 /* If we can't read a valid phy address, then assume 122 * that there is only one phy on this mdio bus. 144 phy_np = of_parse_phandle(np, "phy-handle", 0); 150 dev_err(&pdev->dev, "could not find external phy\n");
|