Lines Matching refs:wValue
173 u16 wIndex, u16 wValue) in ast_vhub_hub_dev_status() argument
196 u16 wIndex, u16 wValue) in ast_vhub_hub_ep_status() argument
215 u16 wIndex, u16 wValue, in ast_vhub_hub_dev_feature() argument
219 is_set ? "SET" : "CLEAR", wValue); in ast_vhub_hub_dev_feature()
221 if (wValue != USB_DEVICE_REMOTE_WAKEUP) in ast_vhub_hub_dev_feature()
232 u16 wIndex, u16 wValue, in ast_vhub_hub_ep_feature() argument
240 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_hub_ep_feature()
244 if (wValue != USB_ENDPOINT_HALT) in ast_vhub_hub_ep_feature()
339 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local
341 wValue = le16_to_cpu(crq->wValue); in ast_vhub_std_hub_request()
359 EPDBG(ep, "SET_ADDRESS: Got address %x\n", wValue); in ast_vhub_std_hub_request()
360 writel(wValue, vhub->regs + AST_VHUB_CONF); in ast_vhub_std_hub_request()
365 return ast_vhub_hub_dev_status(ep, wIndex, wValue); in ast_vhub_std_hub_request()
369 return ast_vhub_hub_ep_status(ep, wIndex, wValue); in ast_vhub_std_hub_request()
373 return ast_vhub_hub_dev_feature(ep, wIndex, wValue, true); in ast_vhub_std_hub_request()
375 return ast_vhub_hub_dev_feature(ep, wIndex, wValue, false); in ast_vhub_std_hub_request()
377 return ast_vhub_hub_ep_feature(ep, wIndex, wValue, true); in ast_vhub_std_hub_request()
379 return ast_vhub_hub_ep_feature(ep, wIndex, wValue, false); in ast_vhub_std_hub_request()
385 if (wValue != 1) in ast_vhub_std_hub_request()
391 switch (wValue >> 8) { in ast_vhub_std_hub_request()
394 return ast_vhub_rep_desc(ep, wValue >> 8, in ast_vhub_std_hub_request()
397 return ast_vhub_rep_string(ep, wValue & 0xff, in ast_vhub_std_hub_request()
406 if (wValue != 0 || wIndex != 0) in ast_vhub_std_hub_request()
701 u16 wValue, wIndex, wLength; in ast_vhub_class_hub_request() local
703 wValue = le16_to_cpu(crq->wValue); in ast_vhub_class_hub_request()
715 if (wValue != (USB_DT_HUB << 8)) in ast_vhub_class_hub_request()
721 EPDBG(ep, "Get/SetHubFeature(%d)\n", wValue); in ast_vhub_class_hub_request()
723 if (wValue == C_HUB_LOCAL_POWER || in ast_vhub_class_hub_request()
724 wValue == C_HUB_OVER_CURRENT) in ast_vhub_class_hub_request()
728 EPDBG(ep, "SetPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
729 return ast_vhub_set_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
731 EPDBG(ep, "ClearPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
732 return ast_vhub_clr_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()