dw_xpcs
struct dw_xpcs *xpcs;
struct dw_xpcs *xpcs = NULL;
int nxp_sja1110_sgmii_pma_config(struct dw_xpcs *xpcs)
int nxp_sja1110_2500basex_pma_config(struct dw_xpcs *xpcs)
int nxp_sja1105_sgmii_pma_config(struct dw_xpcs *xpcs)
static int nxp_sja1110_pma_config(struct dw_xpcs *xpcs,
static int txgbe_pcs_poll_power_up(struct dw_xpcs *xpcs)
static int txgbe_pma_init_done(struct dw_xpcs *xpcs)
static bool txgbe_xpcs_mode_quirk(struct dw_xpcs *xpcs)
int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface)
static int txgbe_write_pma(struct dw_xpcs *xpcs, int reg, u16 val)
static int txgbe_modify_pma(struct dw_xpcs *xpcs, int reg, u16 mask, u16 set)
static void txgbe_pma_config_10gbaser(struct dw_xpcs *xpcs)
static void txgbe_pma_config_1g(struct dw_xpcs *xpcs)
static int xpcs_get_state_c37_sgmii(struct dw_xpcs *xpcs,
static int xpcs_get_state_c37_1000basex(struct dw_xpcs *xpcs,
static int xpcs_get_state_2500basex(struct dw_xpcs *xpcs,
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
static void xpcs_link_up_sgmii_1000basex(struct dw_xpcs *xpcs,
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
static int xpcs_config_eee(struct dw_xpcs *xpcs, bool enable)
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
void xpcs_config_eee_mult_fact(struct dw_xpcs *xpcs, u8 mult_fact)
static int xpcs_read_ids(struct dw_xpcs *xpcs)
static int xpcs_identify(struct dw_xpcs *xpcs)
static struct dw_xpcs *xpcs_create_data(struct mdio_device *mdiodev)
struct dw_xpcs *xpcs;
static void xpcs_free_data(struct dw_xpcs *xpcs)
static int xpcs_init_clks(struct dw_xpcs *xpcs)
static void xpcs_clear_clks(struct dw_xpcs *xpcs)
static int xpcs_init_id(struct dw_xpcs *xpcs)
int (*pma_config)(struct dw_xpcs *xpcs);
static struct dw_xpcs *xpcs_create(struct mdio_device *mdiodev)
struct dw_xpcs *xpcs;
struct dw_xpcs *xpcs_create_mdiodev(struct mii_bus *bus, int addr)
struct dw_xpcs *xpcs;
struct dw_xpcs *xpcs;
xpcs_find_compat(struct dw_xpcs *xpcs, phy_interface_t interface)
struct dw_xpcs *xpcs_create_fwnode(struct fwnode_handle *fwnode)
struct dw_xpcs *xpcs;
void xpcs_destroy(struct dw_xpcs *xpcs)
struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs)
int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface)
container_of((pl_pcs), struct dw_xpcs, pcs)
int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg)
int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val)
int xpcs_modify(struct dw_xpcs *xpcs, int dev, u32 reg, u16 mask, u16 set)
static int xpcs_modify_changed(struct dw_xpcs *xpcs, int dev, u32 reg,
static int xpcs_read_vendor(struct dw_xpcs *xpcs, int dev, u32 reg)
static int xpcs_write_vendor(struct dw_xpcs *xpcs, int dev, int reg,
static int xpcs_modify_vendor(struct dw_xpcs *xpcs, int dev, int reg, u16 mask,
int xpcs_read_vpcs(struct dw_xpcs *xpcs, int reg)
int xpcs_write_vpcs(struct dw_xpcs *xpcs, int reg, u16 val)
static int xpcs_modify_vpcs(struct dw_xpcs *xpcs, int reg, u16 mask, u16 val)
static int xpcs_poll_reset(struct dw_xpcs *xpcs, int dev)
static int xpcs_soft_reset(struct dw_xpcs *xpcs,
static int xpcs_read_fault_c73(struct dw_xpcs *xpcs,
static void xpcs_link_up_usxgmii(struct dw_xpcs *xpcs, int speed)
static int _xpcs_config_aneg_c73(struct dw_xpcs *xpcs,
static int xpcs_config_aneg_c73(struct dw_xpcs *xpcs,
static int xpcs_aneg_done_c73(struct dw_xpcs *xpcs,
static int xpcs_read_lpa_c73(struct dw_xpcs *xpcs,
static int xpcs_get_max_xlgmii_speed(struct dw_xpcs *xpcs,
static int xpcs_c45_read_pcs_speed(struct dw_xpcs *xpcs,
static int xpcs_resolve_pma(struct dw_xpcs *xpcs,
struct dw_xpcs *xpcs;
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
static void xpcs_get_interfaces(struct dw_xpcs *xpcs, unsigned long *interfaces)
static int xpcs_switch_interface_mode(struct dw_xpcs *xpcs,
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
static int xpcs_config_aneg_c37_sgmii(struct dw_xpcs *xpcs,
static int xpcs_config_aneg_c37_1000basex(struct dw_xpcs *xpcs,
static int xpcs_config_2500basex(struct dw_xpcs *xpcs)
static int xpcs_do_config(struct dw_xpcs *xpcs, phy_interface_t interface,
struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
static int xpcs_get_state_c73(struct dw_xpcs *xpcs,
int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg);
int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val);
int xpcs_modify(struct dw_xpcs *xpcs, int dev, u32 reg, u16 mask, u16 set);
int xpcs_read_vpcs(struct dw_xpcs *xpcs, int reg);
int xpcs_write_vpcs(struct dw_xpcs *xpcs, int reg, u16 val);
int nxp_sja1105_sgmii_pma_config(struct dw_xpcs *xpcs);
int nxp_sja1110_sgmii_pma_config(struct dw_xpcs *xpcs);
int nxp_sja1110_2500basex_pma_config(struct dw_xpcs *xpcs);
int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
struct dw_xpcs;
struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs);
int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
void xpcs_config_eee_mult_fact(struct dw_xpcs *xpcs, u8 mult_fact);
struct dw_xpcs *xpcs_create_mdiodev(struct mii_bus *bus, int addr);
struct dw_xpcs *xpcs_create_fwnode(struct fwnode_handle *fwnode);
void xpcs_destroy(struct dw_xpcs *xpcs);