Searched refs:CPU_PORT (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_vlan.c | 31 cpu_dis = !(mask & BIT(CPU_PORT)); in lan966x_vlan_set_mask() 74 return !!(lan966x->vlan_mask[vid] & ~BIT(CPU_PORT)); in lan966x_vlan_port_any_vlan_mask() 79 lan966x->vlan_mask[vid] |= BIT(CPU_PORT); in lan966x_vlan_cpu_add_vlan_mask() 85 lan966x->vlan_mask[vid] &= ~BIT(CPU_PORT); in lan966x_vlan_cpu_del_vlan_mask() 300 GENMASK(lan966x->num_phys_ports - 1, 0) | BIT(CPU_PORT); in lan966x_vlan_init() 304 GENMASK(lan966x->num_phys_ports - 1, 0) | BIT(CPU_PORT); in lan966x_vlan_init() 313 lan966x, ANA_VLAN_CFG(CPU_PORT)); in lan966x_vlan_init()
|
D | lan966x_mdb.c | 270 mdb_entry->ports |= BIT(CPU_PORT); in lan966x_mdb_l2_add() 287 mdb_entry->ports &= BIT(CPU_PORT); in lan966x_mdb_l2_add() 321 ports &= ~BIT(CPU_PORT); in lan966x_mdb_l2_del() 420 mdb_entry->ports |= BIT(CPU_PORT); in lan966x_mdb_l2_cpu_copy() 475 mdb_entry->ports &= ~BIT(CPU_PORT); in lan966x_mdb_l2_cpu_remove()
|
D | lan966x_main.c | 878 lan966x, SYS_PORT_MODE(CPU_PORT)); in lan966x_init() 925 lan966x, QSYS_SW_PORT_MODE(CPU_PORT)); in lan966x_init() 930 lan966x, ANA_PGID(CPU_PORT)); in lan966x_init() 931 lan_rmw(ANA_PGID_PGID_SET(BIT(CPU_PORT)), in lan966x_init() 955 lan_rmw(ANA_PGID_PGID_SET(BIT(CPU_PORT) | GENMASK(lan966x->num_phys_ports - 1, 0)), in lan966x_init() 960 lan966x, REW_PORT_CFG(CPU_PORT)); in lan966x_init()
|
D | lan966x_fdma.c | 694 return lan_rd(lan966x, QSYS_SW_STATUS(CPU_PORT)); in lan966x_qsys_sw_status() 754 lan966x, QSYS_SW_PORT_MODE(CPU_PORT)); in lan966x_fdma_change_mtu() 771 lan966x, QSYS_SW_PORT_MODE(CPU_PORT)); in lan966x_fdma_change_mtu()
|
D | lan966x_main.h | 42 #define CPU_PORT 8 macro 54 #define PGID_GP_START (CPU_PORT + 1)
|
D | lan966x_switchdev.c | 149 mask |= BIT(CPU_PORT); in lan966x_update_fwd_mask()
|
/linux-6.1.9/drivers/net/dsa/ |
D | vitesse-vsc73xx-core.c | 41 #define CPU_PORT 6 /* CPU port */ macro 655 if (port == CPU_PORT) in vsc73xx_init_port() 682 if (port == CPU_PORT) in vsc73xx_init_port() 764 if (port == CPU_PORT) { in vsc73xx_adjust_link() 766 vsc73xx_init_port(vsc, CPU_PORT); in vsc73xx_adjust_link() 772 CPU_PORT, in vsc73xx_adjust_link()
|
D | mt7530.h | 43 #define CPU_PORT(x) ((x) << 4) macro
|
D | mt7530.c | 1025 mt7530_rmw(priv, MT7530_MFC, CPU_MASK, CPU_EN | CPU_PORT(port)); in mt753x_cpu_port_enable()
|
/linux-6.1.9/drivers/net/dsa/hirschmann/ |
D | hellcreek.h | 33 #define CPU_PORT 0 macro
|
D | hellcreek.c | 1014 struct hellcreek_port *cpu_port = &hellcreek->ports[CPU_PORT]; in hellcreek_setup_cpu_and_tunnel_port() 1021 hellcreek_select_port(hellcreek, CPU_PORT); in hellcreek_setup_cpu_and_tunnel_port()
|