Lines Matching refs:port_cfg
946 u32 port_cfg; in ocelot_bridge_stp_state_set() local
952 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, port); in ocelot_bridge_stp_state_set()
959 port_cfg |= ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set()
963 port_cfg &= ~ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set()
968 ocelot_write_gix(ocelot, port_cfg, ANA_PORT_PORT_CFG, port); in ocelot_bridge_stp_state_set()
1265 u32 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, p); in ocelot_setup_lag() local
1267 port_cfg &= ~ANA_PORT_PORT_CFG_PORTID_VAL_M; in ocelot_setup_lag()
1270 ocelot_write_gix(ocelot, port_cfg | in ocelot_setup_lag()
1319 u32 port_cfg; in ocelot_port_lag_leave() local
1338 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, port); in ocelot_port_lag_leave()
1339 port_cfg &= ~ANA_PORT_PORT_CFG_PORTID_VAL_M; in ocelot_port_lag_leave()
1340 ocelot_write_gix(ocelot, port_cfg | ANA_PORT_PORT_CFG_PORTID_VAL(port), in ocelot_port_lag_leave()