Lines Matching full:speed
38 * This means the speed table must contain both duplex settings, and the
39 * duplex table must contain all speed settings.
41 static const struct swmii_regs speed[] = { variable
71 static int swphy_decode_speed(int speed) in swphy_decode_speed() argument
73 switch (speed) { in swphy_decode_speed()
98 err = swphy_decode_speed(state->speed); in swphy_validate_state()
100 pr_warn("swphy: unknown speed\n"); in swphy_validate_state()
126 speed_index = swphy_decode_speed(state->speed); in swphy_read_reg()
132 bmsr |= speed[speed_index].bmsr & duplex[duplex_index].bmsr; in swphy_read_reg()
133 estat |= speed[speed_index].estat & duplex[duplex_index].estat; in swphy_read_reg()
138 lpa |= speed[speed_index].lpa & duplex[duplex_index].lpa; in swphy_read_reg()
139 lpagb |= speed[speed_index].lpagb & duplex[duplex_index].lpagb; in swphy_read_reg()