Home
last modified time | relevance | path

Searched refs:dw_xpcs (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/net/pcs/
H A Dpcs-xpcs.c20 container_of((pl_pcs), struct dw_xpcs, pcs)
114 int (*pma_config)(struct dw_xpcs *xpcs);
234 static int xpcs_soft_reset(struct dw_xpcs *xpcs, in xpcs_soft_reset()
550 struct dw_xpcs *xpcs; in xpcs_validate()
1414 struct dw_xpcs *xpcs; in xpcs_create_data()
1464 static int xpcs_init_id(struct dw_xpcs *xpcs) in xpcs_init_id()
1481 struct dw_xpcs *xpcs; in xpcs_create()
1526 struct dw_xpcs *xpcs; in xpcs_create_mdiodev()
1548 struct dw_xpcs *xpcs; in xpcs_create_pcs_mdiodev()
1571 struct dw_xpcs *xpcs; in xpcs_create_fwnode()
[all …]
H A Dpcs-xpcs.h108 struct dw_xpcs { struct
119 int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg); argument
120 int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val);
121 int xpcs_modify(struct dw_xpcs *xpcs, int dev, u32 reg, u16 mask, u16 set);
122 int xpcs_read_vpcs(struct dw_xpcs *xpcs, int reg);
123 int xpcs_write_vpcs(struct dw_xpcs *xpcs, int reg, u16 val);
124 int nxp_sja1105_sgmii_pma_config(struct dw_xpcs *xpcs);
125 int nxp_sja1110_sgmii_pma_config(struct dw_xpcs *xpcs);
126 int nxp_sja1110_2500basex_pma_config(struct dw_xpcs *xpcs);
127 int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
H A Dpcs-xpcs-wx.c49 static int txgbe_write_pma(struct dw_xpcs *xpcs, int reg, u16 val) in txgbe_write_pma()
54 static int txgbe_modify_pma(struct dw_xpcs *xpcs, int reg, u16 mask, u16 set) in txgbe_modify_pma()
60 static void txgbe_pma_config_10gbaser(struct dw_xpcs *xpcs) in txgbe_pma_config_10gbaser()
87 static void txgbe_pma_config_1g(struct dw_xpcs *xpcs) in txgbe_pma_config_1g()
116 static int txgbe_pcs_poll_power_up(struct dw_xpcs *xpcs) in txgbe_pcs_poll_power_up()
131 static int txgbe_pma_init_done(struct dw_xpcs *xpcs) in txgbe_pma_init_done()
147 static bool txgbe_xpcs_mode_quirk(struct dw_xpcs *xpcs) in txgbe_xpcs_mode_quirk()
162 int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface) in txgbe_xpcs_switch_mode()
H A Dpcs-xpcs-nxp.c72 int nxp_sja1105_sgmii_pma_config(struct dw_xpcs *xpcs) in nxp_sja1105_sgmii_pma_config()
78 static int nxp_sja1110_pma_config(struct dw_xpcs *xpcs, in nxp_sja1110_pma_config()
169 int nxp_sja1110_sgmii_pma_config(struct dw_xpcs *xpcs) in nxp_sja1110_sgmii_pma_config()
174 int nxp_sja1110_2500basex_pma_config(struct dw_xpcs *xpcs) in nxp_sja1110_2500basex_pma_config()
/linux-6.15/include/linux/pcs/
H A Dpcs-xpcs.h49 struct dw_xpcs;
51 struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs);
52 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
53 void xpcs_config_eee_mult_fact(struct dw_xpcs *xpcs, u8 mult_fact);
54 struct dw_xpcs *xpcs_create_mdiodev(struct mii_bus *bus, int addr);
55 struct dw_xpcs *xpcs_create_fwnode(struct fwnode_handle *fwnode);
56 void xpcs_destroy(struct dw_xpcs *xpcs);
/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dcommon.h605 struct dw_xpcs *xpcs;
H A Dstmmac_mdio.c501 struct dw_xpcs *xpcs = NULL; in stmmac_pcs_setup()