Lines Matching refs:roothub_a
2304 u32 roothub_a;
2352 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a);
2355 if (!(roothub_a & RH_A_NPS)) { /* power down each port */
2455 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a);
2458 roothub_a &= ~(RH_A_PSM | RH_A_OCPM);
2460 roothub_a |= RH_A_NOCP;
2461 roothub_a &= ~(RH_A_POTPGT | RH_A_NPS);
2462 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a);
2466 roothub_a |= RH_A_NPS;
2467 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a);
2475 (roothub_a & RH_A_NPS) ? 0 : RH_B_PPCM);
2481 mdelay((roothub_a >> 23) & 0x1fe);