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),
72 .bLength = 0xA,
74 .bcdUSB = cpu_to_le16(0x0200),
76 .bDeviceSubClass = 0,
77 .bDeviceProtocol = 0,
80 .bRESERVED = 0,
104 .iConfiguration = 0,
108 .bMaxPower = 0,
113 .bInterfaceNumber = 0,
114 .bAlternateSetting = 0,
117 .bInterfaceSubClass = 0,
118 .bInterfaceProtocol = 0,
119 .iInterface = 0,
124 .bEndpointAddress = 0x81,
127 .bInterval = 0x0c,
139 .bHubContrCurrent = 0,
140 .u.hs.DeviceRemovable[0] = 0,
141 .u.hs.DeviceRemovable[1] = 0xff,
165 .language = 0x0409,
189 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_dev_status()
196 u8 st0 = 0; in ast_vhub_hub_ep_status()
201 /* On the hub we have only EP 0 and 1 */ in ast_vhub_hub_ep_status()
205 } else if (ep_num != 0) in ast_vhub_hub_ep_status()
208 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_ep_status()
230 val |= VHUB_CTRL_SET_TEST_MODE((wIndex >> 8) & 0x7); in ast_vhub_hub_dev_feature()
254 if (ep_num == 0) in ast_vhub_hub_ep_feature()
341 nlangs = 0; in ast_vhub_collect_languages()
343 max_langs = (size - hdr_len) / sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
352 rc = hdr_len + nlangs * sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
383 if (string_id == 0) { in ast_vhub_rep_string()
393 if (rc < 0 || rc >= AST_VHUB_EP0_MAX_PACKET) in ast_vhub_rep_string()
433 return ast_vhub_simple_reply(ep, 0, 0); in ast_vhub_std_hub_request()
465 return ast_vhub_rep_string(ep, wValue & 0xff, in ast_vhub_std_hub_request()
472 return ast_vhub_simple_reply(ep, 0); in ast_vhub_std_hub_request()
474 if (wValue != 0 || wIndex != 0) in ast_vhub_std_hub_request()
545 ast_vhub_change_port_stat(vhub, port, 0, in ast_vhub_device_connect()
551 0, true); in ast_vhub_device_connect()
575 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_wake_work()
582 0, true); in ast_vhub_wake_work()
631 set = 0; in ast_vhub_port_reset()
658 if (port == 0 || port > vhub->max_ports) in ast_vhub_set_port_feature()
668 0, USB_PORT_STAT_SUSPEND, in ast_vhub_set_port_feature()
701 if (port == 0 || port > vhub->max_ports) in ast_vhub_clr_port_feature()
710 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
718 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
747 if (port == 0 || port > vhub->max_ports) in ast_vhub_get_port_stat()
760 stat & 0xff, in ast_vhub_get_port_stat()
762 chg & 0xff, in ast_vhub_get_port_stat()
778 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
780 EPDBG(ep, "GetPortStatus(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
781 return ast_vhub_get_port_stat(ep, wIndex & 0xf); in ast_vhub_class_hub_request()
785 EPDBG(ep, "GetHubDescriptor(%d)\n", wIndex & 0xff); 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()
806 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
828 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_suspend()
851 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_resume()
885 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_reset()
890 p->change = 0; in ast_vhub_hub_reset()
897 writel(0, vhub->regs + AST_VHUB_CONF); in ast_vhub_hub_reset()
898 writel(0, vhub->regs + AST_VHUB_EP0_CTRL); in ast_vhub_hub_reset()
902 writel(0, vhub->regs + AST_VHUB_EP1_STS_CHG); in ast_vhub_hub_reset()
927 vhub->vhub_dev_desc.bcdUSB = cpu_to_le16(0x0100); in ast_vhub_fixup_usb1_dev_desc()
928 vhub->vhub_dev_desc.bDeviceProtocol = 0; in ast_vhub_fixup_usb1_dev_desc()
982 return 0; in ast_vhub_str_alloc_add()
999 int ret = 0; in ast_vhub_of_parse_str_desc()
1016 for (i = offset = 0; str_id_map[i].name; i++) { in ast_vhub_of_parse_str_desc()
1024 str_array[offset].id = 0; in ast_vhub_of_parse_str_desc()