Searched refs:windex (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozhcd.c | 163 u16 windex, char *buf, u16 wlength); 896 unsigned windex; in oz_hcd_control_cnf() local 906 windex = le16_to_cpu(setup->wIndex); in oz_hcd_control_cnf() 918 (u8)windex, (u8)wvalue); in oz_hcd_control_cnf() 1385 unsigned windex; in oz_process_ep0_urb() local 1414 windex = le16_to_cpu(setup->wIndex); in oz_process_ep0_urb() 1420 oz_dbg(CTRL_DETAIL, "wIndex = %x\n", windex); in oz_process_ep0_urb() 1478 port->iface[(u8)windex].alt; in oz_process_ep0_urb() 1480 windex, port->iface[(u8)windex].alt); in oz_process_ep0_urb() 1924 static int oz_set_port_feature(struct usb_hcd *hcd, u16 wvalue, u16 windex) in oz_set_port_feature() argument [all …]
|
D | ozusbsvc1.c | 57 u8 index, __le16 windex, int offset, int len) in oz_usb_get_desc_req() argument 69 oz_dbg(ON, " windex = 0x%x\n", windex); in oz_usb_get_desc_req() 85 body->w_index = windex; in oz_usb_get_desc_req() 199 unsigned windex = le16_to_cpu(setup->wIndex); in oz_usb_control_req() local 214 u8 if_num = (u8)windex; in oz_usb_control_req() 224 setup->bRequestType & 0xf, (u8)windex, in oz_usb_control_req() 231 (u8)windex, setup->wValue); in oz_usb_control_req()
|
D | ozusbif.h | 26 u8 index, __le16 windex, int offset, int len);
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | fsl_usb2_udc.h | 581 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \ argument 582 * 2 + ((windex & USB_DIR_IN) ? 1 : 0))
|
/linux-4.1.27/drivers/usb/dwc2/ |
D | hcd.c | 1441 static void dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend() argument 1452 if (windex == hsotg->otg_port && dwc2_host_is_b_hnp_enabled(hsotg)) { in dwc2_port_suspend() 1488 u16 wvalue, u16 windex, char *buf, u16 wlength) in dwc2_hcd_hub_control() argument 1517 if (!windex || windex > 1) in dwc2_hcd_hub_control() 1637 "GetPortStatus wIndex=0x%04x flags=0x%08x\n", windex, in dwc2_hcd_hub_control() 1639 if (!windex || windex > 1) in dwc2_hcd_hub_control() 1707 if (wvalue != USB_PORT_FEAT_TEST && (!windex || windex > 1)) in dwc2_hcd_hub_control() 1725 if (windex != hsotg->otg_port) in dwc2_hcd_hub_control() 1727 dwc2_port_suspend(hsotg, windex); in dwc2_hcd_hub_control() 1791 typereq, windex, wvalue); in dwc2_hcd_hub_control() [all …]
|
D | gadget.c | 871 u32 windex) in ep_from_windex() argument 874 int dir = (windex & USB_DIR_IN) ? 1 : 0; in ep_from_windex() 875 int idx = windex & 0x7F; in ep_from_windex() 877 if (windex >= 0x100) in ep_from_windex()
|
/linux-4.1.27/drivers/usb/dwc3/ |
D | ep0.c | 312 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() local 315 epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; in dwc3_wIndex_to_dep() 316 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()
|