Home
last modified time | relevance | path

Searched defs:phy_addr (Results 1 – 25 of 97) sorted by relevance

1234

/drivers/net/phy/
Dfixed_phy.c73 static int fixed_mdio_read(struct mii_bus *bus, int phy_addr, int reg_num) in fixed_mdio_read()
100 static int fixed_mdio_write(struct mii_bus *bus, int phy_addr, int reg_num, in fixed_mdio_write()
133 static int fixed_phy_add_gpiod(unsigned int irq, int phy_addr, in fixed_phy_add_gpiod()
163 int fixed_phy_add(unsigned int irq, int phy_addr, in fixed_phy_add()
172 static void fixed_phy_del(int phy_addr) in fixed_phy_del()
233 int phy_addr; in __fixed_phy_register() local
Dphy-core.c446 static void mmd_phy_indirect(struct mii_bus *bus, int phy_addr, int devad, in mmd_phy_indirect()
483 int phy_addr = phydev->mdio.addr; in __phy_read_mmd() local
539 int phy_addr = phydev->mdio.addr; in __phy_write_mmd() local
/drivers/net/ethernet/dlink/
Ddl2k.c1345 int phy_addr; in rio_ioctl() local
1430 mii_read (struct net_device *dev, int phy_addr, int reg_num) in mii_read()
1458 mii_write (struct net_device *dev, int phy_addr, int reg_num, u16 data) in mii_write()
1476 int phy_addr; in mii_wait_link() local
1497 int phy_addr; in mii_get_media() local
1583 int phy_addr; in mii_set_media() local
1670 int phy_addr; in mii_get_media_pcs() local
1727 int phy_addr; in mii_set_media_pcs() local
/drivers/net/ethernet/chelsio/cxgb3/
Dael1002.c213 int phy_addr, const struct mdio_ops *mdio_ops) in t3_ael1002_phy_prep()
239 int phy_addr, const struct mdio_ops *mdio_ops) in t3_ael1006_phy_prep()
510 int phy_addr, const struct mdio_ops *mdio_ops) in t3_ael2005_phy_prep()
815 int t3_ael2020_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, in t3_ael2020_phy_prep()
866 int phy_addr, const struct mdio_ops *mdio_ops) in t3_qt2045_phy_prep()
930 int phy_addr, const struct mdio_ops *mdio_ops) in t3_xaui_direct_phy_prep()
/drivers/net/ethernet/arc/
Demac_mdio.c56 static int arc_mdio_read(struct mii_bus *bus, int phy_addr, int reg_num) in arc_mdio_read()
88 static int arc_mdio_write(struct mii_bus *bus, int phy_addr, in arc_mdio_write()
/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c295 static int mi1_mdio_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_read()
312 static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_write()
337 static int mi1_mdio_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_ext_read()
364 static int mi1_mdio_ext_write(struct net_device *dev, int phy_addr, in mi1_mdio_ext_write()
1115 int phy_addr = bi->mdio_phybaseaddr + i; in t1_init_sw_modules() local
Dmy3126.c172 int phy_addr, const struct mdio_ops *mdio_ops) in my3126_phy_create()
/drivers/net/ethernet/aquantia/atlantic/
Daq_phy.c28 u16 phy_addr = aq_hw->phy_id << 5 | mmd; in aq_mdio_read_word() local
54 u16 phy_addr = aq_hw->phy_id << 5 | mmd; in aq_mdio_write_word() local
/drivers/net/mdio/
Dmdio-ipq8064.c53 ipq8064_mdio_read(struct mii_bus *bus, int phy_addr, int reg_offset) in ipq8064_mdio_read()
79 ipq8064_mdio_write(struct mii_bus *bus, int phy_addr, int reg_offset, u16 data) in ipq8064_mdio_write()
Dmdio-xgene.c263 struct phy_device *xgene_enet_phy_register(struct mii_bus *bus, int phy_addr) in xgene_enet_phy_register()
286 u32 phy_addr; in acpi_register_phy() local
/drivers/staging/netlogic/
Dxlr_net.c597 static int xlr_phy_write(u32 *base_addr, int phy_addr, int regnum, u16 val) in xlr_phy_write()
627 static int xlr_phy_read(u32 *base_addr, int phy_addr, int regnum) in xlr_phy_read()
664 static int xlr_mii_write(struct mii_bus *bus, int phy_addr, int regnum, u16 val) in xlr_mii_write()
675 static int xlr_mii_read(struct mii_bus *bus, int phy_addr, int regnum) in xlr_mii_read()
Dplatform_net.h19 int phy_addr[PORTS_PER_CONTROLLER]; member
/drivers/net/ethernet/amd/
Dau1000_eth.c269 static int au1000_mdio_read(struct net_device *dev, int phy_addr, int reg) in au1000_mdio_read()
301 static void au1000_mdio_write(struct net_device *dev, int phy_addr, in au1000_mdio_write()
325 static int au1000_mdiobus_read(struct mii_bus *bus, int phy_addr, int regnum) in au1000_mdiobus_read()
337 static int au1000_mdiobus_write(struct mii_bus *bus, int phy_addr, int regnum, in au1000_mdiobus_write()
476 int phy_addr; in au1000_mii_probe() local
/drivers/i2c/busses/
Di2c-at91-master.c747 static int at91_twi_configure_dma(struct at91_twi_dev *dev, u32 phy_addr) in at91_twi_configure_dma()
880 u32 phy_addr, struct at91_twi_dev *dev) in at91_twi_probe_master()
Di2c-stm32.c13 dma_addr_t phy_addr, in stm32_i2c_dma_request()
Di2c-at91-slave.c120 u32 phy_addr, struct at91_twi_dev *dev) in at91_twi_probe_slave()
/drivers/net/ethernet/intel/e1000e/
Dphy.c2283 u32 phy_addr = 0; in e1000e_determine_phy_address() local
2320 u32 phy_addr = 2; in e1000_get_phy_addr_for_bm_page() local
2744 u32 phy_addr = hw->phy.addr = e1000_get_phy_addr_for_hv_page(page); in __e1000_read_phy_reg_hv() local
2852 u32 phy_addr = hw->phy.addr = e1000_get_phy_addr_for_hv_page(page); in __e1000_write_phy_reg_hv() local
2966 u32 phy_addr = 2; in e1000_get_phy_addr_for_hv_page() local
/drivers/net/ethernet/rdc/
Dr6040.c200 static int r6040_phy_read(void __iomem *ioaddr, int phy_addr, int reg) in r6040_phy_read()
222 int phy_addr, int reg, u16 val) in r6040_phy_write()
241 static int r6040_mdiobus_read(struct mii_bus *bus, int phy_addr, int reg) in r6040_mdiobus_read()
250 static int r6040_mdiobus_write(struct mii_bus *bus, int phy_addr, in r6040_mdiobus_write()
/drivers/net/ethernet/dec/tulip/
Duli526x.c161 u8 phy_addr; member
1591 static void phy_writeby_cr9(struct uli526x_board_info *db, u8 phy_addr, in phy_writeby_cr9()
1625 static u16 phy_readby_cr9(struct uli526x_board_info *db, u8 phy_addr, u8 offset) in phy_readby_cr9()
1662 static u16 phy_readby_cr10(struct uli526x_board_info *db, u8 phy_addr, in phy_readby_cr10()
1680 static void phy_writeby_cr10(struct uli526x_board_info *db, u8 phy_addr, in phy_writeby_cr10()
/drivers/net/ethernet/socionext/
Dnetsec.c308 u32 phy_addr; member
469 int phy_addr, int reg, u16 val) in netsec_phy_write()
499 static int netsec_phy_read(struct mii_bus *bus, int phy_addr, int reg_addr) in netsec_phy_read()
1844 struct netsec_priv *priv, u32 *phy_addr) in netsec_of_probe()
1884 struct netsec_priv *priv, u32 *phy_addr) in netsec_acpi_probe()
1927 static int netsec_register_mdio(struct netsec_priv *priv, u32 phy_addr) in netsec_register_mdio()
1999 u32 hw_ver, phy_addr = 0; in netsec_probe() local
/drivers/net/ethernet/sis/
Dsis900.c149 int phy_addr; member
604 int phy_addr; in sis900_mii_probe() local
994 static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr) in sis900_reset_phy()
1451 static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr) in sis900_auto_negotiate()
1490 int phy_addr = sis_priv->cur_phy; in sis900_read_mode() local
/drivers/net/ethernet/stmicro/stmmac/
Dchain_mode.c98 static void init_dma_chain(void *des, dma_addr_t phy_addr, in init_dma_chain()
/drivers/net/wireless/intel/iwlwifi/fw/
Dpaging.c253 __le32 phy_addr; in iwl_send_paging_cmd() local
/drivers/net/ethernet/intel/i40e/
Di40e_common.c4509 u16 reg, u8 phy_addr, u16 *value) in i40e_read_phy_register_clause22()
4554 u16 reg, u8 phy_addr, u16 value) in i40e_write_phy_register_clause22()
4595 u8 page, u16 reg, u8 phy_addr, u16 *value) in i40e_read_phy_register_clause45()
4669 u8 page, u16 reg, u8 phy_addr, u16 value) in i40e_write_phy_register_clause45()
4736 u8 page, u16 reg, u8 phy_addr, u16 value) in i40e_write_phy_register()
4774 u8 page, u16 reg, u8 phy_addr, u16 *value) in i40e_read_phy_register()
4829 u8 phy_addr = 0; in i40e_blink_phy_link_led() local
4899 u8 phy_addr = 0; in i40e_led_get_reg() local
4933 u8 phy_addr = 0; in i40e_led_set_reg() local
4969 u8 phy_addr = 0; in i40e_led_get_phy() local
/drivers/net/ethernet/qualcomm/emac/
Demac-phy.c111 u32 phy_addr; in emac_phy_config() local

1234