Searched refs:chip_port (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_port.c | 35 lan966x, AFI_PORT_CFG(port->chip_port)); in lan966x_port_link_down() 39 val = lan_rd(lan966x, AFI_PORT_FRM_OUT(port->chip_port)); in lan966x_port_link_down() 46 pr_err("AFI timeout chip port %u", port->chip_port); in lan966x_port_link_down() 56 lan966x, DEV_CLOCK_CFG(port->chip_port)); in lan966x_port_link_down() 61 lan966x, DEV_MAC_ENA_CFG(port->chip_port)); in lan966x_port_link_down() 66 lan966x, QSYS_SW_PORT_MODE(port->chip_port)); in lan966x_port_link_down() 71 lan966x, QSYS_PORT_MODE(port->chip_port)); in lan966x_port_link_down() 76 lan966x, SYS_PAUSE_CFG(port->chip_port)); in lan966x_port_link_down() 81 lan966x, QSYS_SW_PORT_MODE(port->chip_port)); in lan966x_port_link_down() 89 lan966x, SYS_FRONT_PORT_MODE(port->chip_port)); in lan966x_port_link_down() [all …]
|
D | lan966x_switchdev.c | 30 if (flood_mask & BIT(port->chip_port)) in lan966x_port_set_mcast_ip_flood() 31 flood_mask_ip |= BIT(port->chip_port); in lan966x_port_set_mcast_ip_flood() 33 flood_mask_ip &= ~BIT(port->chip_port); in lan966x_port_set_mcast_ip_flood() 35 flood_mask_ip &= ~BIT(port->chip_port); in lan966x_port_set_mcast_ip_flood() 50 val |= BIT(port->chip_port); in lan966x_port_set_mcast_flood() 52 val &= ~BIT(port->chip_port); in lan966x_port_set_mcast_flood() 71 val |= BIT(port->chip_port); in lan966x_port_set_ucast_flood() 73 val &= ~BIT(port->chip_port); in lan966x_port_set_ucast_flood() 87 val |= BIT(port->chip_port); in lan966x_port_set_bcast_flood() 89 val &= ~BIT(port->chip_port); in lan966x_port_set_bcast_flood() [all …]
|
D | lan966x_vlan.c | 57 u8 p = port->chip_port; in lan966x_vlan_port_add_vlan_mask() 66 u8 p = port->chip_port; in lan966x_vlan_port_del_vlan_mask() 108 if (!(lan966x->bridge_mask & BIT(port->chip_port))) in lan966x_vlan_port_get_pvid() 170 lan966x, ANA_VLAN_CFG(port->chip_port)); in lan966x_vlan_port_apply() 182 lan_wr(val, lan966x, ANA_DROP_CFG(port->chip_port)); in lan966x_vlan_port_apply() 197 lan966x, REW_TAG_CFG(port->chip_port)); in lan966x_vlan_port_apply() 204 lan966x, REW_PORT_VLAN_CFG(port->chip_port)); in lan966x_vlan_port_apply()
|
D | lan966x_mdb.c | 128 mdb_entry->ports |= BIT(port->chip_port); in lan966x_mdb_ip_add() 163 ports &= ~BIT(port->chip_port); in lan966x_mdb_ip_del() 273 mdb_entry->ports |= BIT(port->chip_port); in lan966x_mdb_l2_add() 323 ports &= ~BIT(port->chip_port); in lan966x_mdb_l2_del()
|
D | lan966x_main.c | 159 ret = snprintf(buf, len, "p%d", port->chip_port); in lan966x_port_get_phys_port_name() 177 ANA_PORT_CFG_PORTID_VAL_SET(port->chip_port), in lan966x_port_open() 181 lan966x, ANA_PORT_CFG(port->chip_port)); in lan966x_port_open() 357 lan966x_ifh_set_port(ifh, BIT_ULL(port->chip_port)); in lan966x_port_xmit() 389 lan966x, DEV_MAC_MAXLEN_CFG(port->chip_port)); in lan966x_port_change_mtu() 398 lan966x, DEV_MAC_MAXLEN_CFG(port->chip_port)); in lan966x_port_change_mtu() 749 port->chip_port = p; in lan966x_probe_port()
|
D | lan966x_mac.c | 266 mac_entry = lan966x_mac_find_entry(lan966x, addr, vid, port->chip_port); in lan966x_mac_add_entry() 272 mac_entry = lan966x_mac_alloc_entry(addr, vid, port->chip_port); in lan966x_mac_add_entry() 284 lan966x_mac_learn(lan966x, port->chip_port, addr, vid, ENTRYTYPE_LOCKED); in lan966x_mac_add_entry()
|
D | lan966x_ethtool.c | 353 *data++ = lan966x->stats[port->chip_port * in lan966x_get_ethtool_stats() 366 idx = port->chip_port * lan966x->num_stats; in lan966x_get_eth_mac_stats() 451 idx = port->chip_port * lan966x->num_stats; in lan966x_get_eth_rmon_stats() 615 idx = port->chip_port * lan966x->num_stats; in lan966x_stats_get()
|
D | lan966x_phylink.c | 79 lan966x, DEV_CLOCK_CFG(port->chip_port)); in lan966x_phylink_mac_link_down()
|
D | lan966x_main.h | 277 u8 chip_port; member
|
D | lan966x_ptp.c | 48 if (lan966x->bridge_mask & BIT(port->chip_port)) in lan966x_ptp_hwtstamp_set()
|