Home
last modified time | relevance | path

Searched refs:uhci_readw (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/host/
Duhci-hub.c49 if ((uhci_readw(uhci, USBPORTSC1 + port * 2) & in any_ports_active()
73 if ((uhci_readw(uhci, USBPORTSC1 + port * 2) & mask) || in get_hub_status_data()
81 status = uhci_readw(uhci, port_addr); \
88 status = uhci_readw(uhci, port_addr); \
102 if (uhci_readw(uhci, port_addr) & SUSPEND_BITS) { in uhci_finish_suspend()
113 if (!(uhci_readw(uhci, port_addr) & SUSPEND_BITS)) in uhci_finish_suspend()
130 if (uhci_readw(uhci, port_addr) & USBPORTSC_CSC) in wait_for_HP()
145 status = uhci_readw(uhci, port_addr); in uhci_check_ports()
268 status = uhci_readw(uhci, port_addr); in uhci_hub_control()
367 if (!(uhci_readw(uhci, port_addr) & USBPORTSC_SUSP)) { in uhci_hub_control()
[all …]
Duhci-hcd.c195 if (uhci_readw(uhci, USBCMD) & USBCMD_HCRESET) in uhci_generic_reset_hc()
225 cmd = uhci_readw(uhci, USBCMD); in uhci_generic_check_and_reset_hc()
232 intr = uhci_readw(uhci, USBINTR); in uhci_generic_check_and_reset_hc()
358 if (!auto_stop && !(uhci_readw(uhci, USBSTS) & USBSTS_HCH)) { in suspend_rh()
366 if (!(uhci_readw(uhci, USBSTS) & USBSTS_HCH)) in suspend_rh()
397 uhci_writew(uhci, uhci_readw(uhci, USBSTS), USBSTS); in start_rh()
427 egsm = uhci_readw(uhci, USBCMD) & USBCMD_EGSM; in wakeup_rh()
440 if (uhci_readw(uhci, USBCMD) & USBCMD_FGR) in wakeup_rh()
460 status = uhci_readw(uhci, USBSTS); in uhci_irq()
521 delta = (uhci_readw(uhci, USBFRNUM) - uhci->frame_number) & in uhci_get_current_frame_number()
[all …]
Duhci-debug.c314 usbcmd = uhci_readw(uhci, USBCMD); in uhci_show_status()
315 usbstat = uhci_readw(uhci, USBSTS); in uhci_show_status()
316 usbint = uhci_readw(uhci, USBINTR); in uhci_show_status()
317 usbfrnum = uhci_readw(uhci, USBFRNUM); in uhci_show_status()
320 portsc1 = uhci_readw(uhci, USBPORTSC1); in uhci_show_status()
321 portsc2 = uhci_readw(uhci, USBPORTSC2); in uhci_show_status()
Duhci-grlib.c39 if (!(uhci_readw(uhci, USBPORTSC1) & 0x80)) { in uhci_grlib_init()
Duhci-hcd.h524 static inline u16 uhci_readw(const struct uhci_hcd *uhci, int reg) in uhci_readw() function
619 static inline u16 uhci_readw(const struct uhci_hcd *uhci, int reg) in uhci_readw() function