/linux-4.1.27/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.1.27/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 | 142 err = phy_read(phydev, MII_M1011_IEVENT); in marvell_ack_interrupt() 216 bmcr = phy_read(phydev, MII_BMCR); in marvell_config_aneg() 255 saved_page = phy_read(phydev, MII_MARVELL_PHY_PAGE); in marvell_of_reg_init() 280 val = phy_read(phydev, reg); in marvell_of_reg_init() 313 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1121_config_aneg() 325 mscr = phy_read(phydev, MII_88E1121_PHY_MSCR_REG) & in m88e1121_config_aneg() 352 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1121_config_aneg() 367 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1318_config_aneg() 374 mscr = phy_read(phydev, MII_88E1318S_PHY_MSCR1_REG); in m88e1318_config_aneg() 404 temp = phy_read(phydev, MII_BMCR); in m88e1116r_config_init() [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 | 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 | smsc.c | 39 int rc = phy_read (phydev, MII_LAN83C185_ISF); in smsc_phy_ack_interrupt() 46 int rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in smsc_phy_config_init() 62 int rc = phy_read(phydev, MII_LAN83C185_SPECIAL_MODES); in smsc_phy_reset() 82 rc = phy_read(phydev, MII_BMCR); in smsc_phy_reset() 110 int rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status() 123 rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status()
|
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() 147 c = phy_read(phydev, IP10XX_SPEC_CTRL_STATUS); in ip1001_config_init() 182 c = phy_read(phydev, IP10XX_SPEC_CTRL_STATUS); in ip101a_g_config_init() 209 int err = phy_read(phydev, IP101A_G_IRQ_CONF_STATUS); in ip101a_g_ack_interrupt()
|
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 | phy_device.c | 523 ret = phy_read(phydev, MII_BMCR); in phy_poll_reset() 760 adv = phy_read(phydev, MII_ADVERTISE); in genphy_config_advert() 777 bmsr = phy_read(phydev, MII_BMSR); in genphy_config_advert() 789 adv = phy_read(phydev, MII_CTRL1000); in genphy_config_advert() 844 int ctl = phy_read(phydev, MII_BMCR); in genphy_restart_aneg() 880 int ctl = phy_read(phydev, MII_BMCR); in genphy_config_aneg() 909 int retval = phy_read(phydev, MII_BMSR); in genphy_aneg_done() 933 status = phy_read(phydev, MII_BMSR); in genphy_update_link() 938 status = phy_read(phydev, MII_BMSR); in genphy_update_link() 979 lpagb = phy_read(phydev, MII_STAT1000); in genphy_read_status() [all …]
|
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 | broadcom.c | 41 val = phy_read(phydev, MII_BCM54XX_EXP_DATA); in bcm54xx_exp_read() 214 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm54xx_config_init() 342 reg = phy_read(phydev, MII_BCM54XX_ISR); in bcm54xx_ack_interrupt() 353 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm54xx_config_intr() 390 reg = phy_read(phydev, 0x18); in bcm5481_config_aneg() 405 val = phy_read(phydev, reg); in brcm_phy_setbits() 421 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_config_init() 437 brcmtest = phy_read(phydev, MII_BRCM_FET_BRCMTEST); in brcm_fet_config_init() 448 reg = phy_read(phydev, MII_BRCM_FET_SHDW_AUXMODE4); in brcm_fet_config_init() 487 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_ack_interrupt() [all …]
|
D | bcm63xx.c | 27 reg = phy_read(phydev, MII_BCM63XX_IR); in bcm63xx_config_init() 50 reg = phy_read(phydev, MII_BCM63XX_IR); in bcm63xx_ack_interrupt() 61 reg = phy_read(phydev, MII_BCM63XX_IR); in bcm63xx_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() 388 return phy_read(phydev, MII_KSZ9031RN_MMD_REGDATA_REG); in ksz9031_extended_read() 474 regval = phy_read(phydev, KSZ8873MLL_GLOBAL_CONTROL_4); in ksz8873mll_read_status() 476 regval = phy_read(phydev, KSZ8873MLL_GLOBAL_CONTROL_4); in ksz8873mll_read_status()
|
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 | vitesse.c | 82 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_add_skew() 122 err = phy_read(phydev, MII_VSC8244_ISTAT); in vsc824x_ack_interrupt() 143 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 | 65 tmp = phy_read(phydev, MII_BCM54XX_AUX_CTL); in phy_write_misc() 295 v = phy_read(dev, location); in phy_set_clr_bits() 315 phy_read(phydev, MII_BCM7XXX_AUX_MODE); in bcm7xxx_config_init()
|
D | realtek.c | 36 err = phy_read(phydev, RTL821x_INSR); in rtl821x_ack_interrupt()
|
D | cicada.c | 86 int err = phy_read(phydev, MII_CIS8201_ISTAT); in cis820x_ack_interrupt()
|
D | dp83640.c | 237 val = phy_read(phydev, regnum); in ext_read() 604 val = phy_read(phydev, PHYCR2); in enable_broadcast() 1218 int err = phy_read(phydev, MII_DP83640_MISR); in dp83640_ack_interrupt() 1233 misr = phy_read(phydev, MII_DP83640_MISR); in dp83640_config_intr() 1245 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr() 1253 micr = phy_read(phydev, MII_DP83640_MICR); in dp83640_config_intr() 1263 misr = phy_read(phydev, MII_DP83640_MISR); in dp83640_config_intr()
|
/linux-4.1.27/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.1.27/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-imx6sx.c | 31 val = phy_read(dev, 0x1e); in ar8031_phy_fixup()
|
/linux-4.1.27/include/linux/ |
D | brcmphy.h | 212 return MII_BCM54XX_SHD_DATA(phy_read(phydev, MII_BCM54XX_SHD)); in bcm54xx_shadow_read()
|
D | phy.h | 636 static inline int phy_read(struct phy_device *phydev, u32 regnum) in phy_read() function
|
/linux-4.1.27/drivers/net/dsa/ |
D | mv88e6123_61_65.c | 286 .phy_read = mv88e6xxx_phy_read,
|
D | mv88e6131.c | 308 .phy_read = mv88e6131_phy_read,
|
D | mv88e6171.c | 289 .phy_read = mv88e6xxx_phy_read_indirect,
|
D | mv88e6060.c | 281 .phy_read = mv88e6060_phy_read,
|
D | mv88e6352.c | 528 .phy_read = mv88e6xxx_phy_read_indirect,
|
D | bcm_sf2.c | 1042 .phy_read = bcm_sf2_sw_phy_read,
|
/linux-4.1.27/include/net/ |
D | dsa.h | 212 int (*phy_read)(struct dsa_switch *ds, int port, int regnum); member
|
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 916 u16 lcladv = phy_read(phy_dev, MII_ADVERTISE); in smsc911x_phy_update_flowcontrol() 917 u16 rmtadv = phy_read(phy_dev, MII_LPA); in smsc911x_phy_update_flowcontrol() 1361 rc = phy_read(pdata->phy_dev, MII_BMCR); in smsc911x_phy_general_power_up() 1390 rc = phy_read(pdata->phy_dev, MII_LAN83C185_CTRL_STATUS); in smsc911x_phy_disable_energy_detect() 1421 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.1.27/arch/arm/mach-davinci/ |
D | board-dm644x-evm.c | 744 control = phy_read(phydev, 26); in davinci_phy_fixup()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 931 bmcr = phy_read(lp->phy_dev, MII_BMCR); in xemaclite_open()
|
/linux-4.1.27/net/dsa/ |
D | slave.c | 29 return ds->drv->phy_read(ds, addr, reg); in dsa_slave_phy_read()
|
/linux-4.1.27/Documentation/networking/ |
D | phy.txt | 173 int phy_read(struct phy_device *phydev, u16 regnum);
|
/linux-4.1.27/drivers/net/ethernet/aeroflex/ |
D | greth.c | 1321 retval = phy_read(phydev, MII_BMSR); in phy_aneg_done()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 1384 value = phy_read(tbiphy, ENET_TBI_MII_CR); in adjust_enet_interface() 1705 if (phy_read(tbiphy, ENET_TBI_MII_SR) & TBISR_LSTATUS) in uec_configure_serdes()
|
D | gianfar.c | 1783 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) in gfar_configure_serdes()
|