Lines Matching refs:prestera_port

27 int prestera_port_pvid_set(struct prestera_port *port, u16 vid)  in prestera_port_pvid_set()
50 struct prestera_port *prestera_port_find_by_hwid(struct prestera_switch *sw, in prestera_port_find_by_hwid()
53 struct prestera_port *port = NULL; in prestera_port_find_by_hwid()
65 struct prestera_port *prestera_find_port(struct prestera_switch *sw, u32 id) in prestera_find_port()
67 struct prestera_port *port = NULL; in prestera_find_port()
81 struct prestera_port *port = netdev_priv(dev); in prestera_port_open()
95 struct prestera_port *port = netdev_priv(dev); in prestera_port_close()
113 static int prestera_is_valid_mac_addr(struct prestera_port *port, u8 *addr) in prestera_is_valid_mac_addr()
129 struct prestera_port *port = netdev_priv(dev); in prestera_port_set_mac_address()
148 struct prestera_port *port = netdev_priv(dev); in prestera_port_change_mtu()
163 struct prestera_port *port = netdev_priv(dev); in prestera_port_get_stats64()
190 static void prestera_port_get_hw_stats(struct prestera_port *port) in prestera_port_get_hw_stats()
197 struct prestera_port *port = in prestera_port_stats_update()
198 container_of(work, struct prestera_port, in prestera_port_stats_update()
217 int prestera_port_autoneg_set(struct prestera_port *port, bool enable, in prestera_port_autoneg_set()
261 static void prestera_port_list_add(struct prestera_port *port) in prestera_port_list_add()
268 static void prestera_port_list_del(struct prestera_port *port) in prestera_port_list_del()
277 struct prestera_port *port; in prestera_port_create()
381 static void prestera_port_destroy(struct prestera_port *port) in prestera_port_destroy()
395 struct prestera_port *port, *tmp; in prestera_destroy_ports()
403 struct prestera_port *port, *tmp; in prestera_create_ports()
426 struct prestera_port *port; in prestera_port_handle_event()
490 struct prestera_port **pport = (struct prestera_port **)priv->data; in prestera_lower_dev_walk()
500 struct prestera_port *prestera_port_dev_lower_find(struct net_device *dev) in prestera_port_dev_lower_find()
502 struct prestera_port *port = NULL; in prestera_port_dev_lower_find()