Lines Matching refs:phy_device
217 __weak int mv88e61xx_hw_reset(struct phy_device *phydev) in mv88e61xx_hw_reset()
256 static int mv88e61xx_reg_read(struct phy_device *phydev, int dev, int reg) in mv88e61xx_reg_read()
292 static int mv88e61xx_reg_write(struct phy_device *phydev, int dev, int reg, in mv88e61xx_reg_write()
331 static int mv88e61xx_phy_wait(struct phy_device *phydev) in mv88e61xx_phy_wait()
351 struct phy_device *phydev; in mv88e61xx_phy_read_indirect()
354 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_read_indirect()
374 struct phy_device *phydev; in mv88e61xx_phy_write_indirect()
377 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_write_indirect()
396 static int mv88e61xx_phy_read(struct phy_device *phydev, int phy, int reg) in mv88e61xx_phy_read()
403 static int mv88e61xx_phy_write(struct phy_device *phydev, int phy, in mv88e61xx_phy_write()
410 static int mv88e61xx_port_read(struct phy_device *phydev, u8 port, u8 reg) in mv88e61xx_port_read()
415 static int mv88e61xx_port_write(struct phy_device *phydev, u8 port, u8 reg, in mv88e61xx_port_write()
421 static int mv88e61xx_set_page(struct phy_device *phydev, u8 phy, u8 page) in mv88e61xx_set_page()
426 static int mv88e61xx_get_switch_id(struct phy_device *phydev) in mv88e61xx_get_switch_id()
436 static bool mv88e61xx_6352_family(struct phy_device *phydev) in mv88e61xx_6352_family()
450 static int mv88e61xx_get_cmode(struct phy_device *phydev, u8 port) in mv88e61xx_get_cmode()
460 static int mv88e61xx_parse_status(struct phy_device *phydev) in mv88e61xx_parse_status()
517 static int mv88e61xx_switch_reset(struct phy_device *phydev) in mv88e61xx_switch_reset()
563 static int mv88e61xx_serdes_init(struct phy_device *phydev) in mv88e61xx_serdes_init()
583 static int mv88e61xx_port_enable(struct phy_device *phydev, u8 port) in mv88e61xx_port_enable()
600 static int mv88e61xx_port_set_vlan(struct phy_device *phydev, u8 port, in mv88e61xx_port_set_vlan()
630 static int mv88e61xx_read_port_config(struct phy_device *phydev, u8 port) in mv88e61xx_read_port_config()
709 static int mv88e61xx_set_cpu_port(struct phy_device *phydev) in mv88e61xx_set_cpu_port()
757 static int mv88e61xx_switch_init(struct phy_device *phydev) in mv88e61xx_switch_init()
778 static int mv88e61xx_phy_enable(struct phy_device *phydev, u8 phy) in mv88e61xx_phy_enable()
793 static int mv88e61xx_phy_setup(struct phy_device *phydev, u8 phy) in mv88e61xx_phy_setup()
814 static int mv88e61xx_fixed_port_setup(struct phy_device *phydev, u8 port) in mv88e61xx_fixed_port_setup()
835 static int mv88e61xx_phy_config_port(struct phy_device *phydev, u8 phy) in mv88e61xx_phy_config_port()
851 static int mv88e61xx_probe(struct phy_device *phydev) in mv88e61xx_probe()
910 static int mv88e61xx_phy_config(struct phy_device *phydev) in mv88e61xx_phy_config()
965 static int mv88e61xx_phy_is_connected(struct phy_device *phydev) in mv88e61xx_phy_is_connected()
981 static int mv88e61xx_phy_startup(struct phy_device *phydev) in mv88e61xx_phy_startup()
1049 struct phy_device temp_phy; in get_phy_id()