Lines Matching refs:wIndex
170 u16 wIndex, u16 wValue) in ast_vhub_hub_dev_status() argument
193 u16 wIndex, u16 wValue) in ast_vhub_hub_ep_status() argument
198 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_status()
212 u16 wIndex, u16 wValue, in ast_vhub_hub_dev_feature() argument
230 val |= VHUB_CTRL_SET_TEST_MODE((wIndex >> 8) & 0x7); in ast_vhub_hub_dev_feature()
240 u16 wIndex, u16 wValue, in ast_vhub_hub_ep_feature() argument
246 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_feature()
405 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local
408 wIndex = le16_to_cpu(crq->wIndex); in ast_vhub_std_hub_request()
431 return ast_vhub_hub_dev_status(ep, wIndex, wValue); in ast_vhub_std_hub_request()
435 return ast_vhub_hub_ep_status(ep, wIndex, wValue); in ast_vhub_std_hub_request()
439 return ast_vhub_hub_dev_feature(ep, wIndex, wValue, true); in ast_vhub_std_hub_request()
441 return ast_vhub_hub_dev_feature(ep, wIndex, wValue, false); in ast_vhub_std_hub_request()
443 return ast_vhub_hub_ep_feature(ep, wIndex, wValue, true); in ast_vhub_std_hub_request()
445 return ast_vhub_hub_ep_feature(ep, wIndex, wValue, false); in ast_vhub_std_hub_request()
466 wIndex, wLength); in ast_vhub_std_hub_request()
474 if (wValue != 0 || wIndex != 0) in ast_vhub_std_hub_request()
769 u16 wValue, wIndex, wLength; in ast_vhub_class_hub_request() local
772 wIndex = le16_to_cpu(crq->wIndex); in ast_vhub_class_hub_request()
780 EPDBG(ep, "GetPortStatus(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
781 return ast_vhub_get_port_stat(ep, wIndex & 0xf); in ast_vhub_class_hub_request()
785 EPDBG(ep, "GetHubDescriptor(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
796 EPDBG(ep, "SetPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
797 return ast_vhub_set_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
799 EPDBG(ep, "ClearPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
800 return ast_vhub_clr_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()