Searched refs:state_mac (Results 1 – 3 of 3) sorted by relevance
227 *state = port->state_mac; in prestera_port_mac_state_cache_read()236 port->state_mac = *state; in prestera_port_mac_state_cache_write()256 struct prestera_port_mac_state state_mac; in prestera_mac_link_down() local259 memset(&state_mac, 0, sizeof(state_mac)); in prestera_mac_link_down()260 state_mac.valid = false; in prestera_mac_link_down()261 prestera_port_mac_state_cache_write(port, &state_mac); in prestera_mac_link_down()822 if (port->state_mac.oper) { in prestera_port_handle_event()
472 struct prestera_port_mac_state *state = &port->state_mac; in prestera_port_link_mode_get()477 if (!port->state_mac.oper) in prestera_port_link_mode_get()493 ecmd->base.speed = port->state_mac.speed; in prestera_port_link_mode_get()494 ecmd->base.duplex = port->state_mac.duplex; in prestera_port_link_mode_get()
154 struct prestera_port_mac_state state_mac; member