Home
last modified time | relevance | path

Searched refs:port_st (Results 1 – 2 of 2) sorted by relevance

/drivers/net/dsa/
Dbcm_sf2.c558 struct bcm_sf2_port_status *port_st; in bcm_sf2_identify_ports() local
575 port_st = &priv->port_sts[port_num]; in bcm_sf2_identify_ports()
582 err = of_get_phy_mode(port, &port_st->mode); in bcm_sf2_identify_ports()
586 if (port_st->mode == PHY_INTERFACE_MODE_INTERNAL) in bcm_sf2_identify_ports()
589 if (port_st->mode == PHY_INTERFACE_MODE_MOCA) in bcm_sf2_identify_ports()
/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs.c255 struct mcs_port_stats port_st; in mcs_clear_stats() local
285 mcs_get_port_stats(mcs, &port_st, id, dir); in mcs_clear_stats()