Lines Matching defs:pscr
2233 u32 pscr;
2250 pscr = rdlp(mp, PORT_SERIAL_CONTROL);
2252 pscr |= SERIAL_PORT_ENABLE;
2253 wrlp(mp, PORT_SERIAL_CONTROL, pscr);
2255 pscr |= DO_NOT_FORCE_LINK_FAIL;
2257 pscr |= FORCE_LINK_PASS;
2258 wrlp(mp, PORT_SERIAL_CONTROL, pscr);
2827 u32 pscr;
2829 pscr = rdlp(mp, PORT_SERIAL_CONTROL);
2830 if (pscr & SERIAL_PORT_ENABLE) {
2831 pscr &= ~SERIAL_PORT_ENABLE;
2832 wrlp(mp, PORT_SERIAL_CONTROL, pscr);
2835 pscr = MAX_RX_PACKET_9700BYTE | SERIAL_PORT_CONTROL_RESERVED;
2837 pscr |= DISABLE_AUTO_NEG_SPEED_GMII;
2839 pscr |= SET_GMII_SPEED_TO_1000;
2841 pscr |= SET_MII_SPEED_TO_100;
2843 pscr |= DISABLE_AUTO_NEG_FOR_FLOW_CTRL;
2845 pscr |= DISABLE_AUTO_NEG_FOR_DUPLEX;
2847 pscr |= SET_FULL_DUPLEX_MODE;
2850 wrlp(mp, PORT_SERIAL_CONTROL, pscr);