Lines Matching full:duplex
25 u8 duplex; member
32 .duplex = PRESTERA_PORT_DUPLEX_HALF,
39 .duplex = PRESTERA_PORT_DUPLEX_FULL,
46 .duplex = PRESTERA_PORT_DUPLEX_HALF,
53 .duplex = PRESTERA_PORT_DUPLEX_FULL,
60 .duplex = PRESTERA_PORT_DUPLEX_HALF,
67 .duplex = PRESTERA_PORT_DUPLEX_FULL,
74 .duplex = PRESTERA_PORT_DUPLEX_FULL,
81 .duplex = PRESTERA_PORT_DUPLEX_FULL,
88 .duplex = PRESTERA_PORT_DUPLEX_FULL,
94 .duplex = PRESTERA_PORT_DUPLEX_FULL,
101 .duplex = PRESTERA_PORT_DUPLEX_FULL,
108 .duplex = PRESTERA_PORT_DUPLEX_FULL,
115 .duplex = PRESTERA_PORT_DUPLEX_FULL,
122 .duplex = PRESTERA_PORT_DUPLEX_FULL,
129 .duplex = PRESTERA_PORT_DUPLEX_FULL,
136 .duplex = PRESTERA_PORT_DUPLEX_FULL,
143 .duplex = PRESTERA_PORT_DUPLEX_FULL,
150 .duplex = PRESTERA_PORT_DUPLEX_FULL,
157 .duplex = PRESTERA_PORT_DUPLEX_FULL,
164 .duplex = PRESTERA_PORT_DUPLEX_FULL,
171 .duplex = PRESTERA_PORT_DUPLEX_FULL,
178 .duplex = PRESTERA_PORT_DUPLEX_FULL,
185 .duplex = PRESTERA_PORT_DUPLEX_FULL,
192 .duplex = PRESTERA_PORT_DUPLEX_FULL,
199 .duplex = PRESTERA_PORT_DUPLEX_FULL,
474 u8 duplex; in prestera_port_link_mode_get() local
480 if (state->speed == SPEED_UNKNOWN || state->duplex == DUPLEX_UNKNOWN) { in prestera_port_link_mode_get()
482 &duplex, NULL); in prestera_port_link_mode_get()
485 state->duplex = DUPLEX_UNKNOWN; in prestera_port_link_mode_get()
488 state->duplex = duplex == PRESTERA_PORT_DUPLEX_FULL ? in prestera_port_link_mode_get()
494 ecmd->base.duplex = port->state_mac.duplex; in prestera_port_link_mode_get()
522 ecmd->base.duplex = DUPLEX_UNKNOWN; in prestera_ethtool_get_link_ksettings()
588 u32 speed, u8 duplex, u8 type) in prestera_port_link_mode_set() argument
599 if (duplex != DUPLEX_UNKNOWN && in prestera_port_link_mode_set()
600 duplex != port_link_modes[mode].duplex) in prestera_port_link_mode_set()
635 u8 duplex = DUPLEX_UNKNOWN; in prestera_port_speed_duplex_set() local
637 if (ecmd->base.duplex != DUPLEX_UNKNOWN) in prestera_port_speed_duplex_set()
638 duplex = ecmd->base.duplex == DUPLEX_FULL ? in prestera_port_speed_duplex_set()
641 return prestera_port_link_mode_set(port, ecmd->base.speed, duplex, in prestera_port_speed_duplex_set()