Home
last modified time | relevance | path

Searched refs:mactype (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmarvell10g.c148 int (*set_mactype)(struct phy_device *phydev, int mactype);
150 int (*init_interface)(struct phy_device *phydev, int mactype);
602 int mactype; in mv2110_get_mactype() local
604 mactype = phy_read_mmd(phydev, MDIO_MMD_PMAPMD, MV_PMA_21X0_PORT_CTRL); in mv2110_get_mactype()
605 if (mactype < 0) in mv2110_get_mactype()
606 return mactype; in mv2110_get_mactype()
608 return mactype & MV_PMA_21X0_PORT_CTRL_MACTYPE_MASK; in mv2110_get_mactype()
611 static int mv2110_set_mactype(struct phy_device *phydev, int mactype) in mv2110_set_mactype() argument
615 mactype &= MV_PMA_21X0_PORT_CTRL_MACTYPE_MASK; in mv2110_set_mactype()
619 MV_PMA_21X0_PORT_CTRL_SWRST | mactype); in mv2110_set_mactype()
656 int mactype; mv3310_get_mactype() local
665 mv3310_set_mactype(struct phy_device *phydev, int mactype) mv3310_set_mactype() argument
705 mv2110_init_interface(struct phy_device *phydev, int mactype) mv2110_init_interface() argument
727 mv3310_init_interface(struct phy_device *phydev, int mactype) mv3310_init_interface() argument
756 mv3340_init_interface(struct phy_device *phydev, int mactype) mv3340_init_interface() argument
775 int err, mactype; mv3310_config_init() local
[all...]

Completed in 3 milliseconds