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

/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vlan.c31 cpu_dis = !(mask & BIT(CPU_PORT));
74 return !!(lan966x->vlan_mask[vid] & ~BIT(CPU_PORT));
79 lan966x->vlan_mask[vid] |= BIT(CPU_PORT);
85 lan966x->vlan_mask[vid] &= ~BIT(CPU_PORT);
300 GENMASK(lan966x->num_phys_ports - 1, 0) | BIT(CPU_PORT);
304 GENMASK(lan966x->num_phys_ports - 1, 0) | BIT(CPU_PORT);
313 lan966x, ANA_VLAN_CFG(CPU_PORT));
H A Dlan966x_mdb.c270 mdb_entry->ports |= BIT(CPU_PORT);
287 mdb_entry->ports &= BIT(CPU_PORT);
321 ports &= ~BIT(CPU_PORT);
420 mdb_entry->ports |= BIT(CPU_PORT);
475 mdb_entry->ports &= ~BIT(CPU_PORT);
H A Dlan966x_main.c941 lan966x, SYS_PORT_MODE(CPU_PORT));
988 lan966x, QSYS_SW_PORT_MODE(CPU_PORT));
993 lan966x, ANA_PGID(CPU_PORT));
994 lan_rmw(ANA_PGID_PGID_SET(BIT(CPU_PORT)),
1018 lan_rmw(ANA_PGID_PGID_SET(BIT(CPU_PORT) | GENMASK(lan966x->num_phys_ports - 1, 0)),
1023 lan966x, REW_PORT_CFG(CPU_PORT));
H A Dlan966x_main.h48 #define CPU_PORT 8 macro
60 #define PGID_GP_START (CPU_PORT + 1)
H A Dlan966x_fdma.c905 return lan_rd(lan966x, QSYS_SW_STATUS(CPU_PORT));
970 lan966x, QSYS_SW_PORT_MODE(CPU_PORT));
987 lan966x, QSYS_SW_PORT_MODE(CPU_PORT));
H A Dlan966x_switchdev.c149 mask |= BIT(CPU_PORT);
/linux-master/drivers/net/dsa/
H A Dvitesse-vsc73xx-core.c40 #define CPU_PORT 6 /* CPU port */ macro
654 if (port == CPU_PORT)
681 if (port == CPU_PORT)
763 if (port == CPU_PORT) {
765 vsc73xx_init_port(vsc, CPU_PORT);
771 CPU_PORT,
1039 if (port == CPU_PORT) {
H A Dmt7530.h49 #define CPU_PORT(x) FIELD_PREP(CPU_PORT_MASK, x) macro
H A Dmt7530.c3114 val = CPU_EN | CPU_PORT(__ffs(priv->active_cpu_ports));
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek.h33 #define CPU_PORT 0 macro
H A Dhellcreek.c1013 struct hellcreek_port *cpu_port = &hellcreek->ports[CPU_PORT];
1020 hellcreek_select_port(hellcreek, CPU_PORT);

Completed in 315 milliseconds