Lines Matching +full:0 +full:x1d6b
49 #define KERNEL_REL bin2bcd(((LINUX_VERSION_CODE >> 16) & 0x0ff))
50 #define KERNEL_VER bin2bcd(((LINUX_VERSION_CODE >> 8) & 0x0ff))
62 .bcdUSB = cpu_to_le16(0x0200),
64 .bDeviceSubClass = 0,
67 .idVendor = cpu_to_le16(0x1d6b),
68 .idProduct = cpu_to_le16(0x0107),
69 .bcdDevice = cpu_to_le16(0x0100),
97 .iConfiguration = 0,
101 .bMaxPower = 0,
106 .bInterfaceNumber = 0,
107 .bAlternateSetting = 0,
110 .bInterfaceSubClass = 0,
111 .bInterfaceProtocol = 0,
112 .iInterface = 0,
117 .bEndpointAddress = 0x81,
120 .bInterval = 0x0c,
132 .bHubContrCurrent = 0,
133 .u.hs.DeviceRemovable[0] = 0,
134 .u.hs.DeviceRemovable[1] = 0xff,
158 .language = 0x0409,
182 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_dev_status()
189 u8 st0 = 0; in ast_vhub_hub_ep_status()
194 /* On the hub we have only EP 0 and 1 */ in ast_vhub_hub_ep_status()
198 } else if (ep_num != 0) in ast_vhub_hub_ep_status()
201 return ast_vhub_simple_reply(ep, st0, 0); in ast_vhub_hub_ep_status()
236 if (ep_num == 0) in ast_vhub_hub_ep_feature()
317 nlangs = 0; in ast_vhub_collect_languages()
319 max_langs = (size - hdr_len) / sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
328 rc = hdr_len + nlangs * sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
359 if (string_id == 0) { in ast_vhub_rep_string()
369 if (rc < 0 || rc >= AST_VHUB_EP0_MAX_PACKET) in ast_vhub_rep_string()
409 return ast_vhub_simple_reply(ep, 0, 0); in ast_vhub_std_hub_request()
439 return ast_vhub_rep_string(ep, wValue & 0xff, in ast_vhub_std_hub_request()
446 return ast_vhub_simple_reply(ep, 0); in ast_vhub_std_hub_request()
448 if (wValue != 0 || wIndex != 0) in ast_vhub_std_hub_request()
519 ast_vhub_change_port_stat(vhub, port, 0, in ast_vhub_device_connect()
525 0, true); in ast_vhub_device_connect()
549 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_wake_work()
556 0, true); in ast_vhub_wake_work()
605 set = 0; in ast_vhub_port_reset()
632 if (port == 0 || port > vhub->max_ports) in ast_vhub_set_port_feature()
642 0, USB_PORT_STAT_SUSPEND, in ast_vhub_set_port_feature()
675 if (port == 0 || port > vhub->max_ports) in ast_vhub_clr_port_feature()
684 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
692 USB_PORT_STAT_SUSPEND, 0, in ast_vhub_clr_port_feature()
721 if (port == 0 || port > vhub->max_ports) in ast_vhub_get_port_stat()
734 stat & 0xff, in ast_vhub_get_port_stat()
736 chg & 0xff, in ast_vhub_get_port_stat()
752 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
754 EPDBG(ep, "GetPortStatus(%d)\n", wIndex & 0xff); in ast_vhub_class_hub_request()
755 return ast_vhub_get_port_stat(ep, wIndex & 0xf); in ast_vhub_class_hub_request()
759 EPDBG(ep, "GetHubDescriptor(%d)\n", wIndex & 0xff); 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()
780 return ast_vhub_simple_reply(ep, 0, 0, 0, 0); in ast_vhub_class_hub_request()
802 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_suspend()
825 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_resume()
859 for (i = 0; i < vhub->max_ports; i++) { in ast_vhub_hub_reset()
864 p->change = 0; in ast_vhub_hub_reset()
871 writel(0, vhub->regs + AST_VHUB_CONF); in ast_vhub_hub_reset()
872 writel(0, vhub->regs + AST_VHUB_EP0_CTRL); in ast_vhub_hub_reset()
876 writel(0, vhub->regs + AST_VHUB_EP1_STS_CHG); in ast_vhub_hub_reset()
901 vhub->vhub_dev_desc.bcdUSB = cpu_to_le16(0x0100); in ast_vhub_fixup_usb1_dev_desc()
902 vhub->vhub_dev_desc.bDeviceProtocol = 0; in ast_vhub_fixup_usb1_dev_desc()
956 return 0; in ast_vhub_str_alloc_add()
973 int ret = 0; in ast_vhub_of_parse_str_desc()
990 for (i = offset = 0; str_id_map[i].name; i++) { in ast_vhub_of_parse_str_desc()
998 str_array[offset].id = 0; in ast_vhub_of_parse_str_desc()