Lines Matching refs:port_id
49 ret = cpsw_ale_control_set(cpsw->ale, port->port_id, in am65_cpsw_port_stp_state_set()
69 unreg_mcast_add, port->port_id); in am65_cpsw_port_attr_br_flags_set()
71 cpsw_ale_set_unreg_mcast(cpsw->ale, BIT(port->port_id), in am65_cpsw_port_attr_br_flags_set()
94 netdev_dbg(ndev, "attr: id %u port: %u\n", attr->id, port->port_id); in am65_cpsw_port_attr_set()
123 if (port->port_id) in am65_cpsw_get_pvid()
143 if (port->port_id) in am65_cpsw_set_pvid()
166 port_mask = BIT(port->port_id); in am65_cpsw_port_vlan_add()
208 port_mask = BIT(port->port_id); in am65_cpsw_port_vlan_del()
268 port_mask = BIT(port->port_id); in am65_cpsw_port_mdb_add()
290 del_mask = BIT(port->port_id); in am65_cpsw_port_mdb_del()
310 netdev_dbg(ndev, "obj_add: id %u port: %u\n", obj->id, port->port_id); in am65_cpsw_port_obj_add()
336 netdev_dbg(ndev, "obj_del: id %u port: %u\n", obj->id, port->port_id); in am65_cpsw_port_obj_del()
373 int port_id = port->port_id; in am65_cpsw_switchdev_event_work() local
382 fdb->offloaded, port_id); in am65_cpsw_switchdev_event_work()
387 port_id = HOST_PORT_NUM; in am65_cpsw_switchdev_event_work()
389 cpsw_ale_add_ucast(cpsw->ale, (u8 *)fdb->addr, port_id, in am65_cpsw_switchdev_event_work()
398 fdb->offloaded, port_id); in am65_cpsw_switchdev_event_work()
403 port_id = HOST_PORT_NUM; in am65_cpsw_switchdev_event_work()
405 cpsw_ale_del_ucast(cpsw->ale, (u8 *)fdb->addr, port_id, in am65_cpsw_switchdev_event_work()