Lines Matching +full:0 +full:x1d6b

57 	.bcdUSB			= cpu_to_le16(0x0200),
59 .bDeviceSubClass = 0,
62 .idVendor = cpu_to_le16(0x1d6b),
63 .idProduct = cpu_to_le16(0x0107),
64 .bcdDevice = cpu_to_le16(0x0100),
92 .iConfiguration = 0,
96 .bMaxPower = 0,
101 .bInterfaceNumber = 0,
102 .bAlternateSetting = 0,
105 .bInterfaceSubClass = 0,
106 .bInterfaceProtocol = 0,
107 .iInterface = 0,
112 .bEndpointAddress = 0x81,
115 .bInterval = 0x0c,
127 .bHubContrCurrent = 0,
128 .u.hs.DeviceRemovable[0] = 0,
129 .u.hs.DeviceRemovable[1] = 0xff,
153 .language = 0x0409,
177 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_dev_status()
184 u8 st0 = 0; in ast_vhub_hub_ep_status()
189 /* On the hub we have only EP 0 and 1 */ in ast_vhub_hub_ep_status()
193 } else if (ep_num != 0) in ast_vhub_hub_ep_status()
196 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_ep_status()
231 if (ep_num == 0) in ast_vhub_hub_ep_feature()
312 nlangs = 0; in ast_vhub_collect_languages()
314 max_langs = (size - hdr_len) / sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
323 rc = hdr_len + nlangs * sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
354 if (string_id == 0) { in ast_vhub_rep_string()
364 if (rc < 0 || rc >= AST_VHUB_EP0_MAX_PACKET) in ast_vhub_rep_string()
404 return ast_vhub_simple_reply(ep, 0, 0); in ast_vhub_std_hub_request()
434 return ast_vhub_rep_string(ep, wValue & 0xff, in ast_vhub_std_hub_request()
441 return ast_vhub_simple_reply(ep, 0); in ast_vhub_std_hub_request()
443 if (wValue != 0 || wIndex != 0) in ast_vhub_std_hub_request()
514 ast_vhub_change_port_stat(vhub, port, 0, in ast_vhub_device_connect()
520 0, true); in ast_vhub_device_connect()
544 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_wake_work()
551 0, true); in ast_vhub_wake_work()
600 set = 0; in ast_vhub_port_reset()
627 if (port == 0 || port > vhub->max_ports) in ast_vhub_set_port_feature()
637 0, USB_PORT_STAT_SUSPEND, in ast_vhub_set_port_feature()
670 if (port == 0 || port > vhub->max_ports) in ast_vhub_clr_port_feature()
679 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
687 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
716 if (port == 0 || port > vhub->max_ports) in ast_vhub_get_port_stat()
729 stat & 0xff, in ast_vhub_get_port_stat()
731 chg & 0xff, in ast_vhub_get_port_stat()
747 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
749 EPDBG(ep, "GetPortStatus(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
750 return ast_vhub_get_port_stat(ep, wIndex & 0xf); in ast_vhub_class_hub_request()
754 EPDBG(ep, "GetHubDescriptor(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
765 EPDBG(ep, "SetPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
766 return ast_vhub_set_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
768 EPDBG(ep, "ClearPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
769 return ast_vhub_clr_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
775 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
797 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_suspend()
820 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_resume()
854 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_reset()
859 p->change = 0; in ast_vhub_hub_reset()
866 writel(0, vhub->regs + AST_VHUB_CONF); in ast_vhub_hub_reset()
867 writel(0, vhub->regs + AST_VHUB_EP0_CTRL); in ast_vhub_hub_reset()
871 writel(0, vhub->regs + AST_VHUB_EP1_STS_CHG); in ast_vhub_hub_reset()
896 vhub->vhub_dev_desc.bcdUSB = cpu_to_le16(0x0100); in ast_vhub_fixup_usb1_dev_desc()
897 vhub->vhub_dev_desc.bDeviceProtocol = 0; in ast_vhub_fixup_usb1_dev_desc()
951 return 0; in ast_vhub_str_alloc_add()
968 int ret = 0; in ast_vhub_of_parse_str_desc()
985 for (i = offset = 0; str_id_map[i].name; i++) { in ast_vhub_of_parse_str_desc()
993 str_array[offset].id = 0; in ast_vhub_of_parse_str_desc()