Lines Matching +full:send +full:- +full:flush +full:- +full:out +full:- +full:sequence
1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Copyright (C) 1997-1998 Inside Out Networks, Inc.
8 * These definitions are used by both kernel-mode driver and the
16 through a single endpoint pair (EP1 since it supports 64-byte
25 --------
26 | | |------ Port Number: 0-7
27 | |--------- Length: MSB bits of length
28 |----------- Data/Command: 0 = Data header
29 1 = Cmd / Status (Cmd if OUT, Status if IN)
37 Where (LLLL,LLLLLLL) is 12-bit length of data that follows for
38 port number (PPP). The length is 0-based (0-FFF means 0-4095
50 Frequently-used values are encoded as (cccc), longer ones using
53 for command and status codes that need variable-length parameters.
58 been a change, sends the following 10-byte packet:
66 The first field is the 16-bit RxBytesAvail field, which indicates the
73 The next 4 fields are the 16-bit TxCredits for each port, which indicate how
74 many bytes the host is allowed to send on EP1 for transmit to a given port.
78 All 16-bit fields are sent in little-endian (Intel) format.
108 #define IOSP_MAX_DATA_LENGTH 0x0FFF // 12 bits -> 4K
134 //--------------------------------------------------------------
141 // cccc: 00-07 2-byte commands. Write UART register 0-7 with
145 // 08-0B 3-byte commands: ==== P1 ==== ==== P2 ====
147 // 09 1-param commands Command Code Param
151 // 0C-0D 4-byte commands. P1 = extended cmd and P2,P3 = params
154 // 0E-0F N-byte commands: P1 = num bytes after P1 (ie, TotalLen - 2)
175 #define IOSP_CMD_CLOSE_PORT 0x01 // Disable ints, flush buffers. (NO PARAM)
183 // the receive data stream (Parameter = 1 byte sequence number)
215 //--------------------------------------------------------------
274 #define IOSP_TX_TOGGLE_RTS 0x20 // Edgeport drives RTS as a true half-duplex
276 // Request-to-Send signal: it is raised before
319 // Note tat the sequence numbers may be used to detect lost
325 // P2 = Sequence number
330 // P2 = Request Sequence number
334 //--------------------------------------------------------------
341 // ssss: 00-07 2-byte status. ssss identifies which UART register
348 // 08-0B 3-byte status: ==== P1 ==== ==== P2 ====
350 // 09 1-param responses Response Code Param
354 // 0C-0D 4-byte status. P1 = extended status code and P2,P3 = params
357 // 0E-0F N-byte status: P1 = num bytes after P1 (ie, TotalLen - 2)
363 * SSSS values for 2-byte status messages (0-8)
394 * SSSS values for 3-byte status messages (8-A)
405 // Response Codes (P1 values) for 3-byte status messages
409 #define IOSP_EXT_STATUS_CHASE_FAIL 1 // P2 = 1: Timed out (stuck due to flow
413 #define IOSP_EXT_STATUS_RX_CHECK_RSP 1 // Reply to RX_CHECK cmd. P2 is sequence number
430 * SSSS values for 4-byte status messages