CPU_PORT
struct hellcreek_port *cpu_port = &hellcreek->ports[CPU_PORT];
hellcreek_select_port(hellcreek, CPU_PORT);
if (port == CPU_PORT) {
vsc73xx_init_port(vsc, CPU_PORT);
CPU_PORT,
if (port == CPU_PORT) {
if (port == CPU_PORT) {
if (port == CPU_PORT)
VSC73XX_SRCMASKS + CPU_PORT, BIT(port), BIT(port));
mask = BIT(CPU_PORT);
if (port != CPU_PORT)
struct dsa_port *dp = dsa_to_port(ds, CPU_PORT);
if (port == CPU_PORT)
if (port == CPU_PORT)
return lan_rd(lan966x, QSYS_SW_STATUS(CPU_PORT));
lan966x, QSYS_SW_PORT_MODE(CPU_PORT));
lan966x, QSYS_SW_PORT_MODE(CPU_PORT));
lan_rmw(ANA_PGID_PGID_SET(BIT(CPU_PORT)),
lan_rmw(ANA_PGID_PGID_SET(BIT(CPU_PORT) | GENMASK(lan966x->num_phys_ports - 1, 0)),
lan966x, REW_PORT_CFG(CPU_PORT));
lan966x, SYS_PORT_MODE(CPU_PORT));
lan966x, QSYS_SW_PORT_MODE(CPU_PORT));
lan966x, ANA_PGID(CPU_PORT));
#define PGID_GP_START (CPU_PORT + 1)
mdb_entry->ports |= BIT(CPU_PORT);
mdb_entry->ports &= BIT(CPU_PORT);
ports &= ~BIT(CPU_PORT);
mdb_entry->ports |= BIT(CPU_PORT);
mdb_entry->ports &= ~BIT(CPU_PORT);
mask |= BIT(CPU_PORT);
cpu_dis = !(mask & BIT(CPU_PORT));
GENMASK(lan966x->num_phys_ports - 1, 0) | BIT(CPU_PORT);
GENMASK(lan966x->num_phys_ports - 1, 0) | BIT(CPU_PORT);
lan966x, ANA_VLAN_CFG(CPU_PORT));
return !!(lan966x->vlan_mask[vid] & ~BIT(CPU_PORT));
lan966x->vlan_mask[vid] |= BIT(CPU_PORT);
lan966x->vlan_mask[vid] &= ~BIT(CPU_PORT);