Home
last modified time | relevance | path

Searched refs:roothub_a (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/usb/misc/
Dftdi-elan.c2204 u32 roothub_a; in ftdi_elan_check_controller() local
2252 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a); in ftdi_elan_check_controller()
2255 if (!(roothub_a & RH_A_NPS)) { /* power down each port */ in ftdi_elan_check_controller()
2354 retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a); in ftdi_elan_check_controller()
2357 roothub_a &= ~(RH_A_PSM | RH_A_OCPM); in ftdi_elan_check_controller()
2359 roothub_a |= RH_A_NOCP; in ftdi_elan_check_controller()
2360 roothub_a &= ~(RH_A_POTPGT | RH_A_NPS); in ftdi_elan_check_controller()
2361 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a); in ftdi_elan_check_controller()
2365 roothub_a |= RH_A_NPS; in ftdi_elan_check_controller()
2366 retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a); in ftdi_elan_check_controller()
[all …]
/Linux-v5.4/drivers/usb/host/
Du132-hcd.c1597 u32 roothub_a; in u132_run() local
1640 retval = u132_read_pcimem(u132, roothub.a, &roothub_a); in u132_run()
1643 if (!(roothub_a & RH_A_NPS)) { in u132_run()
1738 retval = u132_read_pcimem(u132, roothub.a, &roothub_a); in u132_run()
1741 roothub_a &= ~(RH_A_PSM | RH_A_OCPM); in u132_run()
1743 roothub_a |= RH_A_NOCP; in u132_run()
1744 roothub_a &= ~(RH_A_POTPGT | RH_A_NPS); in u132_run()
1745 retval = u132_write_pcimem(u132, roothub.a, roothub_a); in u132_run()
1749 roothub_a |= RH_A_NPS; in u132_run()
1750 retval = u132_write_pcimem(u132, roothub.a, roothub_a); in u132_run()
[all …]
Dohci-hub.c479 && (roothub_a (ohci) & RH_A_NDP) > MAX_ROOT_PORTS) { in ohci_hub_status_data()
539 u32 rh = roothub_a (ohci); in ohci_hub_descriptor()
Dohci-omap.c256 u32 rh = roothub_a (ohci); in ohci_omap_reset()
Dohci.h718 static inline u32 roothub_a (struct ohci_hcd *hc) in roothub_a() function
Dohci-hcd.c510 ohci->num_ports = roothub_a(ohci) & RH_A_NDP; in ohci_init()
675 val = roothub_a (ohci); in ohci_run()
Dohci-dbg.c199 temp = roothub_a (controller); in ohci_dump_roothub()