Lines Matching refs:roothub_a
2322 u32 roothub_a;
2370 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a);
2373 if (!(roothub_a & RH_A_NPS)) { /* power down each port */
2473 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a);
2476 roothub_a &= ~(RH_A_PSM | RH_A_OCPM);
2478 roothub_a |= RH_A_NOCP;
2479 roothub_a &= ~(RH_A_POTPGT | RH_A_NPS);
2480 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a);
2484 roothub_a |= RH_A_NPS;
2485 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a);
2493 (roothub_a & RH_A_NPS) ? 0 : RH_B_PPCM);
2499 mdelay((roothub_a >> 23) & 0x1fe);