Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/emxx_udc/
H A Demxx_udc.c138 struct usb_ctrlrequest *p_ctrl; in _nbu2ss_ep0_complete() local
145 p_ctrl = &udc->ctrl; in _nbu2ss_ep0_complete()
147 if (p_ctrl->bRequest == USB_REQ_SET_FEATURE) { in _nbu2ss_ep0_complete()
151 selector = le16_to_cpu(p_ctrl->wValue); in _nbu2ss_ep0_complete()
154 wIndex = le16_to_cpu(p_ctrl->wIndex); in _nbu2ss_ep0_complete()
1600 struct usb_ctrlrequest *p_ctrl; in _nbu2ss_decode_request() local
1602 p_ctrl = &udc->ctrl; in _nbu2ss_decode_request()
1603 _nbu2ss_read_request_data(udc, (u32 *)p_ctrl); in _nbu2ss_decode_request()
1606 if (p_ctrl->wLength == 0) { in _nbu2ss_decode_request()
1610 if (p_ctrl->bRequestType & USB_DIR_IN) in _nbu2ss_decode_request()
[all …]