Lines Matching +full:cable +full:- +full:modem
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * hfcsusb.h, HFC-S USB mISDN driver
10 #define DRIVER_NAME "HFC-S_USB"
40 #define MAX_BCH_SIZE 2048 /* allowed B-channel packet size */
53 #define HFCUSB_SCTRL 0x31 /* S-bus control register (tx) */
55 #define HFCUSB_SCTRL_R 0x33 /* S-bus control register (rx) */
70 #define HFCUSB_CHIPID 0x40 /* ID value of HFC-S USB */
104 #define BITLINE_INF (-96 * 8)
106 /* HFC-S USB register access by Control-URSs */
108 usb_control_msg((a)->dev, (a)->ctrl_out_pipe, 0, 0x40, (c), (b), \
111 usb_control_msg((a)->dev, (a)->ctrl_in_pipe, 1, 0xC0, 0, (b), (c), \
130 {-ENOMEM, "No memory for allocation of internal structures"},
131 {-ENOSPC, "The host controller's bandwidth is already consumed"},
132 {-ENOENT, "URB was canceled by unlink_urb"},
133 {-EXDEV, "ISO transfer only partially completed"},
134 {-EAGAIN, "Too match scheduled for the future"},
135 {-ENXIO, "URB already queued"},
136 {-EFBIG, "Too much ISO frames requested"},
137 {-ENOSR, "Buffer error (overrun)"},
138 {-EPIPE, "Specified endpoint is stalled (device not responding)"},
139 {-EOVERFLOW, "Babble (bad cable?)"},
140 {-EPROTO, "Bit-stuff error (bad cable?)"},
141 {-EILSEQ, "CRC/Timeout"},
142 {-ETIMEDOUT, "NAK (device does not respond)"},
143 {-ESHUTDOWN, "Device unplugged"},
144 {-1, NULL}
179 * INT-in and ISO-out, or ISO-in and ISO-out)
180 * with 4 RX endpoints even E-Channel logging is possible
228 /* time in ms to perform a Flashing LED when B-Channel has traffic */
264 struct dchannel *dch; /* link to hfcsusb_t->dch */
265 struct bchannel *bch; /* link to hfcsusb_t->bch */
266 struct dchannel *ech; /* link to hfcsusb_t->ech, TODO: E-CHANNEL */
321 "TE F0 - Reset",
322 "TE F1 - Reset",
323 "TE F2 - Sensing",
324 "TE F3 - Deactivated",
325 "TE F4 - Awaiting signal",
326 "TE F5 - Identifying input",
327 "TE F6 - Synchronized",
328 "TE F7 - Activated",
329 "TE F8 - Lost framing",
333 "NT G0 - Reset",
334 "NT G1 - Deactive",
335 "NT G2 - Pending activation",
336 "NT G3 - Active",
337 "NT G4 - Pending deactivation",
346 "ISDN USB TA (Cologne Chip HFC-S USB based)"}),
357 {LED_SCHEME1, {0x80, -64, -32, -16},
387 {LED_SCHEME1, {0x80, -64, -32, -16},
388 "Bewan Modem RNIS USB"}),
393 {LED_SCHEME1, {0x80, -64, -32, -16},
399 {LED_SCHEME1, {0x80, -64, -32, -16},
411 {LED_SCHEME1, {0x88, -64, -32, -16},
417 {LED_SCHEME1, {0x88, -64, -32, -16},
418 "X-Tensions USB ISDN TA XC-525"}),