Lines Matching refs:roothub_a
2276 u32 roothub_a; in ftdi_elan_check_controller() local
2324 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a); in ftdi_elan_check_controller()
2327 if (!(roothub_a & RH_A_NPS)) { /* power down each port */ in ftdi_elan_check_controller()
2426 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a); in ftdi_elan_check_controller()
2429 roothub_a &= ~(RH_A_PSM | RH_A_OCPM); in ftdi_elan_check_controller()
2431 roothub_a |= RH_A_NOCP; in ftdi_elan_check_controller()
2432 roothub_a &= ~(RH_A_POTPGT | RH_A_NPS); in ftdi_elan_check_controller()
2433 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a); in ftdi_elan_check_controller()
2437 roothub_a |= RH_A_NPS; in ftdi_elan_check_controller()
2438 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a); in ftdi_elan_check_controller()
2446 (roothub_a & RH_A_NPS) ? 0 : RH_B_PPCM); in ftdi_elan_check_controller()
2452 mdelay((roothub_a >> 23) & 0x1fe); in ftdi_elan_check_controller()