Lines Matching refs:wValue
170 u16 wIndex, u16 wValue) in ast_vhub_hub_dev_status() argument
193 u16 wIndex, u16 wValue) in ast_vhub_hub_ep_status() argument
212 u16 wIndex, u16 wValue, in ast_vhub_hub_dev_feature() argument
218 is_set ? "SET" : "CLEAR", wValue); in ast_vhub_hub_dev_feature()
220 if (wValue == USB_DEVICE_REMOTE_WAKEUP) { in ast_vhub_hub_dev_feature()
227 if (wValue == USB_DEVICE_TEST_MODE) { in ast_vhub_hub_dev_feature()
240 u16 wIndex, u16 wValue, in ast_vhub_hub_ep_feature() argument
248 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_hub_ep_feature()
252 if (wValue != USB_ENDPOINT_HALT) in ast_vhub_hub_ep_feature()
405 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local
407 wValue = le16_to_cpu(crq->wValue); in ast_vhub_std_hub_request()
425 EPDBG(ep, "SET_ADDRESS: Got address %x\n", wValue); in ast_vhub_std_hub_request()
426 writel(wValue, vhub->regs + AST_VHUB_CONF); 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()
451 if (wValue != 1) in ast_vhub_std_hub_request()
457 switch (wValue >> 8) { in ast_vhub_std_hub_request()
462 return ast_vhub_rep_desc(ep, wValue >> 8, in ast_vhub_std_hub_request()
465 return ast_vhub_rep_string(ep, wValue & 0xff, 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
771 wValue = le16_to_cpu(crq->wValue); in ast_vhub_class_hub_request()
783 if (wValue != (USB_DT_HUB << 8)) in ast_vhub_class_hub_request()
789 EPDBG(ep, "Get/SetHubFeature(%d)\n", wValue); in ast_vhub_class_hub_request()
791 if (wValue == C_HUB_LOCAL_POWER || in ast_vhub_class_hub_request()
792 wValue == C_HUB_OVER_CURRENT) 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()