/linux-4.4.14/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 31 #define phy_read _phy_read macro 59 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy() 67 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy() 119 ctl = phy_read(phy, MII_BMCR); in genmii_setup_aneg() 128 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 149 adv = phy_read(phy, MII_CTRL1000); in genmii_setup_aneg() 161 ctl = phy_read(phy, MII_BMCR); in genmii_setup_aneg() 177 ctl = phy_read(phy, MII_BMCR); in genmii_setup_forced() 210 phy_read(phy, MII_BMSR); in genmii_poll_link() 211 status = phy_read(phy, MII_BMSR); in genmii_poll_link() [all …]
|
/linux-4.4.14/drivers/net/phy/ |
D | at803x.c | 68 context->bmcr = phy_read(phydev, MII_BMCR); in at803x_context_save() 69 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save() 70 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save() 71 context->int_enable = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_context_save() 72 context->smart_speed = phy_read(phydev, AT803X_SMART_SPEED); in at803x_context_save() 73 context->led_control = phy_read(phydev, AT803X_LED_CONTROL); in at803x_context_save() 121 value = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_set_wol() 126 value = phy_read(phydev, AT803X_INTR_STATUS); in at803x_set_wol() 128 value = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_set_wol() 133 value = phy_read(phydev, AT803X_INTR_STATUS); in at803x_set_wol() [all …]
|
D | marvell.c | 145 err = phy_read(phydev, MII_M1011_IEVENT); in marvell_ack_interrupt() 172 reg = phy_read(phydev, MII_M1011_PHY_SCR); in marvell_set_polarity() 255 bmcr = phy_read(phydev, MII_BMCR); in marvell_config_aneg() 294 saved_page = phy_read(phydev, MII_MARVELL_PHY_PAGE); in marvell_of_reg_init() 319 val = phy_read(phydev, reg); in marvell_of_reg_init() 352 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1121_config_aneg() 361 mscr = phy_read(phydev, MII_88E1121_PHY_MSCR_REG) & in m88e1121_config_aneg() 388 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1121_config_aneg() 403 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1318_config_aneg() 410 mscr = phy_read(phydev, MII_88E1318S_PHY_MSCR1_REG); in m88e1318_config_aneg() [all …]
|
D | lxt.c | 68 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt() 73 err = phy_read(phydev, MII_LXT970_ISR); in lxt970_ack_interrupt() 105 int err = phy_read(phydev, MII_LXT971_ISR); in lxt971_ack_interrupt() 137 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link() 142 control = phy_read(phydev, MII_BMCR); in lxt973a2_update_link() 148 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link() 177 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status() 183 lpa = phy_read(phydev, MII_LPA); in lxt973a2_read_status() 219 int bmcr = phy_read(phydev, MII_BMCR); in lxt973a2_read_status() 244 int val = phy_read(phydev, MII_LXT973_PCR); in lxt973_probe() [all …]
|
D | smsc.c | 39 int rc = phy_read (phydev, MII_LAN83C185_ISF); in smsc_phy_ack_interrupt() 49 int rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in smsc_phy_config_init() 71 int rc = phy_read(phydev, MII_LAN83C185_SPECIAL_MODES); in smsc_phy_reset() 91 rc = phy_read(phydev, MII_BMCR); in smsc_phy_reset() 118 int rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status() 131 rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status() 139 rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status()
|
D | bcm87xx.c | 64 val = phy_read(phydev, regnum); in bcm87xx_of_reg_init() 110 rx_signal_detect = phy_read(phydev, BCM87XX_PMD_RX_SIGNAL_DETECT); in bcm87xx_read_status() 117 pcs_status = phy_read(phydev, BCM87XX_10GBASER_PCS_STATUS); in bcm87xx_read_status() 124 xgxs_lane_status = phy_read(phydev, BCM87XX_XGXS_LANE_STATUS); in bcm87xx_read_status() 145 reg = phy_read(phydev, BCM87XX_LASI_CONTROL); in bcm87xx_config_intr() 163 reg = phy_read(phydev, BCM87XX_LASI_STATUS); in bcm87xx_did_interrupt()
|
D | icplus.c | 108 bmcr = phy_read(phydev, MII_BMCR); in ip1xx_reset() 117 bmcr = phy_read(phydev, MII_BMCR); in ip1xx_reset() 134 c = phy_read(phydev, IP1001_SPEC_CTRL_STATUS_2); in ip1001_config_init() 144 c = phy_read(phydev, IP10XX_SPEC_CTRL_STATUS); in ip1001_config_init() 179 c = phy_read(phydev, IP10XX_SPEC_CTRL_STATUS); in ip101a_g_config_init() 206 int err = phy_read(phydev, IP101A_G_IRQ_CONF_STATUS); in ip101a_g_ack_interrupt()
|
D | bcm-phy-lib.c | 44 val = phy_read(phydev, MII_BCM54XX_EXP_DATA); in bcm_phy_read_exp() 64 tmp = phy_read(phydev, MII_BCM54XX_AUX_CTL); in bcm_phy_write_misc() 88 tmp = phy_read(phydev, MII_BCM54XX_AUX_CTL); in bcm_phy_read_misc() 106 reg = phy_read(phydev, MII_BCM54XX_ISR); in bcm_phy_ack_intr() 118 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm_phy_config_intr() 134 return MII_BCM54XX_SHD_DATA(phy_read(phydev, MII_BCM54XX_SHD)); in bcm_phy_read_shadow()
|
D | ste10Xp.c | 40 value = phy_read(phydev, MII_BMCR); in ste10Xp_config_init() 50 value = phy_read(phydev, MII_BMCR); in ste10Xp_config_init() 65 value = phy_read(phydev, MII_XCIIS); in ste10Xp_config_intr() 77 int err = phy_read(phydev, MII_XCIIS); in ste10Xp_ack_interrupt()
|
D | qsemi.c | 83 err = phy_read(phydev, MII_QS6612_ISR); in qs6612_ack_interrupt() 88 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt() 93 err = phy_read(phydev, MII_EXPANSION); in qs6612_ack_interrupt()
|
D | et1011c.c | 55 ctl = phy_read(phydev, MII_BMCR); in et1011c_config_aneg() 75 val = phy_read(phydev, ET1011C_STATUS_REG); in et1011c_read_status() 78 val = phy_read(phydev, ET1011C_CONFIG_REG); in et1011c_read_status()
|
D | phy_device.c | 573 ret = phy_read(phydev, MII_BMCR); in phy_poll_reset() 826 adv = phy_read(phydev, MII_ADVERTISE); in genphy_config_advert() 843 bmsr = phy_read(phydev, MII_BMSR); in genphy_config_advert() 855 adv = phy_read(phydev, MII_CTRL1000); in genphy_config_advert() 910 int ctl = phy_read(phydev, MII_BMCR); in genphy_restart_aneg() 946 int ctl = phy_read(phydev, MII_BMCR); in genphy_config_aneg() 975 int retval = phy_read(phydev, MII_BMSR); in genphy_aneg_done() 999 status = phy_read(phydev, MII_BMSR); in genphy_update_link() 1004 status = phy_read(phydev, MII_BMSR); in genphy_update_link() 1045 lpagb = phy_read(phydev, MII_STAT1000); in genphy_read_status() [all …]
|
D | broadcom.c | 182 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm54xx_config_init() 329 reg = phy_read(phydev, 0x18); in bcm5481_config_aneg() 344 val = phy_read(phydev, reg); in brcm_phy_setbits() 360 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_config_init() 376 brcmtest = phy_read(phydev, MII_BRCM_FET_BRCMTEST); in brcm_fet_config_init() 387 reg = phy_read(phydev, MII_BRCM_FET_SHDW_AUXMODE4); in brcm_fet_config_init() 426 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_ack_interrupt() 437 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_config_intr()
|
D | micrel.c | 133 return phy_read(phydev, MII_KSZPHY_EXTREG_READ); in kszphy_extended_read() 141 rc = phy_read(phydev, MII_KSZPHY_INTCS); in kszphy_ack_interrupt() 158 temp = phy_read(phydev, MII_KSZPHY_CTRL); in kszphy_config_intr() 177 ctrl = phy_read(phydev, MII_KSZPHY_CTRL); in kszphy_rmii_clk_sel() 204 temp = phy_read(phydev, reg); in kszphy_setup_led() 227 ret = phy_read(phydev, MII_KSZPHY_OMSO); in kszphy_broadcast_disable() 243 ret = phy_read(phydev, MII_KSZPHY_OMSO); in kszphy_nand_tree_disable() 403 return phy_read(phydev, MII_KSZ9031RN_MMD_REGDATA_REG); in ksz9031_extended_read() 506 regval = phy_read(phydev, KSZ8873MLL_GLOBAL_CONTROL_4); in ksz8873mll_read_status() 508 regval = phy_read(phydev, KSZ8873MLL_GLOBAL_CONTROL_4); in ksz8873mll_read_status() [all …]
|
D | national.c | 62 return phy_read(phydev, NS_EXP_MEM_DATA); in ns_exp_read() 86 int ret = phy_read(phydev, DP83865_INT_STATUS); in ns_ack_interrupt() 99 int bmcr = phy_read(phydev, MII_BMCR); in ns_giga_speed_fallback()
|
D | amd.c | 36 err = phy_read(phydev, MII_BMSR); in am79c_ack_interrupt() 40 err = phy_read(phydev, MII_AM79C_IR); in am79c_ack_interrupt()
|
D | realtek.c | 40 err = phy_read(phydev, RTL821x_INSR); in rtl821x_ack_interrupt() 50 err = phy_read(phydev, RTL8211F_INSR); in rtl8211f_ack_interrupt() 108 reg = phy_read(phydev, 0x11); in rtl8211f_config_init()
|
D | microchip.c | 40 rc = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_phy_config_intr() 53 int rc = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_phy_ack_interrupt()
|
D | vitesse.c | 83 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_add_skew() 123 err = phy_read(phydev, MII_VSC8244_ISTAT); in vsc824x_ack_interrupt() 145 err = phy_read(phydev, MII_VSC8244_ISTAT); in vsc82xx_config_intr()
|
D | davicom.c | 70 temp = phy_read(phydev, MII_DM9161_INTR); in dm9161_config_intr() 142 int err = phy_read(phydev, MII_DM9161_INTR); in dm9161_ack_interrupt()
|
D | bcm7xxx.c | 180 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_config_init() 231 v = phy_read(dev, location); in phy_set_clr_bits() 251 phy_read(phydev, MII_BCM7XXX_AUX_MODE); in bcm7xxx_config_init()
|
D | dp83867.c | 72 int err = phy_read(phydev, MII_DP83867_ISR); in dp83867_ack_interrupt() 85 micr_status = phy_read(phydev, MII_DP83867_MICR); in dp83867_config_intr()
|
D | bcm63xx.c | 28 reg = phy_read(phydev, MII_BCM63XX_IR); in bcm63xx_config_init()
|
D | dp83848.c | 41 int err = phy_read(phydev, DP83848_MISR); in dp83848_ack_interrupt()
|
D | cicada.c | 86 int err = phy_read(phydev, MII_CIS8201_ISTAT); in cis820x_ack_interrupt()
|
D | bcm-cygnus.c | 83 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm_cygnus_config_init()
|
D | dp83640.c | 238 val = phy_read(phydev, regnum); in ext_read() 605 val = phy_read(phydev, PHYCR2); in enable_broadcast() 1230 int err = phy_read(phydev, MII_DP83640_MISR); in dp83640_ack_interrupt() 1245 misr = phy_read(phydev, MII_DP83640_MISR); in dp83640_config_intr() 1257 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr() 1265 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr() 1275 misr = phy_read(phydev, MII_DP83640_MISR); in dp83640_config_intr()
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
D | mpc85xx_mds.c | 74 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock() 89 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock() 110 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 126 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 131 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 144 temp = phy_read(phydev, 16); in mpc8568_mds_phy_fixups()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | mach-imx6q.c | 120 val = phy_read(dev, 0xe); in ar8031_phy_fixup() 127 val = phy_read(dev, 0x1e); in ar8031_phy_fixup() 147 val = phy_read(dev, 0xe); in ar8035_phy_fixup() 160 val = phy_read(dev, 0x0); in ar8035_phy_fixup()
|
D | mach-imx7d.c | 32 val = phy_read(dev, 0xe); in ar8031_phy_fixup() 38 val = phy_read(dev, 0x1e); in ar8031_phy_fixup()
|
D | mach-imx6sx.c | 31 val = phy_read(dev, 0x1e); in ar8031_phy_fixup()
|
/linux-4.4.14/drivers/net/dsa/ |
D | mv88e6123_61_65.c | 109 .phy_read = mv88e6xxx_phy_read,
|
D | mv88e6171.c | 95 .phy_read = mv88e6xxx_phy_read_indirect,
|
D | mv88e6131.c | 166 .phy_read = mv88e6131_phy_read,
|
D | mv88e6060.c | 244 .phy_read = mv88e6060_phy_read,
|
D | mv88e6352.c | 308 .phy_read = mv88e6xxx_phy_read_indirect,
|
D | bcm_sf2.c | 1373 .phy_read = bcm_sf2_sw_phy_read,
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | phy_common.h | 167 u16 (*phy_read)(struct b43_wldev *dev, u16 reg); member
|
D | phy_common.c | 284 if (dev->phy.ops->phy_read) in b43_phy_read() 285 return dev->phy.ops->phy_read(dev, reg); in b43_phy_read()
|
D | phy_a.c | 581 .phy_read = b43_aphy_op_read,
|
D | phy_g.c | 3040 .phy_read = b43_gphy_op_read,
|
/linux-4.4.14/include/net/ |
D | dsa.h | 222 int (*phy_read)(struct dsa_switch *ds, int port, int regnum); member
|
/linux-4.4.14/drivers/net/usb/ |
D | lan78xx.c | 841 ret = phy_read(phydev, LAN88XX_INT_STS); in lan78xx_link_reset() 869 ret = phy_read(phydev, LAN88XX_INT_STS); in lan78xx_link_reset() 890 ladv = phy_read(phydev, MII_ADVERTISE); in lan78xx_link_reset() 894 radv = phy_read(phydev, MII_LPA); in lan78xx_link_reset() 1184 buf = phy_read(phydev, LAN88XX_EXT_MODE_CTRL); in lan78xx_get_mdix_status() 1199 buf = phy_read(phydev, LAN88XX_EXT_MODE_CTRL); in lan78xx_set_mdix_status() 1208 buf = phy_read(phydev, LAN88XX_EXT_MODE_CTRL); in lan78xx_set_mdix_status() 1217 buf = phy_read(phydev, LAN88XX_EXT_MODE_CTRL); in lan78xx_set_mdix_status() 1279 temp = phy_read(phydev, MII_BMCR); in lan78xx_set_settings()
|
/linux-4.4.14/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 913 u16 lcladv = phy_read(phy_dev, MII_ADVERTISE); in smsc911x_phy_update_flowcontrol() 914 u16 rmtadv = phy_read(phy_dev, MII_LPA); in smsc911x_phy_update_flowcontrol() 1359 rc = phy_read(pdata->phy_dev, MII_BMCR); in smsc911x_phy_general_power_up() 1388 rc = phy_read(pdata->phy_dev, MII_LAN83C185_CTRL_STATUS); in smsc911x_phy_disable_energy_detect() 1419 rc = phy_read(pdata->phy_dev, MII_LAN83C185_CTRL_STATUS); in smsc911x_phy_enable_energy_detect()
|
D | smsc9420.c | 1100 u16 lcladv = phy_read(phy_dev, MII_ADVERTISE); in smsc9420_phy_update_flowcontrol() 1101 u16 rmtadv = phy_read(phy_dev, MII_LPA); in smsc9420_phy_update_flowcontrol()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 1803 adapter->phy_read = nx_fw_cmd_query_phy; in netxen_setup_hwops() 1910 if (adapter->phy_read && in netxen_nic_set_link_parameters() 1911 adapter->phy_read(adapter, in netxen_nic_set_link_parameters() 1940 if (adapter->phy_read && in netxen_nic_set_link_parameters() 1941 adapter->phy_read(adapter, in netxen_nic_set_link_parameters()
|
D | netxen_nic.h | 1663 int (*phy_read) (struct netxen_adapter *, u32 reg, u32 *); member
|
/linux-4.4.14/include/linux/ |
D | phy.h | 648 static inline int phy_read(struct phy_device *phydev, u32 regnum) in phy_read() function
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | board-dm644x-evm.c | 742 control = phy_read(phydev, 26); in davinci_phy_fixup()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | tc35815.c | 602 phy_read(phydev, MII_BMCR), in tc_handle_link_change() 603 phy_read(phydev, MII_BMSR), in tc_handle_link_change() 604 phy_read(phydev, MII_LPA)); in tc_handle_link_change()
|
/linux-4.4.14/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 933 bmcr = phy_read(lp->phy_dev, MII_BMCR); in xemaclite_open()
|
/linux-4.4.14/net/dsa/ |
D | slave.c | 30 return ds->drv->phy_read(ds, addr, reg); in dsa_slave_phy_read()
|
/linux-4.4.14/Documentation/networking/ |
D | phy.txt | 173 int phy_read(struct phy_device *phydev, u16 regnum);
|
/linux-4.4.14/drivers/net/ethernet/aeroflex/ |
D | greth.c | 1319 retval = phy_read(phydev, MII_BMSR); in phy_aneg_done()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 1384 value = phy_read(tbiphy, ENET_TBI_MII_CR); in adjust_enet_interface() 1707 if (phy_read(tbiphy, ENET_TBI_MII_SR) & TBISR_LSTATUS) { in uec_configure_serdes()
|
D | gianfar.c | 1839 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes()
|
/linux-4.4.14/Documentation/networking/dsa/ |
D | dsa.txt | 410 - phy_read: Function invoked by the DSA slave MDIO bus when attempting to read
|