Lines Matching refs:emac_state
29 enum icssg_port_state_cmd emac_state; in prueth_switchdev_stp_state_set() local
34 emac_state = ICSSG_EMAC_PORT_FORWARD; in prueth_switchdev_stp_state_set()
37 emac_state = ICSSG_EMAC_PORT_DISABLE; in prueth_switchdev_stp_state_set()
41 emac_state = ICSSG_EMAC_PORT_BLOCK; in prueth_switchdev_stp_state_set()
47 icssg_set_port_state(emac, emac_state); in prueth_switchdev_stp_state_set()
48 netdev_dbg(emac->ndev, "STP state: %u\n", emac_state); in prueth_switchdev_stp_state_set()
57 enum icssg_port_state_cmd emac_state; in prueth_switchdev_attr_br_flags_set() local
60 emac_state = ICSSG_EMAC_PORT_MC_FLOODING_ENABLE; in prueth_switchdev_attr_br_flags_set()
62 emac_state = ICSSG_EMAC_PORT_MC_FLOODING_DISABLE; in prueth_switchdev_attr_br_flags_set()
65 emac_state, emac->port_id); in prueth_switchdev_attr_br_flags_set()
67 icssg_set_port_state(emac, emac_state); in prueth_switchdev_attr_br_flags_set()