Home
last modified time | relevance | path

Searched refs:CPU_PORT (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vlan.c31 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()
Dlan966x_mdb.c270 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()
Dlan966x_main.c878 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()
Dlan966x_fdma.c694 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()
Dlan966x_main.h42 #define CPU_PORT 8 macro
54 #define PGID_GP_START (CPU_PORT + 1)
Dlan966x_switchdev.c149 mask |= BIT(CPU_PORT); in lan966x_update_fwd_mask()
/linux-6.1.9/drivers/net/dsa/
Dvitesse-vsc73xx-core.c41 #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()
Dmt7530.h43 #define CPU_PORT(x) ((x) << 4) macro
Dmt7530.c1025 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/
Dhellcreek.h33 #define CPU_PORT 0 macro
Dhellcreek.c1014 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()