Lines Matching defs:ctrl
58 uint32_t ctrl;
334 uint32_t old_state = port->ctrl;
341 port->ctrl |= OHCI_PORT_CCS | OHCI_PORT_CSC;
345 port->ctrl |= OHCI_PORT_LSDA;
347 port->ctrl &= ~OHCI_PORT_LSDA;
359 if (port->ctrl & OHCI_PORT_CCS) {
360 port->ctrl &= ~OHCI_PORT_CCS;
361 port->ctrl |= OHCI_PORT_CSC;
364 if (port->ctrl & OHCI_PORT_PES) {
365 port->ctrl &= ~OHCI_PORT_PES;
366 port->ctrl |= OHCI_PORT_PESC;
377 if (old_state != port->ctrl)
420 port->ctrl = 0;
748 if ((ohci->rhport[i].ctrl & OHCI_PORT_PES) == 0)
926 if ((ohci->rhport[i].ctrl & OHCI_PORT_PES) == 0)
1222 if (!(ohci->rhport[i].ctrl & OHCI_PORT_CCS)) {
1223 ohci->rhport[i].ctrl |= OHCI_PORT_CSC;
1230 if (ohci->rhport[i].ctrl & val)
1234 ohci->rhport[i].ctrl |= val;
1255 ohci->rhport[i].ctrl |= OHCI_PORT_PPS;
1257 ohci->rhport[i].ctrl &= ~(OHCI_PORT_PPS|
1364 old_state = port->ctrl;
1368 port->ctrl &= ~(val & OHCI_PORT_WTC);
1371 port->ctrl &= ~OHCI_PORT_PES;
1381 port->ctrl &= ~OHCI_PORT_PRS;
1383 port->ctrl |= OHCI_PORT_PES | OHCI_PORT_PRSC;
1394 if (old_state != port->ctrl)
1411 retval = ohci->rhport[(addr - 0x54) >> 2].ctrl | OHCI_PORT_PPS;