/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 43 struct mdio_ops { struct 141 const struct mdio_ops *mdio_ops) cphy_init() 146 if (mdio_ops) { cphy_init() 149 phy->mdio.mode_support = mdio_ops->mode_support; cphy_init() 150 phy->mdio.mdio_read = mdio_ops->read; cphy_init() 151 phy->mdio.mdio_write = mdio_ops->write; cphy_init() 160 const struct mdio_ops *mdio_ops); 139 cphy_init(struct cphy *phy, struct net_device *dev, int phy_addr, struct cphy_ops *phy_ops, const struct mdio_ops *mdio_ops) cphy_init() argument
|
H A D | my3126.c | 171 int phy_addr, const struct mdio_ops *mdio_ops) my3126_phy_create() 178 cphy_init(cphy, dev, phy_addr, &my3126_ops, mdio_ops); my3126_phy_create() 170 my3126_phy_create(struct net_device *dev, int phy_addr, const struct mdio_ops *mdio_ops) my3126_phy_create() argument
|
H A D | common.h | 265 struct mdio_ops; 287 const struct mdio_ops *mdio_ops; member in struct:board_info
|
H A D | mv88e1xxx.c | 357 const struct mdio_ops *mdio_ops) mv88e1xxx_phy_create() 365 cphy_init(cphy, dev, phy_addr, &mv88e1xxx_ops, mdio_ops); mv88e1xxx_phy_create() 356 mv88e1xxx_phy_create(struct net_device *dev, int phy_addr, const struct mdio_ops *mdio_ops) mv88e1xxx_phy_create() argument
|
H A D | mv88x201x.c | 212 const struct mdio_ops *mdio_ops) mv88x201x_phy_create() 220 cphy_init(cphy, dev, phy_addr, &mv88x201x_ops, mdio_ops); mv88x201x_phy_create() 211 mv88x201x_phy_create(struct net_device *dev, int phy_addr, const struct mdio_ops *mdio_ops) mv88x201x_phy_create() argument
|
H A D | subr.c | 316 static const struct mdio_ops mi1_mdio_ops = { 375 static const struct mdio_ops mi1_mdio_ext_ops = { 410 .mdio_ops = &mi1_mdio_ext_ops, 430 .mdio_ops = &mi1_mdio_ext_ops, 450 .mdio_ops = &mi1_mdio_ext_ops, 472 .mdio_ops = &mi1_mdio_ext_ops, 494 .mdio_ops = &mi1_mdio_ext_ops, 518 .mdio_ops = &mi1_mdio_ops, 1080 bi->mdio_ops->init(adapter, bi); t1_init_sw_modules() 1092 phy_addr, bi->mdio_ops); for_each_port()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | ael1002.c | 213 int phy_addr, const struct mdio_ops *mdio_ops) t3_ael1002_phy_prep() 215 cphy_init(phy, adapter, phy_addr, &ael1002_ops, mdio_ops, t3_ael1002_phy_prep() 239 int phy_addr, const struct mdio_ops *mdio_ops) t3_ael1006_phy_prep() 241 cphy_init(phy, adapter, phy_addr, &ael1006_ops, mdio_ops, t3_ael1006_phy_prep() 510 int phy_addr, const struct mdio_ops *mdio_ops) t3_ael2005_phy_prep() 512 cphy_init(phy, adapter, phy_addr, &ael2005_ops, mdio_ops, t3_ael2005_phy_prep() 816 const struct mdio_ops *mdio_ops) t3_ael2020_phy_prep() 820 cphy_init(phy, adapter, phy_addr, &ael2020_ops, mdio_ops, t3_ael2020_phy_prep() 871 int phy_addr, const struct mdio_ops *mdio_ops) t3_qt2045_phy_prep() 875 cphy_init(phy, adapter, phy_addr, &qt2045_ops, mdio_ops, t3_qt2045_phy_prep() 935 int phy_addr, const struct mdio_ops *mdio_ops) t3_xaui_direct_phy_prep() 937 cphy_init(phy, adapter, phy_addr, &xaui_direct_ops, mdio_ops, t3_xaui_direct_phy_prep() 212 t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_ael1002_phy_prep() argument 238 t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_ael1006_phy_prep() argument 509 t3_ael2005_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_ael2005_phy_prep() argument 815 t3_ael2020_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_ael2020_phy_prep() argument 870 t3_qt2045_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_qt2045_phy_prep() argument 934 t3_xaui_direct_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_xaui_direct_phy_prep() argument
|
H A D | common.h | 156 struct mdio_ops { struct 171 const struct mdio_ops *mdio_ops; /* MDIO operations */ member in struct:adapter_info 579 const struct mdio_ops *mdio_ops, cphy_init() 586 if (mdio_ops) { cphy_init() 589 phy->mdio.mode_support = mdio_ops->mode_support; cphy_init() 590 phy->mdio.mdio_read = mdio_ops->read; cphy_init() 591 phy->mdio.mdio_write = mdio_ops->write; cphy_init() 758 int phy_addr, const struct mdio_ops *mdio_ops); 760 int phy_addr, const struct mdio_ops *mdio_ops); 762 int phy_addr, const struct mdio_ops *mdio_ops); 764 int phy_addr, const struct mdio_ops *mdio_ops); 766 int phy_addr, const struct mdio_ops *mdio_ops); 768 const struct mdio_ops *mdio_ops); 770 int phy_addr, const struct mdio_ops *mdio_ops); 772 int phy_addr, const struct mdio_ops *mdio_ops); 577 cphy_init(struct cphy *phy, struct adapter *adapter, int phy_addr, struct cphy_ops *phy_ops, const struct mdio_ops *mdio_ops, unsigned int caps, const char *desc) cphy_init() argument
|
H A D | aq100x.c | 267 const struct mdio_ops *mdio_ops) t3_aq100x_phy_prep() 272 cphy_init(phy, adapter, phy_addr, &aq100x_ops, mdio_ops, t3_aq100x_phy_prep() 266 t3_aq100x_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_aq100x_phy_prep() argument
|
H A D | vsc8211.c | 368 int phy_addr, const struct mdio_ops *mdio_ops) t3_vsc8211_phy_prep() 373 cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops, t3_vsc8211_phy_prep() 367 t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops) t3_vsc8211_phy_prep() argument
|
H A D | t3_hw.c | 246 static const struct mdio_ops mi1_mdio_ops = { 311 static const struct mdio_ops mi1_mdio_ext_ops = { 549 int phy_addr, const struct mdio_ops *ops); 3713 ai->mdio_ops); for_each_port()
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
H A D | r8169.c | 788 struct mdio_ops { struct in struct:rtl8169_private 791 } mdio_ops; member in struct:rtl8169_private 1173 tp->mdio_ops.write(tp, location, val); rtl_writephy() 1178 return tp->mdio_ops.read(tp, location); rtl_readphy() 2577 struct mdio_ops org, *ops = &tp->mdio_ops; rtl_phy_write_fw() 4446 struct mdio_ops *ops = &tp->mdio_ops; rtl_init_mdio_ops()
|