Lines Matching +full:0 +full:x1d6b

56 	.bcdUSB			= cpu_to_le16(0x0200),
58 .bDeviceSubClass = 0,
61 .idVendor = cpu_to_le16(0x1d6b),
62 .idProduct = cpu_to_le16(0x0107),
63 .bcdDevice = cpu_to_le16(0x0100),
71 .bLength = 0xA,
73 .bcdUSB = cpu_to_le16(0x0200),
75 .bDeviceSubClass = 0,
76 .bDeviceProtocol = 0,
79 .bRESERVED = 0,
103 .iConfiguration = 0,
107 .bMaxPower = 0,
112 .bInterfaceNumber = 0,
113 .bAlternateSetting = 0,
116 .bInterfaceSubClass = 0,
117 .bInterfaceProtocol = 0,
118 .iInterface = 0,
123 .bEndpointAddress = 0x81,
126 .bInterval = 0x0c,
138 .bHubContrCurrent = 0,
139 .u.hs.DeviceRemovable[0] = 0,
140 .u.hs.DeviceRemovable[1] = 0xff,
164 .language = 0x0409,
188 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_dev_status()
195 u8 st0 = 0; in ast_vhub_hub_ep_status()
200 /* On the hub we have only EP 0 and 1 */ in ast_vhub_hub_ep_status()
204 } else if (ep_num != 0) in ast_vhub_hub_ep_status()
207 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_ep_status()
229 val |= VHUB_CTRL_SET_TEST_MODE((wIndex >> 8) & 0x7); in ast_vhub_hub_dev_feature()
253 if (ep_num == 0) in ast_vhub_hub_ep_feature()
340 nlangs = 0; in ast_vhub_collect_languages()
342 max_langs = (size - hdr_len) / sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
351 rc = hdr_len + nlangs * sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
382 if (string_id == 0) { in ast_vhub_rep_string()
392 if (rc < 0 || rc >= AST_VHUB_EP0_MAX_PACKET) in ast_vhub_rep_string()
432 return ast_vhub_simple_reply(ep, 0, 0); in ast_vhub_std_hub_request()
464 return ast_vhub_rep_string(ep, wValue & 0xff, in ast_vhub_std_hub_request()
471 return ast_vhub_simple_reply(ep, 0); in ast_vhub_std_hub_request()
473 if (wValue != 0 || wIndex != 0) in ast_vhub_std_hub_request()
544 ast_vhub_change_port_stat(vhub, port, 0, in ast_vhub_device_connect()
550 0, true); in ast_vhub_device_connect()
574 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_wake_work()
581 0, true); in ast_vhub_wake_work()
630 set = 0; in ast_vhub_port_reset()
657 if (port == 0 || port > vhub->max_ports) in ast_vhub_set_port_feature()
667 0, USB_PORT_STAT_SUSPEND, in ast_vhub_set_port_feature()
700 if (port == 0 || port > vhub->max_ports) in ast_vhub_clr_port_feature()
709 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
717 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
746 if (port == 0 || port > vhub->max_ports) in ast_vhub_get_port_stat()
759 stat & 0xff, in ast_vhub_get_port_stat()
761 chg & 0xff, in ast_vhub_get_port_stat()
777 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
779 EPDBG(ep, "GetPortStatus(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
780 return ast_vhub_get_port_stat(ep, wIndex & 0xf); in ast_vhub_class_hub_request()
784 EPDBG(ep, "GetHubDescriptor(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
795 EPDBG(ep, "SetPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
796 return ast_vhub_set_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
798 EPDBG(ep, "ClearPortFeature(%d,%d)\n", wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
799 return ast_vhub_clr_port_feature(ep, wIndex & 0xf, wValue); in ast_vhub_class_hub_request()
805 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
827 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_suspend()
850 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_resume()
884 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_reset()
889 p->change = 0; in ast_vhub_hub_reset()
896 writel(0, vhub->regs + AST_VHUB_CONF); in ast_vhub_hub_reset()
897 writel(0, vhub->regs + AST_VHUB_EP0_CTRL); in ast_vhub_hub_reset()
901 writel(0, vhub->regs + AST_VHUB_EP1_STS_CHG); in ast_vhub_hub_reset()
926 vhub->vhub_dev_desc.bcdUSB = cpu_to_le16(0x0100); in ast_vhub_fixup_usb1_dev_desc()
927 vhub->vhub_dev_desc.bDeviceProtocol = 0; in ast_vhub_fixup_usb1_dev_desc()
981 return 0; in ast_vhub_str_alloc_add()
998 int ret = 0; in ast_vhub_of_parse_str_desc()
1015 for (i = offset = 0; str_id_map[i].name; i++) { in ast_vhub_of_parse_str_desc()
1023 str_array[offset].id = 0; in ast_vhub_of_parse_str_desc()