Lines Matching +full:0 +full:x1740
28 { USB_DEVICE(0x0105, 0x145f), .driver_info = DEVICE_ZD1211 },
29 { USB_DEVICE(0x0586, 0x3401), .driver_info = DEVICE_ZD1211 },
30 { USB_DEVICE(0x0586, 0x3402), .driver_info = DEVICE_ZD1211 },
31 { USB_DEVICE(0x0586, 0x3407), .driver_info = DEVICE_ZD1211 },
32 { USB_DEVICE(0x0586, 0x3409), .driver_info = DEVICE_ZD1211 },
33 { USB_DEVICE(0x079b, 0x004a), .driver_info = DEVICE_ZD1211 },
34 { USB_DEVICE(0x07b8, 0x6001), .driver_info = DEVICE_ZD1211 },
35 { USB_DEVICE(0x0ace, 0x1211), .driver_info = DEVICE_ZD1211 },
36 { USB_DEVICE(0x0ace, 0xa211), .driver_info = DEVICE_ZD1211 },
37 { USB_DEVICE(0x0b05, 0x170c), .driver_info = DEVICE_ZD1211 },
38 { USB_DEVICE(0x0b3b, 0x1630), .driver_info = DEVICE_ZD1211 },
39 { USB_DEVICE(0x0b3b, 0x5630), .driver_info = DEVICE_ZD1211 },
40 { USB_DEVICE(0x0df6, 0x9071), .driver_info = DEVICE_ZD1211 },
41 { USB_DEVICE(0x0df6, 0x9075), .driver_info = DEVICE_ZD1211 },
42 { USB_DEVICE(0x126f, 0xa006), .driver_info = DEVICE_ZD1211 },
43 { USB_DEVICE(0x129b, 0x1666), .driver_info = DEVICE_ZD1211 },
44 { USB_DEVICE(0x13b1, 0x001e), .driver_info = DEVICE_ZD1211 },
45 { USB_DEVICE(0x1435, 0x0711), .driver_info = DEVICE_ZD1211 },
46 { USB_DEVICE(0x14ea, 0xab10), .driver_info = DEVICE_ZD1211 },
47 { USB_DEVICE(0x14ea, 0xab13), .driver_info = DEVICE_ZD1211 },
48 { USB_DEVICE(0x157e, 0x300a), .driver_info = DEVICE_ZD1211 },
49 { USB_DEVICE(0x157e, 0x300b), .driver_info = DEVICE_ZD1211 },
50 { USB_DEVICE(0x157e, 0x3204), .driver_info = DEVICE_ZD1211 },
51 { USB_DEVICE(0x157e, 0x3207), .driver_info = DEVICE_ZD1211 },
52 { USB_DEVICE(0x1740, 0x2000), .driver_info = DEVICE_ZD1211 },
53 { USB_DEVICE(0x6891, 0xa727), .driver_info = DEVICE_ZD1211 },
55 { USB_DEVICE(0x0053, 0x5301), .driver_info = DEVICE_ZD1211B },
56 { USB_DEVICE(0x0409, 0x0248), .driver_info = DEVICE_ZD1211B },
57 { USB_DEVICE(0x0411, 0x00da), .driver_info = DEVICE_ZD1211B },
58 { USB_DEVICE(0x0471, 0x1236), .driver_info = DEVICE_ZD1211B },
59 { USB_DEVICE(0x0471, 0x1237), .driver_info = DEVICE_ZD1211B },
60 { USB_DEVICE(0x050d, 0x705c), .driver_info = DEVICE_ZD1211B },
61 { USB_DEVICE(0x054c, 0x0257), .driver_info = DEVICE_ZD1211B },
62 { USB_DEVICE(0x0586, 0x340a), .driver_info = DEVICE_ZD1211B },
63 { USB_DEVICE(0x0586, 0x340f), .driver_info = DEVICE_ZD1211B },
64 { USB_DEVICE(0x0586, 0x3410), .driver_info = DEVICE_ZD1211B },
65 { USB_DEVICE(0x0586, 0x3412), .driver_info = DEVICE_ZD1211B },
66 { USB_DEVICE(0x0586, 0x3413), .driver_info = DEVICE_ZD1211B },
67 { USB_DEVICE(0x079b, 0x0062), .driver_info = DEVICE_ZD1211B },
68 { USB_DEVICE(0x07fa, 0x1196), .driver_info = DEVICE_ZD1211B },
69 { USB_DEVICE(0x083a, 0x4505), .driver_info = DEVICE_ZD1211B },
70 { USB_DEVICE(0x083a, 0xe501), .driver_info = DEVICE_ZD1211B },
71 { USB_DEVICE(0x083a, 0xe503), .driver_info = DEVICE_ZD1211B },
72 { USB_DEVICE(0x083a, 0xe506), .driver_info = DEVICE_ZD1211B },
73 { USB_DEVICE(0x0ace, 0x1215), .driver_info = DEVICE_ZD1211B },
74 { USB_DEVICE(0x0ace, 0xb215), .driver_info = DEVICE_ZD1211B },
75 { USB_DEVICE(0x0b05, 0x171b), .driver_info = DEVICE_ZD1211B },
76 { USB_DEVICE(0x0baf, 0x0121), .driver_info = DEVICE_ZD1211B },
77 { USB_DEVICE(0x0cde, 0x001a), .driver_info = DEVICE_ZD1211B },
78 { USB_DEVICE(0x0df6, 0x0036), .driver_info = DEVICE_ZD1211B },
79 { USB_DEVICE(0x129b, 0x1667), .driver_info = DEVICE_ZD1211B },
80 { USB_DEVICE(0x13b1, 0x0024), .driver_info = DEVICE_ZD1211B },
81 { USB_DEVICE(0x157e, 0x300d), .driver_info = DEVICE_ZD1211B },
82 { USB_DEVICE(0x1582, 0x6003), .driver_info = DEVICE_ZD1211B },
83 { USB_DEVICE(0x2019, 0x5303), .driver_info = DEVICE_ZD1211B },
84 { USB_DEVICE(0x2019, 0xed01), .driver_info = DEVICE_ZD1211B },
86 { USB_DEVICE(0x0ace, 0x2011), .driver_info = DEVICE_INSTALLER },
87 { USB_DEVICE(0x0ace, 0x20ff), .driver_info = DEVICE_INSTALLER },
149 while (size > 0) { in upload_code()
156 r = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in upload_code()
159 code_offset, 0, p, transfer_size, 1000 /* ms */); in upload_code()
160 if (r < 0) { in upload_code()
177 r = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), in upload_code()
180 0, 0, p, sizeof(ret), 5000 /* ms */); in upload_code()
185 if (r >= 0) in upload_code()
189 ret = p[0]; in upload_code()
190 if (ret & 0x80) { in upload_code()
202 r = 0; in upload_code()
230 int r = 0; in handle_version_mismatch()
281 if (bcdDevice <= 0x4313) in upload_firmware()
334 r = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), in zd_usb_read_fw()
335 USB_REQ_FIRMWARE_READ_DATA, USB_DIR_IN | 0x40, addr, 0, in zd_usb_read_fw()
337 if (r < 0) { in zd_usb_read_fw()
348 r = 0; in zd_usb_read_fw()
365 atomic_set(&intr->read_regs_enabled, 0); in handle_regs_int_override()
408 atomic_set(&intr->read_regs_enabled, 0); in handle_regs_int()
409 intr->read_regs_int_overridden = 0; in handle_regs_int()
432 case 0: in int_urb_complete()
523 urb = usb_alloc_urb(0, GFP_KERNEL); in zd_usb_enable_int()
533 r = 0; in zd_usb_enable_int()
563 return 0; in zd_usb_enable_int()
631 for (i = 0, l = 0;; i++) { in handle_rx_packet()
633 if (k == 0) in handle_rx_packet()
658 case 0: in rx_urb_complete()
692 if (rx->fragment_length > 0) { in rx_urb_complete()
700 rx->fragment_length = 0; in rx_urb_complete()
719 urb = usb_alloc_urb(0, GFP_KERNEL); in alloc_rx_urb()
758 for (i = 0; i < RX_URBS_COUNT; i++) { in __zd_usb_enable_rx()
768 r = 0; in __zd_usb_enable_rx()
775 for (i = 0; i < RX_URBS_COUNT; i++) { in __zd_usb_enable_rx()
781 return 0; in __zd_usb_enable_rx()
783 for (i = 0; i < RX_URBS_COUNT; i++) { in __zd_usb_enable_rx()
788 rx->urbs_count = 0; in __zd_usb_enable_rx()
792 for (i = 0; i < RX_URBS_COUNT; i++) in __zd_usb_enable_rx()
827 for (i = 0; i < count; i++) { in __zd_usb_disable_rx()
835 rx->urbs_count = 0; in __zd_usb_disable_rx()
885 atomic_set(&tx->enabled, 0); in zd_usb_disable_tx()
892 WARN_ON(tx->submitted_urbs != 0); in zd_usb_disable_tx()
893 tx->submitted_urbs = 0; in zd_usb_disable_tx()
915 tx->submitted_urbs = 0; in zd_usb_enable_tx()
917 tx->stopped = 0; in zd_usb_enable_tx()
930 tx->stopped = 0; in tx_dec_submitted_urbs()
970 usb = &zd_hw_mac(info->rate_driver_data[0])->chip.usb; in tx_urb_complete()
974 case 0: in tx_urb_complete()
1014 * The function returns 0 if the transfer has been successfully initiated.
1029 urb = usb_alloc_urb(0, GFP_ATOMIC); in zd_usb_tx()
1050 return 0; in zd_usb_tx()
1122 tx->watchdog_enabled = 0; in zd_tx_watchdog_disable()
1163 atomic_set(&intr->read_regs_enabled, 0); in init_usb_interrupt()
1178 ZD_ASSERT(rx->fragment_length == 0); in init_usb_rx()
1190 atomic_set(&tx->enabled, 0); in init_usb_tx()
1191 tx->stopped = 0; in init_usb_tx()
1194 tx->submitted_urbs = 0; in init_usb_tx()
1195 tx->watchdog_enabled = 0; in init_usb_tx()
1202 memset(usb, 0, sizeof(*usb)); in zd_usb_init()
1254 buffer[sizeof(buffer)-1] = 0; in print_id()
1258 #define print_id(udev) do { } while (0)
1274 for (r = 1; r >= 0; r--) { in eject_installer()
1293 cmd[0] = 0x55; /* bulk command signature */ in eject_installer()
1294 cmd[1] = 0x53; /* bulk command signature */ in eject_installer()
1295 cmd[2] = 0x42; /* bulk command signature */ in eject_installer()
1296 cmd[3] = 0x43; /* bulk command signature */ in eject_installer()
1299 cmd[15] = 0x1b; /* SCSI command: START STOP UNIT */ in eject_installer()
1300 cmd[19] = 0x2; /* eject disc */ in eject_installer()
1313 return 0; in eject_installer()
1345 return 0; in zd_usb_init_hw()
1385 usb->is_zd1211b = (id->driver_info == DEVICE_ZD1211B) != 0; in probe()
1403 return 0; in probe()
1456 if (r < 0) { in zd_usb_resume()
1467 if (r < 0) { in zd_usb_resume()
1485 usb->initialized = 0; in zd_usb_stop()
1495 return 0; in pre_reset()
1505 return 0; in pre_reset()
1515 return 0; in post_reset()
1524 return 0; in post_reset()
1560 return 0; in usb_init()
1617 atomic_set(&intr->read_regs_enabled, 0); in disable_read_regs_int()
1646 for (i = 0; i < count; i++) { in check_read_regs()
1684 for (i = 0; i < count; i++) { in get_results()
1689 r = 0; in get_results()
1698 int r, i, req_len, actual_req_len, try_count = 0; in zd_usb_ioread16v()
1730 for (i = 0; i < count; i++) in zd_usb_ioread16v()
1784 int r = 0; in zd_submit_waiting_urb()
1788 return 0; in zd_submit_waiting_urb()
1804 /* fall-through with r == 0 */ in zd_submit_waiting_urb()
1819 usb->cmd_error = 0; in zd_usb_iowrite16v_async_start()
1855 usb->in_async = 0; in zd_usb_iowrite16v_async_end()
1872 if (count == 0) in zd_usb_iowrite16v_async()
1873 return 0; in zd_usb_iowrite16v_async()
1887 urb = usb_alloc_urb(0, GFP_KERNEL); in zd_usb_iowrite16v_async()
1899 for (i = 0; i < count; i++) { in zd_usb_iowrite16v_async()
1931 return 0; in zd_usb_iowrite16v_async()
1945 zd_usb_iowrite16v_async_end(usb, 0); in zd_usb_iowrite16v()
1973 if (value & (~0UL << bits)) { in zd_usb_rfwrite()
2006 for (i = 0; i < bits; i++) { in zd_usb_rfwrite()
2028 /* FALL-THROUGH with r == 0 */ in zd_usb_rfwrite()