Home
last modified time | relevance | path

Searched refs:wusb_port_by_idx (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/wusbcore/
Drh.c102 struct wusb_port *port = wusb_port_by_idx(wusbhc, port_idx); in wusbhc_rh_port_reset()
155 if (wusb_port_by_idx(wusbhc, cnt)->change) { in wusbhc_rh_status_data()
266 wusb_port_by_idx(wusbhc, port_idx)->status |= USB_PORT_STAT_POWER; in wusbhc_rh_set_port_feat()
306 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_RESET; in wusbhc_rh_clear_port_feat()
309 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_CONNECTION; in wusbhc_rh_clear_port_feat()
315 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_ENABLE; in wusbhc_rh_clear_port_feat()
348 buf[0] = cpu_to_le16(wusb_port_by_idx(wusbhc, port_idx)->status); in wusbhc_rh_get_port_status()
349 buf[1] = cpu_to_le16(wusb_port_by_idx(wusbhc, port_idx)->change); in wusbhc_rh_get_port_status()
Ddevconnect.c293 port = wusb_port_by_idx(wusbhc, idx); in wusbhc_devconnect_ack()
300 port = wusb_port_by_idx(wusbhc, idx); in wusbhc_devconnect_ack()
419 wusb_port = wusb_port_by_idx(wusbhc, cnt); in __wusbhc_keep_alive()
480 return wusb_port_by_idx(wusbhc, port)->wusb_dev; in wusbhc_find_dev_by_addr()
485 struct wusb_dev *wusb_dev = wusb_port_by_idx(wusbhc, p)->wusb_dev; in wusbhc_find_dev_by_addr()
579 __wusbhc_dev_disconnect(wusbhc, wusb_port_by_idx(wusbhc, in wusbhc_handle_dn_disconnect()
660 wusb_dev = wusb_port_by_idx(wusbhc, port_idx)->wusb_dev; in __wusbhc_dev_disable()
667 __wusbhc_dev_disconnect(wusbhc, wusb_port_by_idx(wusbhc, port_idx)); in __wusbhc_dev_disable()
902 __wusbhc_dev_disconnect(wusbhc, wusb_port_by_idx(wusbhc, port_idx)); in wusb_dev_add_ncb()
970 wusb_dev = wusb_port_by_idx(wusbhc, port_idx)->wusb_dev; in __wusb_dev_get_by_usb_dev()
Dwusbhc.h454 static inline struct wusb_port *wusb_port_by_idx(struct wusbhc *wusbhc, in wusb_port_by_idx() function
Dsecurity.c90 tkid = &wusb_port_by_idx(wusbhc, wusb_dev->port_idx)->ptk_tkid; in wusbhc_next_tkid()