Searched refs:uhci_readw (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/usb/host/ |
H A D | uhci-hub.c | 49 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 …]
|
H A D | uhci-hcd.c | 195 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() 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() 802 delta = (uhci_readw(uhci, USBFRNUM) - frame_number) & in uhci_hcd_get_frame_number() [all …]
|
H A D | uhci-debug.c | 314 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()
|
H A D | uhci-grlib.c | 39 if (!(uhci_readw(uhci, USBPORTSC1) & 0x80)) { in uhci_grlib_init()
|
H A D | uhci-hcd.h | 528 static inline u16 uhci_readw(const struct uhci_hcd *uhci, int reg) in uhci_readw() function 623 static inline u16 uhci_readw(const struct uhci_hcd *uhci, int reg) in uhci_readw() function
|