Lines Matching refs:wValue
163 u16 wIndex, u16 wValue) in ast_vhub_hub_dev_status() argument
186 u16 wIndex, u16 wValue) in ast_vhub_hub_ep_status() argument
205 u16 wIndex, u16 wValue, in ast_vhub_hub_dev_feature() argument
209 is_set ? "SET" : "CLEAR", wValue); in ast_vhub_hub_dev_feature()
211 if (wValue != USB_DEVICE_REMOTE_WAKEUP) in ast_vhub_hub_dev_feature()
222 u16 wIndex, u16 wValue, in ast_vhub_hub_ep_feature() argument
230 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_hub_ep_feature()
234 if (wValue != USB_ENDPOINT_HALT) in ast_vhub_hub_ep_feature()
381 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local
383 wValue = le16_to_cpu(crq->wValue); in ast_vhub_std_hub_request()
401 EPDBG(ep, "SET_ADDRESS: Got address %x\n", wValue); in ast_vhub_std_hub_request()
402 writel(wValue, vhub->regs + AST_VHUB_CONF); in ast_vhub_std_hub_request()
407 return ast_vhub_hub_dev_status(ep, wIndex, wValue); in ast_vhub_std_hub_request()
411 return ast_vhub_hub_ep_status(ep, wIndex, wValue); in ast_vhub_std_hub_request()
415 return ast_vhub_hub_dev_feature(ep, wIndex, wValue, true); in ast_vhub_std_hub_request()
417 return ast_vhub_hub_dev_feature(ep, wIndex, wValue, false); in ast_vhub_std_hub_request()
419 return ast_vhub_hub_ep_feature(ep, wIndex, wValue, true); in ast_vhub_std_hub_request()
421 return ast_vhub_hub_ep_feature(ep, wIndex, wValue, false); in ast_vhub_std_hub_request()
427 if (wValue != 1) in ast_vhub_std_hub_request()
433 switch (wValue >> 8) { in ast_vhub_std_hub_request()
436 return ast_vhub_rep_desc(ep, wValue >> 8, in ast_vhub_std_hub_request()
439 return ast_vhub_rep_string(ep, wValue & 0xff, in ast_vhub_std_hub_request()
448 if (wValue != 0 || wIndex != 0) in ast_vhub_std_hub_request()
743 u16 wValue, wIndex, wLength; in ast_vhub_class_hub_request() local
745 wValue = le16_to_cpu(crq->wValue); in ast_vhub_class_hub_request()
757 if (wValue != (USB_DT_HUB << 8)) in ast_vhub_class_hub_request()
763 EPDBG(ep, "Get/SetHubFeature(%d)\n", wValue); in ast_vhub_class_hub_request()
765 if (wValue == C_HUB_LOCAL_POWER || in ast_vhub_class_hub_request()
766 wValue == C_HUB_OVER_CURRENT) in ast_vhub_class_hub_request()
770 EPDBG(ep, "SetPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
771 return ast_vhub_set_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
773 EPDBG(ep, "ClearPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
774 return ast_vhub_clr_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()