Home
last modified time | relevance | path

Searched refs:state_mac (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c227 *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() local
259 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()
Dprestera_ethtool.c472 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()
Dprestera.h154 struct prestera_port_mac_state state_mac; member