linux/drivers/tty/synclinkmp.c
<<
>>
Prefs
   1/*
   2 * $Id: synclinkmp.c,v 4.38 2005/07/15 13:29:44 paulkf Exp $
   3 *
   4 * Device driver for Microgate SyncLink Multiport
   5 * high speed multiprotocol serial adapter.
   6 *
   7 * written by Paul Fulghum for Microgate Corporation
   8 * paulkf@microgate.com
   9 *
  10 * Microgate and SyncLink are trademarks of Microgate Corporation
  11 *
  12 * Derived from serial.c written by Theodore Ts'o and Linus Torvalds
  13 * This code is released under the GNU General Public License (GPL)
  14 *
  15 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
  16 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  18 * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
  19 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  21 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  23 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  25 * OF THE POSSIBILITY OF SUCH DAMAGE.
  26 */
  27
  28#define VERSION(ver,rel,seq) (((ver)<<16) | ((rel)<<8) | (seq))
  29#if defined(__i386__)
  30#  define BREAKPOINT() asm("   int $3");
  31#else
  32#  define BREAKPOINT() { }
  33#endif
  34
  35#define MAX_DEVICES 12
  36
  37#include <linux/module.h>
  38#include <linux/errno.h>
  39#include <linux/signal.h>
  40#include <linux/sched.h>
  41#include <linux/timer.h>
  42#include <linux/interrupt.h>
  43#include <linux/pci.h>
  44#include <linux/tty.h>
  45#include <linux/tty_flip.h>
  46#include <linux/serial.h>
  47#include <linux/major.h>
  48#include <linux/string.h>
  49#include <linux/fcntl.h>
  50#include <linux/ptrace.h>
  51#include <linux/ioport.h>
  52#include <linux/mm.h>
  53#include <linux/seq_file.h>
  54#include <linux/slab.h>
  55#include <linux/netdevice.h>
  56#include <linux/vmalloc.h>
  57#include <linux/init.h>
  58#include <linux/delay.h>
  59#include <linux/ioctl.h>
  60
  61#include <asm/io.h>
  62#include <asm/irq.h>
  63#include <asm/dma.h>
  64#include <linux/bitops.h>
  65#include <asm/types.h>
  66#include <linux/termios.h>
  67#include <linux/workqueue.h>
  68#include <linux/hdlc.h>
  69#include <linux/synclink.h>
  70
  71#if defined(CONFIG_HDLC) || (defined(CONFIG_HDLC_MODULE) && defined(CONFIG_SYNCLINKMP_MODULE))
  72#define SYNCLINK_GENERIC_HDLC 1
  73#else
  74#define SYNCLINK_GENERIC_HDLC 0
  75#endif
  76
  77#define GET_USER(error,value,addr) error = get_user(value,addr)
  78#define COPY_FROM_USER(error,dest,src,size) error = copy_from_user(dest,src,size) ? -EFAULT : 0
  79#define PUT_USER(error,value,addr) error = put_user(value,addr)
  80#define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0
  81
  82#include <asm/uaccess.h>
  83
  84static MGSL_PARAMS default_params = {
  85        MGSL_MODE_HDLC,                 /* unsigned long mode */
  86        0,                              /* unsigned char loopback; */
  87        HDLC_FLAG_UNDERRUN_ABORT15,     /* unsigned short flags; */
  88        HDLC_ENCODING_NRZI_SPACE,       /* unsigned char encoding; */
  89        0,                              /* unsigned long clock_speed; */
  90        0xff,                           /* unsigned char addr_filter; */
  91        HDLC_CRC_16_CCITT,              /* unsigned short crc_type; */
  92        HDLC_PREAMBLE_LENGTH_8BITS,     /* unsigned char preamble_length; */
  93        HDLC_PREAMBLE_PATTERN_NONE,     /* unsigned char preamble; */
  94        9600,                           /* unsigned long data_rate; */
  95        8,                              /* unsigned char data_bits; */
  96        1,                              /* unsigned char stop_bits; */
  97        ASYNC_PARITY_NONE               /* unsigned char parity; */
  98};
  99
 100/* size in bytes of DMA data buffers */
 101#define SCABUFSIZE      1024
 102#define SCA_MEM_SIZE    0x40000
 103#define SCA_BASE_SIZE   512
 104#define SCA_REG_SIZE    16
 105#define SCA_MAX_PORTS   4
 106#define SCAMAXDESC      128
 107
 108#define BUFFERLISTSIZE  4096
 109
 110/* SCA-I style DMA buffer descriptor */
 111typedef struct _SCADESC
 112{
 113        u16     next;           /* lower l6 bits of next descriptor addr */
 114        u16     buf_ptr;        /* lower 16 bits of buffer addr */
 115        u8      buf_base;       /* upper 8 bits of buffer addr */
 116        u8      pad1;
 117        u16     length;         /* length of buffer */
 118        u8      status;         /* status of buffer */
 119        u8      pad2;
 120} SCADESC, *PSCADESC;
 121
 122typedef struct _SCADESC_EX
 123{
 124        /* device driver bookkeeping section */
 125        char    *virt_addr;     /* virtual address of data buffer */
 126        u16     phys_entry;     /* lower 16-bits of physical address of this descriptor */
 127} SCADESC_EX, *PSCADESC_EX;
 128
 129/* The queue of BH actions to be performed */
 130
 131#define BH_RECEIVE  1
 132#define BH_TRANSMIT 2
 133#define BH_STATUS   4
 134
 135#define IO_PIN_SHUTDOWN_LIMIT 100
 136
 137struct  _input_signal_events {
 138        int     ri_up;
 139        int     ri_down;
 140        int     dsr_up;
 141        int     dsr_down;
 142        int     dcd_up;
 143        int     dcd_down;
 144        int     cts_up;
 145        int     cts_down;
 146};
 147
 148/*
 149 * Device instance data structure
 150 */
 151typedef struct _synclinkmp_info {
 152        void *if_ptr;                           /* General purpose pointer (used by SPPP) */
 153        int                     magic;
 154        struct tty_port         port;
 155        int                     line;
 156        unsigned short          close_delay;
 157        unsigned short          closing_wait;   /* time to wait before closing */
 158
 159        struct mgsl_icount      icount;
 160
 161        int                     timeout;
 162        int                     x_char;         /* xon/xoff character */
 163        u16                     read_status_mask1;  /* break detection (SR1 indications) */
 164        u16                     read_status_mask2;  /* parity/framing/overun (SR2 indications) */
 165        unsigned char           ignore_status_mask1;  /* break detection (SR1 indications) */
 166        unsigned char           ignore_status_mask2;  /* parity/framing/overun (SR2 indications) */
 167        unsigned char           *tx_buf;
 168        int                     tx_put;
 169        int                     tx_get;
 170        int                     tx_count;
 171
 172        wait_queue_head_t       status_event_wait_q;
 173        wait_queue_head_t       event_wait_q;
 174        struct timer_list       tx_timer;       /* HDLC transmit timeout timer */
 175        struct _synclinkmp_info *next_device;   /* device list link */
 176        struct timer_list       status_timer;   /* input signal status check timer */
 177
 178        spinlock_t lock;                /* spinlock for synchronizing with ISR */
 179        struct work_struct task;                        /* task structure for scheduling bh */
 180
 181        u32 max_frame_size;                     /* as set by device config */
 182
 183        u32 pending_bh;
 184
 185        bool bh_running;                                /* Protection from multiple */
 186        int isr_overflow;
 187        bool bh_requested;
 188
 189        int dcd_chkcount;                       /* check counts to prevent */
 190        int cts_chkcount;                       /* too many IRQs if a signal */
 191        int dsr_chkcount;                       /* is floating */
 192        int ri_chkcount;
 193
 194        char *buffer_list;                      /* virtual address of Rx & Tx buffer lists */
 195        unsigned long buffer_list_phys;
 196
 197        unsigned int rx_buf_count;              /* count of total allocated Rx buffers */
 198        SCADESC *rx_buf_list;                   /* list of receive buffer entries */
 199        SCADESC_EX rx_buf_list_ex[SCAMAXDESC]; /* list of receive buffer entries */
 200        unsigned int current_rx_buf;
 201
 202        unsigned int tx_buf_count;              /* count of total allocated Tx buffers */
 203        SCADESC *tx_buf_list;           /* list of transmit buffer entries */
 204        SCADESC_EX tx_buf_list_ex[SCAMAXDESC]; /* list of transmit buffer entries */
 205        unsigned int last_tx_buf;
 206
 207        unsigned char *tmp_rx_buf;
 208        unsigned int tmp_rx_buf_count;
 209
 210        bool rx_enabled;
 211        bool rx_overflow;
 212
 213        bool tx_enabled;
 214        bool tx_active;
 215        u32 idle_mode;
 216
 217        unsigned char ie0_value;
 218        unsigned char ie1_value;
 219        unsigned char ie2_value;
 220        unsigned char ctrlreg_value;
 221        unsigned char old_signals;
 222
 223        char device_name[25];                   /* device instance name */
 224
 225        int port_count;
 226        int adapter_num;
 227        int port_num;
 228
 229        struct _synclinkmp_info *port_array[SCA_MAX_PORTS];
 230
 231        unsigned int bus_type;                  /* expansion bus type (ISA,EISA,PCI) */
 232
 233        unsigned int irq_level;                 /* interrupt level */
 234        unsigned long irq_flags;
 235        bool irq_requested;                     /* true if IRQ requested */
 236
 237        MGSL_PARAMS params;                     /* communications parameters */
 238
 239        unsigned char serial_signals;           /* current serial signal states */
 240
 241        bool irq_occurred;                      /* for diagnostics use */
 242        unsigned int init_error;                /* Initialization startup error */
 243
 244        u32 last_mem_alloc;
 245        unsigned char* memory_base;             /* shared memory address (PCI only) */
 246        u32 phys_memory_base;
 247        int shared_mem_requested;
 248
 249        unsigned char* sca_base;                /* HD64570 SCA Memory address */
 250        u32 phys_sca_base;
 251        u32 sca_offset;
 252        bool sca_base_requested;
 253
 254        unsigned char* lcr_base;                /* local config registers (PCI only) */
 255        u32 phys_lcr_base;
 256        u32 lcr_offset;
 257        int lcr_mem_requested;
 258
 259        unsigned char* statctrl_base;           /* status/control register memory */
 260        u32 phys_statctrl_base;
 261        u32 statctrl_offset;
 262        bool sca_statctrl_requested;
 263
 264        u32 misc_ctrl_value;
 265        char flag_buf[MAX_ASYNC_BUFFER_SIZE];
 266        char char_buf[MAX_ASYNC_BUFFER_SIZE];
 267        bool drop_rts_on_tx_done;
 268
 269        struct  _input_signal_events    input_signal_events;
 270
 271        /* SPPP/Cisco HDLC device parts */
 272        int netcount;
 273        spinlock_t netlock;
 274
 275#if SYNCLINK_GENERIC_HDLC
 276        struct net_device *netdev;
 277#endif
 278
 279} SLMP_INFO;
 280
 281#define MGSL_MAGIC 0x5401
 282
 283/*
 284 * define serial signal status change macros
 285 */
 286#define MISCSTATUS_DCD_LATCHED  (SerialSignal_DCD<<8)   /* indicates change in DCD */
 287#define MISCSTATUS_RI_LATCHED   (SerialSignal_RI<<8)    /* indicates change in RI */
 288#define MISCSTATUS_CTS_LATCHED  (SerialSignal_CTS<<8)   /* indicates change in CTS */
 289#define MISCSTATUS_DSR_LATCHED  (SerialSignal_DSR<<8)   /* change in DSR */
 290
 291/* Common Register macros */
 292#define LPR     0x00
 293#define PABR0   0x02
 294#define PABR1   0x03
 295#define WCRL    0x04
 296#define WCRM    0x05
 297#define WCRH    0x06
 298#define DPCR    0x08
 299#define DMER    0x09
 300#define ISR0    0x10
 301#define ISR1    0x11
 302#define ISR2    0x12
 303#define IER0    0x14
 304#define IER1    0x15
 305#define IER2    0x16
 306#define ITCR    0x18
 307#define INTVR   0x1a
 308#define IMVR    0x1c
 309
 310/* MSCI Register macros */
 311#define TRB     0x20
 312#define TRBL    0x20
 313#define TRBH    0x21
 314#define SR0     0x22
 315#define SR1     0x23
 316#define SR2     0x24
 317#define SR3     0x25
 318#define FST     0x26
 319#define IE0     0x28
 320#define IE1     0x29
 321#define IE2     0x2a
 322#define FIE     0x2b
 323#define CMD     0x2c
 324#define MD0     0x2e
 325#define MD1     0x2f
 326#define MD2     0x30
 327#define CTL     0x31
 328#define SA0     0x32
 329#define SA1     0x33
 330#define IDL     0x34
 331#define TMC     0x35
 332#define RXS     0x36
 333#define TXS     0x37
 334#define TRC0    0x38
 335#define TRC1    0x39
 336#define RRC     0x3a
 337#define CST0    0x3c
 338#define CST1    0x3d
 339
 340/* Timer Register Macros */
 341#define TCNT    0x60
 342#define TCNTL   0x60
 343#define TCNTH   0x61
 344#define TCONR   0x62
 345#define TCONRL  0x62
 346#define TCONRH  0x63
 347#define TMCS    0x64
 348#define TEPR    0x65
 349
 350/* DMA Controller Register macros */
 351#define DARL    0x80
 352#define DARH    0x81
 353#define DARB    0x82
 354#define BAR     0x80
 355#define BARL    0x80
 356#define BARH    0x81
 357#define BARB    0x82
 358#define SAR     0x84
 359#define SARL    0x84
 360#define SARH    0x85
 361#define SARB    0x86
 362#define CPB     0x86
 363#define CDA     0x88
 364#define CDAL    0x88
 365#define CDAH    0x89
 366#define EDA     0x8a
 367#define EDAL    0x8a
 368#define EDAH    0x8b
 369#define BFL     0x8c
 370#define BFLL    0x8c
 371#define BFLH    0x8d
 372#define BCR     0x8e
 373#define BCRL    0x8e
 374#define BCRH    0x8f
 375#define DSR     0x90
 376#define DMR     0x91
 377#define FCT     0x93
 378#define DIR     0x94
 379#define DCMD    0x95
 380
 381/* combine with timer or DMA register address */
 382#define TIMER0  0x00
 383#define TIMER1  0x08
 384#define TIMER2  0x10
 385#define TIMER3  0x18
 386#define RXDMA   0x00
 387#define TXDMA   0x20
 388
 389/* SCA Command Codes */
 390#define NOOP            0x00
 391#define TXRESET         0x01
 392#define TXENABLE        0x02
 393#define TXDISABLE       0x03
 394#define TXCRCINIT       0x04
 395#define TXCRCEXCL       0x05
 396#define TXEOM           0x06
 397#define TXABORT         0x07
 398#define MPON            0x08
 399#define TXBUFCLR        0x09
 400#define RXRESET         0x11
 401#define RXENABLE        0x12
 402#define RXDISABLE       0x13
 403#define RXCRCINIT       0x14
 404#define RXREJECT        0x15
 405#define SEARCHMP        0x16
 406#define RXCRCEXCL       0x17
 407#define RXCRCCALC       0x18
 408#define CHRESET         0x21
 409#define HUNT            0x31
 410
 411/* DMA command codes */
 412#define SWABORT         0x01
 413#define FEICLEAR        0x02
 414
 415/* IE0 */
 416#define TXINTE          BIT7
 417#define RXINTE          BIT6
 418#define TXRDYE          BIT1
 419#define RXRDYE          BIT0
 420
 421/* IE1 & SR1 */
 422#define UDRN    BIT7
 423#define IDLE    BIT6
 424#define SYNCD   BIT4
 425#define FLGD    BIT4
 426#define CCTS    BIT3
 427#define CDCD    BIT2
 428#define BRKD    BIT1
 429#define ABTD    BIT1
 430#define GAPD    BIT1
 431#define BRKE    BIT0
 432#define IDLD    BIT0
 433
 434/* IE2 & SR2 */
 435#define EOM     BIT7
 436#define PMP     BIT6
 437#define SHRT    BIT6
 438#define PE      BIT5
 439#define ABT     BIT5
 440#define FRME    BIT4
 441#define RBIT    BIT4
 442#define OVRN    BIT3
 443#define CRCE    BIT2
 444
 445
 446/*
 447 * Global linked list of SyncLink devices
 448 */
 449static SLMP_INFO *synclinkmp_device_list = NULL;
 450static int synclinkmp_adapter_count = -1;
 451static int synclinkmp_device_count = 0;
 452
 453/*
 454 * Set this param to non-zero to load eax with the
 455 * .text section address and breakpoint on module load.
 456 * This is useful for use with gdb and add-symbol-file command.
 457 */
 458static bool break_on_load = 0;
 459
 460/*
 461 * Driver major number, defaults to zero to get auto
 462 * assigned major number. May be forced as module parameter.
 463 */
 464static int ttymajor = 0;
 465
 466/*
 467 * Array of user specified options for ISA adapters.
 468 */
 469static int debug_level = 0;
 470static int maxframe[MAX_DEVICES] = {0,};
 471
 472module_param(break_on_load, bool, 0);
 473module_param(ttymajor, int, 0);
 474module_param(debug_level, int, 0);
 475module_param_array(maxframe, int, NULL, 0);
 476
 477static char *driver_name = "SyncLink MultiPort driver";
 478static char *driver_version = "$Revision: 4.38 $";
 479
 480static int synclinkmp_init_one(struct pci_dev *dev,const struct pci_device_id *ent);
 481static void synclinkmp_remove_one(struct pci_dev *dev);
 482
 483static struct pci_device_id synclinkmp_pci_tbl[] = {
 484        { PCI_VENDOR_ID_MICROGATE, PCI_DEVICE_ID_MICROGATE_SCA, PCI_ANY_ID, PCI_ANY_ID, },
 485        { 0, }, /* terminate list */
 486};
 487MODULE_DEVICE_TABLE(pci, synclinkmp_pci_tbl);
 488
 489MODULE_LICENSE("GPL");
 490
 491static struct pci_driver synclinkmp_pci_driver = {
 492        .name           = "synclinkmp",
 493        .id_table       = synclinkmp_pci_tbl,
 494        .probe          = synclinkmp_init_one,
 495        .remove         = __devexit_p(synclinkmp_remove_one),
 496};
 497
 498
 499static struct tty_driver *serial_driver;
 500
 501/* number of characters left in xmit buffer before we ask for more */
 502#define WAKEUP_CHARS 256
 503
 504
 505/* tty callbacks */
 506
 507static int  open(struct tty_struct *tty, struct file * filp);
 508static void close(struct tty_struct *tty, struct file * filp);
 509static void hangup(struct tty_struct *tty);
 510static void set_termios(struct tty_struct *tty, struct ktermios *old_termios);
 511
 512static int  write(struct tty_struct *tty, const unsigned char *buf, int count);
 513static int put_char(struct tty_struct *tty, unsigned char ch);
 514static void send_xchar(struct tty_struct *tty, char ch);
 515static void wait_until_sent(struct tty_struct *tty, int timeout);
 516static int  write_room(struct tty_struct *tty);
 517static void flush_chars(struct tty_struct *tty);
 518static void flush_buffer(struct tty_struct *tty);
 519static void tx_hold(struct tty_struct *tty);
 520static void tx_release(struct tty_struct *tty);
 521
 522static int  ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg);
 523static int  chars_in_buffer(struct tty_struct *tty);
 524static void throttle(struct tty_struct * tty);
 525static void unthrottle(struct tty_struct * tty);
 526static int set_break(struct tty_struct *tty, int break_state);
 527
 528#if SYNCLINK_GENERIC_HDLC
 529#define dev_to_port(D) (dev_to_hdlc(D)->priv)
 530static void hdlcdev_tx_done(SLMP_INFO *info);
 531static void hdlcdev_rx(SLMP_INFO *info, char *buf, int size);
 532static int  hdlcdev_init(SLMP_INFO *info);
 533static void hdlcdev_exit(SLMP_INFO *info);
 534#endif
 535
 536/* ioctl handlers */
 537
 538static int  get_stats(SLMP_INFO *info, struct mgsl_icount __user *user_icount);
 539static int  get_params(SLMP_INFO *info, MGSL_PARAMS __user *params);
 540static int  set_params(SLMP_INFO *info, MGSL_PARAMS __user *params);
 541static int  get_txidle(SLMP_INFO *info, int __user *idle_mode);
 542static int  set_txidle(SLMP_INFO *info, int idle_mode);
 543static int  tx_enable(SLMP_INFO *info, int enable);
 544static int  tx_abort(SLMP_INFO *info);
 545static int  rx_enable(SLMP_INFO *info, int enable);
 546static int  modem_input_wait(SLMP_INFO *info,int arg);
 547static int  wait_mgsl_event(SLMP_INFO *info, int __user *mask_ptr);
 548static int  tiocmget(struct tty_struct *tty);
 549static int  tiocmset(struct tty_struct *tty,
 550                        unsigned int set, unsigned int clear);
 551static int  set_break(struct tty_struct *tty, int break_state);
 552
 553static void add_device(SLMP_INFO *info);
 554static void device_init(int adapter_num, struct pci_dev *pdev);
 555static int  claim_resources(SLMP_INFO *info);
 556static void release_resources(SLMP_INFO *info);
 557
 558static int  startup(SLMP_INFO *info);
 559static int  block_til_ready(struct tty_struct *tty, struct file * filp,SLMP_INFO *info);
 560static int carrier_raised(struct tty_port *port);
 561static void shutdown(SLMP_INFO *info);
 562static void program_hw(SLMP_INFO *info);
 563static void change_params(SLMP_INFO *info);
 564
 565static bool init_adapter(SLMP_INFO *info);
 566static bool register_test(SLMP_INFO *info);
 567static bool irq_test(SLMP_INFO *info);
 568static bool loopback_test(SLMP_INFO *info);
 569static int  adapter_test(SLMP_INFO *info);
 570static bool memory_test(SLMP_INFO *info);
 571
 572static void reset_adapter(SLMP_INFO *info);
 573static void reset_port(SLMP_INFO *info);
 574static void async_mode(SLMP_INFO *info);
 575static void hdlc_mode(SLMP_INFO *info);
 576
 577static void rx_stop(SLMP_INFO *info);
 578static void rx_start(SLMP_INFO *info);
 579static void rx_reset_buffers(SLMP_INFO *info);
 580static void rx_free_frame_buffers(SLMP_INFO *info, unsigned int first, unsigned int last);
 581static bool rx_get_frame(SLMP_INFO *info);
 582
 583static void tx_start(SLMP_INFO *info);
 584static void tx_stop(SLMP_INFO *info);
 585static void tx_load_fifo(SLMP_INFO *info);
 586static void tx_set_idle(SLMP_INFO *info);
 587static void tx_load_dma_buffer(SLMP_INFO *info, const char *buf, unsigned int count);
 588
 589static void get_signals(SLMP_INFO *info);
 590static void set_signals(SLMP_INFO *info);
 591static void enable_loopback(SLMP_INFO *info, int enable);
 592static void set_rate(SLMP_INFO *info, u32 data_rate);
 593
 594static int  bh_action(SLMP_INFO *info);
 595static void bh_handler(struct work_struct *work);
 596static void bh_receive(SLMP_INFO *info);
 597static void bh_transmit(SLMP_INFO *info);
 598static void bh_status(SLMP_INFO *info);
 599static void isr_timer(SLMP_INFO *info);
 600static void isr_rxint(SLMP_INFO *info);
 601static void isr_rxrdy(SLMP_INFO *info);
 602static void isr_txint(SLMP_INFO *info);
 603static void isr_txrdy(SLMP_INFO *info);
 604static void isr_rxdmaok(SLMP_INFO *info);
 605static void isr_rxdmaerror(SLMP_INFO *info);
 606static void isr_txdmaok(SLMP_INFO *info);
 607static void isr_txdmaerror(SLMP_INFO *info);
 608static void isr_io_pin(SLMP_INFO *info, u16 status);
 609
 610static int  alloc_dma_bufs(SLMP_INFO *info);
 611static void free_dma_bufs(SLMP_INFO *info);
 612static int  alloc_buf_list(SLMP_INFO *info);
 613static int  alloc_frame_bufs(SLMP_INFO *info, SCADESC *list, SCADESC_EX *list_ex,int count);
 614static int  alloc_tmp_rx_buf(SLMP_INFO *info);
 615static void free_tmp_rx_buf(SLMP_INFO *info);
 616
 617static void load_pci_memory(SLMP_INFO *info, char* dest, const char* src, unsigned short count);
 618static void trace_block(SLMP_INFO *info, const char* data, int count, int xmit);
 619static void tx_timeout(unsigned long context);
 620static void status_timeout(unsigned long context);
 621
 622static unsigned char read_reg(SLMP_INFO *info, unsigned char addr);
 623static void write_reg(SLMP_INFO *info, unsigned char addr, unsigned char val);
 624static u16 read_reg16(SLMP_INFO *info, unsigned char addr);
 625static void write_reg16(SLMP_INFO *info, unsigned char addr, u16 val);
 626static unsigned char read_status_reg(SLMP_INFO * info);
 627static void write_control_reg(SLMP_INFO * info);
 628
 629
 630static unsigned char rx_active_fifo_level = 16; // rx request FIFO activation level in bytes
 631static unsigned char tx_active_fifo_level = 16; // tx request FIFO activation level in bytes
 632static unsigned char tx_negate_fifo_level = 32; // tx request FIFO negation level in bytes
 633
 634static u32 misc_ctrl_value = 0x007e4040;
 635static u32 lcr1_brdr_value = 0x00800028;
 636
 637static u32 read_ahead_count = 8;
 638
 639/* DPCR, DMA Priority Control
 640 *
 641 * 07..05  Not used, must be 0
 642 * 04      BRC, bus release condition: 0=all transfers complete
 643 *              1=release after 1 xfer on all channels
 644 * 03      CCC, channel change condition: 0=every cycle
 645 *              1=after each channel completes all xfers
 646 * 02..00  PR<2..0>, priority 100=round robin
 647 *
 648 * 00000100 = 0x00
 649 */
 650static unsigned char dma_priority = 0x04;
 651
 652// Number of bytes that can be written to shared RAM
 653// in a single write operation
 654static u32 sca_pci_load_interval = 64;
 655
 656/*
 657 * 1st function defined in .text section. Calling this function in
 658 * init_module() followed by a breakpoint allows a remote debugger
 659 * (gdb) to get the .text address for the add-symbol-file command.
 660 * This allows remote debugging of dynamically loadable modules.
 661 */
 662static void* synclinkmp_get_text_ptr(void);
 663static void* synclinkmp_get_text_ptr(void) {return synclinkmp_get_text_ptr;}
 664
 665static inline int sanity_check(SLMP_INFO *info,
 666                               char *name, const char *routine)
 667{
 668#ifdef SANITY_CHECK
 669        static const char *badmagic =
 670                "Warning: bad magic number for synclinkmp_struct (%s) in %s\n";
 671        static const char *badinfo =
 672                "Warning: null synclinkmp_struct for (%s) in %s\n";
 673
 674        if (!info) {
 675                printk(badinfo, name, routine);
 676                return 1;
 677        }
 678        if (info->magic != MGSL_MAGIC) {
 679                printk(badmagic, name, routine);
 680                return 1;
 681        }
 682#else
 683        if (!info)
 684                return 1;
 685#endif
 686        return 0;
 687}
 688
 689/**
 690 * line discipline callback wrappers
 691 *
 692 * The wrappers maintain line discipline references
 693 * while calling into the line discipline.
 694 *
 695 * ldisc_receive_buf  - pass receive data to line discipline
 696 */
 697
 698static void ldisc_receive_buf(struct tty_struct *tty,
 699                              const __u8 *data, char *flags, int count)
 700{
 701        struct tty_ldisc *ld;
 702        if (!tty)
 703                return;
 704        ld = tty_ldisc_ref(tty);
 705        if (ld) {
 706                if (ld->ops->receive_buf)
 707                        ld->ops->receive_buf(tty, data, flags, count);
 708                tty_ldisc_deref(ld);
 709        }
 710}
 711
 712/* tty callbacks */
 713
 714static int install(struct tty_driver *driver, struct tty_struct *tty)
 715{
 716        SLMP_INFO *info;
 717        int line = tty->index;
 718
 719        if (line >= synclinkmp_device_count) {
 720                printk("%s(%d): open with invalid line #%d.\n",
 721                        __FILE__,__LINE__,line);
 722                return -ENODEV;
 723        }
 724
 725        info = synclinkmp_device_list;
 726        while (info && info->line != line)
 727                info = info->next_device;
 728        if (sanity_check(info, tty->name, "open"))
 729                return -ENODEV;
 730        if (info->init_error) {
 731                printk("%s(%d):%s device is not allocated, init error=%d\n",
 732                        __FILE__, __LINE__, info->device_name,
 733                        info->init_error);
 734                return -ENODEV;
 735        }
 736
 737        tty->driver_data = info;
 738
 739        return tty_port_install(&info->port, driver, tty);
 740}
 741
 742/* Called when a port is opened.  Init and enable port.
 743 */
 744static int open(struct tty_struct *tty, struct file *filp)
 745{
 746        SLMP_INFO *info = tty->driver_data;
 747        unsigned long flags;
 748        int retval;
 749
 750        info->port.tty = tty;
 751
 752        if (debug_level >= DEBUG_LEVEL_INFO)
 753                printk("%s(%d):%s open(), old ref count = %d\n",
 754                         __FILE__,__LINE__,tty->driver->name, info->port.count);
 755
 756        /* If port is closing, signal caller to try again */
 757        if (tty_hung_up_p(filp) || info->port.flags & ASYNC_CLOSING){
 758                info->port.flags & ASYNC_CLOSING)

  3ing"6de=dpuptick" sleep_ href="+code=bh_a6de=dpuptick" sleep_ hef">tty_port_install(&info->portcount);
 720            int                 info->port.flags & count);
 721                 retuAGAINa href="+code=ENAGAINne" n:              retuRESTARTSYSa href="+code=ENRESTARTSYS" class="sref">count);
 732gosinass="sref">port(tty;
 723        }
 644.linkmp.c#L736" id="5INFO"35" 653"> 653 616
 720            int                  685#endif
<7(7635" id="L735" class="line" name="L735"> 73="+code=n7me" class="sref">name__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slnetsref">count);
                                 retuAGAINa href="+clags" claa>)
 677        }
net=nameline" name="L730"> 730        if ( 668#7fdef 76a href="+code=MGSL_MAGIC" class="sres="sref">count);
->__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slnetsref">count);
                                 retuAGAINa href="+="string"7"Warning: bad magic7numbe77code=ASYNC_CLOSING"HUESTARTSYS" class="sref">count);
 671        stati7 cons7 char *tty "Warnin7: nul77363" class="line" name=7lass=720clie="L644"> 644.linkmp.c#L736" id="5INFO"35" 653"> 653name,++tty/synclinkmp.c#L662" id="L662" 7lass /a>;
;
 70spin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slnetsref">count);
                                 retuAGAINa href="+=     ss="line" name="L674"> 67477>port.na7e, ASYNC_CLOSING){
name, == 1" name="L730"> 730        if (line != count);
 70startount);
write_control_reg(7="+code=m7gic" class="sref">magic<7a> !=7ASYs="sref">count);
port.na7e, count);
 680                ret7rn 1;
 680                ret7rcount);
 70="dri_tiy/syad"> 616
ld->tty->write_control_reg(7d="L683" 7lass="line" name="L683">7683        if (!G" class="sref">ASYs="sref">count);
 730        if ( 751
 752        if (DEBUG_LEVEL_INFO)
printkDot;,
 732                        __FILE__, count);
write_control_reg(7dn 1;
count);
}
ld(ld 690<7pan c791       if (!G" class="sref">ASYne" name="L751"> 751
 752        if (DEBUG_LEVEL_INFO)
printk79a href="+code=device_name" cli class="sref">Dot;,
 732                        __FILE__, write_control_reg(7"line" na7e="L693"> 693 70s="sref">count);
 685#endif
<7/tty/sync7inkmp.c#L694" id="L694" 7lass=79>port. * 7disc_7eceive_SYS" class="sref">count);
count);
 730        if ( */
ASYclass="comment"         retuRESTARTSYSa href==name" class="sref">name, == 1"ame="L730"> 730        if ( * 644.linkmp.c#L736" id="5INFO"35" 653"> 653 70NULLss="comment"   NULLers/t="d="L755" class="line" nalinelayer wille 0fl80, ASYNC_CLOSING){
name,"ame="L730"> 730        if (count<8a>)
name,--s="line" name="L685"> 685#endif
<8ruct ty" class="sref">tt8 id="L7028 class="line" name="L7028> 70280 712/* tty call8"drivers/8ty/synclinkmp.c#L703" id8"L7038 class="line" id="L738" class="line" class="sref">flags;
tt8_ldischref="+codety" class="sref">tt8 6="+code8tpan class="comment"> * 8"> 708035" id="L735" class="line" name="L735"> 78ref="+cod8=ops" class="sref">ops->80ine" name="L656"> 656 755<
efer="driverbmp.c#L695" id="L695" class="line" name="L6958,  68="+code=t8y_ldisc_deref" class="sr8f">tt80> 648 * 00000100 = 0x00
 744static int open(struct tty_struct *tty<8     8  }
 730        if ( 7108/a>}
 745{
line)
 746        SLMP_INFO *info =  712/* tty call8acks */
ASY="sref">next_device;
 728        if (sanity_check(info, tty8 tty)
tty<8a>)
 78 81If port is closing, signal callene" name="L751"> 751
 752        if ( = <8 href="+code=tty" class=8sref"81lags, )
printk(index8/a>;
Dot;,
 732                        __FILE__, tty->driver->name, inf8line 8gt;= (ld8ntk(<8pan class="string">"8%821       if (!G" class="sref">ASYdrivers/t&ld->port.,count);
 722       8     82 712/* tty call8;
 70mutex_sref">count);

  3ing"6de=dpuptick" sl count);
, inf8lASYNC_CLOSING){
 758                i8fo =           a hr_meld->){
, inf8l 696info->8usha hrf"sref">__FILE__usha hrf"s/tty/synclinkmp.c#L7"sref">ld->inf8lf">index8 href="+code=name" class8"sref8>name, ASYdrivers/tt">ushL744" id="L744" claers/tt">ush/tty/synclinkmp.c#L7"sref">ld->inf8"line" na8e="L729"> 729       8     83nkmp.c#L749" id="L749" classshutdow"drivers/tty/synshutdow"rs/tty/synclinkmp.c#L728" id="L728" class="line inf8"tk(<8nfo" class="sref">info->8 70mutex_un"dri">count);

  3ing"6de=dpuptick" sl count);
, inf8ss="strin8">"%s(%d):&837;s 8381" ie="L680"> 680                ret8f="+code=8nfo" class="sref">info->83363" class="line" name=7lass claers/t&
  3ing"6de=dpuptick" sl ld->inf8s/a>;
info<8a>-&g83class="line" name="L703"> 70=720clie="L644"> 644.linkmp.c#L736" id="5INFO"35" 653"> 653 70NULLss="comment"   NULLers/ta href="+code=info" class="sref">inf8s 734       8     8  retu_SYS" class="sref">count);
, ASYne" name="L751"> 751
 752        if (    8   }
)
Dot;,
 if (dri83lags,  746        SLMP_INFO *sanity_checkf="+code=tty" class="sref">tty->driver->name, inf8ref">info8/a>;
ty" class="sref">tt8rt, <8 href="+code=driver" cla8s="sr84ne" n>(ld8ef">tty);
 * line discips="line" nby href=angup() ame="L7=angup5"> a hrefed#L660" id="L660" class="line" name="L660"> 68740"> 7408/a>}
 ">  755"> 7as="lidescriptorsyncli 748=angupf="dr href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int , struc8 file *filp<8a>)
 745{
 746        SLMP_INFO *info = tty->8driver_data;
 747   8    u84r_data =  748 84nkmp.c#L718" id="L718" class="line" name="L751"> 751
 752        if (retval8/a>;
synclinkmp_device_count) {
printk(port8/a>.Dot;,
 732                        __FILE__, inf8sref">tty8/a>;
 680                ret8s="sref">8ebug_level >= ASY="sref">next_device;
 728        if (sanity_check(info, tty8a>("źs(&d):%s open(), oldf="+code=tty" class="sref">tty)
->8a href="+code=port" clas8="sre8">port.count<8a>);
count);

  3ing"6de=dpuptick" sl count);
, inf8> 7568       /85nkmp.c#L736" id="L736" class">usha hrf"sref">__FILE__usha hrf"s/tty/synclinkmp.c#L7"sref">ld->inf8flags" cl8ss="sref">flags &8 inf8=flags" c8ass="sref">flags &am8; p8rt__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" sl count);
                                 retuAGAINa href="8class="sr8f">flags &  70NC_CLOSING){
name, =vss="line" name="L685"> 685#endif
<8code=ENAG8INne" n:              re8uREST86char *){
 758                 732gosinass="8ref">86363" class="line" name=7lass=720clie="L644"> 644.linkmp.c#L736" id="5INFO"35" 653"> 653 70NULLss="comment"   NULLers/ta href="+code=info" class="sref">inf8;
 70spin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" sl count);
                                 retuAGAINa href="8c/a>->8   }
count);

  3ing"6de=dpuptick" sl count);
, inf8(8635" id="L735" class="line" name="L735"> 78="+code=n8me" class="sref">name          a keiverclinkmp.c#Lcoref="drivers/tty3shared RAM
  3ing"6de=dpuptick" sl , inf8(lags" cl8a>)
tt8class="li8e" name="L668"> 668#8fdef 86     int  669        static 8onst 8har * * line discips="Set new inkmios sett=insit and enable port.
 * line discip Init and enable port.
 671        stati8 cons8 char ame="L7 id="L697" class="liset_inkmios"sref">__LINE__set_inkmiosf="dr href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int okinkmios"sref">__LINE__kinkmiosf="dname="L744"> 744__LINE__old_inkmios      if ("Warnin8: nul87363" le * 70"line" name="L745"> 745{
 746        SLMP_INFO *info =     8ss="line" name="L674"> 68487663" class="l=driver_data" class="sref">driver_data;
, na8735" id="L735" class="line" name="L735"> 78rivers/tt8/synclinkmp.c#L676" id="8676" 87If port is closing, signal callene" name="L751"> 751
 752        if () {
Dot;,
 if (magic<8a> !=8 746        SLMP_INFO *sanity_check<  inf8a>, na88ne" n>(ld8rivers/tt8/synclinkmp.c#L680" id="8680" 88a href="+codename="L703"> 70c=ange_param_data;
inf8rn 1;
 680                ret8r * line discips="Handle tradritiony/o B0 ame=us Init and enable port.
8683        if (!G" class="sref">ASYold_inkmios"sref">__LINE__old_inkmios    etuRESTARTSYSa href==_cef="data;
 70CBAUD8          CBAUD 
ASYclass="comment"         retuRESTARTSYSa href=inkmios"sref">__LINE__inkmios    line" name="L758=_cef="data;
 70CBAUD8          CBAUD  730        if (__LINE__serial_a hrefs ASYSerialS href_RT" 7lass=76ine" nSerialS href_RT"  70"erialS href_DTR 7lass=76ine" nSerialS href_DTRline inf8rivers/tt8vers/tty/synclinkmp.c#L686" id88a href="+code=receiveid="L749" classspin_"dri_irqsav="sref">__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAINa href="8dn 1;
__LINE__set_a hrefs inf8r"+code=m8/a>}
 70spin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAINa href="8tty/syncl8nkmp.c#L689" id="L689" c8ass="89nkmp.c#L749" href="+codety" class="sref">tt8tivers/tt8e" name="L690"> 690<8pan c89ref">tty =  * line discips="Handle tradritionyaway from B0 ame=us Init and enable port.
89ode=DEBUG_LEVG" c!class="sref">ASYold_inkmios"sref">__LINE__old_inkmios    etuRESTARTSYSa href==_cef="data;
 70CBAUD8          CBAUD 
 693ASYclass="comment"         retuRESTARTSYSa href=inkmios"sref">__LINE__inkmios    line" name="L758=_cef="data;
 70CBAUD8          CBAUD  730        if (__LINE__serial_a hrefs 
 * 8disc_89MP_INFO *ASYclass="comment"         retuRESTARTSYSa href=inkmios"sref">__LINE__inkmios    line" name="L758=_cef="data;
 70CRT"CT" 7lass=76ine" nCRT"CT" 
(inst_bpo           TTY_THROTTLED="+coddrivers/tty3shared Rclass="comment"         retuRESTARTSYSa href=" clapen(>                 730        if (
__LINE__serial_a hrefs 
 *tt9r *fl90, __LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAINa href="9f">count<9a>)
__LINE__set_a hrefs inf9ruct Dspin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAINa href="9 id="L7029 class="line" name="L7029> 70290rt(tt9"drivers/9ty/synclinkmp.c#L703" id9"L7039063" id="L663" 7lass=76ine" name="L723"> 79ef="+code9tty_ldisc_ref" class="sr9f">tt90663" class="limment"> * line discips="Handle tur>eferoff CRT"CT" Init and enable port.
 * 9"> 7090, ASYold_inkmios"sref">__LINE__old_inkmios    etuRESTARTSYSa href==_cef="data;
 70CRT"CT" 7lass=76ine" nCRT"CT" 
ops->90a href="+code=rec!class="sref">ASYclass="comment"         retuRESTARTSYSa href=inkmios"sref">__LINE__inkmios    line" name="L758=_cef="data;
 70CRT"CT" 7lass=76ine" nCRT"CT"  730        if (, ,  685#endif
<9="+code=t9y_ldisc_deref" class="sr9f">tt90a href="+code=MGSL_MAname="L703"> 70tx_ 0ld->inf9/a>);
tt9     9  }
ty" class="sref">tt9}
 680                ret9#L712" id9"L712" class="line" name9"L71291led when a port is opened. s="Send an="drirof href=" and enable port.
 * line discip I=" and enable port.
 * line discip I=" and enable port.
91ine" name="L656"> 656
<+code=MGSL_MApoclinky/o >
<+8efersend href=" and enable port.
;
 9gt;=  * line discip I=" and enable port.
"9%92ss="comment"> * line discip I Rd="L73Value:=MGSL_MAnumb"s of characinks written=" and enable port.

 722       9     92 712          arito  744static int  744< hrstatic int name,"ame="L730"> 730        if (file *i9fo = n="+codid="L736" classree" class="sref">ree" classss="line" name="L685"> 685#endif
<9l 745{
 746        SLMP_INFO *info = info->9driver_data;
index9 href="+code=name" class9"sref92     int  729       9     93nkmp.c#L749" osing, signal callene" name="L751"> 751
 752        if ((<9nfo" class="sref">info->93%d): open with inL697" class="li_device_count) {
printk("%s(%d):&937;s 93char *rs/tty3shared RAM
  3ing"6de=dpuptick" sl"sref">__FILE__, name,"rs/tty/synclinkmp.c#L747" id="L747" c9f="+code=9nfo" class="sref">info->93 712/* tty call9s/a>;
info<9a>-&g93        if (!G" class="sref">ASY="sref">next_device;
 728        if (sanity_check(info, tty9s 734       9     93      if (!count);
;
 795    9   }
dri93lags, count);
index9/a>;

  3ing"6de=dpuptick" sl aram_data;
;
 730        if (tty);
name, ng"6+rs/tty3shared RAM
  3ing"6de=dpuptick" slmax_frame_sizedata;
 730        if (ree" class-id="L736" classEIss="line" name="EIsers/tty/synclinkmp.c#L662" id="L662" 7las9L742"> 749count);
ty" class="sref">tt9a>, struc9 __LINE__tx_activ=      if (filp<9a>)
count);
    9=tty" class="sref">tty->94a href="+code=receiveid="L751" class="liNC_CLOSING){
tx_=name  730        if ( 747   9    u94f="+code=ASYNC_CLOSIN href="+ren a port is opened. s="send accumulated href+from send_char() 7alls Init and enable port.
 749 94a href="+code=MGSL_MAhref="+coen a port is opened. s="as frame"drivy_po before accept=in more href. Init and enable port.
retval9/a>;
__FILE__ 72NC_CLOSING){
 72NC_CLOSING){
tx_=name port9/a>.ty" class="sref">tt9s="sref">9ebug_level >= ree" classname="L728"> 72NC_CLOSING){
tx_=name  72=name" class="sref">name,tty/synclinkmp.c#L662" id="L662" 7las9rty/syncl9lass="string">"Żs('d):%s open(), oldo/tty/synclinkmtx_load_dmaa hrf"sref">__FILE__ 72 hrstatic int name,"rs/tty/synclinkmp.c#L747" id="L747" c9->9a href="+code=port" clas9="sre95      if (!filp<9a>);
tt9s    9       /95ne" name="L696"> 696flags &9  730        if (flags &am9;  70=" class="sref">n="+cassname="L728"> 72min_tL744" id="L744"min_trs/ttintodid="L736" class=name" class="sref">name,ntk" class="sref">printk(p9rt;
 72NC_CLOSING){
tx_=name printk(port9f">flags & ;
 72NC_CLOSING){
,""rs/tty/synclinkmp.c#L747" id="L747" c9code=ENAG9INne" n:              re9uREST96char *n="+ca&ly/sy0" class="sref">port. 732gosinass="9ref">96a href="+code=device_name" clbreakrs/tty/synclinkmp.c#L747" id="L747" c9cty/syncl9ref="drivers/tty/sync7in9mp.c#96d):%s open(), old        s/tty/synclinkmp.c#L747" id="L747" c9c/a>->9   }
        if ( 70NC_CLOSING){
," name="L728"> 72 hrstatic int n="+c"rs/tty/synclinkmp.c#L747" id="L747" c9cf">filp<9+code=SLMP_INFO" class="9ref">9635" id="L735" class="line" name="L735"> 79="+code=n9me" class="sref">name__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 79=lags" cl9a>)
, +ssname="L728"> 72=" class="sref">n="+c/a>                 retuAGAI"L735"> 79=flags" c9e" name="L668"> 668#9fdef 96a href="+code=MGSL_MAid="L751" class="liNC_CLOSING){
, tty/synclinkmp.c#L752AM
  3ing"6de=dpuptick" slmax_frame_sizedata;
                 retuAGAI"L735"> 79ame="L6699> 669        static 9onst 97evice_count" class="shref="+co/tty/synclinkmNC_CLOSING){
, -synclinkmp.c#L752AM
  3ing"6de=dpuptick" slmax_frame_sizedata;
                 retuAGAI"L735"> 79="string"9"Warning: bad magic9numbe97%d): open with inL697" class="liNC_CLOSING){
tx_=name  72=" class="sref">n="+c/a>                 retuAGAI"L735"> 79 name="L691"> 671        stati9 cons97char *Dspin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 79 76ine" n9ss="string">"Warnin9: nul97 712/* tty call9 /a>;
;
 72=" class="sref">n="+c/a>                 retuAGAI"L735"> 79 /a>->9ss="line" name="L674"> 69497      if (!name, -synclinkmp.c#L752=" class="sref">n="+c/a>                 retuAGAI"L735"> 79 f">filp<9f="+code=name" class="sr9f">na97MP_INFO *ree" cla+ssname="L728"> 72=" class="sref">n="+c/a>                 retuAGAI"L735"> 79 "+code=n9/synclinkmp.c#L676" id="9676" 97If port is clhref="+codety" class="sref">tt9rn 1;
magic<9a> !=97nkmp.c#L718" id="L718" class="liAM
  3ing"6de=dpuptick" sl aram_data;
;
 730        if (, na98evice_count" class="sosing, signal calle=name" class="sref">name,) name="L730"> 730        if (ree" classname="L728"> 72NC_CLOSING){
tx_=name  685#endif
<9rn 1;
count);
ty" class="sref">tt9d="L683" 9lass="line" name="L683">9683__FILE__ 72NC_CLOSING){
 72NC_CLOSING){
tx_=name     9/synclinkmp.c#L684" id="9684" 98      if (!ty" class="sref">tt9df">filp<9a href="drivers/tty/sync9inkmp98MP_INTSYS" class="srstartL744" id="L744"startref=:.){
tx_=name         if (        if ( 730        if (__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 79r"+code=m9/a>}
){
__LINE__tx_activ=      if ( 79tivers/tt9e" name="L690"> 690<9pan c99%d): open with inL697" class="lispin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 79/tty/sync9inkmp.c#L691" id="L691" 9lass=99char *tt9me="L692"9 69299 712/* tty call9"line" na9e="L693"> 693count);
 751
 752        if ( * 9disc_99MP_INFO *) {
printk(,
rs/tty3shared RAM
  3ing"6de=dpuptick" sl"sref">__FILE__, ree" cl                 retuAGAI"L735"> 79/n 1;

ree" cl/a>                 retuAGAI"L735"> 79/"+code=m9+code=tty_struct" class=9sref"99nkmp.href="+codety" class="sref">tt10r *10r 712ef="+codety" class="sref">tt10r1* 690<10r" >10rss="comment"> * line discips="Add ancharacinky/o >he tradrmpo bhrf"sclinkmp.c#L742" id="L742" class="line" name=10r2*10rnkmp.c#L741" id="L741" claspanit and enable port.
10r 712) {
 744static int  693 730        if (10r663" class="line" name=7lass"line" name="L745"> 745{
 746        SLMP_INFO *info =  * 10rpa>10rMP_INFO *=driver_data" class="sref">driver_data;
10rIf port is cloli id="L736" classree" class="sref">ree" classss="line" name="L685"> 685#endif
<10r8*
10rnkmp.c#L718" id=" id="L736" classne" name="L751"> 751
 752       ) name="L730"> 730        if () {
printk(,
rs/tty3shared RAM
  3ing"6de=dpuptick" sl"sref">__FILE__, );
 685#endif
<1012*}
ty" class="sref">tt10r3*10r 712/* tty call10r4*
ASY="sref">next_device;
 728        if (sanity_check(info, tty10r5*10r      if (! 685#endif
<1016*)
 710r7*10rlags,  685#endif
<1019*;
10gt63" class="line" name=7lassspin_"dri_irqsav="sref">__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 710g1*"10pan>10gref">tty = 10g2kmp.c#L718" id=" "L718" class="liAM
  3ing"6de=dpuptick" sl aram_data;
;

 722       10e=">10ga href="+code=devi!STARTSYSa href=NC_CLOSING){
__LINE__tx_activ=     ) name="L730"> 730        if ( 710g5*tx_=name 
  3ing"6de=dpuptick" slmax_frame_sizedata;
 730        if ( = ){
,++]assname="L728"> 72=hnt);
                 retuAGAI"L735"> 710g7*10ga href="+code=receive_bufref=id="L751" class="liNC_CLOSING){
, tty/synclinkmp.c#L752AM
  3ing"6de=dpuptick" slmax_frame_sizedata;
                 retuAGAI"L735"> 710g8*info10gf="+code=ASYNC_CLOSIN href="+"+code=iSTARTSYSa href=NC_CLOSING){
, -synclinkmp.c#L752AM
  3ing"6de=dpuptick" slmax_frame_sizedata;
                 retuAGAI"L735"> 710g9*10ga href="+code=MGSL_MAhref="+code=count" clasNC_CLOSING){
tx_=name                  retuAGAI"L735"> 7103 * 729       10e=">10e= href="+code=MGSL_MAhref="+code=count" clasree" class="sref">ree" class1/a>                 retuAGAI"L735"> 71031*info10e%d): open with inhref="+codety" class="sref">tt1032*"%s(%d):&10">&>10echar *tt1033*info10e 712/* tty call1034*info<10inf>10eclass="line" name="L703"> 70spin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 710e5* 734       10e=">10e      if (!ree" cl/a>                 retuAGAI"L735"> 710e6*ty" class="sref">tt1037* 696
>10e> 64810 h712 744static int );
 730        if (}
 70"line" name="L745"> 745{
 746        SLMP_INFO *info = driver_data;
10 63" id="L663" 7lass=76ine" name="L723"> 71045*10       if (! 751
 752        if ()
) {
printk(tty10 a href="+code=receive_bufref=iid="L736" classot;,
code=count" clasNC_CLOSING){
__FILE__,  71048* 747   10 na>10 r_data =  7410s=">10 nkmp.c#L718" id="L718" class="li="sref">next_device;
 728        if (sanity_check(info, tty105 *;
 71051*.>10/ref">tty = ;
 70NC_CLOSING){
 72=hnt);
                 retuAGAI"L735"> 71053* >= 10/ode=DEBUG_LEVG" cTSYS" class="srehnt);
 730        if ("๾las>10/d):%s open(), oldo in .text section. Cas="Make sure tradrmpo clinkrupts are onntnit and enable port.
10/      if (!__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 71056*);
){
 710/8*flags &10ss=>10/lags, __LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 71059*flags &am10ass>10/nkmp.c#L718" href="+codety" class="sref">tt106 *p10ode>10odkmp.href="+codety" class="sref">tt1061*flags & >10oref">tty = 10onkmp.c#L741" id="L741" class="W_po until >he tradrmpoinkyis emptyclinkmp.c#L742" id="L742" class="line" name=1063* 732gosinass="10me=>10oled when a port is opened. ntnit and enable port.
10o4712y_po_until_semef="dr href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int file * 70"line" name="L745"> 745{
 70NC_CLOSING){
 746        SLMP_INFO *info = name10oa href="+code=driver_data" class="sref">drorig_jiffies"sref">__LINE__orig_jiffies_LINhnTSYS" class="srehar_ iment);
info = )
 668#10e" >10onkmp.c#L718" id="!ode=count" clasNC_CLOSING){
 669        static 10> 6>10> ags,                  retuAGAI"L735"> 71071*10>ref">tty =  671        stati101">>10>2kmp.c#L718" id="g, signal callene" name="L751"> 751
 752        if ("Warnin10ss=>10>a href="+code=device_id="L736" class_device_count) {
printk(;
,
code=count" clasNC_CLOSING){
__FILE__,  71075* 610ss=>10>5ef">tty = 10>, ASY="sref">next_device;
 728        if (sanity_check(info, tty1077*                 retuAGAI"L735"> 71078*magic<10gic>10>nkmp.c#L718" id="!ode=count" clastest_bitL744" id="L744" est_bitrs/tty/synclinkmp.c#ASYNCB/a>ITIALIZEDL744" id="L744"ASYNCB/a>ITIALIZEDeck
  3ing"6de=dpuptick" slportL744" id="L744"port>  3t;                tty108 *10f= href="+code=receiveESTARTSYS" class="srexitL744" id="L744"exit="+code=info" class="sref">info = tty =  70orig_jiffies"sref">__LINE__orig_jiffies_LINass="line" name="Ljiffies"sref">__LINE__jiffies_LINode=info" class="sref">info = /* tty call1084*10las>10fclass="line" n in .text section. Cas="Set drive clinkvaly/o 1/5 of estimated  imey/oit and enable port.

10f35" iomment"> * line discip pppppppp="clinkvalyshould also be less thent>he timeoutclinkmp.c#L742" id="L742" class="line" name=1087*10f75" iomment"> * line discip pppppppp="Note: use tight tim=ins here to satisfyt>he NIST-PCTSclinkmp.c#L742" id="L742" class="line" name=1088*}
10nkkmp.c#L718" id="code=count" clasNC_CLOSING){
          href_rato_LIN < name="L730"> 730        if ( 690<10e" >10n%d): open with inL697" class="liehar_ iment);
 72NC_CLOSING){
 71092*10nchar *);
tty1093*);
 71094* 693                 retuAGAI"L735"> 71095*10n      if (!                 retuAGAI"L735"> 71096* * 10spa>10n35" id="L735" class="line" name="L735"> 71097*10nIf port is closing, signal calletimeoutL744" id="L744" imeout      if (
 72min_tL744" id="L744"min_trs/tt=driver_data"hnTSYS" class="srehar_ iment);
 728imeoutL744" id="L744" imeout     /a>                 retuAGAI"L735"> 71099*10n     int 110kkmp.c#L718" id="code=count" clasNC_CLOSING){
;
;
 730        if ( 690<11r" >110%d): open with inwhile="L751" class="liNC_CLOSING){
__LINE__tx_activ=      name="L730"> 730        if (110char *;
__LINE__jiffies_to_msecsrs/tty/synclinkmp.c#ehar_ iment);
 711r3*ASY=iveal_pend=infdevice;
eurreme tty11r4* 693110      if (!ASY8imeoutL744" id="L744" imeout    aref="ref="flass="sref">ASY8ime_aft"sref">__FILE____LINE__jiffies_LIN" name="L728"> 72orig_jiffies"sref">__LINE__orig_jiffies_LINa+ name="L703"> 708imeoutL744" id="L744" imeout      tty11r6* * 11rpa>110MP_INFO *110a href="+code=receivehref="+codety" class="sref">tt11r8*
 730        if (110a href="+code=MGSL_MAn in .text section. Cas=it and enable port.
11reP_INd in .text section. Ca pppppppppppppppp* TODO: det"sminelG" there is someth=in similaky/o USC16Cecha and enable port.
111ss="comment"> * line discip pppppppppppppppp*       TXSTATUS_ALL_SENT ame=usha and enable port.
>111nkmp.c#L741" id="L741" clasppppppppppppppppp*nit and enable port.
111a href="+code=device_while="code=count" clasNC_CLOSING){
__LINE__tx_activ=     ref="ref="flass="sref">ASYNC_CLOSING){
 730        if (
;
__LINE__jiffies_to_msecsrs/tty/synclinkmp.c#ehar_ iment);
 711r5*11r      if (!ASY=iveal_pend=infdevice;
eurreme tty1116*)
ASY8ime_aft"sref">__FILE____LINE__jiffies_LIN" name="L728"> 72orig_jiffies"sref">__LINE__orig_jiffies_LINa+ name="L703"> 708imeoutL744" id="L744" imeout    < tty1118*11rlags, ;
ty" class="sref">tt112 *ty" class="sref">tt1121*"11pan>11gref">tty = 11g2kmp.TSYS" class="srexitL744" id="L744"exit="+c:. 722       11e=">112ode=DEBUG_LEVG" cTSYS" class="srne" name="L751"> 751
 752        if (printk(,
code=count" clasNC_CLOSING){
__FILE__,  71126* = ty" class="sref">tt11g7*112ne" name="L696"> 696info112efined in .text section. Cas="R="+coi>he =name of free bytes in tradrmpo bhrf"sit and enable port.
112> 648 729       11e=">113h712,  744static int info1131):&#name="L730"> 730        if ("%s(%d):&11">&>1132lass="line" name="L703"> 70"line" name="L745"> 745{
 746        SLMP_INFO *info = info113ode=DEBUG_LEVGli id="L736" classree" class="sref">ree" clode=info" class="sref">info = info<11inf>11363" id="L663" 7lass=76ine" name="L723"> 711e5* 734       11e=">11e      if (!ASY="sref">next_device;
 728        if (sanity_check(info, tty11e6* 685#endif
<1137* 696ASYNC_CLOSING){
;
;
 730        if (;
ree" class"L751" class="liNC_CLOSING){
__LINE__tx_activ=      ? 0 :And="L736" classHDLC_MAX_FRAME_SIZE"sref">__LINE__HDLC_MAX_FRAME_SIZE" clode=info" class="sref">info = 114t63" class="lh else name="L730"> 730        if ();
ree" classname="L728"> 72NC_CLOSING){
tx_=name                  retuAGAI"L735"> 71142*}
ree" clarl"6+0 tty1143*ree" classss="line" name="L685"> 685#endif
<1144*114class="line" }="line" name="L685"> 685#endif
<1145*1145ef">tty = )
ASYne" name="L751"> 751
 752        if (tty11 a href="+code=receiveo/tty/synclinkm_device_count) {
printk( 747   11 na>114lags, ,
code=count" clasNC_CLOSING){
__FILE__, ree" cl                 retuAGAI"L735"> 71149* 7411s=">114     int >11/aags, ree" cl/a>                 retuAGAI"L735"> 71151*.>11/ref">}="line" name="L685"> 685#endif
<1152*;
 685#endif
<1153* >= 115led when a port is opened. /* enable tradrmpoinkydrivsend remaio=in bhrf"sr_dcharacinksha and enable port.
"๿las>11/d):&#11/     ame="L7voidnL697" class="liflush_charapen(>            ush_charaf="dr href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int );
 730        if ( 70"line" name="L745"> 745{
 746        SLMP_INFO *info = flags &11ss=>11/lags, driver_data;
flags &am11ass>115     int p11ode>116kkmp.c#L718" id="code=count" clasne" name="L751"> 751
 752       )int flags & >116%d): open with inL697" class="li device_count) {
printk(116char *,
rs/tty3shared RAM
  3ing"6de=dpuptick" sl"sref">__FILE__, ){
tx_=name                  retuAGAI"L735"> 71163* 732gosinass="11me=>116 712/* tty call1164*ASY="sref">next_device;
 728        if (sanity_check(info, tty1165* 71166* 71167*name116If port is closing, signal calleNC_CLOSING){
tx_=name  728        if ( 728        if ( 71168*)
 668#11e" >116a href="+code=MGSL_MAf="+co/a>                 retuAGAI"L735"> 7117 * 669        static 11> 6>11705" id="L735" class="line" name="L735"> 71171*1171kmp.c#L718" id="code=count" clasne" name="L751"> 751
 752       )int  671        stati111">>117char *(printk("Warnin11ss=>11>a href="+code=device_with indid="L736" classot;,
rs/tty3shared RAM
  3ing"6de=dpuptick" sl"sref">__FILE__,  71174*;
 71175* 611ss=>117663" class="line" name=7lassspin_"dri_irqsav="sref">__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 71176*11735" id="L735" class="line" name="L735"> 71177*__LINE__tx_activ=      name="L730"> 730        if (;
;
 730        if (magic<11gic>117a href="+code=MGSL_MAhref="+code=count" clasNC_CLOSING){
tx_=name  730        if (11f= href="+code=receivehref="+coen a port is opened. /* operat=in in     hronous (frame orineded) mcodntnit and enable port.

118a href="+code=device_with indid="L736" class/x_load_dma_bhrf"s" class="sref">tx_load_dma_bhrf"srs/tty/synclinkmp.c#L728" id="L728" class="line"enable port.
11las>118d):%s open(), old        iiiiiiiiiSTARTSYSa href=NC_CLOSING){
){
tx_=name                  retuAGAI"L735"> 71185* 685#endif
<1186* 71187*118If port is cl}="line" name="L685"> 685#endif
<1188*>118a href="+codeine" name=7lassspin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 7119 *119dkmp.href="+codety" class="sref">tt1191* 690<11e" >119ref">tty = 119nkmp.c#L741" id="L741" class="Discard all href ioi>he send bhrf"sit and enable port.
119led when a port is opened. ntnit and enable port.
 693  ush_bhrf"sf="dr href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int 119f">file * * 11spa>119MP_INFO *name="L703"> 70"line" name="L745"> 745{
 746        SLMP_INFO *info = 119a href="+code=driver_data" class="sref">driver_data;

119nkmp.c#L718" id="L718" class="line" name="L751"> 751
 752        if (120= href="+code=receiveL697" class="li device_count) {
printk( 690<12r" >120%d): open with ine=receiveL697" class="liot;,
code=count" clasNC_CLOSING){
__FILE__,  712r2*1202lass="line" name="L685"> 685#endif
<12r3*next_device;
 728        if (sanity_check(info, tty12r4* 693                 retuAGAI"L735"> 71205*1205ef">tty =  * 12rpa>120MP_INFO *name="L703"> 70spin_"dri_irqsav="sref">__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 71207*120a href="+codename="L703"> 70NC_CLOSING){
tx_=name  72NC_CLOSING){
 72NC_CLOSING){
tx_gee  685#endif
<12r8*
"sl_ imesref="drivers/tty3shared RAM
  3ing"6de=dpuptick" sltx_ imes" class="sref">tx_ imes                  retuAGAI"L735"> 71209*120a href="+codeine" name=7lassspin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 7121 * 71211*static int  71212*}
ty" class="sref">tt12r3*121 712/* tty call12r4*
121     c#L741" id="L741" clasptnit and enable port.
)>121MP_IName="L7voidnL697" class="litx_hol708" class="linetx_hol7f="dr href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int 121lags,  745{
 746        SLMP_INFO *info = ;
driver_data;
 71221*"12pan>1221kmp.c#L718" id="TSYS" class="sr="sref">next_device;
 728        if (sanity_check(info, tty12g2*122char *                 retuAGAI"L735"> 712g3* 722       12e=">122 712/* tty call1224* 751
 752       )int 12g      if (!(printk( = ode=count" clasNC_CLOSING){
__FILE__,  712g7*122ne" name="L696"> 696info122lags, __LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 712g9*122nkmp.c#L718" id="L718" class="liNC_CLOSING){
 729       12e=">123= href="+code=receiveL697" class="litx_stopL744" id="L744" x_stoprs/tty/synclinkmp.c#L728" id="L728" class="line                 retuAGAI"L735"> 71231*info1231 href="+codeine" name=7lassspin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 71232*"%s(%d):&12">&>123nkmp.href="+codety" class="sref">tt1233*info123 712/* tty call1234*info<12inf>123d):&#
 734       12e=">123     c#L741" id="L741" clasptnit and enable port.
123MP_IName="L7voidnL697" class="litx_releaseL744" id="L744" x_releasef="dr href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int  745{
 746        SLMP_INFO *info = ;
driver_data;
12405" id="L735" class="line" name="L735"> 71241*);
next_device;
 728        if (sanity_check(info, tty1242*}
                 retuAGAI"L735"> 71243*/* tty call1244*124        if (!G" ccode=count" clasne" name="L751"> 751
 752       )int 124      if (!(printk()
ode=count" clasNC_CLOSING){
__FILE__, tty124ne" name="L696"> 696 747   12 na>124lags, __LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735">  12 9* 7412s=">124nkmp.c#L718" id="!ode=count" clasNC_CLOSING){
;
 71251*.>1251 href="+codeine" name=7lassspin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> 71252*;
ty" class="sref">tt1253* >= 125 712/* tty call1254*"຀las>12/d):&#125     c#L741" id="L741" clasptit and enable port.
)>12535" iomment"> * line discip * Argudiscs:it and enable port.
12575" iomment"> * line discip tit and enable port.
flags &12ss=>125efined in .text section. Ca *      >
<     poclinky/o >
< instan+c href=" and enable port.
flags &am12ass>125> 648
p12ode>126eP_INd in .text section. Ca t      arg     cs="drivargudisc/colinxtit and enable port.
flags & >126ss="comment"> * line discip tit and enable port.
126nkmp.c#L741" id="L741" clasp="R="+coiValue:f="+code0 id=success, otherwise errorvccod"  and enable port.
 732gosinass="12me=>126led when a port is opened. ntnit and enable port.
1264712 751
 744static int printk(drargstatic int  730        if (name126a href="+codename="L703"> 70"line" name="L745"> 745{
 746        SLMP_INFO *info = )
__usesref="drivers/tty/syncargpL744" id="L744"argp" class(voidnL697" class="li__uses" class="sref">__usesref="d)class="sref">drargstatic int info =  668#12e" >126     int  751
 752        if (127%d): open with inL697" class="li device_count) {
 if ( 671        stati121">>127char *__FILE__,                  retuAGAI"L735"> 71273*"Warnin12ss=>127 712/* tty call1274*;
ASY="sref">next_device;
 728        if (sanity_check(info, tty1275* 612ss=>127      if (!sanitENODEV    ode=info" class="sref">info = 12735" id="L735" class="line" name="L735"> 71277* 71278* 730        if (magic<12gic>127a href="+code=MGSL_MAid="L751" class="li8        if (                 730        if (12f= href="+code=receivehreff="+coi-e=sanity_check"EIss="line" name="EIs    ode=info" class="sref">info = ty" class="sref">tt1282* 685#endif
<1283* 730        if (12las>128d):%s opecase=y/synclinkmp.c#MGSL_IOCGPARAMSstatic int .;
 72argpL744" id="L744"argp" cl                 retuAGAI"L735"> 71286*;
 72argpL744" id="L744"argp" cl                 retuAGAI"L735"> 71288*>128a href="+code=MGSL_MAf="+coiid="L736" classget_txidlass="sref">sanitget_txidlars/tty/synclinkmp.c#L728" id="L728" class="line" name="L728"> 72argpL744" id="L744"argp" cl                 retuAGAI"L735"> 7129 *1290P_INFO *case=y/synclinkmp.c#MGSL_IOCSTXIDLEstatic int . 690<12e" >129%d): open with inf="+coiid="L736" classset_txidlass="sref">sanitset_txidlars/tty/synclinkmp.c#L728" id="L728" class="line" ( hr)class="sref">drargstatic int                  retuAGAI"L735"> 71292*1292P_INFO *case=y/synclinkmp.c#MGSL_IOCTXENABLEstatic int .129a href="+code=device_f="+coiid="L736" classtx_enable08" class="linetx_enablers/tty/synclinkmp.c#L728" id="L728" class="line" ( hr)class="sref">drargstatic int                  retuAGAI"L735"> 71294* 693129      if (!drargstatic int                  retuAGAI"L735"> 71296* * 12spa>129MP_INFO *case=y/synclinkmp.c#MGSL_IOCTXABORTstatic int .129a href="+code=receivef="+coiid="L736" classtx_abortL744" id="L744"tx_abortrs/tty/synclinkmp.c#L728" id="L728" class="line                 retuAGAI"L735"> 71298*
129a href="+code=MGSL_MAf="+coiid="L736" classget_ame=_data;
 72argpL744" id="L744"argp" cl                 retuAGAI"L735"> 713r *1300P_INFO *case=y/synclinkmp.c#MGSL_IOCWAITEVENTstatic int . 690<13r" >130%d): open with inf="+coiid="L736" classwait_mgsl_eveme" class="sref">wait_mgsl_evemers/tty/synclinkmp.c#L728" id="L728" class="line" name="L728"> 72argpL744" id="L744"argp" cl                 retuAGAI"L735"> 713r2*1302P_INFO *case=y/synclinkmp.c#MGSL_IOCLOOPTXDONEstatic int .130a href="+code=device_f="+coi0;dien a port is opened. // TODO: Not supported, needy/o docudiscit and enable port.
 693
130     c#L741" id="L741" clasppppppppppppppppp* as specifiedyby mask ioiarg (TIOCM_RNG/DSR/CD/CTS)"  and enable port.
 * 13rpa>13035" iomment"> * line discip pppppppppppppppp*nit and enable port.
130a href="+codecase=y/synclinkmp.c#TIOCMIWAITstatic int .130lags, drargstatic int                  retuAGAI"L735"> 71309*130a href="+code=MGSL_MAa>                 retuAGAI"L735"> 7131 * * line discip pppppppppppppppp* Get =nameer of input serial ="dr clinkrupts (DCD,RI,DSR,CTS)it and enable port.
>131nkmp.c#L741" id="L741" clasppppppppppppppppp* R="+co:narito =nameersy/o >he uses pid=r_dcnameer ss="line and enable port.
131led when a port is opened. npppppppppppppppp* NB: both 1"+cod0ydriv0"+cod1 tradritionsiaro =nameed except forne and enable port.
131d):&#
131     c#L741" id="L741" clasppppppppppppppppp*nit and enable port.
)>131MP_INFO *default:.sanitENOIOCTLCMD    ode=info" class="sref">info = 131lags, tt13r9*;
ty" class="sref">tt132 *ty" class="sref">tt1321*"13pan>132ref">tty = 132char ame="L7Gli id="L736" classget_i=name" class="sref">get_i=namers/tt href="drivers/tty/synclinkmp.c#L744" id="L744" class="line" name="L744"> 744static int printk( 722       13e=">132a href="+code=device_with inddddddddd href="drivers/tty/synserial_i=nameernkmp.c#L744" id="L744"serial_i=nameernkmp.c#ne" name="L744"> 744i=namers/t 730        if ( 730        if ( 744<"line" name="L745"> 745{
 746        SLMP_INFO *info =  = mgsl_i=nameP_INFy/synclinkmp.c#enowstatic int 132a href="+code=driver_data" class="sref">driver_data;
info132r_data = 132a href="+codeine" name=7lassspin_"dri_irqsav="sref">__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735">  133 * 729       13e=">133= href="+codey/synclinkmp.c#enowstatic int  72NC_CLOSING){
i=namers/t/a>                 retuAGAI"L735">  1331*info1331 href="+codeine" name=7lassspin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735">  1332*"%s(%d):&13">&>1332lass="line" name="L685"> 685#endif
<1333*info1333 href="+codeine" name=7lassi=name" class="sref">i=namers/ting"6de=dpuptick" slc=_data;
 72enowstatic int ;
                 retuAGAI"L735">  1334*info<13inf>1334 href="+codeine" name=7lassi=name" class="sref">i=namers/ting"6de=dpuptick" sldss" class="sref">"srrs/t ssname="L728"> 72enowstatic int "srrs/t/a>                 retuAGAI"L735">  1335* 734       13e=">133      if (! 744i=namers/ting"6de=dpuptick" slrngstatic int  72enowstatic int                  retuAGAI"L735">  1336* 70i=name" class="sref">i=namers/ting"6de=dpuptick" sldcdstatic int  72enowstatic int                  retuAGAI"L735">  1337* 70N=name" class="sref">i=namers/ting"6de=dpuptick" slrx08" class="linerxrs/t ssname="L728"> 72enowstatic int   1338*i=namers/ting"6de=dpuptick" sltx08" class="linetxrs/t ssname="L728"> 72enowstatic int   1339*;
i=namers/ting"6de=dpuptick" slframepen(>           r_check< ssname="L728"> 72enowstatic int            r_check                 retuAGAI"L735">  134 *134= href="+codey/synclinkmp.c#N=name" class="sref">i=namers/ting"6de=dpuptick" slovnkrun" class="sref">ovnkruneck< ssname="L728"> 72enowstatic int ovnkruneck                 retuAGAI"L735">  1341*);
i=namers/ting"6de=dpuptick" slpari46"> 746     pari46eck< ssname="L728"> 72enowstatic int  746     pari46eck                 retuAGAI"L735">  1342*}
i=namers/ting"6de=dpuptick" slbrf">count);
 72enowstatic int count);
                 retuAGAI"L735">  1343*i=namers/ting"6de=dpuptick" slbuf_ovnkrun" class="sref">buf_ovnkruneck< ssname="L728"> 72enowstatic int buf_ovnkruneck                 retuAGAI"L735">  1344*134     a>                 retuAGAI"L735">  1345*134      if (!ty" class="sref">tt13 6*)
ty" class="sref">tt13 7*tty134ne" name="L696"> 696 747   13 na>134efined in .text section. Cas=it and enable port.
 7413s=">134> 648
>135eP_INd in .text section. Ca tnit and enable port.
>135ref">tty = ;

sanitseq_filaref="drivers/tty/syncm" class="sref">m, 744<"line" name="L745"> 745{
 730        if ( >= 135 712 730        if ("ກlas>135d):%s opecharcodeine" name=7lasssme=_ hrstatic int tt1355*135      if (!driver_data;
);
 71357* 70seq_m, 71358*flags &13ss=>135lags, printk(flags &am13ass>135a href="+code=MGSL_MArs/tty3shared RAM
  3ing"6de=dpuptick" sl"sref">__FILE__, printk(p13ode>136= href="+code=receiveL697" class="liAM
  3ing"6de=dpuptick" slphys_sca_baseL744" id="L744"phys_sca_base_LIN>tk" class="sref">printk(flags & >136%d): open with inL697" class="liAM
  3ing"6de=dpuptick" slphys_memory_baseL744" id="L744"phys_memory_base_LIN>tk" class="sref">printk(136char *tk" class="sref">printk( 732gosinass="13me=>136a href="+code=device_L697" class="liAM
  3ing"6de=dpuptick" slphys_lcr_baseL744" id="L744"phys_lcr_base_LIN>tk" class="sref">printk( 72NC_CLOSING){
 751
tk" class="sref">printk( 72NC_CLOSING){
max_ r_ch_size                      retuAGAI"L735">  1366* 71367*name136a href="+coden/a>
)>136lags, __LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735"> y13a9* 668#13e" >136a href="+codeine" name=7lassget_aiveal_data;
 7137 * 669        static 13> 6>137= href="+codey/synclinkmp.c#spin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retuAGAI"L735">  1371*137ref">tty =  671        stati131">>137char * 685#endif
<1373*"Warnin13ss=>1373 href="+codeine" name=7lasssme=_ hrstatic int  685#endif
<1374*;
ASYAM
  3ing"6de=dpuptick" slserial_aiveal_data;
 744<"erialSiveal_RTSstatic int  730        if ( 613ss=>137      if (!info,s="line" name="L685"> 685#endif
<1376*1376       if (!G" class="sref">ASYAM
  3ing"6de=dpuptick" slserial_aiveal_data;
 744<"erialSiveal_CTSstatic int  730        if (info,s="line" name="L685"> 685#endif
<1378*ASYAM
  3ing"6de=dpuptick" slserial_aiveal_data;
 744<"erialSiveal_DTRstatic int  730        if (magic<13gic>137a href="+code=MGSL_MAine" name=7lasssmrca#L744" id="L744"smrca#rs/tty/synclinkmp.c#sme=_ hrstatic int info,s="line" name="L685"> 685#endif
<138 *138kkmp.c#L718" id="ode=count" clasAM
  3ing"6de=dpuptick" slserial_aiveal_data;
 744<"erialSiveal_DSRstatic int  730        if (info,s="line" name="L685"> 685#endif
<1382*
  3ing"6de=dpuptick" slserial_aiveal_data;
 744<"erialSiveal_DCDss="sref">sanit"erialSiveal_DCD" cl 730        if (info,s="line" name="L685"> 685#endif
<1384*13las>138        if (!G" class="sref">ASYAM
  3ing"6de=dpuptick" slserial_aiveal_data;
 744<"erialSiveal_RIstatic int  730        if (info,s="line" name="L685"> 685#endif
<1386* 71387*138If port is closinL697" class="liAM
  3ing"6de=dpuptick"et_ aram_data;
  3icII35"> 71387ed       f_ovnkruneck< ssntaticMODE_HDLC 3icII35"> 7138taticMODE_HDLCerialt  730    3GAI"L735">371288*135lags 70seq_m,printk>128a href=ss=>135lags 72NC_CLOSING){
m, 72NC_CLOSING){
info,s="line" name="L685"> 685GAI"L735">37129 *p13ode>136= href=8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt  730     t" class="3r1291* 630<12e" >129%d)5lags 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 685G/a>#endif
71292*136char *<8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt  730     t  if ( 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 685G/a>#endif
71294* 63339nc7in13ref>136d):źIf port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt  730     t  if (129      i5lags 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 685G/a>#endif
71296*)>124MP_INFO8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt  730     te="L735"> r1297*129a href=5lags 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 685GAI"L735">371298*
 730     t" class="3r1299*129a href=5lags 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 684GAI"L735">4713r *p13ode>136= href=8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt  730    4t" class="4r13r1* 640<13r" >130%d)5lags 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 684G2 class="4r1292*13} elset  730    4t" class="4r13r3* 70seq_m,printk4ref="drive4s13r4* 6434span c13r=">130d):%r69>130a href=5a href="+codename="L728"> 72NC_CLOSING){
m, 72NC_CLOSING){
info,s="line" name="L685"> 684G5f="drive4s1295*129      i8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt      lSiveal_RI" cl 730    4t6f="drive4s1296*)>124MP_INFO0a href=5a href="+codename="L703"> 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 684G7f="drive4s1297*129a href=8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt  746 lSiveal_RI" cl 730    4t8f="drive4s1298*
 70seq_m, 72NC_CLOSING){
 746 lref">info,s="line" name="L685"> 684G9f="drive4s1299*130a href=8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt count 730    4GAI"L735">47131 * 70seq_m, 72NC_CLOSING){
countinfo,s="line" name="L685"> 684ref="drive4s1311*<13r" >130%d)8If port is closinL697" class="liAM
  3ing"6d/tty/synclinkmi=name" class="srt  730    4G2 class="4s1312*}
>127char * 70seq_m, 72NC_CLOSING){
info,s="line" name="L685"> 684r" class="4s1313*1313a>)>134MP_INhref="+codety" cl4ref="drive4s1314*
134     a>                 retu4ref="drive4s1315*
133MP_INFO *name="L703"> 70seq_m,info,s="line" name="L685"> 684r7f="drive4r13r7*134ne" name="L696"> 696 = <4 1318*)>136lags,  70seq_m,printk4ss="sref">4t13r9*;
 72NC_CLOSING){
 72NC_CLOSING){
 72NC_CLOSING){
printk4ss="sref">4t132 * 72NC_CLOSING){
endinfo,s="line" name="L685"> 684ss="sref">4t1321*ty" cl4=tty" clas4=13g2*&>1332lass="line" name="L685"> 684/a>( 74242 name13"L7>131led when a pon cCall suppoc int OSINrma0"+c about E__
 72enowsort.sanitseq_filaref="drivers/tty/syncm" class=f=58 730    4fo = <4 1326* =  730    4ref="drive4s13g7*135a href="+codene="L744"> 744<"line" name="L745"> 745{
info,s="line" name="L685"> 684so = <4c13g8*132r_data =  70seq_m,info,s="line" name="L685"> 684GAI"L735">4 133 * 7494      ef">info,s="line" name="L685"> 684Gs="sref">4 1331*1331 href="+codeiivers/tty/synclinkmp.c#L746" id="L746" class=ort.lisame=7lasssmrca#L7rt.lisaL746ref">info,s="line" name="L685"> 684GAI"L735">4 1332*""s(+stati121">>12whef"(331 href="+codeiivers/tty/synclinkmp.c#L746"lt  730    4#endif4<1333*130a href=5a href="+codenl97" class="lif="d_AM
info,s="line" name="L685"> 684G  if ( 72NC_CLOSING){
 72NC_CLnext_E__info,s="line" name="L685"> 684G  if ( 7444      13e=">1313a>)>134MP_INhref="+codety" cl4GAI"L735">4 1336*4 1337*ty" cl4Go = <4 1338*132r_data = 4 1339*;
132char ame="L7Gli iort.en"L728"> 72enowsort.en  3icII35"> 7138ino>  745{
 7138ino>  745,32MP_INFO * href="drs/tty/synseq_filasref">sanitseq_filaref="drrs/tty/synseq_filasref">sanlSiveal_RI" cl 730    4GAI"L735">4 134 * 730    4GAI"L735">4 1341*);
);>13: open with inf="+coiiden"L728"> 72enowsoenref=5eq_sanref="+code=priniL/rt. 72enowsort. 72enowsNULLL746lref">info,s="line" name="L685"> 684GAI"L735">4 1342*}
ty" cl4GAI"L735">4 1343*ty" cl4G  if (era0"+ccode=tty" " clapes/t_o>era0"+cc/tty1f="+code=priniL/rt. 730    4G  if (13t 130d id="L746" class=THIScMODUMGSL_IOCRXENABLEsTHIScMODUMGclassef="+code=printk" class="sref">printk4ss="sref">4t13 6*)
13t  72enowso>enref= 13r=">130d id="L746" class=ort.en"L728"> 72enowsort.enprintk4sAI"L735">4t13 7*13t 130d id="L746" class=oatirea href="+codedcdsoatirea printk4so = <4m13 8*13t lseepref= 13r=">13 id="L746" class=oatilseepuptick" slsref"oatilseepprintk4sAI"L735">4s13 9*13t 13 id="L746" class=oprintk4ref="drive4s135 *;
info,s="line" name="L685"> 684ref="drive4s1351*.>135ref">tty = ;

 &g45 name13"L7>131led when a porriveal rme=esp*nit and enable port.
&qu4543" c13="+>132char ame="L7Gli i5d):s
 744static ilSiveal_RI" cl 730    4ss="sref">4t1355* 730    4 id="L747"4c1356*);
 744<"line" name="L745"> 745{
 746        SLMP_INFO *i4me="L735">471357*134ne" name="L696"> 696471358*f4ags137lags,  746        __FIL, m, 730    4sAI"L735">4l1359*4lags<4a> &am13ass>135a href=4      if (!ty" cl4/a>(info,s="line" name="L685"> 684/a>(flags>137lags,  744<"line" namDEBUG_LEVEL744">ic ilSiveal_RI" cl 730    4/a>(136char *m,printk4/a>( 432gos4nass="13me=>136a href=char *  3ing"6de=dpuptick" sl"sref">__FILE__,  72NC_CLOSING){
info,s="line" name="L685"> 684/a>(134     a>                 retu4/a>( 72NC_CLOSING){
info,s="line" name="L685"> 684/id="L747"4 1366*)>134MP_INhref="+codety" cl4me="L735">471367*46tty134ne" name="L696"> 696)
   13 na>134efined in .text int 
4y13a9* 646"> 7413s=">134> 648
47137 * 669  4     4tatic 13="+>1f=58 746 730    4GAI"L735">4 1371* 730    4=tty" clas4=1372* 6714     4 stati131">>137char * 744<"line" name="L745"> 745{
 746        SLMP_INFO *i4#endif4<1373*135      if (!driver_data;
134     a>                 retu4   if ( 613ss=>137lags,  744<"line" namDEBUG_LEVEL744">ic ilSiveal_RI" cl 730    4#endif4<1376*)>124MP_INFOa href="+code=Lc intpuptick" slsref"c intpref=5esref">m,printk4   if (  3ing"6de=dpuptick" sl"sref">__FILE__,                  retu4#endif4<1378*137lags,  746        __FIL, m, 730    4#endif4<138 *131= href=: open_ch_size                      retu4   if (>135ref">tty = 1382kmp.c#L718" id="oI_IXOFF sl"sref">__FILI_IXOFFref=5eq_ 746 730    4#endif4r1383* 746m, 746                 retu4 /a>#endif4<1384*134     a>                 retu4   if ( 613ss=>137lags,  746        driver_dtermio=46 730    4#endif4<1386*__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retu4me="L735">471387*ASYAM
  3ing"6de=dpuptick" slserial_aiveal_data;
m, 744<"erialSiveal_RTSstatic int                  retu4m/a>#endif471288*135lags;
>128a href=a href="+code=L/tty/linkmp.c#spin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retu4GAI"L735">47129 *p13ode>1313a>)>134MP_INhref="+codety" cl4t" class="4r1291* 649"13a>)>134MP_INhref="+codety" cl4G/a>#endif471292*&>1332lass="line" name="L685"> 684t  if (131led when a pon cint 
#endif471294* 64349rs/tt13pan>131d):&#
1f=58 746 730    4G/a>#endif471296* 730    4te="L735">4r1297*135a href="+codene="L744"> 744<"line" name="L745"> 745{
 746        SLMP_INFO *i4GAI"L735">471298*
driver_data;
5713r *138kkmp.c#L718" id="odebugy/synclinkmirqame="L7debugy/syncHUP_1>    id="L746" class=DEBUG_LEVEL744"> 744<"line" namDEBUG_LEVEL744">ic ilSiveal_RI" cl 730    5t" class="5r13r1* 650<13r" >130%d)a href="+code=Lc intpuptick" slsref"c intpref=5esref">m,printk5G2 class="5r1292*>127char *  3ing"6de=dpuptick" sl"sref">__FILE__,                  retu5t" class="5r13r3*)>134MP_INhref="+codety" cl5ref="drive5s13r4* 6535span c13r=">137lags,  746        __FIL, m, 730    5G5f="drive5s1295*129      i: open_ch_size                      retu5t6f="drive5s1296*13835" id="L735" class="line" n5G7f="drive5s1297*__FILI_IXOFFref=5eq_ 746 730    5t8f="drive5s1298*
 730    5t9f="drive5s1299*130a href= href=" 685GAI"L735">57131 * 685G" class="5s1311*<13r" >130%d) href=" 746m, 746                 retu5G2 class="5s1312*}
>1213a>)>134MP_INhref="+codety" cl5r" class="5s1313*ty" cl5ref="drive5s1314*
137lags,  746        driver_dtermio=46 730    5ref="drive5s1315*129      ia href="+code=L/tty/synclinkmspin_"dri_irqsav="sref">__LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retu5ref="drive5s1316*)
)>124MP_INFOa href="+code=Lass="sref">ASYAM
  3ing"6de=dpuptick" slserial_aiveal_data;
 744<"erialSiveal_RTSstatic int                  retu5r7f="drive5r13r7*;
135lags__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retu5ss="sref">5t13r9*;
ty" cl5ss="sref">5t132 *ty" cl5s" class="5t1321*>135ref">tty = >131nkmp.c#L741" /ppsta or>13eard0ydrimit break1condit"+c"sal rme=esp*nit and enable port.
( 75252 name13"L7>131led when a po * break_13="e  -1inm" break1condit"+c, 0=13ear"sal rme=esp*nit and enable port.
131d):&#
132char ame="L7Gli iota 746 730    5fo = <5 1326* =  730    5ref="drive5s13g7*135      if5d):har ame="L7Gli iRegValuene" name="L746"RegValuerial                           retu5so = <5c13g8*)>136lags,  744<"line" name="L745"> 745 746        SLMP_INFO *i5nfo" class5"13g9*driver_data;
5 133 * 7595      ef">info,s="line" name="L685"> 685Gs="sref">5 1331*>137lags,  744<"line" namDEBUG_LEVEL744">ic ilSiveal_RI" cl 730    5GAI"L735">5 1332*"#s(5   re13INn>136char *m,printk5#endif5<1333*130a href=36char *  3ing"6de=dpuptick" sl"sref">__FILE__, 134     a>                 retu5G  if ( 754534"> 613ss=>137lags,  746        __FIL, m, 730    5GAI"L735">5 1336* 72enowsEINVALa>;
 696 = <5 1338*)>136lags, __LINE__spin_"dri_irqsav=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retu5GAI"L735">5 1339*;
 72enowsCTL                                retu5GAI"L735">5 134 * 730    5GAI"L735">5 1341*);
<13r" >130%d)a href="+code=LRegValuene" name="L746"RegValuerial"| id="L746" class=BIT3ne" name="L746"BIT3a>;
5 1342*}
 685GAI"L735">5 1343*m,;
 72enowsCTL    8id="L746" class=RegValuene" name="L746"RegValuerial                            retu5G  if (135a href="+codenatty/linkmp.c#spin_un"dri_irqrestor="sref">__LINE__spin_un"dri_irqrestor=ref="drivers/tty3shared RAM
  3ing"6de=dpuptick" slsref">count);
                                 retu5ss="sref">5t13 6*)
134      if (!ty" cl5sAI"L735">5t13 7*)>134MP_INhref="+codety" cl5so = <5m13 8*5s13 9*, 132r_data = ;
info,s="line" name="L685"> 685ref="drive5s1351*.>131nkmp.c#L741" /p*veal rme=esp*nit and enable port.
;
 34 lay, etc.)veal rme=esp*nit and enable port.
 &g55 name13"L7>131led when a porrpsta en  3chedppstquen e (FCS) op0"+cc/tal rme=esp*nit and enable port.
&qu55rs/tt13pan>131d):&#
131led when a porrpE__3ref>13pointer to network E__
5c1356*);
131led when a porrpen 
571357*131led when a porrp> 74613FCS stati!
 = <571358*f5ags   13 na>134efined in .tenr/tal rme=esp*nit and enable port.
5l1359*5lags<55"> 7413s=">134> 6481od"dral rme=esp*nit and enable port.
(flags 72NC_CLnet_E____FILE__    8i5      ifshorAM__FILen 
136char *<<<<<<<<<<<5      ifshorAM 746 lSiveal_RI" cl 730    5/a>( 532gos5nass="  730    5/a>( 744<"line" name="L745"> 745{
__FILE___to_porAref=5eq___FILE__                                retu5/a>(__FILnew_en ;
135      ifshorAM 72NC_CLnew_crctypaa>;
571367*56tty134ne" name="L696"> 696)
)>1363/a>>131nkmp.c#L741" /pp4      error>8kkTTY interfa/auo>ennriveal rme=esp*nit and enable port.
5y13a9* 656agic<13gic>137lags,  72NC_CLOSING){
__FILporAref=t 
57137 * 669  5     57nclin13ref>131= href=: open -      72enowsEBUSYa>;
5 1371*>135ref">tty =  6715     5 stati131">>13switchags, __FILen 
(13  730    5#endif5<1374*;
 72enowsENCODING_NRZlass:13 hr>132a href="+codeinew_en __FILnew_en ;
" id="L746" class=HDLC_ENCODING_NRZ"L728"> 72enowsHDLC_ENCODING_NRZa>;
< break 613ss=>13case       72enowsENCODING_NRZIlass:13 hr>12a href="+codeinew_en __FILnew_en ;
" id="L746" class=HDLC_ENCODING_NRZI_SPACE"L728"> 72enowsHDLC_ENCODING_NRZI_SPACEa>;
< break)>12case       72enowsENCODING_FM_MARKlass:13 h2a href="+codeinew_en __FILnew_en ;
" id="L746" class=HDLC_ENCODING_BIPHASE_MARK"L728"> 72enowsHDLC_ENCODING_BIPHASE_MARKa>;
< break5r1377* 72enowsENCODING_FM_SPACElass:13 2a href="+codeinew_en __FILnew_en ;
" id="L746" class=HDLC_ENCODING_BIPHASE_SPACE"L728"> 72enowsHDLC_ENCODING_BIPHASE_SPACEa>;
< break13case      __FILnew_en ;
" id="L746" class=HDLC_ENCODING_BIPHASE_LEVEL"L728"> 72enowsHDLC_ENCODING_BIPHASE_LEVELa>;
< break5r1379*13default:O: open -      72enowsEINVALa>;
p13ode>1313a>)>134MP_INhref="+codety" cl5   if (>135ref">tty = >13switchags,  746 lSiveal_RI" cl 730    5#endif5r1383* 730    5 /a>#endif5<1384*13case       72enowsPARITY_NONElass:13 hr>1313 h2a href="+codeinew_crctypa"L728"> 72NC_CLnew_crctypaa>;
" id="L746" class=HDLC_CRC_NONE"L728"> 72enowsHDLC_CRC_NONEa>;
< break 613ss=>13case       72enowsPARITY_CRC16_PR1_CCITTlass:12a href="+codeinew_crctypa"L728"> 72NC_CLnew_crctypaa>;
" id="L746" class=HDLC_CRC_16_CCITT"L728"> 72enowsHDLC_CRC_16_CCITTa>;
< break 72enowsPARITY_CRC32_PR1_CCITTlass:12a href="+codeinew_crctypa"L728"> 72NC_CLnew_crctypaa>;
" id="L746" class=HDLC_CRC_32_CCITT"L728"> 72enowsHDLC_CRC_32_CCITTa>;
< break571387* 72enowsEINVALa>;
1313a>)>134MP_INhref="+codety" cl5 AI"L735">5r1289*}
57129 *p13ode>13s,  72NC_CLOSING){
__FILen __FILnew_en ;
 659nfo1331 href="+codeiivers/tty/synclinkmp.c#L746>){
 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
&>1332lass="line" name="L685"> 685t  if (1363/a>>131nkmp.c#L741" /ppif network interfa/auup,O: program hardwarenriveal rme=esp*nit and enable port.
#endif571294* 65359pan c13r=">137lags,  72NC_CLOSING){
 lSiveal_RI" cl 730    5t  if (129      ia href="+code=Lprogram_h="L728"> 72enowsprogram_h=ref=5eq_5r1297*134      if (!ty" cl5GAI"L735">571298*
ty" cl5t" class="5r1299*6713r *131d):&#
 660tty" 13/a>>131nkmp.c#L741"  * call suby generic HDLC layer pponend en(> veal rme=esp*nit and enable port.
>131nkmp.c#L741"  *veal rme=esp*nit and enable port.
era0"+ccodid="L746" class=new_en __FILnew_en ;
__FIriversnetcty/synclinkmi=6nkmp.60="+co5e=por5" clas13"L7>131le56*);
131led when a porrpen 5c13ags,  72NC_CLOSING6a hre12nkm6.c#L6965 id="50.c#L613ver6138If6port ia"L728"*12 5l13x_ amp13NC_CLnet_E__ 7460ptick" slsref"__LINE__class="111111111111115      ifshorAM__FILen 
 72enow6n>
  3ing"6dx_5d):upti6k" sl6ref"x_  72enowsP6/span>
  3ing"6dx_5d):6ptick60ea _re__FILE___to_porAref=5eq___FILE__                                retu5/a>(<13r" >">5 133 * 7595      ef">info,s="line" name="L685"> 685Gs="sref">5 1331*6 slsref"oa6d_x5d):ref=5eq_,  76"5s1313* 730744">ic ilSiveal_RI" cl 730    5GAI"L735">5 1332*"#s(5   re13INn>136char *;
"#s(5  KERN>&quoamp13N"sref">printk5#endif5<1333*<:L746qxmi 3="coms3r69>130a href=36=ef="drivers/tters/tty/synclinkmp.c#L746href=58  3ing"6de=dpupri5ers/tt13   >135      il_RI" cl 730    5GAI"L735">5 13f5d):hM__Fef="+termio="sref">driver6dterm61, __LINE__spin_"dri_irqsa6=ref=6drivers/tty3sh 5/a>(13"L   il thislass="stomple> &g3ags,  72NC_CLOSING6a href=58<6a>  3ing"6de=dpuptick" sl6erial61L746" id="L746" class="line">__if_1__if_1131nkmp.c#L741" /pp4      error>8kkTTY in6_irqrestor6"sref">__LINE__spin_un"dr6_irqr61rt.
5y13a9*hrenclin13>131le&g3ags,  72NC_CLOSING6aspan>
 684/id="L747"4 1366*)>134MP_INhreef="drive4s135 *                =tty" class4"srefla hcno5d):hM135r62=t 13835" id=345*               +cod5=name5 class13      if345*                =tty" class4"srefla hcnof5d):hM6131nk6p.c#L741" /ppsta or>13eard0ydrimit break1co6dit"+c"sal6rme=esp*nit and enable po6t.
5y13a9*,  72NC_CLOSING6t"+c, 0=136ar"sal rme=esp*nit and en6ble p623t a"L7    retu5fo ="L7 ctypaa>;
__Fa 5   if (135      il_RI" cla"L7    retu5fo ="L7 ctypaa>;
                =tty" class4"srefla hcno5d):hM135 626t.
5y13a9*131le,L74lasee itg3ags,  72NC_CLOSING6tef=5eq_   6     62L746" id="L746" class="line" 5l1kasee_ e=g"6de=dpuptick" 5l1kasee_ e=a hre12span class=5c e=g"6de=dpuptick" kb *<;
6a href="drivers/tty/syncl6nkmp.6#L7475GAI"L735 5/a>(,  72NC_CLOSING6a hre13nfo6 class=5sref"536137la63=t 52    id="L746" class=DE6UG_LE63.c#L741" /ppsta or>13eard0ydrimit break1co6tpref=5esr6f">m,5y13a9* 72NC_CLOSING6a"+c, 0=136LE__"L728d="L746" class=_6LINE_633t count);
                                 retu5GAI"L735">5 1339*;
 754534"> 613ss=6137la63cty/s/a> lSiveal_!q_ 684/id="L747"4 1366*13835" id="L735" class="line" n5te="L735">5r1297*6nowsEINVAL6>;

  3ing"6de=dpuptick" slsref">count);
                                 retu5ss="sref">5t13 6*)
134      if (!ty" cl56a hre13=dr6ver_dat5" cla53s/tty13a>)6136la6s, __LIN6__spin_"dri_irqsav=ref="d6ivers6tty3shared RAMef">info,s="line" NETDEV_TX_O377*;
66" class=rea _re< classtx6abort6rea _rty/synclinkmp.c#L7476GAI"L735">6713r *6ak_13="eic6i  f_-1lSiveal_RI" cl5 13436 enab.m,13mp.c#L741"  * call suby generic HDLC layer w63 hre13e="6hrrrs/tty/synclinkmp.c#L768" id64="+co5e=por5" clas13"L7>131led when a porrpE__3ref>13pointer to network E6or="sref">6_LINE__spin_un"dri_irqres6or=re64rt.
5c1356*);
131led when a porrpen 5613 7*571357* 74754nfo132r64<571358*f5aga hre13ode=port" c5ass="56     13pan>131d):&#5lags<55"> 7413s=">134> ags,  72NC_CLOSING6YNCLINK_GE6ERIC_HDLCfo132r_d6ta 72NC_CLnet_E__13id=59694" 12inkL746 ceqc>13   8i5      ifshorAM__FILen 
 72enow6a hre13/a>66131nk6p.c#L7  72enowsP6t.
6a 5=tty" clas5=1352*65=t __FILE___to_porAref=5eq___FILE__                                retu5/a>( 34 l6y, et65/llSiveal_RI"  72NC_CLnet_E__135rchcno5d):hM5 133 * 7595      ef">info,s="line" name="L685"> 685Gs="sref">5 1331*6.
<6 5   if (, ic ilSiveal_RI" cl 730    5GAI"L735">5 1332*"#s(5   re13INn>136char *65iveal_data;
printk5#endif5<1333*<:L746 ceqc>133="coms3r69>130a href=36=ef="drivers/tters/tty/synclinkmp.c#L746href=58  3ing"6de=dpupri5ers/tt13   >135      il_RI" cl 730    5GAI"L735">5 13f5d):hM
 65, 5l1359*
5y13a9*137pro c5a13"L ags,  72NC_CLOSING6 error>1od6dral rme=esp*nit and enab6e por65=t 13   8i   }
 726t.
6a 5/a>(66c#L7475GAI"L735">5 1371*135rchcno5d):hM13eard0ydrimit break1co6 746 lSive6l_RI"662t.
5y13a9*13&g3ags,  72NC_CLOSING6  3ing"6de=dpuptick" slsref">count);
                               5="  retu5ss="sref">5t5="  re  if345*134      if (!ty" cl56 745{
6a href="drivers/tty/syncl6nkmp.66cty/s/a> lSiveal_RI" cl 730    5t  if (
57137 * 669  5     57nclin13ref>131= href=: !=ode||eq_ 684/id="L747"4 1366*129      ia !=odia href="+code=L/tty/synclinkmspin_"dri_6ef">__FILn6w_en ;
WARNINGt;#s(5  KERN>WARNINGamp13N"sref">printk5#endif5<1333*<: L746qc>13371*>127char *135      il_RI" cl 730    5GAI"L735">5 13f5d):hM;

  3ing"6de=dpuptick" slsref">count);
                               5="  retu5ss="sref">5t5="  re  if345*134      if (!ty" cl56 p*nit and6)61363/66ptick" slsref"__LINE_71*>135ref">tty = e6nriveal rme=esp*nit and e6able 66ef="drivers/tty/synclinkmp.c#L7475GAI"L735">57129 *6{
__FI6porAr66ea _re 684/id="L747"4 1366*129      ia=1 = 6

  3ing"6de=dpuptick" slsref">count);
                               5="  retu5ss="sref">5t5="  re  if345*134      if (!ty" cl56a hre131">66715     5 stati131">613swi6chags, __FILe6 
5y13a9*,  72NC_CLOSING6f5<1374*;
 ="LrtupNhree12span class=5comme59/sync13a h>13835" id=") !=odia href="+code=L/tty/synclinkmspin_"dri_6NCODING_NR6lass:13 hr>132a href="+co6einew6en count);
                               5="  retu5ss="sref">5t5="  re  if345*134      if (!ty"dri_6Nf">__FILn6ZIlass:13 hr>12a href="+c6deine67L728" id="L72                name="L685"> 684/id="L747"4 1366*129      ia=ef="+codety" cl5t" class="5r12996owsENCODIN6_FM_MARKlass:13 h2a href=6+code67iveal_data;
count);
                               5="  retu5ss="sref">5t5="  re  if345*134      if (!ty" cl5t" class="5r12996op*nit and6G_FM_SPACElass:13 2a href6"+cod67ptick" slsref"__LINE_71*135rchcno5d):hM57129 *6enowsEINVA6a>;
>135ref">tty 5/AI"L735">5y13a9* 72NC_CLOSING6a hre13ref6"driver5/tty/58stati131">613swi68=t  72NC_CLcrc_typa    " id="L746" class=new_ct                  retu5r7f="drive5r13r7* lSiv6al_RI" cl 7306/a>  6 5#endif5r                    retu5G/a>#endif571296*13835" id="L735" class="line" n5te="L735">5r1297*6f5<1384*,  746 6RITY_NONEl6ss:13 hr>1313 h2a href="+6odein6w_crctypa"L728 5/AI"L735">5y13a9* 72NC_CLOSING6af">__FILn6RITY_CRC16_PR1_CCITTlass:62a hr6f="+codeinew_c+ct;en 135      il_RI" cl52 72enowsP6RITY_CRC32_PR1_CCITTlass:62a hr68L746" id="L746" class="line">__if_1__if_1;

5y13a9*,  72NC_CLOSING6anowsEINVA6.c#L6895 id="59ef">p13ode613s  3ing"6de=dpuptick" slsref">count);
                                 retu5GAI"L735">5 1339*134      if (!ty" cl5t" class="5r12996 href="dri6ersparamcode=tty" " clapp6ramcr6f=t 135lags
  3ing"6de=dpuptick" slsref">count);
                                 retu5GAI"L735">5 1339*134      if (!ty" cl5t" class="5r12996  lSiv6 73028"> 72NC_CLcrc_typa    " id="L746" class=new_ct                  re__if_carrier_o3id=59694" 12ink>__if_carrier_o3hre13   }
 lSivf="+code=device_LRegValuene" name="L746"R6program_h=6ef=5eq___if_carrier_o2ghre13   }
)>134MP_INhref="+codety" cl5so = <5m13 86AI"L735">561298*
 = 5s13 9*6
(
7a 6t" class="6r13r1* 660tty" 13/a>>13e port. is disab.7veal rme=esp*nit and enab7e por7.
137e13lrelectypefsour c5mp.c#L741"  * call suby generic HDLC layer w7o2end en(>7v/a> * href="drs/t_o>era0"+ccodid="L746" class=new_en __7ILnew_en ;
131led when a porrpen __7Iriversnetcty/synclinkmi=7nkmp.70="+co5e=por5" clas13"L7>131led when a porrpen __7If=5eq_
5c13ga hre13ode=port" c5ass="56     13pan>131d):&#571357*,  72NC_CLOSING7ref=5eq_ 7470pticka"L728"> 72NC_CLnet_E____FILen 
 72enow7n>
  3ing"6dx_5d):upti7k" sl7ref"x_  72enowsP7/span>
  3ing"6dx_5d):7ptick70ea _re__FILE___to_porAref=5eq___FILE__                                retu5/a>(<13r" >">5 133 * 7595      ef">info,s="line" name="L685"> 685Gs="sref">5 1331*7 slsref"oa7d_x5d):ref=5eq_,  77"5s1313* 730744">ic ilSiveal_RI" cl 730    5GAI"L735">5 1332*"#s(5   re13INn>136char *;
printk5#endif5<1333*<:L746 ceqclosn3="coms3r69>130a href=36=ef="drivers/tters/tty/synclinkmp.c#L746href=58  3ing"6de=dpupri5ers/tt13   >135      il_RI" cl 730    5GAI"L735">5 13f5d):hM__7ef="+termio="sref">driver7dterm71, __LINE__spin_"dri_irqsa7=ref=71="+codeinew_c+ct;en __if_1__if_1  3ing"6de=dpuptick" sl7erial71  if (!ty" cl578ef=5eq_5y13a9*,  72NC_CLOSING7_irqrestor7"sref">__LINE__spin_un"dr7_irqr71rt.
 hutdowna hre13 href="+cod5=tty"51 &13ss=>135lags
135r72=t 7131nk7p.c#L741" /ppsta or>13eard0ydrimit break1co7dit"+c"sal7rme=esp*nit and enable po7t.#endif5r        =58  3ing"6de=dpuptick" slsref">count);
                               5="  retu5ss="sref">5t5="  re  if345*134      if (!ty"dri_7t"+c, 0=137ar"sal rme=esp*nit and en7ble p723t  684/id="L747"4 1366*129      ia=ef="+codety" cl5t" class="5r12997a4sref">__7a 5   if (
  3ing"6de=dpuptick" slsref">count);
                               5="  retu5ss="sref">5t5="  re  if345*134      if (!ty"dri_7tqsav="sre7d_AM135 72s/tt13a>)>134MP_INhref="+codety" cl5so = <5m13 87tef=5eq_   7     72ata = 5s13 9*7airqrestor7ref="+codeiivers/tty/sync7inkmp72, ;
7a href="drivers/tty/syncl7nkmp.72
(7137la73me="L660"> 660tty" 13/a>>13e port.
m,131led when a porrpen  r&qu5st3"L7>131led when a porrpen __7734"> 754534"> 613ss=7137la73="+co5e=por5" clas13"L7>131le5cmd  IOCTLpo3"Le13l31d):&#
5c13:&#;
571357*)7136la73<571358*f5aags,  72NC_CLOSING7ref">__LIN7__spin_"dri_irqsav=ref="d7ivers7tty3sha"L728"> 72NC_CLnet_E____FILen 
           freqf=5eq_;
76" class=rea _re< classtx7abort7rea _r  72enowsP7ak_13="eic7i  f_-1lSiveal_RI" cl134ef&id=59694" 12inks728_        >134ef&   if (!ty"dri_7gValuerial7| id="L746" class=BIT3ne"7name=74=t 134ef&id=59694" 12inks728_        >134ef&   if571292*_km clas="line" name="L685"> 685Gs="sref">5 1331*735">5 13437134ef&   if571292*134ef&
 669  5ifs_ifsuid=59694" 12ink fs_ifsu
 669  5s728id=59694" 12inks728s="line" name="L685"> 685Gs="sref">5 1331*73"+c, 0=137l_aiv= ~"sref">m,__FILE___to_porAref=5eq___FILE__                                retu5/a>(5 133 *> 72NC_CLnet_E__5      ef">info,s="line" name="L685"> 685Gs="sref">5 1331*7or="sref">7_LINE__spin_un"dri_irqres7or=re74clinkd):hM5713 7*)>134 cl 730744">ic ilSiveal_RI" cl 730    5GAI"L735">5 1332*"#s(5   re13INn>136char * 74754nfo132r74ptick" slsref"__LINE_ref="drivers/tt    printk5#endif5<1333*<:L746 ceqioctS3="coms3r69>130a href=36=ef="drivers/tters/tty/synclinkmp.c#L746href=58  3ing"6de=dpupri5ers/tt13   >135      il_RI" cl 730    5GAI"L735">5 13f5d):hM132r_d7ta(1 clTTY5e="L693"> c>133aags,  72NC_CLOSING7a hre13/a>77131nk750/tt13a>)>134 cl 7300"> 730    5t  if (
57137 * 669  5     57nclin13ref>131= href=: href="+code=Lc intpuptick" slsref"c i7t.
7a 5=tty" clas5=1352*75=t >135ref">tty =  34 l7y, et75>131nkmp.c#L741" /ppif network interfa/auu7quen e (FC7) op0"+cc/tal rme=esp*nit7and e75r>13case     +ct;NC_CLnet_E____FILE___tIOCWANDEVef=: href="+code=Lc intpuptick" slsref"c i7t hre13e="7 5   if (
7un"dral rme=esp*nit and e7able 75clinkd):hM75iveal_data 7300fline" name="L744 fl
                fl  >134ef&id=59694" 12ink fl  >134ef&
 669  5#L695" id=59;d):&132lass="lia href="+code=L/tty/synclinkmspin_"dri_7sp*nit and7enable port.
 75ptick" slsrefrctypa"L728"> 72NC_CIF_GET_IFACE5" id=59;d):&13IF_GET_IFACEtick:5 5/a>(134ef&3aags,  72NC_CLOSING7a hre13s="7 5 AI"L735">5l1359*1od7dral rme=esp*nit and enab7e por75=t 134ef&
 669  5#L695" id=59;d):&132lass="l           IF_IFACE_SYNC_SERIriv58 &13ss=>1IF_IFACE_SYNC_SERIri>tty = 
7a 5/a>(76c#L7475GAI"L735">5 13 cl 7300fline" name="L744 fl
                fl  >134ef&id=59694" 12ink fl  >134ef&
 669  5sizeid=59694" 12inksize     <e5r7f="drive5r13rsizeid=59694" 12inksize    ia href="+code=L/tty/synclinkmspin_"dri_7dlcE___att7ch134ef&
 669  5sizeid=59694" 12inksize       e13> 669  5sizeid=59694" 12inksize    ;a 5/AI"L735">5y13a9*size wa="Ld3aags,  72NC_CLOSING7 746 lSive7l_RI"762t.
tty = ;
 = 5s13 9*7 745{
7a href="drivers/tty/syncl7nkmp.76, __FILn7w_en ;
info,s="l            8"> 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
info,s="l  7306" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_16" i_FLAG_RXC_DPLis="l | ;
info6" i_FLAG_RXC_TXCPINs="l | )71363/76ptick" slsref"__LINE_rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrq_info6" i_FLAG_TXC_TXCPINs="l |rq_16" i_FLAG_TXC_DPLis="l | info6" i_FLAG_TXC_RXCPINs="l  = __FI7porAr76#7
5 131383*<5 7305"driv54nclin13ref>134      if href="+code=L/tty/synclinkmspin_"dri_7a hre131">76715     5 stati131">713swi77=t  7306" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_info6" i_FLAG_TXC_TXCPINs="l):f571292*_km clas="lre13> 669  5 ">cou#L695" id=59;d):&13 ">cou#L69s="l           CLOCK_EXT5" id=59;d):&13CLOCK_EXT    ;abreak = 
 7306" i_FLAG_RXC_BRGt;#s(5  6" i_FLAG_RXC_BRGveal_dat|eq__km clas="lre13> 669  5 ">cou#L695" id=59;d):&13 ">cou#L69s="l           CLOCK_INT5" id=59;d):&13CLOCK_INT    ;abreak = ;
;
 7306" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq__km clas="lre13> 669  5 ">cou#L695" id=59;d):&13 ">cou#L69s="l           CLOCK_TXINT5" id=59;d):&13CLOCK_TXINT    ;abreak = {
7lass:13 hr>132a href="+co7einew7en  7306" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_info6" i_FLAG_TXC_RXCPINs="l :f571292*_km clas="lre13> 669  5 ">cou#L695" id=59;d):&13 ">cou#L69s="l           CLOCK_TXFROMRX5" id=59;d):&13CLOCK_TXFROMRX    ;abreak = __FILn7ZIlass:13 hr>12a href="+c7deine77L728" id="L72        default:f571292*_km clas="lre13> 669  5 ">cou#L695" id=59;d):&13 ">cou#L69s="l           CLOCK_DEFAULT5" id=59;d):&13CLOCK_DEFAULT>tty = ;
 = 5s13 9*7op*nit and7G_FM_SPACElass:13 2a href7"+cod77, _km clas="lre13> 669  5 ">cour3re5" id=59;d):&13 ">cour3res="l            8"> 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
couspeedine" name="L744c">couspeed>tty = ;
_km clas="lre13> 669  5loopbaretu5GAI"L735">5 13opbaret       8"> 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
5 13opbaret  = <5m13 87 5r1381*713swi78=t _km clas="l345* lSiv7al_RI" cl 7307/a>  782t.
tty = ;
 = <5m13 87RITY_NONEl7ss:13 hr>1313 h2a href="+7odein78, __FILn7RITY_CRC16_PR1_CCITTlass:72a hr7f="+codeinew_crctypa"L728"> 72NC_CIF_IFACE_SYNC_SERIriv58 &13ss=>1IF_IFACE_SYNC_SERIri>tty:5 5/a>(134ef&3aags,  72NC_CLOSING7> 72enowsP7RITY_CRC32_PR1_CCITTlass:72a hr78  if (!ty" cl57enowsEINVA7a>;
infoCAP_NET_ADMIN    i href="+code=Lc intpuptick" slsref"c i76_DSRsENCO7hre12/a>}
tty = p13ode713s_km clas="l345*5 133a>)>134MP_INhrre13"Warni5gFAULT5" id=59;d):&13EFAULT>tty = 13eard0ydrimit break1co7  lSiv7
 730inkm classa_km clas="lre13> 669  5 ">cou#L695" id=59;d):&13 ">cou#L69s="l href="+code=Lc intpuptick" slsref"c i7 5<1384*info,s="l           6" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_info6" i_FLAG_TXC_TXCPINs="l;abreak = 5      ef">info,s="l           6" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_info6" i_FLAG_TXC_RXCPINs="l;abreak = ;
     CLOCK_INT5" id=59;d):&13CLOCK_INT    :cnow="        95      ef">info,s="l           6" i_FLAG_RXC_BRGt;#s(5  6" i_FLAG_RXC_BRGveal_dat|eq_ = 
     CLOCK_TXINT5" id=59;d):&13CLOCK_TXINT    :frrrq_5      ef">info,s="l           6" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_ =      CLOCK_DEFAULT5" id=59;d):&13CLOCK_DEFAULT>tty:          95      ef">info,s="l            8"> 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
info,s="l  =  7306" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_16" i_FLAG_RXC_DPLis="l | 
8a 6t" class="6r13r1*5 133a>)>1344444444444444444444444q_info6" i_FLAG_RXC_TXCPINs="l | 8veal rme=esp*nit and enab8e por80=t info6" i_FLAG_TXC_TXCPINs="l |rq_16" i_FLAG_TXC_DPLis="l | 8v/a>
info6" i_FLAG_TXC_RXCPINs="l  = __8ILnew_en ;
__8Iriversnetcty/synclinkmi=8nkmp.80n 5s13 9*8.5sref">__8If=5eq__km clas="lre13> 669  5loopbaretu5GAI"L735">5 13opbaret _km clas="lre13> 669  5loopbaretu5GAI"L735">5 13opbaret  7480ptick" slsref"__LINE_rrrrrrrrMP_INhrre13"Warni5gINVriv58 &13ss=>1gINVri>tty = 
  3ing"6dx_5d):8ptick80=t  72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
info,s="l  7306" i_FLAG_RXC_RXCPIN5      ef">info6" i_FLAG_RXC_RXCPINs="l |eq_16" i_FLAG_RXC_DPLis="l | 5 133a>)>1344444444444444444q_info6" i_FLAG_RXC_TXCPINs="l | info6" i_FLAG_TXC_TXCPINs="l |rq_16" i_FLAG_TXC_DPLis="l | )>1344444444444444444q_info6" i_FLAG_TXC_RXCPINs="l < __8
;
 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
info,s="l tu5r7f="drive5r13r95      ef">info,s="line" name="L685"> 685Gs="sref">5 1331*884sref">__8ef="+termio="sref">driver8dterm81, __LINE__spin_"dri_irqsa8=ref=81L728" id="L72                 8"> 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
5 13opbaret _km clas="lre13> 669  5loopbaretu5GAI"L735">5 13opbaret  685Gs="sref">5 1331*88 hre12nkm8a>  3ing"6de=dpuptick" sl8erial81  if (!ty" cl588ef=5eq_ 7305"driv54nclin13ref>134      i  7306" i_FLAG_RXC_BRGt;#s(5  6" i_FLAG_RXC_BRGveal_|eq___LINE__spin_un"dr8_irqr81ef="drivers/t"__LINE_rrrrrrrr         8"> 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
couspeedine" name="L744c">couspeed>tty u5r7f="drive5r13rinkm classa_km clas="lre13> 669  5 ">cour3re5" id=59;d):&13 ">cour3res="line" name="L685"> 685Gs="sref">5 1331*88span>
135r82c#L7475GAI"L735">5 133a>)>134         8"> 72NC_CLcrc_typa    " id="L746" class=new_crctypa"L728"> 72NC_CLnew_crctypaa>;
couspeedine" name="L744c">couspeed>tty u5ef="+codety" cl5so = <5m13 88a hre13="+8ode=__L5NE__"52rs/tt13/a>8131nk8p.c#L741" /ppsta or>13eard0ydrimit break1co8dit"+c"sal8rme=esp*nit and enable po8t.
5y13a9* up,rMPif57129 13r=">137aags,  72NC_CLOSING8t"+c, 0=138ar"sal rme=esp*nit and en8ble p82me="L746"BIT3a>;
 7300"> 730    5t  if (129      ia href="+code=Lc intpuptick" slsref"c i8a4sref">__8a 5   if (5r1297*8tqsav="sre8d_AMty" cl5so = <5m13 88< href=58<8ref="+co5e=lin52"comm13  8>135 82  if (!ty" cl58tef=5eq_   8     82ptick" slsrefdefault:(!ty" cl58tirqrestor8ref="+codeiivers/tty/sync8inkmp82ef="drivers/t"__LINE_71*
;
8a href="drivers/tty/syncl8nkmp.82=t 5s13 9*8a hre13nfo8 class=5sref"538137la83me="La> = 5s13 9*8a hre13="+8_1>    id="L746" class=DE8UG_LE83.c#L741" /ppsta or>13eard0ydrimit break1co8ait"+c"sal8f">m,52 timeout is detect__8734"> 754534"> 613ss=8137la83="+co5e=por5" clas13"L7>131lemp.c#L741"  * call suby generic HDLC layer w8aqsav="sre8ef=5eq_
5c13p6*);
131led when a porrpen ;
571357*,  72NC_CLOSING8a hre13=dr8ver_dat5" cla53s/tty13a>)8136la83pticka"L728"void2NC_CLnet_E____FILen 
 72enow8ref">__LIN8__spin_"dri_irqsav=ref="d8ivers83ef"x_  72enowsP8uata;
86" class=rea _re< classtx8abort83ea _re__FILE___to_porAref=5eq___FILE__                                retu5/a>(<13r" >">5 133 * 7595      ef">info,s="line" name="L685"> 685Gs="sref">5 1331*8gValuerial8| id="L746" class=BIT3ne"8name=84.c#L741" /ppsta or>13eard0ydrimit break1co835">5 13438 730744">ic ilSiveal_RI" cl 730    5GAI"L735">5 1332*"#s(5   re13INn>136char *m,;
printk5#endif5135      il_RI" cl 730    5GAI"L735">5 13f5d):hM, 8_LINE__spin_un"dri_irqres8or=re84="+codeinew_c+ct;en 135      il_RI" cla"L7&id=59694" 12inks"L7&ctypaa>;
&ctyp++5d):hM)>134+ct;en 135      il_RI" cla"L7&id=59694" 12inks"L7&ctypaa>;
&ctyp++5d):hM 74754nfo132r84, 
  3ing"6de=dpuptick" slsref">count);
                                 retu5GAI"L735">5 1339* 7595      ef">info,s="lf5d):hM;
8ERIC_HDLCfo132r_d8ta13835" id="L735" class="line" n5te="L735">5r1297*8a hre13/a>88131nk85=t count);
                                 retu5GAI"L735">5 1339* 7595      ef">info,s="lf5d):hM
8a 5=tty" clas5=1352*85.c#L741" /ppsta or>13eard0ydrimit break1co8en protoco8 stlect su(PPP, en(> 34 l8y, et855#endif5r        >__if_wake_que5ode=f5le" cl13 <>__if_wake_que5ohre13   }
13ca> = 5s13 9*8t hre13e="8 5   if (, 8un"dral rme=esp*nit and e8able 85rt.
5c1nkmp.c#L741"  * call suby generic HDLC layer w8!85a 5 AI"L735">571357*52 7*
 85<571358*f5a reenab.52 =por5l1359*131lemp.c#L741"  * call suby generic HDLC layer w8 error>1od8dral rme=esp*nit and enab8e por85
();

8a 5/a>(86me="L660"> 660tty" 13/a>>13e ags,  72NC_CLOSING8dlcE___att8ch__FILE___to_porAref=5eq___FILE__          href="+code=Lc intpuptick" slsref"c i8 746 lSive8l_RI"862t. 72enowsP8tuen e (FC8="driver5/tty/564lass13 h8>132a86me="L746"BIT3+ct;NC_CLnet_E____if_que5o_r13835" id=r1295*135c#Lri5veal) href="+code=Lc intpuptick" slsref"c i8 745{
8a href="drivers/tty/syncl8nkmp.86n __if_wake_que5ohre13   }
135c#Lri5veal)5d):hM__FILn8w_en ;
 = 5s13 9*8e;
)81363/86<571358*f1nkmp.c#L741"  * call suby generic HDLC layer w8e hre13s="8nriveal rme=esp*nit and e8able 86, 131le ort.__FI8porAr86
((8
 660tty" 13/a>>13e mp.c#L741"  * call suby generic HDLC layer w8olcE___att86715     5 stati131">813swi87
);
;
byte53inebufmp.c#L741"  * call suby generic HDLC layer w8 745{
8lass:13 hr>132a href="+co8einew87="+co5e=por5" clas13"L7>131leags,  72NC_CLOSING8 f">__FILn8ZIlass:13 hr>12a href="+c8deine87L728"a"L728"void2NC_CLnet_E____FILE___to_porAref=5eq___FILE__         , charq___FILE__ bufmpa ,1> 72NC_CLnet_E__ 72NC_CLOSING8  72enowsP8op*nit and8G_FM_SPACElass:13 2a href8"+cod87ptick" slsref5      ifshorAM         rt.oc_skbid=59694" 12ink    rt.oc_skbhre13   }
__FILen 
      8"> 72NC_CLcrc_typa    " id="L746" class=new_cc#Lri5ers/tt13   >135c#Lri5veal5d):hM;
)>134 cl 730744">ic ilSiveal_RI" cl 730    5GAI"L735">5 1332*"#s(5   re13INn>136char *813swi88=t printk5#endif5135      il_RI" cl 730    5GAI"L735">5 13f5d):hM lSiv8al_RI" cl 7308/a>  88>131nkmp.c#L741" /ppif network interfa/auu8f5<1384*5 133NULiv58 &13ss=>1NULi5 13f4 href="+code=L/tty/synclinkmspin_"dri_8RITY_NONEl8ss:13 hr>1313 h2a href="+8odein88n      KERN_NOTICE5" id=59;d):&13KERN_NOTICE printk5#endif5<1333*<: orn1339;t rt.oc skb,3l a ping130a href=36href="+code=L/tty/synclinkmspin_"dri_8Rf">__FILn8RITY_CRC16_PR1_CCITTlass:82a hr88L728" id="L72        a>)>134+ct;en 135      il_RI" cl 730    5GAI"L735">5 13f5d):hM;
135      il_RI" cla"L7&id=59694" 12inks"L7&ctypaa>;
;
}
 = 5s13 9*8f
p13ode813s__FILE__ bufmpa ,1   }
13eard0ydrimit break1co8  lSiv8#endif5r        =kbid=59694" 12inkskb    d="L746" class=new_crrotocoSiveal_RI" cl     L746q#L69_t2135      if5d):hM135      il_RI" cla"L7&id=59694" 12inks"L7&ctypaa>;
a"L7&id=59694" 12inks"L7&ctypaa>;
 669  5sizeid=59694" 12inksize    ;d):hMty" cl58pnowsEINVA81298*
     >__if_rxssa__if_rxhre13   }
 = 5s13 9*8p

9a 6t" class="6r13r1*9veal rme=esp*nit and enab9e por90=t 13id=59694" 12ink do_c>13t      L746 ceqop13id=59694" 12inkL746 ceqop13    ,href="+code=L/tty/synclinkmspin_"dri_9o2end en(>9v/a>
;
     L746 ceqclosassa9vhardwarenriveal rme=esp*9"driv90enable port.;
     L746qchange_mtuid=59694" 12inkL746qchange_mtu    ,href="+code=L/tty/synclinkmspin_"dri_9o4end en(>9vriversnetcty/synclinkmi=9nkmp.90n ;
do_1     L746q19vf=5eq_;
     L746 ceqioctSiveal_RI" cl9vc#L6965 id="59"comm13   9138If90iveal_data;
     L746 ceqtx_timeoutiveal_RI" cl9v298*
 7490ptick}5d):hM
  3ing"6dx_5d):9ptick90
( 660tty" 13/a>>13e  ort.9d_x5d):ref=5eq_
9
__9ef="+termio="sref">driver9dterm91="+co5e=por5" clas13"L7>131lemp.c#L741"  * call suby generic HDLC layer w9rqsav="sre9">__LINE__spin_"dri_irqsa9=ref=91rt.
5c13p71*     mp.c#L741"  * call suby generic HDLC layer w9r6end en(>9a>  3ing"6de=dpuptick" sl9erial91a 5 AI"L735">571357*,  72NC_CLOSING98ef=5eq_ 72NC_CLnet_E____FILE___to_porAref=5eq___FILE__          href="+code=Lc intpuptick" slsref"c i9_irqrestor9"sref">__LINE__spin_un"dr9_irqr91ef"x_  72enowsP98span>
 72NC_CLnet_E__135r92c#L7475GAI"L75      ifshorAM__FILen 
9ode=__L5NE__"52rs/tt13/a>9131nk92=t 131nkmp.c#L741" /ppif network interfa/auu9t"+c, 0=139ar"sal rme=esp*nit and en9ble p92me="L746"BIT3 5/AI"L735">5y13a9*,  72NC_CLOSING9a4sref">__9a 5   if (, 135      i           rt.oc_L746 ceers/tt13   >135rt.oc_L746 cehre13   }
__FILE__          )f4 href="+code=L/tty/synclinkmspin_"dri_9< href=58<9ref="+co5e=lin52"comm13  9>135 92iveal_data;
     KERN_ERR5" id=59;d):&13KERN_ERR printk5#endif5<1333*<:L746enclin13rt.ocat2on failurer69>130a href=36=ef="drivers/tt__FILE__5" id=59;d):&13__FILE__    f5d):hM   9     92ptick" slsref"__LINE_71* = 5s13 9*9data;
9a href="drivers/tty/syncl9nkmp.92#9137la930e="L746"BIT3 5/AI"L735">5y13a9* 72NC_CLOSING9a hre13="+9_1>    id="L746" class=DE9UG_LE93=t memq1      8"> 72NC_CLcrc_typa    " id="L746" class=new_cphys_sca_basassam,memqen/de=f5le" cl13       8"> 72NC_CLcrc_typa    " id="L746" class=new_cphys_sca_basassa#endif5r        ri5ers/tt13   >135      il_RI" clirq 72NC_CLcrc_typarqt       8"> 72NC_CLcrc_typa    " id="L746" class=new_carqic ilSiveal_RI" cl__9734"> 754534"> 613ss=9137la93, 5y13a9* 72NC_CLOSING9n href=58<9>;
c#Lri5_op5id=59694" 12ink hr ceqop5
)9136la93ptick" slsref        ri5ers/tt13   >135      il_RI" clwatchdog_timeoers/tt13   >135watchdog_timeo
135HZ

135      il_RI" cltx_que5o_l13id=59694" 12inktx_que5o_l13  = <5m13 89uata;
96" class=rea _re< classtx9abort93#5y13a9*134ef&3aags,  72NC_CLOSING9gValuerial9| id="L746" class=BIT3ne"9name=94=t             L746      ri5ers/tt13   >135      if5d):hM5 13439attachers/tt13   >135rttach
     L746 ceqattachers/tt13   >135L746 ceqattach
m,#endif5r        L746 xmi id=59694" 12inkxmi 
     L746 ceqxmi id=59694" 12inkL746 ceqxmi 
__9hrrrs/tty/synclinkmp.c#L798" id94, 9_LINE__spin_un"dri_irqres9or=re945e="L746"BIT3 5/AI"L735">5y13a9*,  72NC_CLOSING9g href=58<913 7*)>134+ct;s=       rcid=59694" 12inkrc               regist5r_L746qf="den  74754nfo132r94ptick" slsref"__LINE_+ct;en      KERN_WARNINGt;#s(5  KERN_WARNING printk5#endif5<1333*<:unab.130a href=36=ef="drivers/tt__FILE__5" id=59;d):&13__FILE__    f5d):hM135free_c#Lri5class=       ri5ers/tt13   >135      if5d):hM;
9ERIC_HDLCfo132r_d9OSINGlaRIC_HDLCfo132r_d9OSINGlaRIC_HDLC   >1_132r_d9OSINGlaRICC5" class=_8LINE_83s/tty/synclinkmp2a 512  5GA25741" /4diestori5gNOMEM5"a     L746 
8a 9=tty" clas5=1352*8  ifshorAM__FILen 9gValuerial9|ing52tty" 13/a9>135r92c#L7475GAI"L75      ifshorAM__if_wake_que5ohre139  }
<95ers/tt13   >1>13835" id="L735" class="line" n5te="L735">5r19tt href="d9ew_en 5s13 9*8t hre139="8 595kmi=8nkmp.80n 8un9dral rme=esp*nit and e8ab9e 85r9.
5c1nk90, 571957*52 7*571358*f5a reenab.9n5="d9i5552 =por5Lri5ers/tt AI"L735">5l1359*131lemps9"5s1311*pan>
()9
9

8a 9/a>(86m96353*9_LINE__spin_un"dri_irqres9or=re945eA sl"sref"9__FILE___to_porAref=5eq_<9 hrrr9/ttyE_por5" clas13"L7>131leags,      L746 98ef=5eq_ 72NC_CLnet_E__     regist5r_L746qf="den 13835" id=r1295*hcnow="        >__if_wake_que5ode=f5le" cl13 <>__if_wake_que5ohre13   }
     >__if_wake_que5ode=f5le" cl13 <>__if_wake_que5ohre13   }
8un9ew_en __FI9n8w_e96r1ort.bares5and3 >134ef&3aag  ifshorAM__FILen 9gValueria384*__if_wake_que5ohre13   }
5719sAI"L735">5s13 9*8e)81393/86<96a hre12pan>
 7490ptick}5d):hM131le ort., 9_LINE__spin_un"dri_irqres9or=re945e">__FI8por9r86
((<">9_LINE__spin_un"dri_irqres9or=re945e"span>
8a 9a href="drivers/tty/syn8l9nkm8797OMEM5"a     L746 
9_LINE__spin_un"dri_irqres9or=re945e"=Lc intpu9it and enable pbuf a a>);99_LINE__spin_un"dri_irqres9or=re945e"e59/sync19tty/synclinkmp2a href="+c9desiz9  9     ofedbyte53inebufmp.c#L741"  * call suby generic HDLC layer w8 795{
8la9s:13 hr>132a href="+co8ei9ew87=9+co5e=por5" cn_un"dr9_irqr91ef"xbh_acprin98ef=5eq_ 72NC_CLnet_E____FILE__ bufmpa ,1> 72N9_CLne9_E__972NC_CLOSING8 135      if5d):hM 98"> 72NC_C9crc_typa    " id="L746" c9ass=n9w_cc#Lri5ers/tt13   >135c#Lri5veal5d):hM98ss=5comme59/sync13a h>13835" id=", 
  3ing"6de=dpuptick" slsref">count);
                          930    9GAI"L735">5 1332*&quo98OMEM5"a     L746 135      il_RI" c9     ri5ers/tt13   >135      il_RI"end"ng_ba>     L746      regist5r_L746qf="den  l9iv8al9RI" cl134ef&3aag  ifshorAM__FI"end"ng_ba>     L746                           93e59/sync199694" 12inkskb       5GAI9L735"95 133NULiv58 &13ss=>1NULi5 13f4 hr,  72NC_CLOSING9g BH_RECEIV2NC_CLcrc_typa  BH_RECEIV2" clpen(>                          93{
8la9endif5<1333*<: orn1339;t 9t.oc 9kb,3l a pingcous=BIT3ne"8name=84.c#f5r        ri5ers/tt13   >135      il_RI"end"ng_ba>     L746      regist5r_L746qf="den 135      il_RI" c9 730    5GAI"L735">5 13f5d)  ifshorAM__FI"end"ng_ba>     L746                           93e="L728">9s"L7&ctypaa>;
1NULi5 13f4 hr,  72NC_CLOSING9g BH_TRANSMITNC_CLcrc_typa  BH_TRANSMIT" clpen(>                          93id=59694"9EINVA8a>;
cous=BIT3ne"8name=84.c#f5r        ri5ers/tt13   >135      il_RI"end"ng_ba>     L746      regist5r_L746qf="den  72NC_C9}
<98ty_s5ruct"5class=a hr8k" sl80, 
     L746                           9ef="+code=9sAI"L735">5s13 9*8f
1NULi5 13f4 hr,  72NC_CLOSING9g BH_STATUSNC_CLcrc_typa  BH_STATUS" clpen(>                          9e0    9ref">__FILE__ bufmpa ,1  9}
!>1NULi5 13f4 hr,  7a      regist5r_L746qf="den 3ins"Lnn13informL72on;

 72NC_CLOSING9g fal730">memqen/de=f5fal73" clpen(>                          9eE__bufsre94" 12inkrx_byte5"+cod+  e93> 6699730"> 730    5GAI"L735">5 13f5d)  ifshorAM__FIbh_request hr+ct;en  72NC_CLOSING9g fal730">memqen/de=f5fal73" clpen(>                          9ee="L728">9new_en __if_rxhre139  }
<99a hre12pan>
 7490ptick}5d):hM5      ef">info, id="L735" class="line" n5te="L735">5r1297*8a hre13/a>88131nk85=t count);
                         20ef="+code20ef="n 20ef hre12/pre>__FILE__ bufmpa ,1 20eef>20er1ort.bares5a>135      if5d):hM;
9ERIC_HDLCfo120e2="+code20eew_en 20e2ypaa132r_d9OSINGlaRICC5" class=_8LINE_83s20e3="+code20eid=59694" 12inkskb    ,20eid>20e13 135      if5d):hM20e 9     ofedbyte53inebuf9_LINE__spin_un"dri_irqres9or=re9420e5="+code20e"L7&ctypaa>;
20e+co5e=por5" clas13"L7>131lemp.c#L741"  * call suby generic HDLC layer w8 20e6="+code20e" 12inkrx_byte5"+cod+  20e" >20e6tyE_por5" clas13"L7>131leags 72NC_CLnet_E__rd0yhNC_CLnet_E__20e7____if_rxhre120ea >20ehrrrs/tty/6Zers/tt13   >135Hef"x_  72enowsP8uata;
86" class=rea _re< classtx8abort83ea _re__r_o kb_puthre13   }erica>__r_o >98ef=5eq_ 72ocoS
                         20e9="+code20ew_en 20e">__LINE__spin_un"dr9_irqr91ef"xacprin98epen(>                         201f="+code20=58  3ing"6dx_5d):9p20=58>20=53 135      if5d):hM>13e  ort.>20=r1ort.bares5a30">!>1NULi5 13f4 hr
135  pen(>                         2013="+code20e13"L712" clas5="lin51m920e13>20=13 135      if5d):hM20mp2>20=41ort.bares5a30">NG9gValuerial9driver920="+>20=b,3l a ping813d):  5c13p71*20=730"> 730    5GAIacketr698k" sl80, printkRNINGt;#s(5LINERN_WARNING                          2017="+code20 3ing"6de=dpuptick" sl9e20 3i>20=694" 12inktx_ab&ctyp++5d):hM20=hrrrs/tty/6Zers/tt13   >135HYNCLINK_GENERIC_HDLC 744<"line" nam8/span>
 72NC_CLOSING9g =59*al rme=esp*nit =59*>98epen(>                         2019="+code20tick" slsref"c i9_irqres20tic>20=_cc#Lri5ers/tt13   >135c#Lri5veal5d):hM2052rrrs/tty/6Zewhile i3acprin98e2NC_CLOSING9g bh_acprin98ef=5eq___FILen 205OMEM5"a     L746 205="L746" class.bares5a  ofedbyte53inebuf205I" clNG9gValuerial9205 133NULiv58 &13ss=acketr698k" sl80, 813d):  printkRNINGt;#s(5LINERN_WARNING 205/a>  5sizeid=59694" 12inksize    ;d):hM130a href=36=ef="driv2069>>20598ea      regist5r_L746qf="den 205a hre12pan>
 7490ptick}5d):hM205ty_s5ruct"5class=a hrcaseC_CLOSING9g BH_RECEIV2NC_CLcrc_typa  BH_RECEIV2" cl:12pan>
 7490ptick}5d):hM5s13 9*9data20sA133NULiv58 &13ss=acketr698k" sl80, 98ef=5eq_5y13a9*>20s#s(5   re13INnnnnnnnnnbreakpen(>                         2032="+code20id="L746" class=new_cphy20id=>20s="L746" class.bares5acaseC_CLOSING9g BH_TRANSMITNC_CLcrc_typa  BH_TRANSMIT" cl:12pan>
 7490ptick}5d):hM20sI" cl98ef=5eq_20s 133NULiv58 &13ss=acketr69breakpen(>                         2035="+code20new_en 20sb,3l a ping9g BH_STATUSNC_CLcrc_typa  BH_STATUS" cl:12pan>
 7490ptick}5d):hM5y13a9*20s730"> 730    5GAIacketr698k" sl80, 1pen(>                         2037="+code20ow=  20s                         2038="+code2035watchdog_timeo
20sILE__5" id=59;d):&13_default:12pan>
 7490ptick}5d):hMtx_que5o20" c>20sty_s5ruct"5class=a hracketr698 ofedbyte53inebuf813d):  5y13a9*>205#s(5   re13INnnnnnnnnnacketr698k" sl80, printkRNINGt;#s(5LINERN_WARNING 205="L746" class.bares5aacketr69breakpen(>                         2043="+code20            L746 20   >205I" cl     L20205 133NULiv58 &132r_d9OSINGlaRICC5" class=_8LINE_83s2045="+code20new_en 205kmi=8nkmp.80n 5y13a9*2051object&3with"6" NG9gValuerial9813d):  >205ILE__5" id=59;d):&13_acketr698k" sl80, printkRNINGt;#s(5LINERN_WARNING                          2049="+code2013   >135free_c#Lri5clas2013 >2059ypaa132r_d9OSINGlaRICC5" class=_8LINE_83s205f="+code20RIC_HDLCfo132r_d20RIC>20RImi=8nkmp.80n 20R1tyE_por5" clas13"L7>131leags98ef=5eq_ 72NC_CLnet_E__20R2__NG9gValuerial920R 133NULiv58 &13ss=>1NULi5 13f4 href="+code=L/tty/synclinkmspin_"dref"__LINE_+ct;en 813d):  5s13 9*8t hre120sAI>20Rb,3l a ping130a hI8k" sl80, printkRNINGt;#s(5LINERN_WARNING                          2056="+code20dral rme=esp*nit and e8a20dra>20R/a>  5sizeid=59694" 12inksize    ;d):hM20R    ri5ers/ttwhile     if5d):hM98ef=5eq_f5a reenab20re1>20Rhre5="d kbid=59694" 12inkskb    f5d):hM5l1359*20R_cc#Lri5ers/tt13   >135c#Lri5veal5d):hM(20>(<>20>(tyE_por5" clas13"L7>131leags98ef=5eq_ 72NC_CLnet_E__(>20>1__ 72NC_CLnet_E__ksihNC_CLnet_E__98e2NC_CLOSING9g YNCLINK_GENERIC_HDLC 744<"line" nam8/span>
    id="L74ro"+4<"l98epen(>                         2063="+code20tick" slsref"c i820>13 135      if5d):hM13835" id=r1295*20>41ort.bares5a30">NG9gValuerial913835" id=r1295*20>b,3l a ping813d):  __F20ew_>20>730"> 730    5GAIacketr698k" sl80, printkRNINGt;#s(5LINERN_WARNING                 5s13 9*8e20>694" 12inktx_ab&ctyp++5d):hM)8120hre>20>81ort.bares5a30">amL746 ceqioctSksihNC_CLnet_E__98einkL746 ceqini hre13   }
131le ort.20>ty_s5ruct"5class=a hr8k" sl80, 20rOMEM5"a     L746 131leags 72NC_CLnet_E__)20it >20rri46"     regist5r_L746qf="den NG9gValuerial9132a href="+co8e20s:1>20rb,3l a ping813d):  __FILE__ bufmpa ,1> 7220">_>20r730"> 730    5GAIacketr698k" sl80, printkRNINGt;#s(5LINERN_WARNING                 &ctyp++5d):hM20rhrrrs/tty/6Zers/tt13   >135HYNCLINK_GENERIC_HDLC 744<"line" nam8/span>
    id="L74ri_chkcoun+>98e2NC  " id="L746" class=new_crctypa"L728">20r9="+code20crc_typa    " id="L746" 20crc>20r 7595      ef">info,nk85=t     id="L74.sr_chkcoun+1>    id="L74.sr_chkcoi3akb  9a94P 9a9ypa    " id="L746" 20crc>20r 7595      ef">info,nk85=t     id="L74.sr_ch94" 12inks          930ks5      ef">info,nk85=t     id="L74.sr_chref"      L746  P 9aen 20e2ypaa132r_d9OSI8ini hre13 L746qf="den 20>13           93e59/sr_131leagi/.s9verlor5uf,5      ef">info          93{3 )20it >20rri46"   8&13KERN_NOL746qf="den 20>ty_s5rucverlas13"L7>131leag9verlor5u1> tty/9yncli88ptick" s">cous=BIT3ne"8name=84.c#f5r        rort_num44<"line" nam8/span_num*veal     L1) ?20 cl>20>ty_s5ruTIMER244<"line" nam8/TIMER2*veal:20 cl>20>ty_s5ruTIMER044<"line" nam8/TIMER0ceqioctSksihNC_CLnet_E__98epen(>     8                    93e="L7  8 20r694" 12inktx_a8          93id=59an 9verl<3..0#f5r1s"Lnnruptuh1NE_+s (0=disNE_+d)inebuf 72neL74P 9atypa    " id="L746" 20crc>20write_reine" nam8/span>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_     9kcoun+1>            9ef="+c    8 20r694" 12inktx_a994" 12inks          9e0ks  <1    rt.oc_skby_s5ruct"5class=a hrackeTMCS, Tverl Co1">ol/Sl     R13 7*  
131lemps9"5s1311*  );9131lemps9"5s1311*131lemps9"5s1311*  <&ctypaa>;
20oooooooo  05ooooooReserved, must be 0131lemps9"5s1311*          9eE__buNO  5c13p71*131lemps9"5s1311*          9ee="L7    131lemps9"5s1311*  f5a reenab.9n5="d9oooooooo 131lemps9"5s1311*  5l1359*131lemps9"5s1311*         20ef="+co1e20ef10pan 5l136odei   a a>)9
         20e1="+co1e20ee10y13a9*
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_131leag9verlor5u1emqen/de=f5le" clTMCS44<"line" nam8/TMCSo    1;
9ERI1_HDLCfo120e2="+co1e20ee10en #endif5r        occurr__    occurr 72NC_CLOSING9g =59*al rme=esp*nit =59*>98epen(>    1tt13   >131      if5d):hM     L746 ceqxmi id=59694" e10513   >131  HDLC layer w8 799694" 31e20e"10C_CLOSING9a4s="+20tty>20r41ort.bares5a30">NG9gValuerial9__FILE__          )f4 href="code=L/tty/synclinkmspin_"dref"__LINE_+ct;en 813d):  20s730"> 730    5GAIacketr698k" sl80, printkRNINGt;#s(5LINERN_WARNING     1694" 12ink1ize    i f5a reenab20re1>20Rhre5="d kbid=51          1         20e9="+co1e20ew10L735">5l1359*20R_cc#Lri5ers/t1          1         201f="+co1e20=511pan 5l136odei   a a>20>(<>20>(tyi/.srxi  sln>
5      ef">info131      if5d):hM>20>1__20>="L746" classd=59694" 12inkrc    ;dksi_d=5969hNC_CLnet_E__ 72NC_CLnet_E__ksihNC_CLnet_E__98e2NC_CLOSING9g YNCLINK_GENERIC_HDLC 744<"line" nam8/span>
    id="L74ro"+4<"l>20>1__;
9ERI1         2013="+co1e20e1113E___to_porAref=5eq___ksihNC_CLnet_Emgsl_ia

 >5r1297*8a hre13/a>88131nk85=t 131lea/abh_por5ugs, 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_98ef=5eq_     L746 8131nk85=t     1qini hre131  }
 20>ty_s5ruor5" c244<"line" nam8/or5" c2or5ugs, 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_     L746 8131nk85=t >20>1__20R/a>  5sizeid=1          1         2017="+co1e20 311 &ctyp++5d):hM)8120hre>20>81oor5" clas13"L7>131lea/abh_por5ue=esp*nit nkmp5c#L6858BHpo8 5inkL746 c1t         1         2019="+co1e20ti11s13"L7>131le ort.20>ty_s5ruwrite_reine" nam8/span>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_98ef=5eq_131lea/abh_por5ueoctSksihNa hr8120/a>>20>1__135c1Lri5veal5d):hM8 20r694" 12inktx_1  regist5r1L746qf="den 20>ty_s5ruor5" c244<"line" nam8/or5" c2or5ue=esp*nit nkmp5c#L6858BHpo8 5inkL746 c1sref"      L746 20>ty_s5ruwrite_reine" nam8/span>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_>20>1__;
9ERI1c HDLC layer w8 2023="+co1e20ne1_en >20>1__131  }
NG9gValuerial9__FILE__          )f4 href="code=L/tty/synclinkmspin_"dref"__LINE_+ct;en 813d):   7220">_>20r730"> 730    5GAIacketr698k" sl80, printkRNINGt;#s(5LINERN_WARNING 131lea/abh_por5uRN_WARNING >20>1__)8120hre>20>81o__98e2NC_CLOSING9g YNCLINK_GENERIC_HDLaramclas13"L7>131leaLaramc>
    idm  isln>

 5l1361*>20>1__ 7190ptick}5d):hM)8120hre>20>81oor5" clas13"L7>131lea/abh_por5u>     L746  5l1361*>20>1__ 7190ptick}5d):hM5s13 9*9data20sA133NULiv58 &am1a
__r_o >98ef=5eq_b9a hrg++octSksihNa hr8120/a>>20>1__         2031="+co1e205"13ef="drivers/tty/syn820a h>20rOMEM5"a         2032="+co1e20id1"L746" class=new_cphy20sAI>20sAy_s5ruct"5class=a hrackeinebuf<5="L74 deteamp.R113a h> co1">ol*nit and enable po9ak_13="eic9i  f_-1lSivea31 hre59"> 7190ptick}5d):hM);9         2035="+co1e20ne1_en _20__F>20>="L746" c=5969L728"> 72NC_CLnet_l> 5l1361*>20>1__5y13a9*20sor9ref=213a>!>)8120hre>20>81oor5" clas13"L7>131lea/abh_por5u>     L746 8131nk85=t 20s0I"L>20sor9ref=213a>746 8131nk85=t  5l1361*>20>1__         2038="+co1e20351atchdog_timeo
20>="L746" clinsert_flip_chartkRNINGt;#s(8URNintkRNINGt;#s(&#n748/.>20>1__tx1que5o10" c>20sty_s5ruct"5class=a hra=213a>746 8131nk85=t     id="L74ro"+4<"l);
     L746r w8 204f=1+code205so = <5m13 891ata205s133NULiv58 &13ss=a222222222220__F>20>="L746" clinsert_flip_chartkdo_SAKae, 0l rme=esp*do_SAK1*al rme=esp*nit an/spanp71*" clocoS
1__5y13a9*>205#s(5   re13INnnnnnnnnnaaaaaaaaa0Rhre5="d kbid=51          1         2042=1+code20 sl"sref"       L716clas10 sl>205="L746" class.bares5aaaaaaaaaa0Rhre5="d kbid=51          1     hM    1L746 10   >205I" cl         2034="+code201    L10205 133NUaaaaaaaa0Rhre5="d kbid=51          1         2035="+code20new_en 5y13a912051objecick" 0>1__    ="d_p2047=1+code20ist5r_L746qf="denc1ass= 10ist>205    ri5ers/tt1" clas13"L7>131lea/abh_por5u>     L746 >20>1__    sref"2058=1+code2069>130a href=36=ef1"driv1069>>205ILE__5" id=59;d):&13_a" clas13"L7>131lea/abh_por5u>     L746      L746rhM135free_c#Lr15clas14" c>20sty_s5ruct"5class=a hra=213a>745"+cod5=tty" 13/a>8131nk85=t >20>1__    E_83s205f=1+code20RIC_HDLCfo132r_d155so>205s133NULiv58 &13ss=aick" s">cous=BIT3ne"8namabh_por5u>     L746 >1__    Eref"2041=1+code20mp2a 512  5GA257411 /4di155">>205#s(5   re13INnnnnnnnnnacketr698k" sl80/a>8131nk85=t >20>1__    E    2042=1+code20new_en 20sAy_s5ruct"5class=a hracine" nam8/span>ake_up_isNE_+d)iiblet_fr71*al rme=e>ake_up_isNE_+d)iible1*al  href5"+cod5=tty" 13/a>8131nk85=t __if_wake_que1ohre115   >205I" cl20R 133NUbares5a132r_d9OSINGlaRICC5" class=_8LI1=    2035="+code20sAI"L735">5s13 9*81 hre115new>205kmi=8nkmp.80n      L746 20>1__    :hM205    ri5ers/tt13keinebuf<5="L74 deteamp.simulate at slmon  enamd enableanpngedisNE_+d)i13="eic9i  f_-1lSivea31          1         2058=1+code20re13ss="sref">f5a 1eenab15n5="d9oooooooo 5l1359*<1 hre815ss=859oooooooo  0000 0000    :hM(16f=8.c9908/tt1381=t 1NULi5 nit _s5ralor5u>     L746 8131nk85=t (>205#s(5   cketr698k" sl80/sr_io_pia acprin98ef=5eq_1 apen(>                   1=    2042=1+code20__FILE___to_porAre1=5eq_16sAI>20sAy_s5ruct"5class=a hracine" nam8/spanMISCpa  BH_ cl_LATCHE5u1emqen/de=f5leMISCpa  BH_ cl_LATCHE5IDLD|f5"+cod5=tty" 13/a>8131nk85=t >   >1 apen(>                   1=G" c2053=1+code20tick" slsref"c i8<1 href163w_>20R 133NUbares5a132r_d9OSINGlaRICC5" class=_8LI1:hM13835" id=r1291*2bares5a132r_d9OSINGlaRICC5" class=_8LI1:    2035="+code20a h>13835" id=r1291*205kmi=8nkmp.80n __F160 =poroooooooo  04ooooooTME/>131lemps9"5s1311*5s13 9*81)8116n5="d9oooooooo 131le o1t.20>(tyi/.srxi  sln>
98ef=5eq_5      ef">info131      if5d)sref"207f=1+code20r86
120>1__    hM20ous=BIT3ne"8namabh_por5u>     L746 1 apen(>                   1 1 apen(>                   1 G" c2053=1+code20it and enable pbuf1a a>)17ksihNC_CLnet_Emgsl_iert_flip_chartkRNIN ;dksi_d=5969hNC_CLnet_E__ 72NC_CLnet_E__ksihNC_CLnet_E__98e2NC_CLOSING9g YNCLINK_GENERIC_HDLC 744<"line" nam8/span>
    id="L74ro"+4<"l>20>1__;
9ERI1     8131nk85=t 132a href=1+co8e17new>205kmi=8nkmp.80n __FILE__ bufmpa 11> 7217 5/>2051object&3with"6" NG9gValuerial98 1clal 17ist>205    ri5ers/tt13   >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en printkRNINGt;#s(5LINERN_WARNING                1    :hM20R_cc#Lri5ers/t1          1    r_chkcoi3a1b  9a94P 9a9ypa    " id="1746" 18520>2052rrrs/tty/6Zewhile i3, 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_985"+cod5=tty"BRKDSTceqioctSksihNC_CDSTcCDCD>>2RKDref5"+cod5=tty"BRKDITceqioctSksihNC_CDITc6858BHpo8 5inkL746 c1tt13   >131      if5d)      930<1a>ks1__      P 9aen 20sAy_s5ruct"5claNE__spin_un"dr9_irq"+co;
     L741 205I" cl98ef=5eq_b9a hoospa/p*veal rme=ehoos 5>20ous=BIT3ne"8namovor5u1emqen/de=f5lovore=ad_reine" nam8/span>falospanp71*al rme=efalosa>>20>1__131      if5d)      93e51/sr_
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_985"+cod5=tty"BRKTRBae, 0l rme=esp*nRBpanp71*" clapen(>               1          93{3 )18new>205kmi=8nkmp.80n __FILE__         a__r_o >98ef=5eq_b9a rxt_fr71*al rme=esp0/a>>20>1__          93e=1L7  8 1clal 1072N>20r694" 12inktx_a8   1      93id159an>205ILE__5" id=59;t&3with"6" NG9gVabh_por5u>     L746      L746      L746 >2)>>20>1__172neL74P 9atypa    " id="1746" 18" c>20sty_s5ruct"5class=a hrac   >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en printkRNINGt;#s(5LINERN_WARNING 131lea/abh_por5uRN_WARNING                1          9e0<1a>ks  <1    rt.oc_skb1_s5ru19a h>20rOMEM5"a    E_83s/t/tt1hr  
&ctyp++5d):hM  )19   >205I" cl     L746      L746 131      if5d)   __r_o >98ef=5eq_b9a pariqioctSksihNa hr81pariqi0/a>>20>1__    r w8 799691" 3 c H>  <&ctypaa>;
cous=BIT3ne"8namabh_por5u>     L746      L746 131      if5d)   5c13p11*20sor9ref=213a>!>)8120hre>20>81oocketr698k" sl80a__r_o >98ef=5eq_b9a /x_get_fr71*al rme=e/x_get_fr>20>1__    r     93e=1L7    20s0I"L>20sor9ref=213a>74ick" s">cous=BIT3ne"8namabh_por5u>     L746 >2)>1__    r     93id159ancla>  f5a 1eenab19222222222222222222222222222222220__F>cketr698k" sl80a__r_o >98ef=5eq_b9a ovorrua acprin20>1__    r1rene90p>  5l1359*<1 hre819 AI>20R_cc#Lri5ers/t1          1   2     20ef=2+co1e20ef10pan 5l136odei 2 a a>20sAI>20sA133NULiv58 &am1a&ctyp++5d2     20e1=2+co1e20ee10y13a9*>205#s(5   re13INnns">cous=BIT3ne"8namabh_por5u>     L746 8131nk85=t 205="L746" class.bares5aaaaaaaaaa po9inue0>1__   2:hM    2L746 20tic>20>13    2:hM2    L20pa >20s 133NULiv58 &13ss=aous=BIT3ne"8namabh_por5u>     L746 98e2NC_CLOSING9g YNCLINK_GENERIC_HDLC 744<"line" nam8/spa     L746 >20>1__131      if5d2r w8 799692" 31e20e"10C_CLOSING924s="+20new>205kmi=8nkmp.80n __re13INnns">c69L728"> 72NC_CLnet_l> 5l1361*>20>1__20s730"> 730    5GAIare13INnns">cous=BIT3ne"8namabh_por5u>     L746      L746 131      if5d2 G" c20e8=2+co1e20ea10ss="sref">f5a 2eenab20222222222222222222222222222222220__F>20>="L74spin_un"dr9_irq"+co;
>20>1__131      if5d2r9" c20e8=2+ene90p>  5l1359*<2 hre820" c>20sty_s5ruct"5class=a hra=213a>74ick" s">cous=BIT3ne"8namabh_por5u>     L746      L746 131      if5d2     201f=2+co1e20=511pan 5l136odei 2 a a>215so>205s133NULiv58 &13ss=a222222222220__F>spin_un"dr9_irq"+co;
     L746 >20>1__131      if5d2:hM>205#s(5   re13INnnnnnnnnnas">cous=BIT3ne"8namabh_por5u>     L746 >2)20>1__skeinebuf<5="L74 deteamp.Ovorruaic Hspecial, sinc9ak_'s131lemps9"5s1311*   2:hM 2clal 21e"L>20oooooooo  05ooooooReserved, mu and enable po9aeeeeeeeeeeeeeeee*_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d2sref"20=6=2+co1e20a 11 rme=esp*nit a2d e8a21I"L>20sor9ref=213a>!>)8120hre>20>81ooooooooooous=BIT3ne"8namovor5u1emqen/de=f5lovore=ad_reine" nam8/span>9g =59*al rme=esp*nit =59*>98epen(>    1tt13   >131      if5d2     2017=2+co1e20 311  730    5GAIare13INnnbares5a132r_d9OSINGlaRICC5" class=_8LI2:hM)812122222222222222222222222222222bares5a132r_d9OSINGlaRICC5" class=_8LI2:9" c20e8=2+co1e20ti11s13"L7>131le o2t.20>ty_s5ruwrite_r}ooooooookeinebuf<5="L74 deteamp.end ofas">cerrondrtemmIDmp.c#L741"  * call 8" class=neL746qf="de2:hM8 2clal 2072N>20r694" 12inktx_1  regist5r1L746qf="de2 >205#s(5   s">c69L728"> 72NC_CLnet_l> 5l1361*>20>1__20>ty_s5ruwrite_rooooooooous=BIT3ne"8namRNINGt;#s(8URNintkRNINGt;#s(&#n748/.1NULi5 DataBytet_fr71*al rme=eDataByted"ng  mp13ss=>1NULi5 "+co;
               1   2r w8 2023=2+co1e20ne1_en 205I" cl131      if5d2="d_p2024=2+co1e20hr12synclinkmp2a h2ef="+22pa >20s 133NULiv58 &13ss=a22222222cketr698k" sl80RNINGt;#s(8URNintkRNINGt;#s(&#n748/.               1   2r"d_p20=5=2+co1e20 71NC_CLOSING924sref2__bares5a132r_d9OSINGlaRICC5" class=_8LI2     2026=2+co1e203512FILE__ bufmpa 21> 7220">_>20r730"> bares5a132r_d9OSINGlaRICC5" class=_8LI2     2017=2+co1e206912_CLOSING8 2clal 2072N>20r694" 12inktx_1  regist5r1L746qf="de2 )8120hre>20>81o__9gValuerial91__)8120hre>20>81oor5c   >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 5s13 9*92ata20sA133NULiv58 &am1a
printkRNINGt;#s(5LINERN_WARNING    2:>205#s(5   re13INnnFILE__         a__r_o >98ef=5eq_b9a rxt_fr71*al rme=esp0/a>ERNintkRNINGt;__r_o >98ef=5eq_b9a hrg++octSksihNa hr8120/a>ERNintkRNINGt;__r_o >98ef=5eq_b9a pariqioctSksihNa hr81pariqi0/a>lhcnow="nkL746 c1          1   2:20sAy_s5ruct"5class=a hracketr698k" sl80a__r_o >98ef=5eq_b9a /x_get_fr71*al rme=e/x_get_frERNintkRNINGt;__r_o >98ef=5eq_b9a ovorrua acprin               1   2:hM)233w_>20R 133NUbares5a132r_d9OSINGlaRICC5" class=_8LI2     2034=2+co1e20pa13synclinkmp2a h2ef="+236 ceqxmi id=59694" e10513   >131  HDLC lay2     2035=2+co1e20ne1_en _2s">c69L728"> 72NC_CLnet_l> 5l1361*>xmi id=59694" e10513   >131  HDLC lay2     2026=2+co1e20I"1735">5y13a9*20sor9ref=213a>!>cketr698k" sl80RNIN.               1   2:    2017=2+co1e20ow1  2bares5a132r_d9OSINGlaRICC5" class=_8LI2 tx2que5o23 cl>20>(tyi/.srxi  sln>
5      ef">infoty_s5ruor5" clas13"L7>131lea/abh_por5ugs, xmi id=59694" e10513   >131  HDLC lay2r w8 204f=2+code205so = <5m13 892ata20>1__   2sref"2041=2+code205">5y13a9*ty_s5ruor5" c2ith"6" NG9gValuerial91__   2s205="L746" class.c   >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d):  eer w8(wi88=t printkRNINGt;#s(5LINERN_WARNING 131lea/abh_por5uRN_WARNING                1   2     2034=2+code202    L246 ceqxmi id=59694" e10513   >131  HDLC lay2     2035=2+code20new_en 131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_ Tx DMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d2 hM5y13a922051objecas13"L7>131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_ DMA k_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d2     2017=2+code20ist5r_L746qf="denc2ass= 20ist>205    rias13"L7>131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_&ctyp++5d2 130a href=36=ef2"driv2422222ares5a132r_d9OSINGlaRICC5" class=_8LI2rhM135free_c#Lr25clas24" c>20sty_s5rs">cous=BIT3ne"8namabh_por5u>     L746 >2)20>1__232r_d255so>205s133NULiv58 &aas13"L7>131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_               1   2Eref"2041=2+code20mp2a 512  5GA257412 /4di255">>205#s(5   as13"L7>131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_     L746                1   2E20sAy_s5r}4ick"*" clapen(>               1   2EhM__if_wake_que2ohre125   >205I" cl131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_               1   2E    2034=2+code20ew_en 131  HDLC lay2=    2035=2+code20sAI"L735">5s13 9*82 hre125t.oc 9kb,3l aakeinebuf<5="L74 deteamp.dis"L7> and it andtxdisNE_+d)is k_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d2     2056=2+code20dral rme=esp*nit a2d e8a25 5/>2051objecas13"L7>131lea//a>8131nk85=t      L746 98epen(>    1tt13   >131      if5d2:hM205    rias13"L7>131lea//a>8131nk85=t 98ef=5eq_     L746 >2)59*>98epen(>    1tt13   >131      if5d2:f5a 2eenab258st>205    rias13"L7>131lea/nit /x_ge+co1e20a 11t nkmpnit /x_ge+ct_fr71*>98ef=5eq_8131nk85=t 8131nk85=t 5l1359*<2 hre8259st>205    rias13"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_131leag9vUD+9_octSksihNa hr8UD+9a>>2ref5"+cod5=tty"IDLDorEr5u>     L746 >   >1 apen(>                   2:hM(2672N>20r694" 12inktx_1  regist5r1L746qf="de2="d_p2061=2+code20/a>(ty_s5ruor5" c2ith"6" NG9gV/a>8131nk85=t 1__20sAy_s5ruct"5cla/ksi>98e2NC_CLOSING9g YNCLINK_GENERIC_HDLaramclas13"L7>131leaLaramc>
    idm  isln>

 5l1361*>20>1__ 7190ptick}5d2=G" c2053=2+code20tick" slsref"c i8<2 href26   >205I" cl     L746 >2)>1__ 7190ptick}5d2=    2034=2+code20a h>13835" id=r1292*20s 133NULiv58 &13ss=a22222222cketr698k" sl80aa>8131nk85=t >2>20>1__   2:    2035=2+code20a h>13835" id=r1292*_20__F>20>="L746" ick" s">cous=BIT3ne"8namabh_por5u>     L746      L746 >1__   2:    2056=2+code20ew_en __F26I"L>20sor9ref=213a>!>)8120hre>20>81oocketr698k" sl80aa>8131nk85=t 5s13 9*8220s730"> 730 bares5a132r_d9OSINGlaRICC5" class=_8LI2s    2058=2+code20href5"driv56s/tty12a>)812622222ares5a132r_d9OSINGlaRICC5" class=_8LI2:hM131le o2t.)8120hre>20>81oor5c   >135      i/a>8131nk85=t falospanp71*al rme=efalosa>>20>1__131      if5d2sref"207f=2+code20r86
2205s133NULiv58 &aas13"L7>131lea//a>8131nk85=t /a>8131nk85=t /a>8131nk85=t     id="L74.sr_chref"      L742hM   2 135      idel_timor5u1emqen/de=f5ldel_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t )27tic>20>13    2 131leaLaramc>
    idm  isln>

 5l1361*_RKDreRKDref5"+cod5=tty"BRK/a>8131nk85=t 132a href=2+co8e27r9ref=213a>_20__F>20>="L746" 5"+cod5=tty"BRK/a>8131nk85=t >20>1__131      if5d2s    2056=2+code20">__FILE__ bufmpa 21> 7227">_>20r730"> 730    5GAIacketr698k" sl80/a>8131nk85=t falospanp71*al rme=efalosa>>20>1__131      if5d2shM8 2clal 27ist>205    ri5ers/tt1   5GAIacketr698k" sl80sit _s5ralor5u>     L746 8131nk85=t 20R_cc#Lri5ers/t1          1   2r_chkcoi3a2b  9a94P 9a9ypa    " id="2746" 28520>2#/ksline" nam8/SR2*S812LINK_GENERIC_HDLODE_ASYNC*vea)> S812LINK_GENERIC_HDLOAI>20R_cc#Lri5ers/t1          1   2rMks>205#s(5   s">ccketr698k" sl80/a>8131nk85=t 20sAy_s5ruct"5cla   5GAIacketr698k" sl80hdlcdev_tx_donspanp71*al rme=ehdlcdev_tx_dons1*al cketr698k" sl80/a>8131nk85=t 205I" cl               1   2      93e52/sr_               1   2 "d_p2075=2>{3 )28r9ref=213a>_20__F>20>0>1____(5   s">ccketr698k" sl80/a>8131nk85=t     id="L74ro"+4<"l>2_RKDreRKDrefccketr698k" sl80/a>8131nk85=t     id="L74ro"+4<"l>2lore sl    _mask1>98stoppedr5u>     L746 >2_||i>98e2NC_CLOSING9g YNCLINK_GENERIC_HDLC 744<"line" nam8/span>
    id="L74ro"+4<"l>2 744<"line" nam8/spahw_stoppedr5u>     L746 >>0>1__8 2clal 28ow=>20s730"> 730    5GAIare13INnnln>
8131nk85=t 98epen(>    1tt13   >131      if5d2 hM20sty_s5ruct"5class=a hrabares5a132r_d9OSINGlaRICC5" class=_8LI2      9ef=2+c    8 2clal 295so>205s133NULiv58 &13ss=a>98e2NC_CLOSING9g YNCLINK_GENERIC_HDLC 744<"line" nam8/spanending_bhNintkRNINGt;nending_bha>>2_|reine" nam8/span>BH_TRANSMITiveal_rsgener28BH_TRANSMITa>>20>1__131      if5d2      9e0<2a>ks  <1    rt.oc_skb2_s5ru295">>205#s(5   bares5a132r_d9OSINGlaRICC5" class=_8LI2   
  )29   >2bares5a132r_d9OSINGlaRICC5" class=_8LI2      93e52hrr_L74>  131  HDLC lay2r w8 799692" 3 c H>  <&ctypaa>;
5c13p21*131lemps9"5s1311*    f5a 2eenab29n5="d9oooooooo 2rene90p>  5l1359*<2 hre829 cl>20>(tyi/.srxi  sln>
5      ef">info131      if5d3     20ef=3+co1e20ef10pan 5l136odei 3 a a>30r86>20>1__   3     20e1=3+co1e20ee10y13a9*>205#sty_s5ruor5" clas13"L7>131lea/abh_por5ugs, 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_98"line" nam8/SR2*panl rme=esp*nit an/or5" >2RKDref5"+cod5=tty"BRK/a>8131nk85=t >2ref5"+cod5=tty"IDLDorEr5u>     L746 98epen(>    1tt13   >131      if5d3nfo>120e2=3+co1e20ee10en 29*>98epen(>    1tt13   >131      if5d3n3o>120e2=3+53 L74>  205I" cl&ctyp++5d3:hM3    L30pa >20s 133NUas13"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_131lea/abh_por5ugs, 98epen(>    1tt13   >131      if5d3n5M  <&ctypaa>;
2051object&3with"6" NG9gValuerial920s730"> 730 "line" nam8/span)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d):  eer w8(wi88=t f5a 3eenab3022222222222222222222222222222"line" nam8/spa, printkRNINGt;#s(5LINERN_WARNING 131lea/abh_por5uRN_WARNING                1   3 9" c20e8=3+ene90p>  5l1359*<3 hre830 AI>20R_cc#Lri5ers/t1          1   3     201f=3+co1e20=511pan 5l136odei 3 a a>315so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 >2ref5"+cod5=tty"IDLDorEr5u>     L746 >0R_cc#Lri5ers/t1          1   3     20e1=3+co1e20/a11>205#s(5     sln>
               1   3="d_p20=2=3+co1e2029*>98epen(>    1tt13   >131      if5d3     2013=3+co1e20e1113E___to_porAre3=5eq_313so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 0>1__ 3clal 31e"L>20oooooooo  05ooooooReserved, mu and ena* for our __   3sref"20=6=3+co1e20a 11 rme=esp*nit a3d e8a310 =poroooooooo  04ooooooTMEerved, mu and ena*_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3     2017=3+co1e20 311  730 5"+cod5=tty"IDLnit _s5ralor5u>     L746 8131nk85=t )8131222222222222222222222  sln>
98ef=5eq_1 apen(>                   3:9" c20e8=3+co1e20ti11s13"L7>131le o3t.20>ty_s5ruwrite_r22222222  sln>
2|f5"+cod5=tty" 13/a>8131nk85=t >   >1 apen(>                   3:hM8 3clal 3072N>20r694" 12inktx_1  regist5r1L746qf="de3 >205#sbares5a132r_d9OSINGlaRICC5" class=_8LI3 2bares5a132r_d9OSINGlaRICC5" class=_8LI3     2013=3+co1e20ne1_en 20>13    3="d_p2024=3+co1e20hr12synclinkmp2a h3ef="+32desiz9ooooooooooooooooooooo/>131lemps9"5s1311*934sref32e"L>20oooooooo  05ooooooRese* __ 72320 =poroooooooo  04ooooooTMEe*_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3     2017=3+co1e206912_CLOSING8 3clal 3072N>20>(tyi/.srxi  sln>
98ef=5eq_5      ef">info131      if5d3 )8130hre>20>1__20sty_s5rs">cith"6" NG9gValuerial95s13 9*93ata20sA133NULiv58 &a"line" nam8/span)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en >205#s(5   re13INnnFILE__         , printkRNINGt;#s(5LINERN_WARNING 131lea//a>8131nk85=t    >1 apen(>                   3:29*>98epen(>    1tt13   >131      if5d3:hM)333so>205s133NU" clas13"L7>131lea/9g YNCLINK_GENERIC_HDLaramclas13"L7>131leaLaramc>
    idm  isln>

 5l1361*)>0>1__ TXRDYdIRQ, en"L7> IDLEdIRQe*_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3     2035=3+co1e20ne1_en _20__F>20>5"+cod5=tty"BRK/a>8131nk85=t      L746 98epen(>    1tt13   >131      if5d3     2026=3+co1e20I"1735">5y13a9*20sor9ref=213a>!>cketr698k" sl80/a>8131nk85=t DorEr5u>     L746 98epen(>    1tt13   >131      if5d3     2017=3+co1e20ow1  20s730"> 730 5"+cod5=tty"IDLnit /x_ge+co1e20a 11t nkmpnit /x_ge+ct_fr71*>98ef=5eq_8131nk85=t 8131nk85=t tx3que5o33" c>20sty_s5rbares5a132r_d9OSINGlaRICC5" class=_8LI3r w8 204f=3+code205so = <5m13 893ata20r694" 12inktx_1  regist5r1L746qf="de3sref"2041=3+code205">5y13a9*ty_s5ruor5" c2as13"L7>131lea/9g YNCLINK_GENERIC_HDLaramclas13"L7>131leaLa>
    id="L74ro"+4<"l>2_RKDreRKDrefccketr698k" sl80/a>8131nk85=t     id="L74ro"+4<"l>2lore sl    _mask1>98stoppedr5u>     L746 >2_||i>98e2NC_CLOSING9g YNCLINK_GENERIC_HDLC 744<"line" nam8/span>
    id="L74ro"+4<"l>2 744<"line" nam8/spahw_stoppedr5u>     L746 >>0>1__205="L746" class.c   >135      itx_stop5u1emqen/de=f5ltx_stop1*al cketr698k" sl80/a>8131nk85=t 205kmi=8nkmp.80n 5y13a932051object&3with"6" NG9gV/a>8131nk85=t 20s730"> 730 5"+cod5=tty"IDLtx_load_fi>8131nk85=t 81*al acketr698k" sl80/a>8131nk85=t 1__135free_c#Lr35clas343a>)8120hre>20>81oor5c   >135      i/a>8131nk85=t falospanp71*al rme=efalosa>>20>1__131      if5d3E_83s205f=3+code20RIC_HDLCfo332r_d355so>205s133NULiv58 &aas13"L7>131lea//a>8131nk85=t      L746 98epen(>    1tt13   >131      if5d3Eref"2041=3+code20mp2a 512  5GA257413 /4di355">>205#s(5   as13"L7>131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_8131nk85=t 20sAy_s5rbares5a132r_d9OSINGlaRICC5" class=_8LI3EhM__if_wake_que3ohre135tic>20>13    3E    2034=3+code20ew_en 2051object&3wth"6" NG9gV/a>8131nk85=t 131      if5d3=    2035=3+code20sAI"L735">5s13 9*83 hre135r9ref=213a>_20__F>20>5"+cod5=tty"BRK/a>8131nk85=t >2_|reine" nam8/span>BH_TRANSMITiveal_rsgener28BH_TRANSMITa>>20>1__131      if5d3     2056=3+code20dral rme=esp*nit a3d e8a35 5/>2bares5a132r_d9OSINGlaRICC5" class=_8LI3E    2017=3+code2057*20r694" 12inktx_1  regist5r1L746qf="de3:f5a 3eenab358st>20>(tyi/.srxi  sln>
98ef=5eq_5      ef">info131      if5d3 hM5l1359*<3 hre8359st>20>1__(365so>205s133NUmkeinebuf<5="L74 deteamp.BIT78reEOT (end ofatransfer)13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3="d_p2061=3+code20/a>(tyroooooooo  04ooooooTMEerved, mup.BIT68reEOM (end ofamessage//x_ge)13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3=2roooooooo  04ooooooTMEerved, mup_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3=G" c2053=3+code20tick" slsref"c i8<3 href36   >205I" cl131lea/abh_por5ugs, 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_981*>98ef=5eq_2RKDref xc00>1__131      if5d3=    2034=3+code20a h>13835" id=r1293*131  HDLC lay3:    2035=3+code20a h>13835" id=r1293*_2lkeinebuf<5="L74 deteamp.it andIRQ (BIT0 must be 1 to prev_ntr5t aning DEebiidrtemmIDmp.c#L741"  * call 8" class=neL746qf="de3:    2056=3+code20ew_en __F36 5/>2051objecas13"L7>131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_131leag9vabh_por5ugs, >   >1 apen(>                   3:hM5s13 9*8320r694" 12inktx_1  regist5r1L746qf="de3s    2058=3+code20href5"driv56s/tty13a>)8136hre>20>81o__9gValuerial9131le o3t.)8120hre>20>81oor5c   >135      in)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d):  eer w8(wi88=t 
3205s133NULiv58 &a0>81oor5c   >135      i, printkRNINGt;#s(5LINERN_WARNING 131lea/abh_por5uRN_WARNING                1   3hM   3 8131nk85=t >2_|reine" nam8/span>BH_RECEIVEr5u>     L746 >20>1__131      if5d3 G" c2053=3+code20it and enable pbuf3a a>)37   >2bares5a132r_d9OSINGlaRICC5" class=_8LI3 131  HDLC lay3="d_p2075=3+code20s:13 hr>132a href=3+co8e37r9ref0>(tyi/.srxi  sln>
98ef=5eq_5      ef">info131      if5d3s    2056=3+code20">__FILE__ bufmpa 31> 7237">_>20>1__8 3clal 37ist>205    rimkeinebuf<5="L74 deteamp.BIT5_reBOF (buffer ovorflow)13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3     2058=3+code2012ink    rt.oc_skb3re13 37n5="d9oooooooo &ctyp++5d3 hM2roooooooo  04ooooooTMEerved, mup_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3r_chkcoi3a3b  9a94P 9a9ypa    " id="3746" 385so>205s133NUty_s5ruor5" clas13"L7>131lea/abh_por5ugs, 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_981*>98ef=5eq_2RKDref x300>1__131      if5d3rMks20rOMEM5"a   3  P 9aen 20sAy_s5rlkeinebuf<5="L74 deteamp.it andIRQ (BIT0 must be 1 to prev_ntr5t aning DEebiidrtemmIDmp.c#L741"  * call 8" class=neL746qf="de3 205I" cl131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_131leag9vabh_por5ugs, >   >741"  * call 8" class=neL746qf="de3 131  HDLC lay3 "d_p2075=3>{3 )38r9ref=213a>_2/ksiith"6" NG9gValuerial9__c   >135      in)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d):  eer w8(wi88=t  730    5GAIac   >135      i, printkRNINGt;#s(5LINERN_WARNING 131lea/abh_por5uRN_WARNING 205    rias13"L7>131lea/35;s(&#nk85=t trtian*veal     L5=trtia>>20>1__131      if5d3      9ef=3+c    8 3clal 395so>205s133NU5"+cod5=tty"BRK/a>8131nk85=t >2_|reine" nam8/span>BH_RECEIVEr5u>     L746 >20>1__131      if5d3      9e0<3a>ks  <1    rt.oc_skb3_s5ru395">>2bares5a132r_d9OSINGlaRICC5" class=_8LI3   
98ef=5eq_5      ef">info131      if5d3      93e53hrr_L74>    <&ctypaa>;
131lea/abh_pox_ge+r5uRN_WARNING 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_98"line" nam8/SR2*panl rme=esp*nit an/or5" >0>1__131      if5d3   5c13p31*1__131      if5d3 hM  205    rias13"L7>131lea/>
write_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_ Tx DMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3r     93id359ancla>  f5a 3eenab398st>205    rias13"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_ DMA k_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d3r3rene90p>  5l1359*<3 hre8399st>205    rias13"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_&ctyp++5d4     20ef=4+co1e20ef10pan 5l136odei 4 a a>4072N>20r694" 12inktx_1  regist5r1L746qf="de4     20e1=4+co1e20ee10y13a9*ty_s5ruor5" c2ith"6" NG9gValuerial91__   4nfo>120e2=4+co1e20ee10en 205="L746" class.c   >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d):  eer w8(wi88=t printkRNINGt;#s(5LINERN_WARNING 131lea/abh_pox_ge+r5uRN_WARNING 0>1__131      if5d4:hM4    L406 ceqxmi id=59694" e10513   >131  HDLC lay4n5M  <&ctypaa>;
 TXRDYdIRQ k_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d4 6M  5c13p43   }40 5/>2051objecas13"L7>131lea/>
write_r+co1e20a 11t nkmpnit /x_ge+ct_fr71*>98ef=5eq_0>1__131      if5d4:7M  205    rias13"L7>131lea//a>8131nk85=t TXRDYEr5u>     L746 98epen(>    1tt13   >131      if5d4 G" c20e8=4+co1e20ea10ss="sref">f5a 4eenab408st>205    rias13"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_8131nk85=t   5l1359*<4 hre840 AI>2bares5a132r_d9OSINGlaRICC5" class=_8LI4     201f=4+co1e20=511pan 5l136odei 4 a a>4172N>20r694" 12inktx_1  regist5r1L746qf="de4     20e1=4+co1e20/a11>20>(tyi/.srxi  sln>
98ef=5eq_5      ef">info131      if5d4="d_p20=2=4+co1e2020>1__205I" cl&ctyp++5d4:hM&ctyp++5d4="d_p20=5=4+co1e20="1termio="sref"> 4clal 41e"L>20oooooooo  05ooooooReserved, muk_13="eic9i  f_-1lSivea31194" 12ink1>&ctyp++5d4sref"20=6=4+co1e20a 11 rme=esp*nit a4d e8a41 5/>2051objecty_s5ruor5" clas13"L7>131lea/abh_por5ugs, 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_981*>98ef=5eq_2RKDref x300>1__131      if5d4     2017=4+co1e20 311 )81412222222222222lkeinebuf<5="L74 deteamp.it andIRQ (BIT0 must be 1 to prev_ntr5t aning DEebiidrtemmIDmp.c#L741"  * call 8" class=neL746qf="de4:9" c20e8=4+co1e20ti11s13"L7>131le o4t.205    rias13"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_131leag9vabh_por5ugs, >   >741"  * call 8" class=neL746qf="de4:hM8 4clal 4072N>20r694" 12inktx_1  regist5r1L746qf="de4 ty_s5ruor5" c2ith"6" NG9gValuerial91__   4 205="L746" class.c   >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d):  eer w8(wi88=t 205I" cl135      i, printkRNINGt;#s(5LINERN_WARNING 131lea/abh_por5uRN_WARNING 944sref42new>205kmi=8nkmp.80n 8 4clal 42in13l9oooooooo  03..00ooRese*emmIDmp.c#L741"  * call 8" class=neL746qf="de4 )81428st>20>(tyi/.srxi  sln>
98ef=5eq_2013"L7>131leag9vabh_por5ugs, 1__   4 9" c20e8=4+co1e2020>1__5s13 9*94ata20sA133NUINEuctIac   >135      imgsl_a98ef=5eq_>21*" cw="nkL746 c1          1   4:20rOMEM5"a   4:ty_s5ruor5" c2ith"6" NG9gValuerial91__   4:hM)43   >205I" cl135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer w8(wi88=t 20R 133NULiv58 &a   5GAIac   >135      i, printkRNINGt;#s(5LINERN_WARNING 205kmi=8nkmp.80n 5y13a9*131leag9vabh_por5ugs, 2 |i>98e2NC_CLOSING, 5y13a9*131leag9vabh_2h74/x_get_fr71*>98 sl1      Er5u>     >2_RKDreRK7135s23SerialSs5ral_C_eq_, , 2 |i>98e2NC_CLOSINRIa>, , >>0>1__  43 98ef=5eq_8131nk85=t 3205s1so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 , , >>0>1__5y14a9*>205#s(5   re13INnnFIL98ef=5eq_205="so>205s1so>2 nkmpu1 5/>2013"L7>131leag9vabh_por5ugs, 1__    3L746 30   >205I"">>205#s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1   3     2034=3+code20              4 class=_8L43r    2035=3+code20new_en4>205#s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1 hcnow="a>3 hM44mpa 3clal 38a hre5="def="+42desizbares5a132r_d9OSINGlaRICC5"1TICE 20s73so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 , , >>0>1__  43 1304 href44f5a 3eenab3022222222222222222222222222222"li98ef=5eq_435fre4_c#Lr35clas343a>)8120hw=>20s73so>2 nkmpu1 5/>2013"L7>131leag9vabh_por5ugs, 1__332r_d355so>205s1">>205#s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1      if543Eref"2041=3+code20mp2a 542  5G4257413 /4di355">>205&######### cl              41      if543E205="so>205s135;s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1      if543EhM_4if_wa45    3L746 30   >205I"ef="+42desizbares5a132r_d9OSINGlaRICC5"_  43E    2034=3+code20ew_en 4a131lea/abh_por5u>     L746 , 5 ropped.oc >>>0>1__5s43 9*83 hre135r9ref=213w_>20R 1so>22051object&3wth"6" NG9gV/a>8131nk85=t 5 ++nit and enable po8 5r1IO_PIN_SHUTDOWN_LIpan>BH_TRANSMITiveIO_PIN_SHUTDOWN_LIpan5">5 ropped.oc >>>0>1__205s135;s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1           class=_8L43E    2017=3+code2057*8 3clal 38ow=>20s730"> 730<35;s(5   re13INnnFIL3"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_8131nk85=t    3 hM5l45le o3t.20>ty_s5ruwrite_r22222222  s98ef=5eq_>205&#so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 5 ropped.oc >>>0>1__&ctyp++543="d_p2061=3+code20/a>(>205&#########35;s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1      if543=205="so>205s1}# cl              41>&ctyp++543=G" c2053=3+code20tick" 4lsref46    3L746 30   >205I"">>205#s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1  43=    2034=3+code20a h>13435" i4=r1293#so>nd"ng_RKDref5"+mYNCLINK_GENERIC_HDLref=58MGSL_MODE_mYNCLINK_GENERIC_HDLr"s944sref43new>205kmi=8nkmp.80n 13435" i46 9*83 hre135r9ref=213w_>20R 1so>23   re13INnnFIL9od5=tty" 13/a>8131nk85=t 5 ropped.oc >>>0>1__205s135;s(so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 5 pped.oc >>>0>1__5s46a>8 3clal 38ow=>20s730"> 730<35;s(ȗs(5   re13INnnFILnetif_carrier_oef=58i/io_pia acnetif_carrier_oesp*nit /x_get_fr71*>98ef=5eq_              41   3shM141le o3t.)8120h0"> 730<35;s(ȗs(5   re13INnnFILnetif_carrier_offf=58i/io_pia acnetif_carrier_offsp*nit /x_get_fr71*>98ef=5eq_
<4 5/a>3205s133NULiv5ef="+42desizbares5a132r_d9OSINGlaRICC5"1  43hM205="ef="+42desizbares5a132r_d9OSINGlaRICC5"1>&ctyp++543 G" c2053=3+code20it and4enabl47    3L746 30   >205I"so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 >>0>1__132a47 9*83 hre135r9ref=213w_>20R 1so>22051object&3wth"6" NG9gV/a>8131nk85=t 5 ++nit and enable po8 5r1IO_PIN_SHUTDOWN_LIpan>BH_TRANSMITiveIO_PIN_SHUTDOWN_LIpan5">5 ropped.oc >>>0>1____FI4E__ b47mpa 3clal 38a hre5="dso>205s135;s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t  730<35;s(5   re13INnnFIL3"L7>131lea/nit /x_geei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_8131nk85=t &ctyp++543 hM20>ty_s5ruwrite_r22222222  s98ef=5eq_>205&#so>2 nkmpu1 5/>2013"L7>131leag9vabh_por5ugs, 1__ks>205&#########35;s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1      if543  P 9aen4205="so>205s1 cl              4eL746qf="d43 205I"">>205#s(5   re13INnnFIL9od5=tty" 13/a>8131nk85=t >21*" cw="nkL746 c1          1class=_8L43 {3 _20__F>20>5"+wake_u _i4_reruptibl5=tty" e1_vtian*wake_u _i4_reruptibl5sp*nil_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t __c  wake_u _i4_reruptibl5=tty" e1_vtian*wake_u _i4_reruptibl5sp*nil_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t   43     2058=359an2 _RKDreRKDrefccketr698k" sl80/a>8131nk85=t     id="L74ro"+4 FIF1leag9vabh_por5u FIF1,  5l1_  BCK_MI=tty" e1_vtian*> 5l1_  BCK_MI5">5 rhr8120/a>>_s5ru4172N>20r694" 12inktx_1  regist5r1>&ctyp++543 hM20>ty_s5ru205s133NU" clas13"L7>131lea/abh_por5u>     L746 , 5 r ropped.oc >>>0>1__  332r_d355so>205s1">>205&#so>2 nkmpu1 5/>2013"6" NG9gValuerial91__ks  <1 4  rt.4957413 /4di355">>205&#########35;s(5   re13INnnFIL >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct; CD now E_+ct;...>813d): 4Xer w53   re13INnnFIL9od5=tty" 13/a>8131nk85=t 205s135;s(ty_s5ru205s133NU" clas13"L7>131lea/abh_por5u>     L746 5 r? ty/synclinkmpin_"dref"__LINo">813d): 4Xer  : ty/synclinkmpin_"dref"__LINoff>813d): 4Xer  >205&#so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 5 pped.oc >>>0>1__  8131nk85=t     id="L74ro"+4open_waitmask1>98n>
  <&c4ypaa>49 9*83 hre135r9ref=213w_>20R 1222222222222ick" 0>1__  9gValuerial91__  8 3clal 38ow=>20s730"> 730<35;s(ȗs(5   re13INnnFIL >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINdorev__813d): 4Xer  23   re13INnnFIL9od5=tty" 13/a>8131nk85=t 
    id="L74ro"+4<"l1__&ctyp++543r3rene90p>  5l49le o3t.)8120h0"> 730<35;s(ȗs(5   re13INnnFILa i_ial up98ef=5eq_
    id="L74ro"+4<"l>205&#ef="+42desizbares5a132r_d9OSINGlaRICC5512746qf="d54   23   re13INnnFILSks_ro"+_cts_empty spahw_stoppedr5uSks_ro"+_cts_empty ssp*nil_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t  rhr8120/a>>_s5ru4172N>20r694" 12inktx_1  regist551      if554:hM20R 133NUL205s133NU" clas13"L7>131lea/abh_por5u>     L746 >>0>1__  <&c5ypaa>50 9*83 hre135r9ref=213w_>20R 1so>25so>205s133NU5"+cod5=tty"BRK/a>8131nk85=t 
    id="L74ro"+4<"l>>0>1__  8131nk85=t 
    id="L74ro"+4<"l5 ropped.oc >>>0>1__  8 3clal 38ow=>20s730"> 730<35;s(ȗs(so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 >>0>1__  20R 1so>25so>205s133NU5"+6" NG9gValuerial91__  5l50le o3t.)8120h0"> 730<35;s(ȗs(�   re13INnnFIL >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINeri tx" /srt...>813d): 4Xer  >205#s(�   re13INnnFILcod5=tty"BRK/a>8131nk85=t 
    id="L74ro"+4<"l5 = l>2RKDref x300>1__151L746qf="d54     20e1=4+co1e20/a11>205&#########35;s(�   re13INnnFILtx_ /srt98ef=5eq_205s135;s(ty_s5ru5555555553   re13INnnFILcod5=tty"BRK/a>8131nk85=t >2_|reine" nTRANSpan>BH_TRANSMITive" nTRANSpanalSs>205#s(�return&ctyp++554="d_p20=5=4+co1e20="1ter5io="s51 9*83 hre135r9ref=213">>205#s(}1222222222222ick" 0>1__&ctyp++554sref"20=6=4+co1e20a 11 r5e=esp51mpa 3clal 38a hre5="dso>205s135;s(�so>2!205s133NU" clas13"L7>131lea/abh_por5u>     L746 >>0>1__8 3clal 38ow=>20s730"> 730<35;s(ȗs(�so>25so>205s133NU5"+6" NG9gValuerial91__20R 1111111113   re13INnnFIL >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINeri tx" /op...>813d): 4Xer  151le o3t.)8120h0"> 730<35;s(ȗs(�   re13INnnFILcod5=tty"BRK/a>8131nk85=t 
    id="L74ro"+4<"l5 = 1332r_d355so>205s1">>205#s(�   re13INnnFILSx_ /op98ef=5eq_>205&#########35;s(�ef="+42desizbares5a132r_d9OSINGlaRICC551  54 205="35;s(�ef="+42desizbares5a132r_d9OSINGlaRICC55190ptick}554     2013=4+co1e20ne1_en5205I" cl20R 1ef="+42desizbares5a132r_d9OSINGlaRICC55 class=_8L54r"d_p20=5=4+co1e20 71NC_5LOSIN52 9*83 hre135ref="+42desizbares5a132r_d9OSINGlaRICC55 >&ctyp++554     2026=4+co1e203512FI5E__ b52c13p31*1__15e90ptick}554     2017=4+co1e206912_C5OSING52rt.<4tty" 40ist>205    rias13"L7>131lea//a>8131nk85=t >2_|reine" n/de=f5>BH_TRANSMITive" n/de=f5alSs5s53 9*94r> 72420 =poroooooooo  04I4_rerupt__  54:  54:20R 1i4_rerupt number that caused1i4_rerupt DMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12in51      if554     2034=4+co1e20pa13sy5clink53dei 4clal 41desiz9oooooooooo0      dev_id3ew_>20R 1p71*al ID supplied1duprev_i4_rerupt regiin_atioespMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12in51class=_8L54     2035=4+co1e20ne1_en5 4clal 41e"L>20oooooooo  0      regs+43ew_>20R 1i4_rerupted1processor co4_rxt DMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12in51>&ctyp++554     2026=4+co1e20I"17355>5y1353mpa 41> 72420 =poroooooooo  Tx DMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12in5131leag9va5h_2h74/x_get_fr71*>98 sl15     5r5u>  a>)8142st>205    rias13rqreturn_5eq_vea31194"_i4_reruptsp*nii4_5so>205s133NU5"+6umml2_adev_idref=581__  53 >>0>1__  53 9" c20e8=3+code20" cl205    rias1e" nam8/SR2*S hrget_aiveal_rsgener28"6" i398ef=5eq_131lea/abh_por5ugs,  nam8/SR2*IEceqigs , a/abh_pox_ge+r5uRN_WARs/tt4=l>2RKDref x300>1__151L746qf="d53sref"2041=3+code205">5y15a9*2051objecty_s5ruor5" clas1dma3"L7>131lea/abh_por5udma3"L7>1, 1 nam8/SR2*IEceqidma3"L7>1 , 1a/abh_pox_ge+r5udma3"L7>1a/tt4=l>2RKDref x300>1__151  53s2051objecty_s5ruor5" clas1tim__<"L7>1 nam8/SR2*IEceqitim__<"L7>1 , 1a/abh_pox_ge+r5utim__<"L7>1a/tt4=l>2RKDref x300>1__15190ptick}553 hM    3L746 30 5/>2051objecty_s5ruor5" clas13hift31lea/abh_por5u>hiftihNa2051obi4_5so>205s133NU5"+i=5eq_205s133NU5"+tmp54c13p31*1__151TICE 25so>205s133NU5"+6" NG9gValuerial91__  53 1305 href54f5a 3eenab302222222223   re13INnnFIL >135      if)f4 href="+code=L/tt   re13INnnFILKERN_38ISs     if)f4 hrefKERN_38ISs#3nen0y/synclinkmpin_"dref"__LINE_+ct;en vea31194"_i4_rerupten 813d): 4Xer w8(wi88=t 535fre5_c#Lr35clas343a>)8120hw=>20s73t   re13INnnFIL >135      i, kRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t 8131nk85=t 29*>98epen(>    1tt13   >151      if553EhM_5if_wa55    3L746 30 for(;; ropped.oc >>>0>1__  53E    2034=3+code20ew_en 5a4    L406 ceqxmi id=59694" e10513   >151      if553=    2035=3+code20sAI"L755">5s53 9*83 hre135r9ref=213r> 72420 =poroooooooo  04get" /sr_i for SCA0 (ro"+s 0-1aning DEebiidrtemmIDmp.c#L741"  * call 8" class=51 hcnow="a53     2056=3+code20dral r5e=esp55mpa 3clal 38a hre5="dso>205s133NU5"+tmp98ef=5eq_ 72420 =poroooooooo  04get"oSR  and"oSR1bi4 one " naning DEebiidrtemmIDmp.c#L741"  * call 8" class=51TICE 8 3clal 38ow=>20s733   re13INnnFILgs nam8/SR2*IEceqigs , 205s133NU5"+tmp1 nam8/SR2*IEceqidma3"L7>1 , 5l55le o3t.20>ty_s5ruor5" clas1tim__<"L7>1 nam8/SR2*IEceqitim__<"L7>1 , 
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_&ctyp++553="d_p2061=3+code20/a>(>205&#so>25so>205s133NU5"+6" NG9gValuerial91__205="so>205s13   re13INnnFIL >135      if)f4 href="+code=L/tt   re13INnnFILKERN_38ISs     if)f4 hrefKERN_38ISs#3nen0y/synclinkmpin_"dref"__LINE_+ct;en 1 on(),_2xh, dma3"L7>1 on(),_2xh, tim__<"L7>1 on(),_2xh1">813d):  eer w8(wi88=t 205I"">>205#s(5   re13INnnFIL >135      i, kRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t 1 nam8/SR2*IEceqidma3"L7>1 , 1 nam8/SR2*IEceqitim__<"L7>1 , 205kmi=8nkmp.80n 205s133NU" clas1cod5=tty"BRK/a>8131nk85=t >>0>1__5s56a>8 3clal 38ow=>20s730"> 730 72420 =poroooooooo  04get" /sr_i for SCA1 (ro"+s 2-3aning DEebiidrtemmIDmp.c#L741"  * call 8" class=51L746qf="d53s    2058=3+code20href5"5riv5656f5a 3eenab3022222222222222222so>205s133NU5"+tmp98ef=5eq_  53shM151le o3t.)8120h0"> 730<3   re13INnnFILgsa/abh_pox_ge+r5uRN_WARs/tt4 G"me=eSRd_slcle=Lso>205s133NU5"+tmp
<5 5/a>3205s133NULiv53   re13INnnFILdma3"L7>1a/abh_pox_ge+r5udma3"L7>1a/tt4 G"me=eSRd_slcle=L23   re13INnnFILSmp>205#s(5   re13INnnFILtim__<"L7>1a/abh_pox_ge+r5utim__<"L7>1a/tt4 G" clame=ad_reine" nam8/span>
e=ad_rei1*al rme=esp*nit /x_get_fr71*>98ef=5eq_205I"""""""""so>25so>205s133NU5"+6" NG9gValuerial91__>205#s(5   re13INnnFIL >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 1aon(),_2xh, dma3"L7>11on(),_2xh, tim__<"L7>11on(),_2xh1">813d):  eer w8(wi88=t 132a57 9*83 hre135r9ref=213w_>20R 1">>205#s(5   re13INnnFIL >135      i, printkRNINGt;#s(5LINERN_WARNING __FI5E__ b57mpa 3clal 38a hre5="dso>205s135;s(ȗs(5   re13INnnFILgsa/abh_pox_ge+r5uRN_WARs/tt4 1a/abh_pox_ge+r5udma3"L7>1a/tt4 1a/abh_pox_ge+r5utim__<"L7>1a/tt4 &ctyp++553     2058=3+code2012ink 5  rt.57f5a 3f="+42desizbares5a132r_d9OSINGlaRICC551  53 hM20>tyso>2!3   re13INnnFILgs nam8/SR2*IEceqigs , > !3   re13INnnFILdma3"L7>1 nam8/SR2*IEceqidma3"L7>1 , > !3   re13INnnFILtim__<"L7>1 nam8/SR2*IEceqitim__<"L7>1 , >_s5ru4172N>20r694" 12inktx_1  regist551>&ctyp++553r_chkcoi3a3b  9a94P 9a9y5a    58nfo>332r_d355so>205s1">>205&# !3   re13INnnFILgsa/abh_pox_ge+r5uRN_WARs/tt4 hr8120/a>> !3   re13INnnFILdma3"L7>1a/abh_pox_ge+r5udma3"L7>1a/tt4 hr8120/a>> !3   re13INnnFILtim__<"L7>1a/abh_pox_ge+r5utim__<"L7>1a/tt4 _s5ru4172N>20r694" 12inktx_1  regist551  53rMks>205&#########bal k>_s5ru4172N>20r694" 12inktx_1  regist551      if553  P 9aen5205I"for(so>205s133NU5"+i=5eq_8131nk85=t >>0>1__20r694" 12inktx_1  regist551  HDLC la53 "d_p2075=3>{3 _s5ru4172N>20r694" 12inktx_1  regist551 hcnow="a53 >>0>1__8 3clal 38ow=>20s730"> 730<35;s(5   re13INnnFIL3"L7>131lea/abh_por5u>     L746 = nd"ng_RKDref5"+gs nam8/SR2*IEceqigs , _s5ru4172N>20r694" 12inktx_1  regist551>&ctyp++553     2058=359an 730<35;s(5   re13INnnFILdma3"L7>131lea/abh_por5udma3"L7>1, 1 nam8/SR2*IEceqidma3"L7>1 , _s5ru4172N>20r694" 12inktx_1  regist551  53 hM20>ty_s5ru #5}1222222222222ick" 0>1__  332r_d355so>205s1">>205#s(5   re13INnnFIL3"L7>131lea/abh_por5u>     L746 = nd"ng_RKDref5"+gsa/abh_pox_ge+r5uRN_WARs/tt4>_s5ru4172N>20r694" 12inktx_1  regist551      if553      9e0<3a>ks  <1 5  rt.5957413 /4di355">>205&#########35;s(5   re13INnnFILdma3"L7>131lea/abh_por5udma3"L7>1, 1a/abh_pox_ge+r5udma3"L7>1a/tt4>_s5ru4172N>20r694" 12inktx_1  regist551      if553   205="so>205s1ef="+42desizbares5a132r_d9OSINGlaRICC551      if553   20R 133NULiv5nd"ng_RKDref5"+ghift31lea/abh_por5u>hiftihNa G" clame=ad_reine9=5eq_> 1 ? 4 :l>2RKDref x300>1__15190ptick}553r w8 799693" 3 c H>  <&c5ypaa>59l"s944sref43new>205kmi=8nkmp.80n   131lea/abh_por5u>     L746 hiftihNa _s5ru4172N>20r694" 12inktx_1  regist551class=_8L53 hM  8 3clal 38ow=>20s730"> 730<35;s( clame=ad_reine9sr_rxrdl98ef=5eq_205s133NU" clas13"L7>131lea/abh_por5u>     L746 hiftihNa _s5ru4172N>20r694" 12inktx_1  regist551  53r3rene90p>  5l59le o3t.)8120h0"> 730<35;s( clame=ad_reine9sr_txrdl98ef=5eq_131lea/abh_por5u>     L746 hiftihNa _s5ru4172N>20r694" 12inktx_1  regist561L746qf="d64     20e1=4+co1e20ee10y16a9*>205�"> 730<35;s( clame=ad_reine9sr_rxi=5eq_98ef=5eq_  205="so>205s1so>205s133NU" clas13"L7>131lea/abh_por5u>     L746 hiftihNa _s5ru4172N>20r694" 12inktx_1  regist5613746qf="d64   205I"0"> 730<35;s( clame=ad_reine9sr_txi=5eq_98ef=5eq_  4    L406 ceqxmi id=59694" e10513   >161  HDLC la64n5M  <&c6ypaa>60 9*83 hre135r9ref=213w_>20R 1so>23   re13INnnFILdma3"L7>131lea/abh_por5udma3"L7>1, hiftihNa _s5ru4172N>20r694" 12inktx_1  regist5616 HDLC la64    73023   re13INnnFILdma3"L7>131lea/abh_por5udma3"L7>1, hiftihNa _s5ru4172N>20r694" 12inktx_1  regist5618     if564r     93id359ancla>  98ef=5eq_3rene90p>  5l60le o3t.)8120h0"> 73023   re13INnnFILdma3"L7>131lea/abh_por5udma3"L7>1, hiftihNa _s5ru4172N>20r694" 12inktx_1  regist56 class=_8L64     201f=4+co1e20=511pa6 5l1361nfo>332r_d355so>205s1">>205#s( clame=ad_reine9sr_txdmaerroreq_98ef=5eq_>205&#########so>23   re13INnnFILdma3"L7>131lea/abh_por5udma3"L7>1, hiftihNa _s5ru4172N>20r694" 12inktx_1  regist56 2746qf="d64="d_p20=2=4+co1e20205="so>205s135;s( clame=ad_reine9sr_txdmao      if)f4 href9sr_txdmao sp*nit /x_get_fr71*>98ef=5eq_4    L406 ceqxmi id=59694" e10513   >161>&ctyp++564="d_p20=5=4+co1e20="1ter6io="s61 9*83 hre135r9ref=213so>23   re13INnnFILSim__<"L7>1 nam8/SR2*IEceqitim__<"L7>1 , 23   re13INnnFILBIT5nam8/SR2*IEceqiBIT 9*83 |end"ng_RKDref5"+BIT4nam8/SR2*IEceqiBIT4) _s5ru4172N>20r694" 12inktx_1  regist56 6 HDLC la64sref"20=6=4+co1e20a 11 r6e=esp61mpa 3clal 38a hre5="dso>205s1 clame=ad_reine9sr_tim__     if)f4 href9sr_tim__sp*nit /x_get_fr71*>98ef=5eq_1 nam8/SR2*IEceqitim__<"L7>1 , 23   re13INnnFILBIT7nam8/SR2*IEceqiBIT79*83 |end"ng_RKDref5"+BIT nam8/SR2*u+co1eBIT /a>4) _s5ru4172N>20r694" 12inktx_1  regist56 8     if564:hM98ef=5eq_161le o3t.)8120hso>23   re13INnnFILSim__<"L7>1a/abh_pox_ge+r5utim__<"L7>1a/tt4 hr812>23   re13INnnFILBIT5nam8/SR2*IEceqiBIT 9*83 |end"ng_RKDref5"+BIT4nam8/SR2*IEceqiBIT4) _s5ru4172N>20r694" 12inktx_1  regist56eL746qf="d64:hM332r_d355so>205s1">>205&# clame=ad_reine9sr_tim__     if)f4 href9sr_tim__sp*nit /x_get_fr71*>98ef=5eq_>205&#so>23   re13INnnFILSim__<"L7>1a/abh_pox_ge+r5utim__<"L7>1a/tt4 hr812>23   re13INnnFILBIT7nam8/SR2*IEceqiBIT79*83 |end"ng_RKDref5"+BIT nam8/SR2*u+co1eBIT /a>4) _s5ru4172N>20r694" 12inktx_1  regist561  64 205="35;s( clame=ad_reine9sr_tim__     if)f4 href9sr_tim__sp*nit /x_get_fr71*>98ef=5eq_4    L406 ceqxmi id=59694" e10513   >16 class=_8L64r"d_p20=5=4+co1e20 71NC_6LOSIN62 9*83 hre135rfor(so>205s133NU5"+i=5eq_8131nk85=t >>0>1__16 6 HDLC la64     2026=4+co1e203512FI6E__ b62mpa 3clal 38a hre5="dso>205s133NU5"+e" nam8/SR2*S hrget_aiveal_rsgener28"6"53   re13INnnFIL e" nam8/span>
 G" clame=ad_reine98ef=5eq_ 72420 =poroooooooo  04Request bottom half1processrev_if there'    72420 =poroooooooo                  * for it to do and"the bh is not alal ry runnrev. DMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12in6190ptick}564:hM5s63 9*94r> 72420 =poroooooooo                  * DMA IRQ9ak_13="eic9i  f_-1lSivea31194" 12in61L746qf="d64:  64:253   re13INnnFIL e" nam8/span>
 hr8120/a>> (so>205s133NU5"+ e" nam8/span>
a hcnow="+1e1_vtianree" nam8/span>
    id="L74ro"+48ef=5eq_
a hcnow="+1e1_vtianrnet8ef=5eq_4) hr8120/a>>_s5ru4172N>20r694" 12inktx_1  regist561>&ctyp++564     2026=4+co1e20I"17356>5y1363mpa 3clal 38a hre5="dso>20so>205s133NU5"+ e" nam8/span>
a hcnow="+1e1_vtianref5"+cod5=ttnending_bhNintkRNINGt;nenhr8120/a>> !3   re13INnnFIL e" nam8/span>
a hcnow="+1e1_vtianrbh_runnrevnam8/span>
>_s5ru4172N>20r694" 12inktx_1  regist5617 HDLC la6h_2h74/x_get_fr71*>98 sl16     63a>8 3clal 38ow=>20s730"> 7!3   re13INnnFIL e" nam8/span>
a hcnow="+1e1_vtianrbh_request spahw_stoppedr5ubh_request s>8 3c ropped.oc >>>0>1__16   63 25so>205s133NU5"+6" NG9gValuerial91__  63 9" c20e8=3+code20" cl)8120h0"> 730<35;s( clame=ad_reine >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer w8(wi88=t >205#s(ȗs( clame=ad_reine >135      i, printkRNINGt;#s(5LINERN_WARNING 
a hcnow="+1e1_vtianr  sln>
5y16a9*>205#s(5   re13INnnFILschedule_wor      if)f4 href3chedule_wor e=L/tl_timort_fr7 href5"+ e" nam8/span>
a hcnow="+1e1_vtianrtask/abh_pox_ge+r5utaskesp* 205="so>205s13   re13INnnFIL e" nam8/span>
a hcnow="+1e1_vtianrbh_request spahw_stoppedr5ubh_request s>8 3cnd enable po8 5r1truhref=588 3205kmi=8nkmp.80n &ctyp++563 hM64mpa 3clal 38a3   re13INnnFILspin_unloc      if)f4 href3pin_unloc e=L/tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t   63 1306 href64f5a 3eenab302so>25so>205s133NU5"+6" NG9gValuerial91__  63s9" c20e8=3+code2013   >635fre6_c#Lr35clas343a>)8120h clame=ad_reine >135      if)f4 href="+code=L/ttclame=ad_reineKERN_38ISs     if)f4 hrefKERN_38ISs#3nen0y/synclinkmpin_"dref"__LINE_+ct;en vea31194"_i4_rerupten 813d): 4Xer w8(wi88=t >205&# clame=ad_reine >135      i, kRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t 8 3_6if_wa65    3f="+42desizbares5a132r_d9OSINGlaRICC56_  63E    2034=3+code20ew_en 6a5s65f"> 4clal 41e"L>20oooooooo  0ng DEebiidrtemmIDmp.c#L741"  * call 8" class=61 hcnow="a63     2056=3+code20dral r6e=esp65mpa 3a>)8142i4_5so>205s133NU5"+ /srtup     if)f4 href3/srtupe=L/ttclame=ad_reinee" nam8/SR2*S hrget_aiveal_rsgener28"6"53   re13INnnFIL98ef=5eq_8 3opped.oc >>>0>1__161L746qf="d63:25so>205s133NU5"+6" NG9gValuerial91__  63 hM5l65le o3t.20>ty_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer w clame=ad_reine >135      i, printkRNINGt;#s(5LINERN_WARNING &ctyp++563="d_p2061=3+code20/a>(2t /x_get_fr71*>98ef=5eq_
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 hr812>   id="L74ro"+4ASYNC3/8ITIALIZBH_CTS_LATCHE5u1eASYNC3/8ITIALIZBHesp* idrtemmIDmp.c#L741"  * call 8" class=61      if563=205="returnil>2RKDref x300>1__161>&ctyp++563=G" c2053=3+code20tick" 6lsref66    3f="+42desizbares5a132r_d9OSINGlaRICC561  63=    2034=3+code20a h>13635" i662a h4ef="+43eso>2!3   re13INnnFIL98ef=5eq_4) opped.oc >>>0>1__161TICE 5s66a>8 3clal 38ow=>20s730"> 730135      if)f4 href="+code=L/ttclame=ad_reineKERN_ERynclinkmp5o8 5r1KERN_ERy"> 4clal 41e"L>20in_"dref"__LINE_+ct;en 813d): 4Xer w8(wi88=t  730135      i, printkRNINGt;#s(5LINERN_WARNING 161le o3t.)8120h0"> 7308 3
<6 5/a>3205s1ef="+42desizbares5a132r_d9OSINGlaRICC561  63hM98ef=5eq_2RKDref x300>1__16 class=_8L63 4    L406 ceqxmi id=59694" e10513   >161  HDLC la63="d_p2075=3+code20s:13 h6>132a67 9*83 hre135row="+1e1_vtianrmemse nam8/span>
8131nk85=t 4) __FI6E__ b67c13p31*1__161class=_8L63shM8 3clal 38oclal 41desiz9ooooooooo 04progr0a hardware for currooo par0a t__< 0ng DEebiidrtemmIDmp.c#L741"  * call 8" class=61>&ctyp++563     2058=3+code2012ink 6  rt.6789*83 hre135row="+1e1_vtianrrese _ee" nam8/span>
98ef=5eq_&ctyp++563r_chkcoi3a3b  9a94P 9a9y6a    68nfo>332r_d355   id="L74ro"+48hange_par0a131lea/abh_por5u8hange_par0a1sp*nit /x_get_fr71*>98ef=5eq_8131nk85=t 1_tim__     if)f4 href<"L7>1_tim__NING 53   re13INnnFILjiffie131lea/abh_por5ujiffie19*83 +row="+1e1_vtianrmsec1_to_jiffie131lea/abh_por5umsec1_to_jiffie1e=L/t10) 
    id="L74ro"+4132ref=58{3 TTY_IO_ERyOynclinkmp5o8 5r1TTY_IO_ERyOyNING 5l_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4132ref=58flag131lea/abh_por5uflag1/tt4 1__161class=_8L63 hM8 3clal 38ot /x_get_fr71*>98ef=5eq_
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 |nd enable po8 5r1ASYNC3/8ITIALIZBH_CTS_LATCHE5u1eASYNC3/8ITIALIZBHesp*  63 hM2RKDref x300>1__161      if563      9ef=3+c    3ef="+42desizbares5a132r_d9OSINGlaRICC561      if563      9e0<3a>ks  <1 6  rt.6957413a    )8142voidend"ng_RKDref5"+ghutdown     if)f4 href  <&c6ypaa>69l"s94opped.oc >>>0>1__161      if563   2RKDref x300>1__161class=_8L63 hM  20r694" 12inktx_1  regist561  63r     93id359ancla>  2!2t /x_get_fr71*>98ef=5eq_
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 hr812>   id="L74ro"+4ASYNC3/8ITIALIZBH_CTS_LATCHE5u1eASYNC3/8ITIALIZBHesp*  idrtemmIDmp.c#L741"  * call 8" class=61  63r3rene90p>  5l69le o3t.)8120hreturn>2RKDref x300>1__171>&ctyp++574     20ef=4+co1e20ef10pa7 5l1370a>8 4clal 4072N>20r694" 12inktx_1  regist571L746qf="d74     20e1=4+co1e20ee10y17a9*2t /x_get_fr71*>6" NG9gValuerial9  205="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en vea31194"_813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=713746qf="d74   205I"0"> 730<3rclame=ad_reine >135      i, printkRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t   4    L406 ceqxmi id=59694" e10513   >171  HDLC la74n5M  <&c7ypaa>70 9*83 hre135rclal 42in13l9oooooooo  048lear" /sr_i wait queue because" /sr_i 8hange< 0ng DEebiidrtemmIDmp.c#L741"  * call 8" class=716 HDLC la74     8 3clal 38ot /x_get_fr71*>wake_u"_i4_reruptiblhref=588131nk85=t 1_rment_wait_q     if)f4 href<"L7>1_rment_wait_q/tt4 8131nk85=t 3rene90p>  5l70esto4f="+42desizbares5a132r_d9OSINGlaRICC57 class=_8L74     201f=4+co1e20=511pa7 5l1371nfo>332r_d355   id="L74ro"+4del_tim__     if)f4 hrefdel_tim__e=L/tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131nk85=t 1_tim__     if)f4 href<"L7>1_tim__NING 29*>98epen(>    1tt13   >17190ptick}574     2013=4+co1e20e1113E7__to_71    3L746 30 t /x_get_fr71*>kfrehref=5898ef=5eq_4cnd enable po8 5r1NULL=5eq_205kmi=8nkmp.80n 8131nk85=t priflag131lea/abh_por5uflag1/tt4 
98ef=5eq_171esto4f="+42desizbares5a132r_d9OSINGlaRICC57eL746qf="d74:hM332r_d355so>2!3   re13INnnFIL98ef=5eq_
    id="L74ro"+4132ref=588131nk85=t 
    id="L74ro"+4132ref=58_remio131lea/abh_por5u_remio19_1>    id="L74ro"+4c_cflageq_   id="L74ro"+4HUPCL=5eq_>>0>1__171L746qf="d74 >205&#ort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 4    L406 ceqxmi id=59694" e10513   >17 class=_8L74r"d_p20=5=4+co1e20 71NC_7LOSIN72 9*83 hre135row="+1e1_vtianr3pin_unloc _irqrestorhref=588131nk85=t priflag131lea/abh_por5uflag1/tt4 8131nk85=t 
    id="L74ro"+4132ref=58TTY_IO_ERyOynclinkmp5o8 5r1TTY_IO_ERyOyNING 5l_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4132ref=58flag131lea/abh_por5uflag1/tt4 5s73nfo>332r_d355   id="L74ro"+498ef=5eq_
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 hr812= ~ enable po8 5r1ASYNC3/8ITIALIZBH_CTS_LATCHE5u1eASYNC3/8ITIALIZBHesp*  74:>>0>1__171class=_8L74     2035=4+co1e20ne1_en72RKDref x300>1__171>&ctyp++574     2026=4+co1e20I"17357>5y1373c13p31*1__1717 HDLC la7h_2h74/x_get_fr71*>98 sl17     73a>8 3clal 38ot /x_get_fr71*>spin_loc _irqsavhref=588131nk85=t priflag131lea/abh_por5uflag1/tt4   73 9" c20e8=3+code20" cl98ef=5eq_5y17a9*4cnd enable po8 5r198ef=5eq_
4cndl>2RKDref x300>1__17190ptick}573 hM2t /x_get_fr71*>98ef=5eq_4cnnd enable po8 5r1MGSL_MODE_HDLC31lea/abh_por5uMGSL_MODE_HDLCesp* ||end"ng_RKDref5"+cod5=tty" 13/a>8131nk85=t 98ef=5eq_74mpa 3clal 38a2222a98ef=5eq_  73s9" c20e8=3+code2013   >735fre74le o3t.et_eSRdal1/tt4it /x_get_fr71*>98ef=5eq_8131nk85=t 4cndl>2RKDref x300>1__171      if573E    2034=3+code20ew_en 7a98ef=5eq_5s75l"s944sref43new>205kmi=8nkmp.80n 2t /x_get_fr71*>CDCH_CTS_LATCHE5u1eCDCHesp*|t /x_get_fr71*>CCTSnclinkmp5o8 5r1CCTSesp* 5l75le o3t.98ef=5eq_&ctyp++573="d_p2061=3+code20/a>(2t /x_get_fr71*>98ef=5eq_8131nk85=t 
    id="L74ro"+4132ref=58> nd"ng_RKDref5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4132ref=58_remio131lea/abh_por5u_remio19_1>    id="L74ro"+4c_cflageq_   id="L74ro"+4CREAH_CTS_LATCHE5u1eCREAHesp*  )f="+42desizbares5a132r_d9OSINGlaRICC571      if573=205="ow="+1e1_vtianrrx_sta" nam8/span>
98ef=5eq_3pin_unloc _irqrestorhref=588131nk85=t priflag131lea/abh_por5uflag1/tt4 1__171TICE 5s76a>8 33> 72420 =poroooooooo  04Reconfigure adapter based on new par0a t__  73shM171le o3a>)8142voidend"ng_RKDref5"+8hange_par0a131lea/abh_por5u8hange_par0a1sp*nit /x_get_fr71*>e" nam8/SR2*S hrget_aiveal_rsgener28"6"3   re13INnnFIL98ef=5eq_  73sref"207f=3+code20r86
<7 5/a>3opped.oc >>>0>1__171  73hM205s133NU5"+bits_per_cha_     if)f4 hrefbits_per_cha_/tt42!3   re13INnnFIL98ef=5eq_
    id="L74ro"+4132ref=58132a77 9*83 hre135r9ref=213return>2RKDref x300>1__171 hcnow="a73s    2056=3+code20">__FI7E__ b77c13p31*1__171class=_8L73shM332r_d355so>2nd"ng_RKDref5"+6" NG9gValuerial9&ctyp++573     2058=3+code2012ink 7  rt.77f5a 3eenab302222222223w="+1a >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=71  73 hM)8120h0"> 730<33w="+1a >135      i, printkRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t   73rMks
    id="L74ro"+4132ref=58_remio131lea/abh_por5u_remio19_1>    id="L74ro"+4c_cflageq_29*>98epen(>    1tt13   >17eL746qf="d73  72420 =poroooooooo  04so>B0 rate (hangup) specified"then negate DTR and"RTS 0ng DEebiidrtemmIDmp.c#L741"  * call 8" class=71class=_8L73 {3 2nd"ng_RKDref5"+8flageq_   id="L74ro"+4CBAUH_CTS_LATCHE5u1eCBAUH*nit idrtemmIDmp.c#L741"  * call 8" class=7e hcnow="a73 8131nk85=t cod5=tty" 13/a>8131nk85=t   ks  <1 7  rt.7957413a   id="L74ro"+4CSIZE_CTS_LATCHE5u1eCSIZEesp*  opped.oc >>>0>1__171      if573   205case    id="L74ro"+4CS5_CTS_LATCHE5u1eCS 9*83:" clame=ad_reine98ef=5eq_  <&c7ypaa>79 9*83 hre135r9ref=2case    id="L74ro"+4CS7_CTS_LATCHE5u1eCS79*83:" clame=ad_reine98ef=5eq_  &ctyp++573r     93id359ancla>  3rene90p>  5l79le o3t.)812ef="+42desizbares5a132r_d9OSINGlaRICC581>&ctyp++584     20ef=4+co1e20ef10pa8 5l1380a>8 4clal 4072N>20r694" 12inktx_1  regist581L746qf="d84     20e1=4+co1e20ee10y18a9*2t /x_get_fr71*>8flageq_   id="L74ro"+4CSTOPB_CTS_LATCHE5u1eCSTOPB*nit idrtemmIDmp.c#L741"  * call 8" class=812746qf="d84   205="_s5ruor5" clas198ef=5eq_    205="_s5ruor5" clas198ef=5eq_  <&c8ypaa>80l"s944sref43new>205kmi=8nkmp.80n      id="L74ro"+4PARENB_CTS_LATCHE5u1ePARENBesp*  opped.oc >>>0>1__1818     if584r     93id359ancla>  2nd"ng_RKDref5"+8flageq_   id="L74ro"+4PARODH_CTS_LATCHE5u1ePARODH*nit idrtemmIDmp.c#L741"  * call 8" class=819     if584r3rene90p>  5l80le o3t.)8120h0"> 730<3   re13INnnFIL98ef=5eq_>205#s(5   re13INnnFIL98ef=5eq_205kmi=8nkmp.80n 20555so>2t /x_get_fr71*>8flageq_   id="L74ro"+4CMSPAR_CTS_LATCHE5u1eCMSPAR"s94 idrtemmIDmp.c#L741"  * call 8" class=814746qf="d84:hM205="35;s(5   re13INnnFIL98ef=5eq_181esto4clal 42in13l9oooooooo          * FIFO (324bytes) at specified"data rateg DEebiidrtemmIDmp.c#L741"  * call 8" class=8eL746qf="d84:hM3clal 42in13l9oooooooo          *ng DEebiidrtemmIDmp.c#L741"  * call 8" class=81L746qf="d84 205="35;s(5   re13INnnFIL98ef=5eq_ 72420 =poroooooooo  04so>ro"+"data rate is set to 460800 or less"theng DEebiidrtemmIDmp.c#L741"  * call 8" class=815746qf="d84r"d_p20=5=4+co1e20 71NC_8LOSIN82f"> 4clal 41e"L>20oooooooo          * allow "   settrev1 to o#L7ride,4otherwise keep"theg DEebiidrtemmIDmp.c#L741"  * call 8" class=816 HDLC la84     2026=4+co1e203512FI8E__ b82c13p3clal 41e"L>20oooooooo          * currooo data rate.g DEebiidrtemmIDmp.c#L741"  * call 8" class=817 HDLC la84     2017=4+co1e206912_C8OSING82a>8 33> 72420 =poroooooooo          *ng DEebiidrtemmIDmp.c#L741"  * call 8" class=818     if584 2 clame=ad_reine98ef=5eq_>>0>1__18e9     if584 9" c20e8=4+co1e20)8120h clame=ad_reine98ef=5eq_8131nk85=t 
    id="L74ro"+4132ref=585s83nfo>332r_d355ef="+42desizbares5a132r_d9OSINGlaRICC581L746qf="d84:2h clame=ad_reine98ef=5eq_>>0>1__18190ptick}584:hM20555 clame=ad_reine98ef=5eq_>>0>1__181      if584     2034=4+co1e20pa13sy8clink834buf4L746 40   >205="35;s(a>)8120h clame=ad_reine98ef=5eq_5y1383mpa 3clal 38a3   re13INnnFIL98ef=5eq_)8120h > 72420 =poroooooooo  04Add .02 seconds of slop *ng DEebiidrtemmIDmp.c#L741"  * call 8" class=817 HDLC la8h_2h74/x_get_fr71*>98 sl18     83code4_s5ru4172N>20r694" 12inktx_1  regist58   83 2 clame=ad_reine8flageq_   id="L74ro"+4CRTSCTSnclinkmp5o8 5r1CRTSCTS"s94 idrtemmIDmp.c#L741"  * call 8" class=81  83 9" c20e8=3+code20" cl)8120h clame=ad_reine98ef=5eq_
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 |nd enable po8 5r1ASYNC3CTS_FLOW_CTS_LATCHE5u1eASYNC3CTS_FLOWg t45y18a9*>205&#ort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 hr812= ~ enable po8 5r1ASYNC3CTS_FLOW_CTS_LATCHE5u1eASYNC3CTS_FLOWg t4205="_s5ruor5" clas198ef=5eq_
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 hr812= ~ enable po8 5r1ASYNC3CHECK_CH_CTS_LATCHE5u1eASYNC3CHECK_CHg t484mpa 3clal 38a hre5="dso>205s133NU5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4flag131lea/abh_por5uflag1/tt4 |nd enable po8 5r1ASYNC3CHECK_CH_CTS_LATCHE5u1eASYNC3CHECK_CHg t4  83 1308 href8489*83 hre135rolal 42in13l9oooooooo  04process"tty input control flag1 *ng DEebiidrtemmIDmp.c#L741"  * call 8" class=81  83s9" c20e8=3+code2013   >835fre84esto4f="+42desizbares5a132r_d9OSINGlaRICC581      if583E_83s205f=3+code20RIC_HD8Cfo332r_d355   id="L74ro"+498ef=5eq_1_mask2=5eq_1_mask2g t4 G" clame=ad_reineOVRN_CTS_LATCHE5u1eOVRNg t42t /x_get_fr71*>I_INPCK_CTS_LATCHE5u1eI_INPCKg t42nd"ng_RKDref5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4132ref=58  83E205="_s5ruor5" clas198ef=5eq_1_mask2=5eq_1_mask2g t4 |nd enable po8 5r1PE_CTS_LATCHE5u1ePEg t4 |d enable po8 5r1FRME_CTS_LATCHE5u1eFRMEg t48131nk85=t 
    id="L74ro"+4132ref=588131nk85=t 
    id="L74ro"+4132ref=58205="_s5ruor5" clas198ef=5eq_1_maska/abh_pox_ge+r5uread_<"L7>1_maskag t4 |nd enable po8 5r1BRKH_CTS_LATCHE5u1eBRKHg t45s85 9*83 hre135rso>2nd"ng_RKDref5"+I_IGNPAR_CTS_LATCHE5u1eI_IGNPARg t42nd"ng_RKDref5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4132ref=58205s133NU5"+cod5=tty" 13/a>8131nk85=t 1_mask2=5eq_1_mask2g t4 |nd enable po8 5r1PE_CTS_LATCHE5u1ePEg t4 |d enable po8 5r1FRME_CTS_LATCHE5u1eFRMEg t48131nk85=t 
    id="L74ro"+4132ref=58>>0>1__181  83:8131nk85=t 1_maska/abh_pox_ge+r5uignore_<"L7>1_maskag t4 |nd enable po8 5r1BRKH_CTS_LATCHE5u1eBRKHg t45l85le o3t.)8120h lal 42in13l9oooooooo  04If ignorrev_parity and"break indicators, ignoreg DEebiidrtemmIDmp.c#L741"  * call 8" class=8190ptick}583:hM(3clal 42in13l9oooooooo                  * o#L7runs too.  (For real raw supro"+).g DEebiidrtemmIDmp.c#L741"  * call 8" class=81>&ctyp++583="d_p2061=3+code20/a>(205="so>2nd"ng_RKDref5"+I_IGNPAR_CTS_LATCHE5u1eI_IGNPARg t42nd"ng_RKDref5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4132ref=58205I"0"> 730205s133NU5"+cod5=tty" 13/a>8131nk85=t 1_mask2=5eq_1_mask2g t4 |nd enable po8 5r1OVRN_CTS_LATCHE5u1eOVRNg t4205kmi=8nkmp.80n 5s86a>8 3ef="+42desizbares5a132r_d9OSINGlaRICC581  83s    2058=3+code20href5"8riv5686f5a 3f="+42desizbares5a132r_d9OSINGlaRICC581  83shM181le o3a>)8142i4_5so>205s133NU5"+get_e>)8131lea/abh_por5uget_e>)81e=L/ttclame=ad_reinee" nam8/SR2*S hrget_aiveal_rsgener28"6"205s133NU5"+cod5=tty" 13/a>8131nk85=t <, struc_5so>205s133NU5"+mgsl_i8ef=5eq_205s133NU5"+__us__     if)f4 href__us__r28"6"so>205s133NU5"+us___i8ef=5eq_  83sref"207f=3+code20r86
<8 5/a>3opped.oc >>>0>1__181  83hM205s133NU5"+L7req_2 clame=ad_reine6" NG9gValuerial9205="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=81  HDLC la83="d_p2075=3+code20s:13 h8>132a87 9*83 hre135r9ref=213   >205="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t __FI8E__ b87c13p31*1__181class=_8L83shM332r_d355so>2!3   re13INnnFILus___i8ef=5eq_>>0>1__181>&ctyp++583     2058=3+code2012ink 8  rt.87f5a 3eenab302222222223w="+1amemse nam8/span>
8131nk85=t 8131nk85=t mutex_loc      if)f4 hrefmutex_loc e=L/tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4mutex     if)f4 hrefmutexesp* >205&#ort_fr7 href5"+COPY_TO_USER_CTS_LATCHE5u1eCOPY_TO_USERe=L/ttclame=ad_reineL7req_8131nk85=t 205s133NU5"+mgsl_i8ef=5eq_8131nk85=t 
    id="L74ro"+4mutex     if)f4 hrefmutexesp* 20555so>2t /x_get_fr71*>L7req_205="35;s(return -t /x_get_fr71*>EFAULT_CTS_LATCHE5u1eEFAULTg t4{3 1__181class=_8L83 hM8 3clal 38oreturn l>2RKDref x300>1__18e>&ctyp++583     2058=359an  )8142i4_5so>205s133NU5"+get_ear0a131lea/abh_por5uget_ear0a1e=L/ttclame=ad_reinee" nam8/SR2*S hrget_aiveal_rsgener28"6"205s133NU5"+cod5=tty" 13/a>8131nk85=t <, so>205s133NU5"+MGSL_PARAMSnclinkmp5o8 5r1MGSL_PARAMSr28"6so>205s133NU5"+__us__     if)f4 href__us__r28"6"so>205s133NU5"+us___ear0a131lea/abh_por5uus___ear0a1g t4 idrtemmIDmp.c#L741"  * call 8" class=81      if583      9e0<3a>ks  <1 8  rt.8957413opped.oc >>>0>1__181      if583   205s133NU5"+L7req_9gValuerial9  205="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=81  HDLC la83r w8 799693" 3 c H>  <&c8ypaa>89 9*83 hre135r9ref=240   >205="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t   1__181class=_8L83 hM  8 3clal 38ot /x_get_fr71*>mutex_loc      if)f4 hrefmutex_loc e=L/tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 
    id="L74ro"+4mutex     if)f4 hrefmutexesp* 205s133NU5"+us___ear0a131lea/abh_por5uus___ear0a1g t4 5l_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 3rene90p>  5l89le o3t.8131nk85=t 
    id="L74ro"+4mutex     if)f4 hrefmutexesp* >205&#so>2h clame=ad_reine6" NG9gValuerial9  205="  >205="_s5ruor5" clas1 >135      if)f4 href="+code=L/t ty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=913746qf="d94   205I"0"> 730<  >205="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t   205="return -t /x_get_fr71*>EFAULT_CTS_LATCHE5u1eEFAULTg t4  <&c9ypaa>90 9*83 hre135ref="+42desizbares5a132r_d9OSINGlaRICC5916 HDLC la94   1__1917 HDLC la94 hM  8 3clal 38oreturn l>2RKDref x300>1__1918     if594r     93id359ancla>  3rene90p>  5l90esto4f="+42desizbares5a132r_d9OSINGlaRICC59 class=_8L94     201f=4+co1e20=511pa9 5l13910a h4a>)8142i4_5so>205s133NU5"+set_ear0a131lea/abh_por5uset_ear0a1e=L/ttclame=ad_reinee" nam8/SR2*S hrget_aiveal_rsgener28"6"205s133NU5"+cod5=tty" 13/a>8131nk85=t <, so>205s133NU5"+MGSL_PARAMSnclinkmp5o8 5r1MGSL_PARAMSr28"6so>205s133NU5"+__us__     if)f4 href__us__r28"6"so>205s133NU5"+new_ear0a131lea/abh_por5unew_ear0a1*nit idrtemmIDmp.c#L741"  * call 8" class=91L746qf="d94     20e1=4+co1e20/a11>>0>1__19 2746qf="d94="d_p20=2=4+co1e20205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__19190ptick}594     2013=4+co1e20e1113E9__to_91pbuf4L746 40 so>205s133NU5"+MGSL_PARAMSnclinkmp5o8 5r1MGSL_PARAMSr28"6so>205s133NU5"+tmp_ear0a131lea/abh_por5utmp_ear0a1/tt4>2RKDref x300>1__1914746qf="d94:hM205s133NU5"+L7req_205kmi=8nkmp.80n 2 clame=ad_reine6" NG9gValuerial98 3clal 38ow=>20s="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=9 8     if594:hM205="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t 191le o3t.205s133NU5"+new_ear0a131lea/abh_por5unew_ear0a1*nit, sizeof2nd"ng_RKDref5"+MGSL_PARAMSnclinkmp5o8 5r1MGSL_PARAMSr28") 2 clame=ad_reineL7req_>>0>1__191L746qf="d94 >205&#so>2h clame=ad_reine6" NG9gValuerial9205="35;s(5   re13INnnFIL >135      if)f4 href="+code=L/t ty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=9190ptick}594     2013=4+co1e20ne1_en9205I"0"> 730<  >205="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t 205="return -t /x_get_fr71*>EFAULT_CTS_LATCHE5u1eEFAULTg t48131nk85=t 
    id="L74ro"+4mutex     if)f4 hrefmutexesp* 8131nk85=t 8131nk85=t 5s93nfo>332r_d355   id="L74ro"+4spin_unloc _irqrestorhref=588131nk85=t 8131nk85=t 
    id="L74ro"+4mutex     if)f4 hrefmutexesp* 2RKDref x300>1__1916 HDLC la94     2026=4+co1e20I"17359>5y1393mpa 3ef="+42desizbares5a132r_d9OSINGlaRICC5917 HDLC la9h_2h74/x_get_fr71*>98 sl19     93code4_s5ru4172N>20r694" 12inktx_1  regist59   93 )8142i4_5so>205s133NU5"+get_txidlhref=58205s133NU5"+cod5=tty" 13/a>8131nk85=t <, i4_5so>205s133NU5"+__us__     if)f4 href__us__r28"6"so>205s133NU5"+idlh_mU5"=tty" 13/a>8131ndlh_mU5"*nit idrtemmIDmp.c#L741"  * call 8" class=91  93 9" c20e8=3+code20" cl>>0>1__19 class=_8L93r w8 204f=3+code205so332r_d355i4_5so>205s133NU5"+L7req_5y19a9*2 clame=ad_reine6" NG9gValuerial9205I"_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=9       if593     2034=3+code20205="<  >205="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 53   re13INnnFIL9od5=tty" 13/a>8131nk85=t 8131nk85=t 8131ndlh_mU5"*nit 205kmi=8nkmp.80n 94mpa 3clal 38a3   re13INnnFILCOPY_TO_USER_CTS_LATCHE5u1eCOPY_TO_USERe=L/ttclame=ad_reineL7req_205s133NU5"+idlh_mU5"=tty" 13/a>8131ndlh_mU5"*nit 5l_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131ndlh_mU5"*nit 5sizeof2+co) >>0>1__19   93 1309 href94f5a 3eenab30222222222so>2h clame=ad_reine6" NG9gValuerial9935fre94le o3t.)8120h0"> 730<3   re13INnnFIL >135      if)f4 href="+code=L/t ty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=91      if593E_83s205f=3+code20RIC_HD9Cfo3205s1 >205="<  >205="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t >205&#return -t /x_get_fr71*>EFAULT_CTS_LATCHE5u1eEFAULTg t4_9if_wa95    3f="+42desizbares5a132r_d9OSINGlaRICC591      if593E    2034=3+code20ew_en 9a2RKDref x300>1__1915746qf="d93=    2035=3+code20sAI"L795">5s95 9*83ef="+42desizbares5a132r_d9OSINGlaRICC5916 HDLC la93     2056=3+code20dral r9e=esp95c13p31*1__1917 HDLC la93E    2017=3+code2057*3a>)8142i4_5so>205s133NU5"+set_txidlhref=58205s133NU5"+cod5=tty" 13/a>8131nk85=t <, i4_5so>205s133NU5"+idlh_mU5"=tty" 13/a>8131ndlh_mU5"*nit idrtemmIDmp.c#L741"  * call 8" class=91  93:>>0>1__191  93 hM5l95le o3t.205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__19190ptick}593:hM(8 4clal 4072N>20r694" 12inktx_1  regist591>&ctyp++593="d_p2061=3+code20/a>(2t /x_get_fr71*>6" NG9gValuerial9205="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=9190ptick}593=G" c2053=3+code20tick" 9lsref96pbuf4L746 40   >205I"0"> 730205s133NU5"+ >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t 8131ndlh_mU5"*nit  8131nk85=t 8131nk85=t 8131ndlh_mU5"*nit G" clame=ad_reine9dlh_mU5"=tty" 13/a>8131ndlh_mU5"*nit5s96a>8 3clal 38ot /x_get_fr71*>tx_set_idlhref=588131nk85=t <  8131nk85=t 196le o3t.2RKDref x300>1__191  93sref"207f=3+code20r86
<9 5/a>3ef="+42desizbares5a132r_d9OSINGlaRICC591  93hM)8142i4_5so>205s133NU5"+tx_enablhref=58205s133NU5"+cod5=tty" 13/a>8131nk85=t <, i4_5so>205s133NU5"+enablhref=58>>0>1__19 class=_8L93 205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__191  HDLC la93="d_p2075=3+code20s:13 h9>132a97l"s944sref43new>205kmi=8nkmp.80n __FI9E__ b97mpa 3clal 38aso>2 clame=ad_reine6" NG9gValuerial98 3clal 38ow=>20s="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class=91>&ctyp++593     2058=3+code2012ink 9  rt.97f5a 3eenab302222222220"> 730205s133NU5"+ >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t &ctyp++593r_chkcoi3a3b  9a94P 9a9y9a    98nfo>332r_d355   id="L74ro"+4spin_loc _irqsavhref=588131nk85=t 25!3   re13INnnFIL98ef=5eq_20555clal 38ot /x_get_fr71*>tx_sta" nam8/span>
205="ef="+42desizbares5a132r_d9OSINGlaRICC591  HDLC la93 "d_p2075=3>{3 >>0>1__19e hcnow="a93 >>0>1__19eclass=_8L93 hM8 3clal 38ow=>20s="clal 38ot /x_get_fr71*>tx_stopnam8/span>
  93 hM8131nk85=t       <&c9ypaa>99 9*83a>)8142i4_5so>205s133NU5"+tx_abortnam8/span>
205s133NU5"+cod5=tty" 13/a>8131nk85=t < pped.oc >>>0>1__191 hcnow="a93   >>0>1__191class=_8L93 hM  8 3clal 38oe=eSRd_sllong6so>205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__191>&ctyp++593r     93id359ancla>  3rene90p>  5l99le o3t.2 clame=ad_reine6" NG9gValuerial9&ctyp++301>&c3rene90p>  &>301>>8 3clal 38ow=>20s="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer wid/pre>&>drtemmIDmp.c#L741"  * call 8" class3011&ctyp++301      9e0<3a>ks  <1301  >30157413 /4di355">>205&#w=>20s="_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t 29*>98epen(>    1tt13   >3013&ctyp++301   301pbuf4L746 40 so>205s133NU5"+spin_loc _irqsavhref=588131nk85=t    id="L74ro"+4cod5=tty" 13/a>8131nk85=t 8131mU5"*nit Gnd enable po8 5r1MGSL_MODE_HDLC=tty" 13/a>8131MGSL_MODE_HDLCe=L/   opped.oc >>>0>1__3015&ctyp++301r w8 799693" 3 c H>  <&301r >301 9*83 hre135r9ref=2403   re13INnnFILcod5=tty" 13/a>8131nk85=t 8131ne1_valu"esp*ni_tim= ~ enable po8 5r1UDRN_CTS_LATCHE5u1eUDRN/tt4>2RKDref x300>1__3016&ctyp++301   301mpa 3clal 38a hre5="dso>205s133NU5"+cod5=tty" 13/a>8131nk85=t 8131ne1_valu"esp*n|nd enable po8 5r1IDLE=tty" 13/a>8131IDLE/tt4>2RKDref x300>1__3017&ctyp++301 hM  301a>8 3clal 38ow=>20s="_s5ruor5" clas1write_reg=tty" 13/a>8131write_rege=L/ttclame=ad_reine98ef=5eq_8131nk85=t 8131ne1_valu"esp*);0h lal 42in13l9oooooooo  04disablh tx <"L7>12i4_L7rupt1 *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3018&ctyp++301r     93id359ancla>  301f5a 3eenab302222222223w="+1awrite_reg=tty" 13/a>8131write_rege=L/ttclame=ad_reine98ef=5eq_8131IDLE/tt4 +53   re13INnnFILUDRN_CTS_LATCHE5u1eUDRN/tt4));0h 0h lal 42in13l9oooooooo  04clear pendrev_*ng DEebiidrtemmIDmp.c#L741"  * call 8" class3019&ctyp++301r3rene90p>  301esto4f="+42desizbares5a132r_d9OSINGlaRICC301>&ctyp++304     201f=4+co1e20=511p304  >304 5a 3eenab302222222223w="+1awrite_reg=tty" 13/a>8131write_rege=L/ttclame=ad_reine98ef=5eq_30457413 /4di355">>205&#ort_fr7 href5"+write_reg=tty" 13/a>8131write_rege=L/ttclame=ad_reine98ef=5eq_304 cla3s="6r39 sl>29*>98epen(>    1tt13   >3013&ctyp++304     2013=4+co1e20e1113304  >304pbuf4L746 40   >205I"_s5ruor5" clas1write_reg=tty" 13/a>8131write_rege=L/ttclame=ad_reine98ef=5eq_8131nk85=t 304mpa 3clal 38areturn l>2RKDref x300>1__3047&ctyp++304     2017=4+co1e20 311 304  >304a>8 3ef="+42desizbares5a132r_d9OSINGlaRICC3048&ctyp++304:hM304f5a 3f="+42desizbares5a132r_d9OSINGlaRICC3049&ctyp++304:9" c20e8=4+co1e20ti11s304:9>304le o3a>)8142i4_5so>205s133NU5"+rx_enablhref=58205s133NU5"+cod5=tty" 13/a>8131nk85=t <, i4_5so>205s133NU5"+enablhref=58&ctyp++304:hM304:13p3opped.oc >>>0>1__3041&ctyp++304 30457413 /4di355e=eSRd_sllong6so>205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__3042&ctyp++304 304 cla3s="6r39 sl>29*>98epen(>    1tt13   >3023&ctyp++304     2013=4+co1e20ne1_e304  >30435a 3eenab302so>2 clame=ad_reine6" NG9gValuerial93044buf4L746 40   >205="_s5ruor5" clas1 >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class3045&ctyp++304r"d_p20=5=4+co1e20 71NC304r">304 9*83 hre135r9ref=240   >205=_s5ruor5" clas1 >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t 8131nk85=t 304le o3t.)8120hso>25!3   re13INnnFIL98ef=5eq_304:9*83 hre135r9ref=240   >205=_s5ruor5" clas1rx_sta" nam8/span>
30457413 /4di355er2222 opped.oc >>>0>1__3042&ctyp++304:304  L736clas30 sl>205="so>253   re13INnnFIL98ef=5eq_304 9*83 hre135rort_fr7 href5"+spin_unloc _irqrestorhref=588131nk85=t 304mpa 3clal 38areturn l>2RKDref x300>1__3037&ctyp++30h_2h74/x_get_fr71*>98 sl30h_2>304a>8 3ef="+42desizbares5a132r_d9OSINGlaRICC3038&ctyp++303 304f5a 3f="+42desizbares5a132r_d9OSINGlaRICC3039&ctyp++303 9" c20e8=3+code20" cl<303 9>304le o33lal 42in13l9oooooooo  04wait for specifi_slrme4_5to occurg DEebiidrtemmIDmp.c#L741"  * call 8" class304>&ctyp++303r w8 204f=3+code205so303re o33lal 42in13l9oooooooo _*ng DEebiidrtemmIDmp.c#L741"  * call 8" class3041&ctyp++303sref"2041=3+code205">5y303sr>3031e o3a>)8142i4_5so>205s133NU5"+wait_mgsl_rme4_=tty" 13/a>8131wait_mgsl_rme4_e=L/ttclame=ad_reinee" nam8/SR2*S hrget_aiveal_rsgener28"6"205s133NU5"+cod5=tty" 13/a>8131nk85=t <, i4_5so>205s133NU5"+__us__     if)f4 href__us__r28"6"so>205s133NU5"+mask_pt_     if)f4 hrefmask_pt_*nit idrtemmIDmp.c#L741"  * call 8" class3042&ctyp++303s303213p3opped.oc >>>0>1__3043&ctyp++303 hM303pbuf4L746 40 e=eSRd_sllong6so>205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__3044&ctyp++303     2034=3+code203034buf4L746 40 i4_5so>205s133NU5"+131lea/abh_por5us/tt4>2RKDref x300>1__3045&ctyp++303r    2035=3+code20new_e303r >3035buf4L746 40 i4_5so>205s133NU5"+rcnam8/span>
2RKDref x300>1__3046&ctyp++303 hM303mpa 3clal 38astruc_5so>205s133NU5"+mgsl_i8ef=5eq_2RKDref x300>1__3047&ctyp++303     2017=3+code20ist5r303  >3037buf4L746 40 i4_5so>205s133NU5"+rme4_131lea/abh_por5urme4_1/tt4>2RKDref x300>1__3048&ctyp++303 13303 <>3038buf4L746 40 i4_5so>205s133NU5"+mask     if)f4 hrefmask/tt4>2RKDref x300>1__3049&ctyp++303s9" c20e8=3+code2013   303s9>3039pa 3clal 38astruc_55so>205s133NU5"+_input_eSRdal_rme4_131lea/abh_por5u_input_eSRdal_rme4_1r28"23   re13INnnFILoldeSR131lea/abh_por5uoldeSR1esp* 53   re13INnnFILneweSR131lea/abh_por5uneweSR1/tt4>2RKDref x300>1__305>&ctyp++303E_83s205f=3+code20RIC_H303E_>303E9*83 hre135rort_fr7 href5"+DECLARE_WAITQUEUE=tty" 13/a>8131DECLARE_WAITQUEUEe=L/ttclame=ad_reinewait=tty" 13/a>8131waitesp* 53   re13INnnFILcurre4_=tty" 13/a>8131curre4_/tt4 30357413aEFAULT_CTS_LATCHE5u1eEFAULTg t4303 9*83 hre135ref="+42desizbares5a132r_d9OSINGlaRICC3036&ctyp++303     2056=3+code20dral 303  >303c13p31*1__3057&ctyp++303E    2017=3+code2057*3037fo>332r_d355so>2nd"ng_RKDref5"+6" NG9gValuerial9303f5a 3eenab302222222223w="+1a >135      if)f4 href="+code=L/tty/synclinkmpin_"dref"__LINE_+ct;en 813d): 4Xer widrtemmIDmp.c#L741"  * call 8" class3059&ctyp++303 hM303le o3t.)8120h0"> 730<3   re13INnnFIL >135      i, printkRNINGt;#s(5LINERN_WARNING 3   re13INnnFIL9od5=tty" 13/a>8131nk85=t (<303=">30315a 3eenab3023   re13INnnFILspin_loc _irqsavhref=588131nk85=t 29*>98epen(>    1tt13   >3063&ctyp++303=G" c2053=3+code20tick"303=G>303pbuf4L746 40 slal 42in13l9oooooooo  04return iooodiately5so>a>)8e matches4request_slrme4_1 *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3064&ctyp++303=    2034=3+code20a h>1303= >30345a 3eenab3023   re13INnnFILget_eSRdal131lea/abh_por5uget_eSRdal1e=L/ttclame=ad_reine98ef=5eq_8131nk85=t 303a>8 3clal 38ot /x_get_fr71*>rme4_131lea/abh_por5urme4_1/tt4 G" clame=ad_reinemask     if)f4 hrefmask/tt4ni_tim1*1__3068&ctyp++303s    2058=3+code20href5303s >303f5a 3eenab30222222222( (ttclame=ad_reines31lea/abh_por5us/tt4 hr812>   id="L74ro"+4SerialSSRdal_DSR_CTS_LATCHE5u1eSerialSSRdal_DSRbuf4  ?d enable po8 5r1MgslEme4__DsrActivhref=581__3069&ctyp++303shM303le o3t.)8120h0"(ttclame=ad_reines31lea/abh_por5us/tt4 hr812>   id="L74ro"+4SerialSSRdal_DCH_CTS_LATCHE5u1eSerialSSRdal_DCHbuf4  ?d enable po8 5r1MgslEme4__DcdActivhref=581__307>&ctyp++303sref"207f=3+code20r86303se o3t.)8120h0"(ttclame=ad_reines31lea/abh_por5us/tt4 hr812>   id="L74ro"+4SerialSSRdal_CTSnclinkmp5o8 5r1SerialSSRdal_CTSbuf4  ?d enable po8 5r1MgslEme4__CtsActivhref=581__3071&ctyp++303hM30357413 /4di355">>205&#w=(ttclame=ad_reines31lea/abh_por5us/tt4 hr812>   id="L74ro"+4SerialSSRdal_RInclinkmp5o8 5r1SerialSSRdal_RIbuf4   ?d enable po8 5r1MgslEme4__RiActivhref=5830325a 3eenab302so>2 clame=ad_reinerme4_131lea/abh_por5urme4_1/tt4  opped.oc >>>0>1__3073&ctyp++303 G" c2053=3+code20it an303 G>303pbuf4L746 40   >205I"_s5ruor5" clas1spin_unloc _irqrestorhref=588131nk85=t rxit=tty" 13/a>8131rxitg t4__F303s >303c13p31*1__3077&ctyp++303shM303a>8 3clal 38otlal 42in13l9oooooooo  04savh curre4_ irq 8ef=51 *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3078&ctyp++303     2058=3+code2012ink303  >303f5a 3eenab302ort_fr7 href5"+8preveq_8131nk85=t 8131nk85=t  P 9ae303 <>30325a 3eenab302so>2 clame=ad_reinemask     if)f4 hrefmask/tt4ni_tim>2 clame=ad_reineMgslEme4__ExitHf=5Mo5"=tty" 13/a>8131MgslEme4__ExitHf=5Mo5"/tt4+ clame=ad_reineMgslEme4__IdlhRecec#Ldref=58>>0>1__3083&ctyp++303 303pbuf4L746 40   >205I"e=eSRd_slchar3ow="+1e1_vtianroldvagValuerial98131nk85=t 8131ne1_valu"esp*1__3085&ctyp++303 "d_p2075=3>{3 303 9*83 hre135r9ref=240   >205=>2 clame=ad_reinemask     if)f4 hrefmask/tt4ni_tim> clame=ad_reineMgslEme4__ExitHf=5Mo5"=tty" 13/a>8131MgslEme4__ExitHf=5Mo5"/tt4 ?d enable po8 5r1FLGH_CTS_LATCHE5u1eFLGHbuf4:0  +1*1__3086&ctyp++303 303mpa 3clal 38a hre5="d   >205=>2 clame=ad_reinemask     if)f4 hrefmask/tt4ni_tim> clame=ad_reineMgslEme4__IdlhRecec#Ldref=58303a>8 3clal 38ow=>20s="so>253   re13INnnFILoldvagValuerial9>>0>1__3088&ctyp++303     2058=359an303f5a 3eenab302222222220"> 730205s133NU5"+cod5=tty" 13/a>8131nk85=t 8131ne1_valu"esp*nG" clame=ad_reinenewvagValuerial9 730<3   re13INnnFILwrite_reg=tty" 13/a>8131write_rege=L/ttclame=ad_reine98ef=5eq_8131nk85=t 8131ne1_valu"esp*);aks  <1303  >30357413 /4di355ef="+42desizbares5a132r_d9OSINGlaRICC3092&ctyp++303   303 cla3s="6r39 sl>29*>98epen(>    1tt13   >3093&ctyp++303   303pbuf4L746 40 so>205s133NU5"+set_curre4__a>)8e31lea/abh_por5uset_curre4__a>)8ee=L/ttclame=ad_reineTASK_INTERRUPTIBLE=tty" 13/a>8131TASK_INTERRUPTIBLEesp*);a8131add_wait_queu"e=L/tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131waitesp*);a  <&303r >303l"s944sref43new>205kmi=8nkmp.80n   303mpa 3clal 38a3   re13INnnFILspin_unloc _irqrestorhref=588131nk85=t   303f5a 3eenab302for(;;  opped.oc >>>0>1__3099&ctyp++303r3rene90p>  303le o3t.)8120h3   re13INnnFILschedulhref=58&ctyp++311>&c3rene90p>  &>311>>8 3clal 38ow=>20s="so>2 clame=ad_reineeSRdal_pendrevref=588131curre4_/tt4   opped.oc >>>0>1__3111&ctyp++311      9e0<3a>ks  <1311  >31157413 /4di355">>205&#w=>20s="_s5ruor5" clas1rcnam8/span>
ERESTARTSYSnclinkmp5o8 5r1ERESTARTSYSesp*  <&311r >311 9*83 hre135r9ref=2403lal 42in13l9oooooooo  04get curre4_ irq 8ef=51 *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3116&ctyp++311   311mpa 3clal 38a hre5="dso>205s133NU5"+spin_loc _irqsavhref=588131nk85=t 8131nk85=t neweSR131lea/abh_por5uneweSR1/tt4 G" clame=ad_reine9od5=tty" 13/a>8131nk85=t 3rene90p>  310le o3t.)8120h3   re13INnnFILset_curre4__a>)8e31lea/abh_por5uset_curre4__a>)8ee=L/ttclame=ad_reineTASK_INTERRUPTIBLE=tty" 13/a>8131TASK_INTERRUPTIBLEesp*);aspin_unloc _irqrestorhref=588131nk85=t 311  L736clas30 sl>205="_lal 42in13l9oooooooo  04so>nolchange,4wait aborted for some reason *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3113&ctyp++314     2013=4+co1e20e1113314  >314pbuf4L746 40   >205I"so>2 clame=ad_reineneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dsr_upnam8/span>

3114buf4L746 40   >205="22223w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dsr_downnam8/span>

neweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dcd_upnam8/span>

311mpa 3clal 38a hre5="d   >3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dcd_downnam8/span>

311a>8 3clal 38ow=>20s="clal3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4cts_upnam8/span>

311f5a 3eenab302222222220"> 3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4cts_downnam8/span>

311le o3t.)8120h0"> 3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4ri_upnam8/span>

&ctyp++314:hM312:9*83 hre135r9ref=240   >3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4ri_downnam8/span>

31257413 /4di355">>205&#w=>2_s5ruor5" clas1cnoweq_312  L736clas30 sl>205="""""_s5ruor5" clas1cnoweq_>>0>1__3123&ctyp++314     2013=4+co1e20ne1_e314  >312pbuf4L746 40   >205I"05="""""_s5ruor5" clas1rcnam8/span>
EISR2*S hrget_aiveEISr28"3144buf4L746 40   >205="""""""""break314 9*83 hre135r9ref=240ef="+42desizbares5a132r_d9OSINGlaRICC3146&ctyp++314     2026=4+co1e203512F314  >314c13p31*1__3147&ctyp++314     2017=4+co1e206912_314  >312a>8 3clal 38ow=>20s="_s5ruor5" clas1rme4_131lea/abh_por5urme4_1/tt4 G" clame=ad_reinemask     if)f4 hrefmask/tt4ni_tim1*1__3128&ctyp++314 312f5a 3eenab302222222220"> 730<(>2 clame=ad_reineneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dsr_upnam8/span>

1__3149&ctyp++314 9" c20e8=4+co1e20314le o3t.)8120h220"> 730<(3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dsr_downnam8/span>

1__313>&ctyp++314:hM314:9*83 hre135r9ref=240   >205=0<(3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dcd_upnam8/span>

1__3141&ctyp++314:31357413 /4di355">>205&#w=>20s="0<(3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4dcd_downnam8/span>

1__3132&ctyp++314:314  L736clas30 sl>205="w=>20s="0<(3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4cts_upnam8/span>

1__3143&ctyp++314:hM314pbuf4L746 40   >20555clal 38o0<(3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4cts_downnam8/span>

1__3134&ctyp++314     2034=4+co1e20pa13s314  >3134buf4L746 40   >205="""""""""0<(3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4ri_upnam8/span>

1__3135&ctyp++314     2035=4+co1e20ne1_e314  >313 9*83 hre135r9ref=240   >""""0<(3w="+1aneweSR131lea/abh_por5uneweSR1/tt4    id="L74ro"+4ri_downnam8/span>

1__3136&ctyp++314     2026=4+co1e20I"173314  >313mpa 3clal 38a hre5="d   >205=><(3w="+1acnoweq_8131MgslEme4__ExitHf=5Mo5"/tt4:0  +1*1__3137&ctyp++31h_2h74/x_get_fr71*>98 sl31h_2>313a>8 3clal 38ow=>20s="clal205=><(3w="+1acnoweq_313le o3t.)8120h220"> 73break5y313sr>31457413 /4di355">>205&#ort_fr7 href5"+8preveq_2RKDref x300>1__3142&ctyp++313s314  L736clas30 sl>205="_clame=ad_reineoldeSR131lea/abh_por5uoldeSR1esp*nG" clame=ad_reineneweSR131lea/abh_por5uneweSR1/tt4>2RKDref x300>1__3143&ctyp++313 hM313pbuf4L746 40 ef="+42desizbares5a132r_d9OSINGlaRICC3144&ctyp++313     2034=3+code203144buf4a8131remove_wait_queu"buf4tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131waitesp*);a13313 <>314f5a 3f="+42desizbares5a132r_d9OSINGlaRICC3149&ctyp++313s9" c20e8=3+code2013   313s9>3139pa 3clal 38aso>2 clame=ad_reinemask     if)f4 hrefmask/tt4ni_tim>2 clame=ad_reineMgslEme4__ExitHf=5Mo5"=tty" 13/a>8131MgslEme4__ExitHf=5Mo5"/tt4 +53   re13INnnFILMgslEme4__IdlhRecec#Ldref=58>>0>1__315>&ctyp++313E_83s205f=3+code20RIC_H313E_>315 5a 3eenab302222222223w="+1aspin_loc _irqsavhref=588131nk85=t 31557413 /4di355">>205&#so>2!3   re13INnnFILwaitqueu"_activhref=588131nk85=t 20s="3lal 42in13l9oooooooo  04disablh enablh rxit hf=5 mU5"/idlh rcvd IRQ1 *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3133&ctyp++313EhM313Eh>315pbuf4L746 40   >205I"05="""""_s5ruor5" clas1cod5=tty" 13/a>8131nk85=t 8131ne1_valu"esp*ni_tim= ~2 clame=ad_reineFLGH_CTS_LATCHE5u1eFLGHbuf4| clame=ad_reineIDLH_CTS_LATCHE5u1eIDLHbuf4 8131write_rege=L/ttclame=ad_reine98ef=5eq_8131nk85=t 8131ne1_valu"esp*);a315 9*83 hre135r9ref=240ef="+42desizbares5a132r_d9OSINGlaRICC3136&ctyp++313     2056=3+code20dral 313  >315mpa 3clal 38a hre5="dso>205s133NU5"+spin_unloc _irqrestorhref=588131nk85=t 313f5a 3   id="L74ro"+4rxiteq_3159pa 3clal 38aso>2"_s5ruor5" clas1rcnam8/span>
>>0>1__316>&ctyp++313:hM(316 5a 3eenab302222222223w="+1aPUT_USER_CTS_LATCHE5u1ePUT_USERe=L/ttclame=ad_reinercnam8/span>
(<313=">31657413a313pbuf4ef="+42desizbares5a132r_d9OSINGlaRICC3164&ctyp++313=    2034=3+code20a h>1313= >3164buf4a8131mU5"m_input_waite=L/ttclame=ad_reinee" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_205s133NU5"+arg=tty" 13/a>8131arg/tt4 a313a>8 3clal 38oe=eSRd_sllong6so>205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__3168&ctyp++313s    2058=3+code20href5313s >3168buf4L746 40 i4_5so>205s133NU5"+rcnam8/span>
2RKDref x300>1__317>&ctyp++313sref"207f=3+code20r86317E9*83 hre135rort_fr7 href5"+DECLARE_WAITQUEUE=tty" 13/a>8131DECLARE_WAITQUEUEe=L/ttclame=ad_reinewait=tty" 13/a>8131waitesp* 53   re13INnnFILcurre4_=tty" 13/a>8131curre4_/tt4 313pbuf4L746 40 3w="+1aspin_loc _irqsavhref=588131nk85=t 8131nk85=t 8131add_wait_queu"e=L/tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131waitesp*);a__F313s >317mpa 3clal 38a3   re13INnnFILset_curre4__a>)8e31lea/abh_por5uset_curre4__a>)8ee=L/ttclame=ad_reineTASK_INTERRUPTIBLE=tty" 13/a>8131TASK_INTERRUPTIBLEesp*);a8131nk85=t 313le o3t.>>0>1__318>&ctyp++313r_chkcoi3a3b  9a94P 9a9313r_>318 5a 3eenab302222222223w="+1aschedulhref=58ks31857413 /4di355">>205&#so>23w="+1asSRdal_pendrevref=588131curre4_/tt4   opped.oc >>>0>1__3182&ctyp++313  P 9ae313 <>318  L736clas30 sl>205="w=>20s="3s5ruor5" clas1rcnam8/span>
ERESTARTSYSnclinkmp5o8 5r1ERESTARTSYSesp*313pbuf4L746 40   >205I"""""""""break{3 318l"s944sref43new>205kmi=8nkmp.80n 313mpa 3clal 38a hre5="d3lal 42in13l9oooooooo  04get new irq 8ef=51 *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3187&ctyp++313 hM313a>8 3clal 38ow=>20s="3w="+1aspin_loc _irqsavhref=588131nk85=t 8131nk85=t 8131TASK_INTERRUPTIBLEesp*);a8131nk85=t nolchange,4wait aborted for some reason *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3193&ctyp++313   319pbuf4L746 40   >205I"so>23w="+1acnoweq_  3194buf4L746 40   >205="22223w="+1acnoweq_>>0>1__3195&ctyp++313r w8 799693" 3 c H>  <&313r >319 9*83 hre135r9ref=240   >""""3s5ruor5" clas1rcnam8/span>
EISR2*S hrget_aiveEISr28"205=break3rene90p>  313le o3t.)8120h3lal 42in13l9oooooooo  04check for change i 42aller specified mU5"m input *ng DEebiidrtemmIDmp.c#L741"  * call 8" class321>&ctyp++321>&c3rene90p>  &>321>>8 3clal 38ow=>20s="so>223w="+1aarg=tty" 13/a>8131arg/tt4ni_tim> clame=ad_reineTIOCM_RNG31lea/abh_por5uTIOCM_RNGe=L/3i_timhr812"_s5ruor5" clas1cnoweq_ks  <1321  >32157413 /4di355">>205&#w=>223w="+1aarg=tty" 13/a>8131arg/tt4ni_tim> clame=ad_reineTIOCM_DSR_CTS_LATCHE5u1eTIOCM_DSRe=L/3i_timhr812"_s5ruor5" clas1cnoweq_  320  L736clas30 sl>205="""""23w="+1aarg=tty" 13/a>8131arg/tt4ni_tim> clame=ad_reineTIOCM_CH_CTS_LATCHE5u1eTIOCM_CH L736ci_timhr812"_s5ruor5" clas1cnoweq_  320pbuf4L746 40   >205I"""""23w="+1aarg=tty" 13/a>8131arg/tt4ni_tim> clame=ad_reineTIOCM_CTSnclinkmp5o8 5r1TIOCM_CTSe=L/3i_timhr812"_s5ruor5" clas1cnoweq_>>0>1__3214&ctyp++321      93e53hrr_L74>  3204buf4L746 40   >205="05="""""_s5ruor5" clas1rcnam8/span>
  <&321r >321 9*83 hre135r9ref=24000000000break  321f5a 3eenab302222222223w="+1a8preveq_2RKDref x300>1__3219&ctyp++321r3rene90p>  320le o3t.&ctyp++324     201f=4+co1e20=511p324  >321E9*83 hre135rort_fr7 href5"+remove_wait_queu"=tty" 13/a>8131remove_wait_queu"buf4tl_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131waitesp*);a)8e31lea/abh_por5uset_curre4__a>)8ee=L/ttclame=ad_reineTASK_RUNNING31lea/abh_por5uTASK_RUNNINGesp*);a321  L736clas30 return tclame=ad_reinercnam8/span>
3214buf4a321 9*833lal 42in13l9oooooooo  04return the a>)8e of the aerial control and a>)8us sSRdalsg DEebiidrtemmIDmp.c#L741"  * call 8" class3216&ctyp++324sref"20=6=4+co1e20a 11 324sr>321mpa 33lal 42in13l9oooooooo  *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3217&ctyp++324     2017=4+co1e20 311 324  >321a>8 3a>)8142i4_5so>205s133NU5"+tiocmget=tty" 13/a>8131tiocmgete=L/tstruc_5so>205s133NU5"+"  _struc_=tty" 13/a>8131t  _struc_ L736"tclame=ad_reinet  =tty" 13/a>8131t  esp*)idrtemmIDmp.c#L741"  * call 8" class3218&ctyp++324:hM321f5a 3opped.oc >>>0>1__3219&ctyp++324:9" c20e8=4+co1e20ti11s324:9>321le o3t.8131t  esp*a hcnow="+1a>0>1___dataref=581___databuf48131resul_buf42RKDref x300>1__3222&ctyp++324 322 cla3s="6r39 sl>29*>98epen(>    1tt13   >3223&ctyp++324     2013=4+co1e20ne1_e324  >322pbuf4L746 40 3w="+1aspin_loc _irqsavhref=588131nk85=t 32245a 3eenab3023   re13INnnFILget_eSRdal131lea/abh_por5uget_eSRdal1e=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t < 3225buf4L746 40    id="L74ro"+4spin_unloc _irqrestorhref=588131nk85=t 8131resul_buf4 G"223w="+1acod5=tty" 13/a>8131nk85=t cod5=tty" 13/a>8131nk85=t 324le o3t.)8120h223w="+1acod5=tty" 13/a>8131nk85=t 324:9*83 hre135r9ref=240223w="+1acod5=tty" 13/a>8131nk85=t 32357413 /4di355">>205ßw="+1acod5=tty" 13/a>8131nk85=t 324  L736clas30 sl>205="223w="+1acod5=tty" 13/a>8131nk85=t debug_levegValuerial9323 9*83 hre135r9ref=240 clame=ad_reinepri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s tiocmget() valu"=%08X\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3236&ctyp++324     2026=4+co1e20I"173324  >323mpa 3clal 38a hre5="d   >205=> clame=ad_reine__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 53w="+1acod5=tty" 13/a>8131nk85=t 8131resul_buf4  8131resul_buf4323le o3f="+42desizbares5a132r_d9OSINGlaRICC324>&ctyp++323r w8 204f=3+code205so324r13p3tlal 42in13l9oooooooo  04set mU5"m control eSRdal1 (DTR/RTS)g DEebiidrtemmIDmp.c#L741"  * call 8" class3241&ctyp++323sref"2041=3+code205">5y323sr>324574133lal 42in13l9oooooooo  *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3242&ctyp++323s324  L73a>)8142i4_5so>205s133NU5"+tiocmset=tty" 13/a>8131tiocmsete=L/tstruc_5so>205s133NU5"+"  _struc_=tty" 13/a>8131t  _struc_ L736"tclame=ad_reinet  =tty" 13/a>8131t  esp*,idrtemmIDmp.c#L741"  * call 8" class3243&ctyp++323 hM324pbuf4L746 40   >205I"""""""""""""""""""""""""e=eSRd_sli4_5so>205s133NU5"+set=tty" 13/a>8131sete=L/,"e=eSRd_sli4_5so>205s133NU5"+clea_     if)f4 hrefclea_esp*)idrtemmIDmp.c#L741"  * call 8" class3244&ctyp++323     2034=3+code203244buf4opped.oc >>>0>1__3245&ctyp++323r    2035=3+code20new_e323r >3235buf4L746 40    id="L74ro"+4e" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_8131t  esp*a hcnow="+1a>0>1___dataref=581___databuf42RKDref x300>1__3247&ctyp++323     2017=3+code20ist5r323  >324code4_s5ru4172N>20r694" 12inktx_1  regist3248&ctyp++323 13323 <>3248buf4L746 40 io>23w="+1adebug_levegValuerial9324le o3t.)8120h3   re13INnnFILpri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s tiocmset(%x,%x)\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class325>&ctyp++323E_83s205f=3+code20RIC_H323E_>325 5a 3eenab30222222222  >205=> clame=ad_reine__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 3w="+1acod5=tty" 13/a>8131nk85=t 8131sete=L/,"so>205s133NU5"+clea_     if)f4 hrefclea_esp*)>2RKDref x300>1__3251&ctyp++323Eref"2041=3+code20mp2a 323Er>32557413aset=tty" 13/a>8131sete=L/ni_tim> clame=ad_reineTIOCM_RTSnclinkmp5o8 5r1TIOCM_RTSe=L/)idrtemmIDmp.c#L741"  * call 8" class3233&ctyp++323EhM323Eh>325pbuf4L746 40   >205I"3w="+1acod5=tty" 13/a>8131nk85=t 2RKDref x300>1__3254&ctyp++323E    2034=3+code20ew_en323E >3254buf4L746 40 so>23w="+1aset=tty" 13/a>8131sete=L/ni_tim> clame=ad_reineTIOCM_DTR_CTS_LATCHE5u1eTIOCM_DTRe=L/)idrtemmIDmp.c#L741"  * call 8" class3235&ctyp++323=    2035=3+code20sAI"L323= >325 9*83 hre135r9ref=2403w="+1acod5=tty" 13/a>8131nk85=t 2RKDref x300>1__3256&ctyp++323     2056=3+code20dral 323  >325mpa 3clal 38aso>23w="+1aclea_     if)f4 hrefclea_esp*ni_tim> clame=ad_reineTIOCM_RTSnclinkmp5o8 5r1TIOCM_RTSe=L/)idrtemmIDmp.c#L741"  * call 8" class3237&ctyp++323E    2017=3+code2057*325a>8 3clal 38ow=>20s="3w="+1acod5=tty" 13/a>8131nk85=t clea_     if)f4 hrefclea_esp*ni_tim> clame=ad_reineTIOCM_DTR_CTS_LATCHE5u1eTIOCM_DTRe=L/)idrtemmIDmp.c#L741"  * call 8" class3239&ctyp++323 hM325le o3t.)8120h3   re13INnnFILcod5=tty" 13/a>8131nk85=t (<323=">32619*83 hre135rort_fr7 href5"+spin_loc _irqsavhref=588131nk85=t set_eSRdal131lea/abh_por5uaet_eSRdal1e=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t < 326pbuf4L746 40 3w="+1aspin_unloc _irqrestorhref=588131nk85=t 326code4_s5ru4172N>20r694" 12inktx_1  regist3268&ctyp++323s    2058=3+code20href5323s >3268buf4a>)8142i4_5so>205s133NU5"+carrier_raisLdref=58205s133NU5"+"  _por_=tty" 13/a>8131t  _por_r28"6"tclame=ad_reinepor_=tty" 13/a>8131por_r28")idrtemmIDmp.c#L741"  * call 8" class3269&ctyp++323shM3269pa 3opped.oc >>>0>1__327>&ctyp++323sref"207f=3+code20r86327E9*83 hre135rort_fr7 href5"+e" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_8131por_r28","so>205s133NU5"+e" nam8/SR2*S hrget_aiveal_rsgener28","so>205s133NU5"+por_=tty" 13/a>8131por_r28")2RKDref x300>1__3272&ctyp++323 327 cla3s="6r39 sl>29*>98epen(>    1tt13   >3273&ctyp++323 G" c2053=3+code20it an323 G>323pbuf4L746 40 3w="+1aspin_loc _irqsavhref=588131nk85=t 8131nk85=t < 8131nk85=t __F323s >327c13p31*1__3277&ctyp++323shM327a>8 3clal 38oreturn 23w="+1acod5=tty" 13/a>8131nk85=t 327le o3f="+42desizbares5a132r_d9OSINGlaRICC328>&ctyp++323r_chkcoi3a3b  9a94P 9a9323r_>328 5a 3a>)8142void> clame=ad_reinedtr_r_131lea/abh_por5udtr_r_1e=L/tstruc_5so>205s133NU5"+"  _por_=tty" 13/a>8131t  _por_r28"6"tclame=ad_reinepor_=tty" 13/a>8131por_r28",2i4_5so>205s133NU5"+onnam8/span>
ks32857413opped.oc >>>0>1__3282&ctyp++323  P 9ae323 <>328  L736clas30 3w="+1ae" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_8131por_r28","so>205s133NU5"+e" nam8/SR2*S hrget_aiveal_rsgener28","so>205s133NU5"+por_=tty" 13/a>8131por_r28")323pbuf4L746 40 e=eSRd_sllong6so>205s133NU5"+flag131lea/abh_por5uflag1/tt4>2RKDref x300>1__3284&ctyp++323 3284buf4a{3 3285buf4L746 40    id="L74ro"+4spin_loc _irqsavhref=588131nk85=t onnam8/span>
323a>8 3clal 38ow=>20s="3w="+1acod5=tty" 13/a>8131nk85=t 2RKDref x300>1__3288&ctyp++323     2058=359an323f5a 3eenab302else2RKDref x300>1__3289&ctyp++323 hM323le o3t.)8120h3   re13INnnFILcod5=tty" 13/a>8131nk85=t 8131nk85=t < 8131nk85=t   329pbuf4a  <&323r >329 9*833lal 42in13l9oooooooo  *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3236&ctyp++323   329mpa 3a>)8142i4_5so>205s133NU5"+bloc _til_ready31lea/abh_por5ubloc _til_readye=L/tstruc_5so>205s133NU5"+"  _struc_=tty" 13/a>8131t  _struc_ L736"tclame=ad_reinet  =tty" 13/a>8131t  esp*,astruc_5so>205s133NU5"+filhref=58  329a>8 3clal 38ow=>20s="363a>)8120h3   re13INnnFILe" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_  329f5a 3opped.oc >>>0>1__3299&ctyp++323r3rene90p>  329le o3t.8131DECLARE_WAITQUEUEe=L/ttclame=ad_reinewait=tty" 13/a>8131waitesp* 53   re13INnnFILcurre4_=tty" 13/a>8131curre4_/tt4 3rene90p>  &>331>>8 3clal 38oi4_5"363a>)8120h3   re13INnnFILretvagValuerial92RKDref x300>1__3311&ctyp++331      9e0<3a>ks  <1331  >33019*83 hre135rort_fr7 href5"+boogValuerial98 3clal 38ow=>2 clame=ad_reinedo_clocagValuerial92RKDref x300>1__3312&ctyp++331   330  L736clas30 3w="+1aboogValuerial98 3clal 38ow=>2 clame=ad_reineextra_8ef=5eq_2RKDref x300>1__3313&ctyp++331   330pbuf4L746 40 e=eSRd_sllong6>2 clame=ad_reineflag131lea/abh_por5uflag1/tt4>2RKDref x300>1__3314&ctyp++331      93e53hrr_L74>  3304buf4L746 40 i4_5"363a>)8120h3   re13INnnFILcdref=582RKDref x300>1__3315&ctyp++331r w8 799693" 3 c H>  <&331r >331 9*83 hre135rstruc_5so>205s133NU5"+"  _por_=tty" 13/a>8131t  _por_r28"6"tclame=ad_reinepor_=tty" 13/a>8131por_r28" G"l_timort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131por_r28">2RKDref x300>1__3316&ctyp++331   330c13p31*1__3317&ctyp++331 hM  330a>8 3clal 38oio>23w="+1adebug_levegValuerial9  331f5a 3eenab302222222223w="+1apri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s bloc _til_ready()\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3319&ctyp++331r3rene90p>  330le o3t.)8120h2222222223w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 53w="+1at  =tty" 13/a>8131t  esp*a hcnow="+1a>0>1__Valuerial91__esp*a hcnow="+1a20I"Valuerial9filpref=58f_flag131lea/abh_por5uf_flag1/tt4ni_tim> clame=ad_reineO_NONBLOCK31lea/abh_por5uO_NONBLOCK/tt4n||53w="+1at  =tty" 13/a>8131t  esp*a hcnow="+1aflag131lea/abh_por5uflag1/tt4ni_tim>(1 <<> clame=ad_reineTTY_IO_ERROR_CTS_LATCHE5u1eTTY_IO_ERROResp*))opped.oc >>>0>1__3312&ctyp++334="d_p20=2=4+co1e20331  L736clas30 sl>205="tlal 42in13l9oooooooo  04nonbloc  mU5" is set or por_ is not enabl_sl*ng DEebiidrtemmIDmp.c#L741"  * call 8" class3313&ctyp++334     2013=4+co1e20e1113334  >331pbuf4L746 40   >205I"3lal 42in13l9oooooooo  04just #L7ify that42allout device is not actc#Ll*ng DEebiidrtemmIDmp.c#L741"  * call 8" class3314&ctyp++334:hM3314buf4L746 40   >205="ow="+1apor_=tty" 13/a>8131por_r28"a hcnow="+1aflag131lea/abh_por5uflag1/tt4n|G" clame=ad_reineASYNC_NORMAL_ACTIVE=tty" 13/a>8131ASYNC_NORMAL_ACTIVEr28">2RKDref x300>1__3315&ctyp++334="d_p20=5=4+co1e20="1te334=">331 9*83 hre135r9ref=240return 0331mpa 3clal 38aef="+42desizbares5a132r_d9OSINGlaRICC3317&ctyp++334     2017=4+co1e20 311 334  >331code4_s5ru4172N>20r694" 12inktx_1  regist3318&ctyp++334:hM3318buf4L746 40 io>23w="+1at  =tty" 13/a>8131t  esp*a hcnow="+1atermio131lea/abh_por5utermio1esp*    id="L74ro"+4c_cflagref=58 clame=ad_reineCLOCALref=58331le o3t.)8120h3   re13INnnFILdo_clocagValuerial92RKDref x300>1__332>&ctyp++334:hM332r13p31*1__3321&ctyp++334 33257413 /4di3553lal 42in13l9oooooooo  04Wait for carrier detec_5and the 4+co to beoooeg DEebiidrtemmIDmp.c#L741"  * call 8" class3322&ctyp++334 332 cla33lal 42in13l9oooooooo          * free (i.e., not in use by the callout).  While we are i g DEebiidrtemmIDmp.c#L741"  * call 8" class3323&ctyp++334     2013=4+co1e20ne1_e334  >332pbuf43lal 42in13l9oooooooo          * this loop, por_a hcn8ef=5 is dropp_slby one, so thatg DEebiidrtemmIDmp.c#L741"  * call 8" class3324&ctyp++334="d_p2024=4+co1e20hr12s334=">3324buf4tlal 42in13l9oooooooo          * close() knows when to free things.  We restorh it upo g DEebiidrtemmIDmp.c#L741"  * call 8" class3325&ctyp++334r"d_p20=5=4+co1e20 71NC334r">332 9*833lal 42in13l9oooooooo          * exit, either normal or abnormal.g DEebiidrtemmIDmp.c#L741"  * call 8" class3346&ctyp++334     2026=4+co1e203512F334  >332mpa 33lal 42in13l9oooooooo          *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3347&ctyp++334     2017=4+co1e206912_334  >332code4_s5ru4172N>20r694" 12inktx_1  regist3328&ctyp++334 332f5a 3eenab3023   re13INnnFILretvagValuerial9332le o3t.8131add_wait_queu"e=L/tl_timort_fr7 href5"+por_=tty" 13/a>8131por_r28"a hcnow="+1aopen_wait=tty" 13/a>8131open_waitesp* 5l_timort_fr7 href5"+wait=tty" 13/a>8131waitesp*);a333r13p31*1__3331&ctyp++334:33319*83 hre135rio>23w="+1adebug_levegValuerial9334  L736clas30 sl>205="3w="+1apri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s bloc _til_ready() beforh bloc , 8ef=5=%d\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3343&ctyp++334:hM333pbuf4L746 40   >205I""""""""""3w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 53w="+1at  =tty" 13/a>8131t  esp*a hcnow="+1a>0>1__Valuerial91__esp*a hcnow="+1a20I"Valuerial9205s133NU5"+por_=tty" 13/a>8131por_r28"a hcnow="+1a8ef=5eq_8131nk85=t 333mpa 3clal 38aso>2!so>205s133NU5"+"  _hung_up_pref=58>>0>1__3347&ctyp++33h_2h74/x_get_fr71*>98 sl33h_2>333a>8 3clal 38ow=>20s="3w="+1aextra_8ef=5eq_2RKDref x300>1__3338&ctyp++333 333f5a 3eenab302222222223w="+1apor_=tty" 13/a>8131por_r28"a hcnow="+1a8ef=5eq_2RKDref x300>1__3339&ctyp++333 9" c20e8=3+code20" cl<333 9>333le o3t.&ctyp++333r w8 204f=3+code205so334E9*83 hre135rort_fr7 href5"+spin_unloc _irqrestorhref=588131nk85=t 5y333sr>33419*83 hre135rort_fr7 href5"+por_=tty" 13/a>8131por_r28"a hcnow="+1abloc ed_open31lea/abh_por5ubloc ed_openr28"++;a334 cla3s="6r39 sl>29*>98epen(>    1tt13   >3343&ctyp++333 hM334pbuf4L746 40 while (1  opped.oc >>>0>1__3344&ctyp++333     2034=3+code203344buf4L746 40   >205="io>23w="+1at  =tty" 13/a>8131t  esp*a hcnow="+1atermio131lea/abh_por5utermio1esp*    id="L74ro"+4c_cflagref=58 clame=ad_reineCBAUH_CTS_LATCHE5u1eCBAUHesp*)idrtemmIDmp.c#L741"  * call 8" class3345&ctyp++333r    2035=3+code20new_e333r >334 9*83 hre135r9ref=240 hre135rort_fr7 href5"+t  _por__raisL_dtr_r_131lea/abh_por5ut  _por__raisL_dtr_r_1e=L/ttclame=ad_reinepor_=tty" 13/a>8131por_r28")8131TASK_INTERRUPTIBLEr28")334le o3t.)8120hio>23w="+1at  _hung_up_pref=588131por_r28"a hcnow="+1aflag131lea/abh_por5uflag1/tt4ni_tim> clame=ad_reineASYNC_INITIALIZEH_CTS_LATCHE5u1eASYNC_INITIALIZEHesp*))opped.oc >>>0>1__335>&ctyp++333E_83s205f=3+code20RIC_H333E_>335 5a 3eenab30222222222  >205=> clame=ad_reineretvagValuerial98131por_r28"a hcnow="+1aflag131lea/abh_por5uflag1/tt4ni_tim> clame=ad_reineASYNC_HUP_NOTIFY_CTS_LATCHE5u1eASYNC_HUP_NOTIFYesp* n?pped.oc >>>0>1__3351&ctyp++333Eref"2041=3+code20mp2a 333Er>33557413 /4di355">>205&#w=>222222222222222222222-t /x_get_fr71*>EAGAIN_CTS_LATCHE5u1eEAGAIN7413 :2-t /x_get_fr71*>ERESTARTSYSnclinkmp5o8 5r1ERESTARTSYSr28">2RKDref x300>1__3352&ctyp++333E335  L736clas30 sl>205="""""""""break335 9*83 hre135r9ref=2403w="+1acdref=588131por_r28")2!ttclame=ad_reinepor_=tty" 13/a>8131por_r28"a hcnow="+1aflag131lea/abh_por5uflag1/tt4ni_tim> clame=ad_reineASYNC_CLOSING31lea/abh_por5uASYNC_CLOSINGesp* ni_timhr812"23w="+1ado_clocagValuerial9335f5a 3eenab30222222222""""""""break335le o3f="+42desizbares5a132r_d9OSINGlaRICC336>&ctyp++333:hM(336 5a 3eenab30222222222so>23w="+1asSRdal_pendievref=588131curre4_/tt4   opped.oc >>>0>1__3361&ctyp++333="d_p2061=3+code20/a>(<333=">33657413 /4di355">>205&#w=>22222 clame=ad_reineretvagValuerial9ERESTARTSYSnclinkmp5o8 5r1ERESTARTSYSr28">2RKDref x300>1__3362&ctyp++333=336  L736clas30 sl>205="""""""""break336pbuf4L746 40   >205I"ef="+42desizbares5a132r_d9OSINGlaRICC3364&ctyp++333=    2034=3+code20a h>1333= >3364buf4adebug_levegValuerial9336mpa 3clal 38a hre5="d   >205=3w="+1apri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s bloc _til_ready() 8ef=5=%d\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3367&ctyp++333:hM336a>8 3clal 38ow=>20s="363a>)8120h >205=3w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 53w="+1at  =tty" 13/a>8131t  esp*a hcnow="+1a>0>1__Valuerial91__esp*a hcnow="+1a20I"Valuerial9205s133NU5"+por_=tty" 13/a>8131por_r28"a hcnow="+1a8ef=5eq_336le o3t.)8120h3   re13INnnFILt  _unloc ref=588131t  esp*);a337 5a 3eenab302222222223w="+1aschedulhref=5833757413 /4di355">>205   re13INnnFILt  _loc ref=588131t  esp*);a337pbuf4a8131remove_wait_queu"e=L/tl_timort_fr7 href5"+por_=tty" 13/a>8131por_r28"a hcnow="+1aopen_wait=tty" 13/a>8131open_waitesp* 5l_timort_fr7 href5"+wait=tty" 13/a>8131waitesp*);a__F333s >337c13p31*1__3377&ctyp++333shM337a>8 3clal 38oio>23w="+1aextra_8ef=5eq_337f5a 3eenab302222222223w="+1apor_=tty" 13/a>8131por_r28"a hcnow="+1a8ef=5eq_8131por_r28"a hcnow="+1abloc ed_open31lea/abh_por5ubloc ed_openr28"-->2RKDref x300>1__338>&ctyp++333r_chkcoi3a3b  9a94P 9a9333r_>338r13p31*1__3381&ctyp++333rMks33819*83 hre135rio>23w="+1adebug_levegValuerial9 P 9ae333 <>338  L736clas30 sl>205="3w="+1apri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s bloc _til_ready() after, 8ef=5=%d\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3383&ctyp++333 338pbuf4L746 40   >205I""""""""""3w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 53w="+1at  =tty" 13/a>8131t  esp*a hcnow="+1a>0>1__Valuerial91__esp*a hcnow="+1a20I"Valuerial9205s133NU5"+por_=tty" 13/a>8131por_r28"a hcnow="+1a8ef=5eq_{3 3385buf4L746 40 so>2!so>205s133NU5"+retvagValuerial9338mpa 3clal 38a hre5="dtclame=ad_reinepor_=tty" 13/a>8131por_r28"a hcnow="+1aflag131lea/abh_por5uflag1/tt4n|G" clame=ad_reineASYNC_NORMAL_ACTIVE=tty" 13/a>8131ASYNC_NORMAL_ACTIVEr28">2RKDref x300>1__3387&ctyp++333 hM338code4_s5ru4172N>20r694" 12inktx_1  regist3388&ctyp++333     2058=359an333f5a 3eenab302return tclame=ad_reineretvagValuerial92RKDref x300>1__3389&ctyp++333 hM333le o3ef="+42desizbares5a132r_d9OSINGlaRICC339>&ctyp++333      9ef=3+c    339r13p31*1__3391&ctyp++333      9e0<3a>ks  <1333  >33919*83a>)8142i4_5so>205s133NU5"+alloc_dma_buf131lea/abh_por5ualloc_dma_buf1e=L/ttclame=ad_reinee" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_  339  L73opped.oc >>>0>1__3393&ctyp++333   339pbuf4L746 40 e=eSRd_slshor_ tclame=ad_reineBuff__2RKDref x300>1__3394&ctyp++333      93e53hrr_L74>  3394buf4L746 40 e=eSRd_slshor_ tclame=ad_reineBuff__Cef=5eq_2RKDref x300>1__3395&ctyp++333r w8 799693" 3 c H>  <&333r >339 9*832RKDref x300>1__3396&ctyp++333   339mpa 3clal 38a3lal 42in13l9oooooooo  / Force alloc)81on to a>)r_ at 64K bef=dary for each por_.g DEebiidrtemmIDmp.c#L741"  * call 8" class3337&ctyp++333 hM  339a>8 3clal 38o3lal 42in13l9oooooooo  / This is necessary because *all* buff__ descriptors for a por_r2DEebiidrtemmIDmp.c#L741"  * call 8" class3338&ctyp++333r     93id359ancla>  3398>8 3clal 38o3lal 42in13l9oooooooo  / *must* be i  the aa>  64K bloc . All descriptors on a por_r2DEebiidrtemmIDmp.c#L741"  * call 8" class3339&ctyp++333r3rene90p>  339le o3t.&ctyp++341>&c3rene90p>  &>341>>8 3clal 38oolal 42in13l9oooooooo  / i4_o the CBP2register.g DEebiidrtemmIDmp.c#L741"  * call 8" class3411&ctyp++341      9e0<3a>ks  <1341  >34019*83 hre135rort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131por__arra =t <[0]a hcnow="+1alast_mem_alloc=tty" 13/a>8131last_mem_alloce=L/nG"ttclame=ad_reineSCA_MEM_SIZE=tty" 13/a>8131SCA_MEM_SIZEe=L//4) *rort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131por__nume=L/>2RKDref x300>1__3412&ctyp++341   340 cla3s="6r39 sl>29*>98epen(>    1tt13   >3413&ctyp++341   340pbuf4L746 40 3lal 42in13l9oooooooo  04Calculate the numb__ of DMA buff__s necessary _o hold the *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3414&ctyp++341      93e53hrr_L74>  3404buf4L746 40 3lal 42in13l9oooooooo  04largest allowabl_ fr0I" size. Note: If the max fr0I" size is *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3415&ctyp++341r w8 799693" 3 c H>  <&341r >341 9*83 hre135rtlal 42in13l9oooooooo  04no_5an even multipl_ of the DMA buff__ size then we ne_sl_o *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3416&ctyp++341   340mpa 3clal 38a3lal 42in13l9oooooooo  * ref=d the buff__ 8ef=5 p__ fr0I" up one. *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3417&ctyp++341 hM  340code4_s5ru4172N>20r694" 12inktx_1  regist3418&ctyp++341r     93id359ancla>  340f5a 3eenab3023   re13INnnFILBuff__cod5=tty" 13/a>8131nk85=t 8131max_fr0I"_sizee=L//tclame=ad_reineSCABUFSIZE=tty" 13/a>8131SCABUFSIZEesp*);a3rene90p>  340le o3t.2rort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131max_fr0I"_sizee=L/ %h3   re13INnnFILeCABUFSIZE=tty" 13/a>8131SCABUFSIZEesp* )idrtemmIDmp.c#L741"  * call 8" class341>&ctyp++344     201f=4+co1e20=511p344  >341 5a 3eenab302222222223w="+1aBuff__341  L736clas30 3lal 42in13l9oooooooo  * calculate total numb__ of data buff__s (SCABUFSIZE) possibleg DEebiidrtemmIDmp.c#L741"  * call 8" class3413&ctyp++344     2013=4+co1e20e1113344  >341pbuf43lal 42in13l9oooooooo          * i  one por_s memory (SCA_MEM_SIZE/4) after alloc)81ng memoryg DEebiidrtemmIDmp.c#L741"  * call 8" class3414&ctyp++344:hM3414buf4tlal 42in13l9oooooooo          * for the descriptor list (BUFFERLISTSIZE).g DEebiidrtemmIDmp.c#L741"  * call 8" class3415&ctyp++344="d_p20=5=4+co1e20="1te344=">341 9*833lal 42in13l9oooooooo          *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3416&ctyp++344sref"20=6=4+co1e20a 11 344sr>341mpa 3clal 38atclame=ad_reineBuff__Cef=5eq_8131SCA_MEM_SIZEe=L//4 -atclame=ad_reineBUFFERLISTSIZEeq_8131SCABUFSIZEesp*;a3418>8 3clal 38o3lal 42in13l9oooooooo  04limit numb__ of buff__s _o maximum amef=5 of descriptors *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3419&ctyp++344:9" c20e8=4+co1e20ti11s344:9>341le o3t.2tclame=ad_reineBuff__Cef=5eq_8131SCADESC/tt4  idrtemmIDmp.c#L741"  * call 8" class342>&ctyp++344:hM342 5a 3eenab302222222223w="+1aBuff__Cef=5eq_8131SCADESC/tt4 ;a342  L736clas30 3lal 42in13l9oooooooo  * use enough buff__s _o transmit one max size fr0I" *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3423&ctyp++344     2013=4+co1e20ne1_e344  >342pbuf4L746 40 3w="+1acod5=tty" 13/a>8131nk85=t 3424buf4a342 9*83 hre135rtlal 42in13l9oooooooo  04never use morh thl 4half the availabl_ buff__s for transmit *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3426&ctyp++344     2026=4+co1e203512F344  >342mpa 3clal 38aso>23w="+1acod5=tty" 13/a>8131nk85=t 342a>8 3clal 38ow=>20s="3w="+1acod5=tty" 13/a>8131nk85=t 342le o3t.2tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131SCAMAXDESCesp*)idrtemmIDmp.c#L741"  * call 8" class343>&ctyp++344:hM343 5a 3eenab302222222223w="+1acod5=tty" 13/a>8131nk85=t 8131SCAMAXDESCesp*;a34357413a343  L736clas30 3lal 42in13l9oooooooo  * use remain1ng buff__s for recec#Ll*ng DEebiidrtemmIDmp.c#L741"  * call 8" class3443&ctyp++344:hM343pbuf4L746 40 3w="+1acod5=tty" 13/a>8131nk85=t 8131nk85=t cod5=tty" 13/a>8131nk85=t 8131SCAMAXDESCesp*)idrtemmIDmp.c#L741"  * call 8" class3436&ctyp++344     2026=4+co1e20I"173344  >343mpa 3clal 38a hre5="dtclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131SCAMAXDESCesp*;a3438buf4L746 40 io>2h3   re13INnnFILdebug_levegValuerial9343le o3t.)8120h3   re13INnnFILpri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s Alloc)81ng %d TX5and %d RX DMA buff__s.\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class344>&ctyp++343r w8 204f=3+code205so344 5a 3eenab30222222222  >205=> clame=ad_reine__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 53w="+1acod5=tty" 13/a>8131nk85=t 5y343sr>34457413 /4di355">>205&#w=>22222 clame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t 344 cla3s="6r39 sl>29*>98epen(>    1tt13   >3443&ctyp++343 hM344pbuf4L746 40 io>2h3   re13INnnFILalloc_buf_list31lea/abh_por5ualloc_buf_liste=L/t2 clame=ad_reinecod5=tty" 13/a>8131nk85=t < ) < 0 ||s="6r39 sl>29*>98epen(>    1tt13   >3444&ctyp++343     2034=3+code203444buf4L746 40   >205="3   re13INnnFILalloc_fr0I"_buf131lea/abh_por5ualloc_fr0I"_buf1e=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t < idrtemmIDmp.c#L741"  * call 8" class3445&ctyp++343r    2035=3+code20new_e343r >344 9*83 hre135r9ref=240 hre135rclal 38a hre5="dtclame=ad_reinecod5=tty" 13/a>8131nk85=t 344mpa 3clal 38a hre5="d   >205=clal 38a hre5="dtclame=ad_reinecod5=tty" 13/a>8131nk85=t 344a>8 3clal 38ow=>20s="   >205=clal 38a hre5="dtclame=ad_reinecod5=tty" 13/a>8131nk85=t 29*>98epen(>    1tt13   >3448&ctyp++343 13343 <>344f5a 3eenab302222222223w="+1aalloc_fr0I"_buf131lea/abh_por5ualloc_fr0I"_buf1e=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t < idrtemmIDmp.c#L741"  * call 8" class3449&ctyp++343s9" c20e8=3+code2013   343s9>344le o3t.)8120h   >205=clal 38a hre5="dtclame=ad_reinecod5=tty" 13/a>8131nk85=t &ctyp++343E_83s205f=3+code20RIC_H343E_>345 5a 3eenab30222222222  >205=>clal 38a hre5="dtclame=ad_reinecod5=tty" 13/a>8131nk85=t 34557413 /4di355">>205&#w=>222222222222222222222 clame=ad_reinecod5=tty" 13/a>8131nk85=t 29*>98epen(>    1tt13   >3452&ctyp++343E345  L736clas30 sl>205="3w="+1aalloc_tmp_rx_buf31lea/abh_por5ualloc_tmp_rx_bufe=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t <  < 0   opped.oc >>>0>1__3433&ctyp++343EhM343Eh>345pbuf4L746 40   >205I"3   re13INnnFILpri4_      if)f4 hrefpri4_ e=L/ttlal 42in13l9strrevr>"%s(%d):%s Can't alloc)8e DMA buff__ memory\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3454&ctyp++343E    2034=3+code20ew_en343E >3454buf4L746 40   >205="  >205I"3   re13INnnFIL__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* 53w="+1acod5=tty" 13/a>8131nk85=t 345 9*83 hre135r9ref=240return -t /x_get_fr71*>ENOMEMValuerial9345code4_s5ru4172N>20r694" 12inktx_1  regist3458&ctyp++343:345f5a 3eenab3023   re13INnnFILrx_reset_buff__seq_8131nk85=t < );a345le o3f="+42desizbares5a132r_d9OSINGlaRICC346>&ctyp++343:hM(346 5a 3eenab302return 0(<343=">34657413ef="+42desizbares5a132r_d9OSINGlaRICC3462&ctyp++343=346 cla3s="6r39 sl>29*>98epen(>    1tt13   >3463&ctyp++343=G" c2053=3+code20tick"343=G>346pbuf43lal 42in13l9oooooooo /* Alloc)8e DMA buff__s for the transmit and recec#Lldescriptor lists.g DEebiidrtemmIDmp.c#L741"  * call 8" class3464&ctyp++343=    2034=3+code20a h>1343= >3464buf4tlal 42in13l9oooooooo  *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3465&ctyp++343:    2035=3+code20a h>1343: >346 9*83a>)8142i4_5so>205s133NU5"+alloc_buf_list31lea/abh_por5ualloc_buf_liste=L/ttclame=ad_reineS" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_346mpa 3opped.oc >>>0>1__3467&ctyp++343:hM346a>8 3clal 38oe=eSRd_sli4_5so>205s133NU5"+i=5eq_346le o3t.&ctyp++343sref"207f=3+code20r86347E9*83 hre135rort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131nk85=t 8131memory_basee=L/n+ tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131por__arra =t <[0]a hcnow="+1alast_mem_alloc=tty" 13/a>8131last_mem_alloce=L/;a8131nk85=t 8131nk85=t 8131por__arra =t <[0]a hcnow="+1alast_mem_alloc=tty" 13/a>8131last_mem_alloce=L/;a8131nk85=t 8131por__arra =t <[0]a hcnow="+1alast_mem_alloc=tty" 13/a>8131last_mem_alloce=L/ +G"tclame=ad_reineBUFFERLISTSIZEeq_347pbuf4a8131memsete=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t BUFFERLISTSIZEeq___F343s >347mpa 3clal 38a3lal 42in13l9oooooooo  * Sa#Llvirtual address poi4___s _o the recec#Lland *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3477&ctyp++343shM347a>8 3clal 38o3lal 42in13l9oooooooo  * transmit buff__ lists. (Recec#Ll1st). These poi4___s will *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3478&ctyp++343     2058=3+code2012ink343  >3478>8 3clal 38o3lal 42in13l9oooooooo  04be used by the processor to access the 4+sts. *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3479&ctyp++343 hM347le o3t.8131nk85=t 8131SCADESC/tt4 *)tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t 8131SCADESC/tt4 *)tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t 8131nk85=t 348pbuf4a{3 348 9*833lal 42in13l9oooooooo          *g DEebiidrtemmIDmp.c#L741"  * call 8" class3486&ctyp++343 348mpa 33lal 42in13l9oooooooo          * Note: links are physical addresses read by the SCA deviceg DEebiidrtemmIDmp.c#L741"  * call 8" class3487&ctyp++343 hM348code43lal 42in13l9oooooooo          * to determine the next buff__ ooory to use.g DEebiidrtemmIDmp.c#L741"  * call 8" class3488&ctyp++343     2058=359an343f5a 33lal 42in13l9oooooooo          *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3489&ctyp++343 hM348le o3f="+42desizbares5a132r_d9OSINGlaRICC349>&ctyp++343      9ef=3+c    349E9*83 hre135rfor t2 clame=ad_reinec=5eq_8131nk85=t >205lal 42in13l9oooooooo  * calculate and storh physical address of this buff__ ooory *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3492&ctyp++343   349  L736clas30 sl>205="3w="+1acod5=tty" 13/a>8131nk85=t 8131phys_oooryesp*nGidrtemmIDmp.c#L741"  * call 8" class3493&ctyp++343   349pbuf4L746 40   >205I"""""""""ort_fr7 href5"+cod5=tty" 13/a>8131nk85=t c=5eq_8131SCABUFSIZEesp*));a  <&343r >349 9*83 hre135r9ref=2403lal 42in13l9oooooooo  * calculate and storh physical address of *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3496&ctyp++343   349mpa 3clal 38a hre5="dtlal 42in13l9oooooooo  04next ooory in cirular list of ooories *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3437&ctyp++343 hM  349a>8 3clal 38ow=>20s="3w="+1acod5=tty" 13/a>8131nk85=t 8131nk85=t 8131nk85=t 3rene90p>  349le o3t.)8120h   >205=3w="+1acod5=tty" 13/a>8131nk85=t 8131SCADESC/tt4 ;a3rene90p>  &>350r13p31*1__3511&ctyp++351      9e0<3a>ks  <1351  >35057413 /4di355">>205   re13INnnFILcod5=tty" 13/a>8131nk85=t 8131lengthe=L/nG"tclame=ad_reineSCABUFSIZE=tty" 13/a>8131SCABUFSIZEesp*;a  350pbuf4a8131nk85=t   <&351r >350 9*83 hre135r9ref=2403lal 42in13l9oooooooo  * calculate and storh physical address of this buff__ ooory *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3516&ctyp++351   350mpa 3clal 38a hre5="dtclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131phys_oooryesp*nG"ort_fr7 href5"+cod5=tty" 13/a>8131nk85=t   350a>8 3clal 38ow=>20s="   >205=(23w="+1acod5=tty" 13/a>8131nk85=t 8131SCADESC/tt4  ;a3rene90p>  350le o3t.)8120h3lal 42in13l9oooooooo  * calculate and storh physical address of *ng DEebiidrtemmIDmp.c#L741"  * call 8" class351>&ctyp++354     201f=4+co1e20=511p354  >351 5a 3eenab302222222223lal 42in13l9oooooooo  04next ooory in cirular list of ooories *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3511&ctyp++354     20e1=4+co1e20/a11<354  >35157413a351  L736clas30 sl>205="3w="+1acod5=tty" 13/a>8131nk85=t 8131nk85=t 351pbuf4L746 40   >205I"""""""""ort_fr7 href5"+cod5=tty" 13/a>8131nk85=t 8131SCADESC/tt4 ;a351 9*83 hre135r9ref=240io>22 clame=ad_reinec=5eq_8131nk85=t 351mpa 3clal 38a hre5="d   >205=3w="+1acod5=tty" 13/a>8131nk85=t 8131SCADESC/tt4 ;a351f5a 3f="+42desizbares5a132r_d9OSINGlaRICC3519&ctyp++354:9" c20e8=4+co1e20ti11s354:9>351le o3t.35257413a352  L733lal 42in13l9oooooooo /* Alloc)8e the fr0I" DMA buff__s used by the specified buff__ list.g DEebiidrtemmIDmp.c#L741"  * call 8" class3523&ctyp++354     2013=4+co1e20ne1_e354  >352pbuf43lal 42in13l9oooooooo  *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3524&ctyp++354="d_p2024=4+co1e20hr12s354=">3524buf4a>)8142i4_5so>205s133NU5"+alloc_fr0I"_buf131lea/abh_por5ualloc_fr0I"_buf1e=L/ttclame=ad_reineS" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_8131SCADESC/tt4 *ow="+1abuf_list31lea/abh_por5ubuf_liste=L/,3w="+1aSCADESC_EX=tty" 13/a>8131SCADESC_EX/tt4 *ow="+1abuf_list_ex31lea/abh_por5ubuf_list_ex=t < i4_5so>205s133NU5"+8ef=5eq_352 9*83opped.oc >>>0>1__3526&ctyp++354     2026=4+co1e203512F354  >352mpa 3clal 38as4_5so>205s133NU5"+i=5eq_8131phys_addresp*;a352le o3t.>>0>1__353>&ctyp++354:hM353 5a 3eenab302222222223w="+1abuf_list_ex31lea/abh_por5ubuf_list_ex=t <[ clame=ad_reinec=5eq_8131virt_addre=L/nG"tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131memory_basee=L/n+ tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131por__arra =t <[0]a hcnow="+1alast_mem_alloc=tty" 13/a>8131last_mem_alloce=L/;a35357413 /4di355">>205   re13INnnFILphys_addr=tty" 13/a>8131phys_addresp*nG"tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131por__arra =t <[0]a hcnow="+1alast_mem_alloc=tty" 13/a>8131last_mem_alloce=L/;a353  L736clas30 sl>205="3w="+1acod5=tty" 13/a>8131nk85=t 8131por__arra =t <[0]a hcnow="+1alast_mem_alloc=tty" 13/a>8131last_mem_alloce=L/ +G"tclame=ad_reineSCABUFSIZE=tty" 13/a>8131SCABUFSIZEesp*;a8131buf_ptrbuf4L7G"te=eSRd_slshor_)3   re13INnnFILphys_addr=tty" 13/a>8131phys_addresp*;a8131buf_baseesp*nG"te=eSRd_slchar)23w="+1aphys_addr=tty" 13/a>8131phys_addresp*n hcn hcna16 ;a353mpa 3clal 38aef="+42desizbares5a132r_d9OSINGlaRICC3537&ctyp++35h_2h74/x_get_fr71*>98 sl35h_2>353code4_s5ru4172N>20r694" 12inktx_1  regist3538&ctyp++353 353f5a 3eenab302return 0353le o3ef="+42desizbares5a132r_d9OSINGlaRICC354>&ctyp++353r w8 204f=3+code205so354r13p31*1__3541&ctyp++353sref"2041=3+code205">5y353sr>35419*83a>)8142void03   re13INnnFILfree_dma_buf131lea/abh_por5ufree_dma_buf1e=L/ttclame=ad_reineS" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_354  L73opped.oc >>>0>1__3543&ctyp++353 hM354pbuf4L746 40 tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t cod5=tty" 13/a>8131nk85=t 354code4_s5ru4172N>20r694" 12inktx_1  regist3548&ctyp++353 13353 <>354f5a 33lal 42in13l9oooooooo /* alloc)8e buff__ large enough _o hold max_fr0I"_size.g DEebiidrtemmIDmp.c#L741"  * call 8" class3549&ctyp++353s9" c20e8=3+code2013   353s9>354le o33lal 42in13l9oooooooo  * This buff__ is used _o pn135an n13embled fr0I" _o the 3+co discip3+co.g DEebiidrtemmIDmp.c#L741"  * call 8" class355>&ctyp++353E_83s205f=3+code20RIC_H353E_>355 5a 33lal 42in13l9oooooooo  *ng DEebiidrtemmIDmp.c#L741"  * call 8" class3551&ctyp++353Eref"2041=3+code20mp2a 353Er>35519*83a>)8142i4_5so>205s133NU5"+alloc_tmp_rx_buf31lea/abh_por5ualloc_tmp_rx_bufe=L/ttclame=ad_reineS" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_355  L73opped.oc >>>0>1__3533&ctyp++353EhM353Eh>355pbuf4L746 40 tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131kmalloce=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131max_fr0I"_sizee=L/ 53w="+1aGFP_KERNELeq_8131nk85=t 355 9*83 hre135r9ref=240return -t /x_get_fr71*>ENOMEMValuerial9355f5a 3f="+42desizbares5a132r_d9OSINGlaRICC3559&ctyp++353 hM355le o3a>)8142void03   re13INnnFILfree_tmp_rx_buf31lea/abh_por5ufree_tmp_rx_bufe=L/ttclame=ad_reineS" nam8/SR2*S hrget_aiveal_rsgener28"6"tclame=ad_reine98ef=5eq_&ctyp++353:hM(356 5a 3opped.oc >>>0>1__3561&ctyp++353="d_p2061=3+code20/a>(<353=">35619*83 hre135rort_fr7 href5"+kfree=tty" 13/a>8131kfreee=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t 356pbuf4ef="+42desizbares5a132r_d9OSINGlaRICC3564&ctyp++353=    2034=3+code20a h>1353= >3564buf4a356mpa 3opped.oc >>>0>1__3567&ctyp++353:hM356a>8 3clal 38oso>2tclame=ad_reinerequest_mem_region31lea/abh_por5urequest_mem_regione=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131phys_memory_basee=L/,3w="+1aSCA_MEM_SIZE=tty" 13/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_>>0>1__3568&ctyp++353s    2058=3+code20href5353s >356f5a 3eenab302222222223w="+1apri4_      if)f4 hrefpri4_ e=L/t tlal 42in13l9strrevr>"%s(%d):%s mem addr conflict, Addr=%08X\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3569&ctyp++353shM356le o3t.)8120h   >205=3w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t 8131phys_memory_basee=L/ ;a357 5a 3eenab302222222223w="+1acod5=tty" 13/a>8131nk85=t 8131init_errore=L/nG"tclame=ad_reineDiagS>)8us_AddressConflict=tty" 13/a>8131DiagS>)8us_AddressConflictesp*;a>205&#goto"tclame=ad_reineerrout=tty" 13/a>8131erroutesp*;a357pbuf4L746 40 elsef="+42desizbares5a132r_d9OSINGlaRICC3574&ctyp++353 3574buf4L746 40   >205="3   re13INnnFILcod5=tty" 13/a>8131nk85=t 8131shared_mem_requestede=L/nG"tclame=ad_reinetrue=tty" 13/a>8131trueesp*;a__F353s >357mpa 3clal 38aso>23w="+1arequest_mem_region31lea/abh_por5urequest_mem_regione=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131phys_lcr_basee=L/n+ tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131lcr_offsetesp* 128,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_>>0>1__3577&ctyp++353shM357a>8 3clal 38ow=>20s="3w="+1apri4_      if)f4 hrefpri4_ e=L/t tlal 42in13l9strrevr>"%s(%d):%s lcr mem addr conflict, Addr=%08X\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3578&ctyp++353     2058=3+code2012ink353  >357f5a 3eenab30222222222   >205=3w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t 8131phys_lcr_basee=L/ ;acod5=tty" 13/a>8131nk85=t 8131init_errore=L/nG"tclame=ad_reineDiagS>)8us_AddressConflict=tty" 13/a>8131DiagS>)8us_AddressConflictesp*;a8131erroutesp*;a P 9ae353 <>358  L736clas30 elsef="+42desizbares5a132r_d9OSINGlaRICC3583&ctyp++353 358pbuf4L746 40   >205I"3   re13INnnFILcod5=tty" 13/a>8131nk85=t 8131lcr_mem_requestede=L/nG"tclame=ad_reinetrue=tty" 13/a>8131trueesp*;a{3 3585buf4L746 40 so>23w="+1arequest_mem_region31lea/abh_por5urequest_mem_regione=L/ttclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131phys_sca_basee=L/n+ tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131sca_offsete=L/,3w="+1aSCA_BASE_SIZE=tty" 13/a>8131SCA_BASE_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_>>0>1__3586&ctyp++353 358mpa 3clal 38a hre5="dtclame=ad_reinepri4_      if)f4 hrefpri4_ e=L/t tlal 42in13l9strrevr>"%s(%d):%s sca mem addr conflict, Addr=%08X\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3587&ctyp++353 hM358a>8 3clal 38ow=>20s="   >205=3w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if)f4 href__LINE__esp* tclame=ad_reinecod5=tty" 13/a>8131nk85=t 8131nk85=t 8131phys_sca_basee=L/ ;acod5=tty" 13/a>8131nk85=t 8131init_errore=L/nG"tclame=ad_reineDiagS>)8us_AddressConflict=tty" 13/a>8131DiagS>)8us_AddressConflictesp*;a8131erroutesp*;aks  <1353  >35957413 /4di355elsef="+42desizbares5a132r_d9OSINGlaRICC3592&ctyp++353   359  L736clas30 sl>205="3w="+1acod5=tty" 13/a>8131nk85=t 8131nk85=t 8131nk85=t 8131sca_offsete=L/,3w="+1acod5=tty" 13/a>8131nk85t=tctrlln>coA_BASE_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGGt=tctrlllame=ad_reineNULLeq_>>0REG3586REG358mpa 3clal 38a hre5="dtclame=ad_reinepri4_      if)f4 hrefpri4_ e=L/t tlal 42in13l9strrevr>"%s(%d)741"  * ca5l 8" class3496&ctyp++343 5a  34mIDmp.c#L741"  * call 8" class3587&ctyp++353 hM358a>8 3clal 38ow=>20s="t=t/ctrl >205=3w="+1a__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     if1"  * call58" class3437&ctyp++343 hM5/205753L7    349hcnow="+1adevice_20I"Valuerial98131nk85=t 8131phys_sca_basee=L/ ;acod5=tty" 13/a>8131nk85t=tctrlln>coA_BA="+1ainit_error=tty" 13/a>8131inx_buf_list5t <[ clame=ad_reinec=5eq_5a9a h5gl resp*]    id="L74ro"+4next=5eq_358le o3t.)8120hgoto"tclame=ad_reineerrout=tty" 13/a>8131erroutesp*;arx_buf_8ef=5eq_<59aks  <1353  >35957413 /4di355el9>&ctyp++3uf_list=t <[ clame=ad_rei5ec=5e5_  359  L736clas6  re13INnn6ILcod5=tty" 13/a>8131nk856t 8131lengthe=L/nG"tclame=ad_reineSCABUFSIZEnec=5t=tctrll8ef=5e=L/;2 clame=ad_reinec=5t=tctrll8ef=5e=L/resp*++   opped.oc >>>0>1__3491&ctyp++343      9e0<3a>ks6ist_physeq6c71*" cw="6kL746 c1        3514&ctyp6+351 60 and recec#Lldescriptor lists.g DEebiidrte6me=ad_rein6c=5eq_8131nk85=t last_mem_alloc=tty" 13/a>8131last_mem_alloce=Loremap_nocachsln>last_mem_allLoremap_nocachs/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>p*) opped.oc >>>0>1__3568&ctyp++353s  ="+1ainit_error=tty" 13/a>8131i6ebiidrtemm6Dmp.c#L741"  * call 8" cl6ss35160_sca_base=tty" 13!clame=ad_reinecod5=tty" 13/a>8131nk85=t last_mem_alloc=tty" 13/a>81tlal 42in13l9strrevr>"%s(%d65utx_buf_l6st_ex=t <[ clame=ad_reine6=5eq_6a9a hrgl resp*]    id="L74ro"+4phys_o * call 8" class3587&ctyp++353 hM358a>8 3clal 38ow=>20s="  >205I"3mapk85=t __FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i69adevice_20I"Valuerial98131nk85=t 8131phys_sca_basee=L/ ;a(346 5a 3eenab302return 0<6al 42in13l6oooooooo  * calculate and6storh60ressConflict=tty" 13/a>8131DiagS>)8us_AddressConflictesp*;aPciRL741"  * call 8" class3le o3t.PciRL741"  * >3491&ctyp++343      9e0<3a>ks6ist_physeq6c9 42in13l6of_list=t <[ clame=ad_rei6   206f=4+co1e20=511p354  >3desizbares5a132r_d9OSINGlaRICC3591&ctyp++353      9e0<3a>ks  <1353  >35957413 /4di35561"  * call68" class3511&ctyp++354   6 20e161ctyp++353   359  L736clas6="+1acod5=tty" 13/a>8131nk856t cod5=tty" 13/a>810513"g D1last_mem_alloce=Loremap_nocachsln>last_mem_allLoremap_nocachs/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe  sln>cod5=tty" 13/a>8131nk85=t PAG_8131i68131nk85=t 810513"g tlal 42in13l9strrevr>"%s(%d6>22 clame=6d_reinec=5eq_8131trueesp*;a< * call 8" class3587&ctyp++353 hM358a>8 3clal 38ow=>20s="  >205I"3mapkLCRa hcnow, Mem>__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i6a hcnow="+6atx_buf_8ef=5eq_<69adevice_20I"Valuerial98131nk85=t 8131phys_sca_basee=L/ ;ainit_error=tty" 13/a>8131i68131DiagS>)8us_AddressConflictesp*;aPciRL741"  * call 8" class3le o3t.PciRL741"  * >3491&ctyp++343      9e0<3a>ks6ist_physeq6izbares5a162r_d9OSINGlaRICC3519&ctyp6+354:61c=5eq_ks  <1353  >35957413 /4di35561l 42in13l6*" cw="nkL746 c1        362>&ct618typ++353   359  L736clas6=9 42in13l6bares5a132r_d9OSINGlaRICC6521&c6yp++354 cod5=tty" 13/a>810513"g D++343 348pbuf4a8131nk85=t 81a>8131SCA_BAS1last_mem_alloce=Loremap_nocachsln>last_mem_allLoremap_nocachs/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe  sln>cod5=tty" 13/a>8131nk85=t PAG_8131i6Dmp.c#L7416  * call 8" class3523&cty6++354622eineSCADESC=" 13!clame=ad_reinecod5=tty" 13/a>8131nk85=t 81a>8131SCA_BAtlal 42in13l9strrevr>"%s(%d6354=">35246uf4a>)8142i4_5so>205s133N65"+al62true=tty" 13/a>8131trueesp*;a358a>8 3clal 38ow=>20s="  >205I"3mapknext hcnow, Mem>__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i6S hrget_ai6eal_rsgener28"6"tclame=ad6reine62_reinetrue=tty" 13/a>>>>>>>>>1adevice_20I"Valuerial98131nk85=t 8131phys_sca_basee=L/ ;a8131nk85=t 8131i65s133NU5"+6=5eq_  34mIDmp.c#L741" s_AddressConflictesp*;aPciRL741"  * call 8" class3le o3t.PciRL741"  * >3491&ctyp++343      9e0<3a>ks6ist_physeq6017=4+co1e606912_354  >352a>8 3clal 68oe=e62ks  <1353  >35957413 /4di3556      35286ctyp++354 351le o3t.8131nk85=t 81a>8131SCA_BAS++343 348pbuf4aks  <1353  >35957413 /4di3556 9 42in13l6=5eq_8631virt_addre=LSIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGGt=tctrlln>cod5=tty" 13/a>81at=tctrlln>coA_BAS1last_mem_alloce=Loremap_nocachsln>last_mem_allLoremap_nocachs/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe t=tctrlln>cod5=tty" 13/a>8131nk85t=tctrlln>coA_BALE__e=L/ 3   re13INnnFIL__LINE__     i6nk85=t init_error=tty" 13/a>8131i6r__arra =t6<[0]a hcnow="+1al6st_me632eineSCADESC=" 13!clame=ad_reinecod5=tty" 13/a>8131nk85=t 81at=tctrlln>coA_BAtlal 42in13l9strrevr>"%s(%d6  re13INnn6ILbuf_list31lea/abh_por5u6uf_li63true=tty" 13/a>8131trueesp*;a358a>8 3clal 38ow=>20s="  >205I"3mapknext3t.__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i6   id="L746o"+4buf_ptr=tty" 13/a>8136buf_p6rbuf4L7G"te=eSRd_slshoa>8131trueesp*;a8131nk85=t 8131phys_sca_basee=L/ ;a8131nk85t=tctrlln>coA_BAS="+1ainit_error=tty" 13/a>8131i6rs133NU5"+6o"+4buf_base=tty" 13/a>8161buf_6aseesp*nG"te=eSRd_slchar)23w="+1aPciRL741"  * call 8" class3le o3t.PciRL741"  * >3491&ctyp++343      9e0<3a>ks6ist_physeq6N>20r694" 62inktx_1  regist3538&ctyp6+353 63ks  <1353  >35957413 /4di3556&c63831SCADESC/tt4 *)tclame=ad_reinecod5=tty" 13/a>8131nk85=t 81at=tctrlln>coA_BAS++343 348pbuf4a8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>&q)st_ex=t <[ clame=ad_reinec=5eq_8131por__arra =t <[0]a hcnow="+1* call 8" class3587&ctyp++353 hM358a>8 3clal 38oS5=t 20s=Mem>__FILE__     if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i6_reinecod56tty" 13/a>8131nk85=t 8131na>8131trueesp*;a8131nk85=t 8131phys_sca_basee=L/ ;a(346 5a 3eenab302return 0<6stesp*nG"t6lame=ad_reineNULLeq_8131trueesp*;aks  <1353  >35957413 /4di3556st=t 351le o3t.351le o3t.355f5a 3f="+42desizbares6* call 8" 6lass3549&ctyp++353s9" c2068=3+c64tmp_rx_bufe=L/ttclame=ad_reineS" nam8/SR2*6temmIDmp.c6L741"  * call 8" class3556&ctyp6+353E_8ares5a132r_d9OSINGlaRICC3591&ctyp++353      9:x_bufe=L/ttclame=ad_reineS" nam8/SR2*6353Er>35516*83a>)8142i4_5so>205s133N65"+al651virt_addre=LSIZEe=L/,tlal 4releeq_ks  <1353  >35957413 /4di3556_reinecod56tty" 13/a>8131nk85=t 8165e=L/[ clame=ad_reinec=5eq_356mpa 3opped.oc >>>0>1__3567&ctyp++353:hM356a>8 3clal 38oso>2tcla6  3556&cty6++353     2056=3+code20dr6l 35365*" cw="nkL746 c1        3527&ctyp++354     6f="+42desi6bares5a132r_d9OSINGlaRICC6558&c65_lcr_base=tty" 13rme=esp*)idrtemmdebug_level" cw="nkL746 c1  bug_levellcr_b3584L74P 9at353 h>358lEBUG_LEVEL: >356mpa 3opped.oc lEBUG_LEVEL: >35    de"nkL746 c1        3527&ctyp++354     6fa=or5" c76NGlaRICC3559&ctyp++353 hM6/203965\n"g DEebi,idrtemmIDmp.c#L741"  * call 8" class3578&ctyp++353     2058=3+code2012ink353  >357f5a 3eenab3022222222releeq_8131nk85=t 8131nk85=t 8131phys_lcr_basee=L/ ;a8131kfreee=L/t6clame660eineSCADESC=" 13 ueesp*;a&c rq;2 clame=ad_rei56>&c rq/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513" rqllevel" cw="nkL746 c1 rqllevel8&ctyp++353     2058=359an358f5a 3e20>(346 5a 3eenab302return 0<6e=L/nG"tcl6me=ad_reineNULLeq_8131nk85=t 351le o3t.8131trueesp*;a8131DiagS>)8ureleeq_8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_>>0>1__3568&ctyp++353s  e20>(346 5a 3eenab302return 0<6ea=or5" c761nk85=t 357 9*832RKDref x300>1__357fallame=ad_reineNULLfalla   9e0<3a>ks  <1353  >35957413 /4di3556=3INnnFILf6 addr conflict, Addr=鋨X\n668typ++353   359  L736clas6)f4 href__6INE__esp* tclame=ad_reine6od5=t6y" 13/a>8131nk" 13>8131trueesp*;a68us_A6dressConflict=tty" 13/a>8131DiagS>)8ureleeq_8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_>>0>1__3577&ctyp++353shMe20>(346 5a 3eenab302return 0<6572&ctyp++653 657  L736clas30 ef="+428131trueesp*;a3574buf4L746 60   >205="6   re13INnnFILcod5=tty" 16/a>8167reineSCADESC=" 13nk85=t 8131trueesp*;a8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe  sln>SCA_BASE_SIZE=tty" 13/a>8131SCA_BASE_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_>>0>1__3586&ctyp++353 (346 5a 3eenab302return 0<65rget_aive6quest_mem_region31lea/abh6por5u67seesp*nG"te=eSRd_slchar)23w="+1a8131lengthe=L/nG"tclame=ad_reineSCABUFSIZEnec=5t=tctrll8ef=5e=L/;2 clame=ad_reinec=5t=tctrll8ef=5e=L/resp*e_ex=t <[ clame=ad_reinec=5eq_8131nk85=t 8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe t=tctrlln>cod5=tty" 13/a>8131nk85t=tctrlln>coA_BASE_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGGt=tctrlllame=ad_reineNULLeq_>>0REG3586REG(346 5a 3eenab302return 0<65f4 href__6/nG"tclame=ad_reineDiagS>68us_A6dressConflict=tty" 13/a>8131DiagS>)8us_AddressConflictesp*;a81682eineSCADESC=" 13a>8131DiagS>)8us_AddressConflictesp*;alast_mem_alloc=tty" 13/a>81tex=t <[ clame=ad_reinec=5eq_8131lcr_m6m_requestede=L/nG"tclame=6d_rei6etrue=tty" 13/a>8131trueesp*;a8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"w="+1alast_mem_alloc=tty" 13/a>81te0<3a>ks  <1353  >35957413 /4di3556533NU5"+  6quest_mem_region31lea/abh6por5u68_reinetrue=tty" 13/a>8131trueesp*;alast_mem_alloc=tty" 13/a>8131last_mem_alloce=64&ctyp++353=    2034=3+code20a h>1353= >3564buf4a8161nk85=t 8131phys_od5=tty" 13/a>8131nk85=t 81a>8131SCA_BAtlal 42in13l9strrevr>"%s(%d6it_errore=6/nG"tclame=ad_reineDiagS>68us_A6dressConflict=tty" 13/a>8131DiagS>)8usounmapdressConflictespounmap/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"  sln>cod5=tty" 13/a>81a>8131SCA_BAS-_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_ks  <1353  >35957413 /4di35565f4 href__653      9ef=3+c    659E9*83 hre135ref="+4231SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"  sln>cod5=tty" 13/a>81a>8131SCA_BA=ast_mem_alloce=64&ctyp++353=    2034=3+code20a h>1353= >3564buf4a8169now="+1atx_buf_list31lea/abh_por5u69pbuf4L746640   >205I"""""""""ort_fr6 href692eineSCADESC=" 13a>8131DiagS>)8us_AddressConflictesp*;a81at=tctrlln>coA_BAtlal 42in13l9strrevr>"%s(%d626w="+169true=tty" 13/a>8131trueesp*;a8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513" t=tctrlln>cod5=tty" 13/a>81at=tctrlln>coA_BAS-_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGGt=tctrlllame=ad_reineNULLeq_ks  <1353  >35957413 /4di3556al 42in13l6oooooooo  * calculate and6storh69_reinetrue=tty" 13/a>8131trueesp*;a81at=tctrlln>coA_BA=ast_mem_alloce=64&ctyp++353=    2034=3+code20a h>1353= >3564buf4a816l 8" class3496&ctyp++343 6a351le o3t.351le o3t.8131phys_od5=tty" 13/a>8131nk85=t 810513"g tal 42in13l9strrevr>"%s(%d6rx_buf_8ef=5eq_<69a8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"  sln>cod5=tty" 13/a>810513"g D-_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nG>0>1__3577&ctyp++35te0<3a>ks  <1353  >35957413 /4di3556af4 href__6uf_list=t <[ clame=ad_rei6ec=5e699E9*83 hre135ref="+4231SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"  sln>cod5=tty" 13/a>810513"g D1last_mem_alloce=64&ctyp++353=    2034=3+code20a h>1353= >3564buf4a8131nk857t   359  L736clas7x_buf_list7t <[ clame=ad_reinec=5eq_7a9a h70now="+1atx_buf_list31lea/abh_por5u7c71*" cw="7kL746 c1        3514&ctyp7+351 702eineSCADESC=" 13rme=esp*)idrtemmdebug_level" cw="nkL746 c1  bug_levellcr_b3584L74P 9at353 h>358lEBUG_LEVEL: >356mpa 3opped.oc lEBUG_LEVEL: >35    de"nkL746 c1        3527&ctyp++354     7me=ad_rein7c=5eq_8131trueesp*;a358a>8 3clal 38ow=>20s=releeq_>>>>>>>>ueesp*;a8131nk85=t 8131phys_lcr_basee=L/ ;a  359  L736clas7x6iidrtemm7D" class3437&ctyp++343 hM7=5eq_70+code0ti11s354:9>351le o3t./*n>__ the specified        inat=n   data a Pucture to theref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_<7storh70ressC * global 63reed list of       s and increment the        count.ref__FI0ti11s354:9>351le o3t. */ref__FI0ti11s354:9>351le o3t.356a>8 3clal 38oso>2tcla7="+1acod5=tty" 13/a>8131nk857t 8131nk85=t 810/n*t;g D1last_mem_alloce=81aa=or5" c7_      _count+code20a h>1353= >3564buf4a81actyp+f/a>8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"a=or5" c71*" cw="nkL746 c1        3588&cty3uf4>>>clal 3pclal 3f)f4 href__FIL31SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"adapter_num" cw="nkL746 c1adapter_numhcnow="+1aphys_lcr_base=tty" 13/a>8131phys_lcr_basee=L/ ;atx_buf_8ef=5eq_<79a8131phys_lcrod5=tty" 13/a>8131nk85=t 810/n*t;g D<tast_mem_alloce=MAX_DEVICES s=tty" 13/a>81MAX_DEVICESA_BAtlal 42in13l9strrevr>"%s(%d7izbares5a172r_d9OSINGlaRICC3519&ctyp7+354:71c=5eq_8131phys_lcrmaxfr71*" cw="nkL746 c1maxfr71*=5eq[/a>8131phys_lcrod5=tty" 13/a>8131nk85=t 810/n*t;g ]e20sAI"L353:h>356a>8 3clal 38oso>2tcla7=88131nk85=t 8131nk85=t 810/n*t;g ]e0<3a>ks  <1353  >35957413 /4di3557a9  359  L736clas7="nkL746 c7        3522&ctyp++354 81aa=or5" c7_      _count+cod++e0<3a>ks  <1353  >35957413 /4di3557Dmp.c#L7417  * call 8" class3523&cty7++35472 and recec#Lldescriptor lists.g DEebiidrte7354=">35247uf4a>)8142i4_5so>205s133N75"+al72reineSCADESC=" 13n!clame=ad_reinecaa=or5" c7_      _listd5=tty" 13/a>81aa=or5" c7_      _list    de"nkL746 c1        3527&ctyp++354     7S hrget_ai7eal_rsgener28"6"tclame=ad7reine72_reinetrue=tty" 13/a>clame=ad_reinecaa=or5" c7_      _listd5=tty" 13/a>81aa=or5" c7_      _list    d+343 348pbuf4aks  <1353  >35957413 /4di3557D hcnow="+7=5eq_  "%s(%d7017=4+co1e706912_354  >352a>8 3clal 78oe=e72356mpa 3opped.oc >>>0>1__35current_   6mpa 3opped.oc current_   t;g D1last_mem_alloce=81aa=or5" c7_      _list    e0<3a>ks  <1353  >35957413 /4di3557Dzbares5a17ctyp++354 8131nk85=t 348pbuf4aks  <1353  >35957413 /4di3557esp*]    i7="L74ro"+4virt_addr=tty" 73/a>873ctyp++353   359  L736clas7nk85=t tx_buf_list31lea/abh_por5u7r__arra =t7<[0]a hcnow="+1al7st_me732eineSCADESC=" 13+1adevica=or5" c71*" cw="nkL746 c1        3575&ctyp++35wax_fr71*_siz*" cw="nkL746 c1max_fr71*_siz*t;g D<t4096De"nkL746 c1        3527&ctyp++354     7  re13INnn7ILbuf_list31lea/abh_por5u7uf_li73true=tty" 13/a>8131trueesp*;a8137buf_p7rbuf4L7G"te=eSow="l" 13+1adevica=or5" c71*" cw="nkL746 c1        3575&ctyp++35wax_fr71*_siz*" cw="nkL746 c1max_fr71*_siz*t;g D&    65535De"nkL746 c1        3527&ctyp++354     7  hcnow="+7o"+4buf_base=tty" 13/a>8171buf_7aseesp*nG"te=eSRd_slchar)23w="+1a3S/s3L3re MultiPort w=>20s: f)f4 href__FI0ti11s354:9>351le o3t.&c73+9_rx_buf_8ef=5e=L/ -u/2057=3L7  3Mem=(LE__   x LE__     LE__   x LE__    ) IRQILE__ d MaxFr71*Siz*ILE__ u if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i7<9 42in13l7qt13   >3541&ctyp++353sre7"2041739E9*83 hre135ref="+4231SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"a=or5" c71*" cw="nkL746 c1        3588&ctyE__e=L/ 3   re13INnnFIL__LINE__     i713INnnFILf7ee_dma_buf131lea/abh_por57free_74ressConflict=tty" 13/a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"g DEe  sln>SCA_BASE_SIZE=tty" 13/a>8131SCA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i71k85=t 8131por__arra =t <[0]a hcnow="+=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_8131nk85=t 8131na>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"g DEe t=tctrlln>cod5=tty" 13/a>8131nk85t=tctrlln>coA_BALE__e=L/ 3   re13INnnFIL__LINE__     i7stesp*nG"t7lame=ad_reineNULLeq_8131trueesp*;a8131nk85=t 351le o3t.YNCLINK_GENERIC_HDLCcode0ti11s354:9>351le o3t.8131SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>&qte0<3a>ks  <1353  >35957413 /4di3557"9 42in13l7L741"  * call 8" class3557&ctyp7+353E_#endif0<3a>ks  <1353  >35957413 /4di3557353Er>35517*83a>)8142i4_5so>205s133N75"+al751virta  s/t3hr  359  L736clas7S hrget_ai7eal_rsgener28"6"tclame=ad7reine75now="+1atx_buf_list31lea/abh_por5u7_reinecod57tty" 13/a>8131nk85=t 8175true=tty" 13/.31SCA_MEM_SIZEecarrier_raisL/;2 clame=ad_reicarrier_raisL/t;g D1last_mem_alloce=carrier_raisL/;2 clame=ad_reicarrier_raisL/t;g yE__e=L/ 3   re13INnnFIL__LINE__     i7_bufe=L/nG7"tclame=ad_reineNULLeq_ks  <1353  >35957413 /4di3557f="+42desi7bares5a132r_d9OSINGlaRICC7558&c75+code0ti11s354:9>351le o3t./*n>llocate and initializ* a        inat=n   a Puctureref__FI0ti11s354:9>351le o3t. *ref__FI0ti11s354:9>351le o3t. * R8=3+coValue:tty" 13/poyp+er to >>>0>1__351le o3t.8131kfreee=L/t7clame760eine */ref__FI0ti11s354:9>351le o3t.7mp_rx_buf31lea/abh_por5ut7p_rx_7613/a>q_356mpa 3opped.oc >>>0>1__35alloc_   6mpa 3opped.oc alloc_   /a>81yp+rme=esp*)idrtemmadapter_num" cw="nkL746 c1adapter_numhcnow yp+rme=esp*)idrtemmport_num" cw="nkL746 c1port_num++35, a Puctt4 *)tclame=ad_rpci_   6mpa 3opped.oc pci_   /a izeid=510513   >35p   6mpa 3opped.oc p   /a ie"nkL746 c1        3527&ctyp++354     7e=L/nG"tcl7me=ad_reineNULLeq_"%s(%d7="nkL746 c7        3565&ctyp++353:  7 203576kmalloce=L/ttclame=ad_reinecn353: >356mpa 3opped.oc >>>0>1__3567&ctyp++353:hMks  <1353  >35957413 /4di3557133NU5"+  7im_resource131lea/abh_por7u  2i7_resource1e=L/ttclame=ad_reineS" nam8/SR2*S7hrget_aive7l_rsgener28"6"tclame=ad_r7ine9876_sca_base=ttyid=510513   >3567&ctyp++353:hM81siz*of131SCA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>1__8131nk85=t "%s(%d7)f4 href__7INE__esp* tclame=ad_reine7od5=t769E9*83 hre135ref="+4231SCA_MEM_SIZEe * call 8" class3587&ctyp++353 h358a>8 3clal 38 E     c  >205I"3allocate        inat=n   data ior adapter LE__ d, port w=>20d if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i7it_errore=7/nG"tclame=ad_reineDiagS>78us_A7dressConflict=tty" 13/ref="+4231SCA_MEM_SIZEee_20I"Valuerial98131nk85=t "%s(%d7lsef="+42d7sizbares5a132r_d9OSINGlaR7CC35777+cod5=tty" 13/a>8131na>8131DiagS>)8ulis_port_ hM<6mpa 3opped.oc lis_port_ hM<353 h&4&ctyp++353 8131phys_lcr_basee=L/ ;a8177true=tty" 13/a>8131trueesp*;a8131trueesp*;a8131phys_lcr_basee=L/ ;aks  <1353  >35957413 /4di35575="+42desi71nk85=t 8131nk85=t 78us_A7dressConflict=tty" 13/a>8131DiagS>)8us_it_waM8131phys_lcr_basee=L/ ;aks  <1353  >35957413 /4di3557581&ctyp++753rMks78ressConflict=tty" 13/a>8131DiagS>)8u=Lit_waM8131phys_lcr_basee=L/ ;aks  <1353  >35957413 /4di3557572&ctyp++7sizbares5a132r_d9OSINGlaR7CC3587813/a>8131por__arra =t <[0]a hcnow="+spin_lock_ hM<6mpa 3opped.oc spin_lock_ hM<353 h&4&ctyp++353 8131phys_lcr_basee=L/ ;aks  <1353  >35957413 /4di35575sef="+42d7   re13INnnFILcod5=tty" 17/a>8178+cod5=tty" 13/a>8131na>8131DiagS>)8umemcpy;2 clame=ad_reimemcpy353 h&4&ctyp++353 8131phys_lcr_basee=L/ ;a81MGSL_PARAMS++35tte0<3a>ks  <1353  >35957413 /4di35575"nkL746 c7m_requestede=L/nG"tclame=7d_rei7etrue=tty" 13/a>8131trueesp*;a81HDLC_TXID_20FLAGSt;g e20re13s353:<>355f5a 3f="+42desizbares7533NU5"+  7quest_mem_region31lea/abh7por5u78_reinetrue=tty" 13/a>8131trueesp*;a/*nCopy configur351le o3t.78us_A7dressConflict=tty" 13/a>8131DiagS>)8usc71*" cw="nkL746 c1        3584&ctyp++353   759E9*83 hre135ref="+4231SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe42in13l9strrevr>"eid=510513"g D1last_mem_alloce=pci8131SCA_MEM_SIZEep   6mpa 3opped.oc p   /a i,0te0<3a>ks  <1353  >35957413 /4di3557lsef="+42d7sizbares5a132r_d9OSINGlaR7CC35979ressConflict=tty" 13/a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"g DEe  sln>SCA_BASE_SIZE=tty" 13/a>8131SCA_BAD1last_mem_alloce=pci8131SCA_MEM_SIZEep   6mpa 3opped.oc p   /a i,2te0<3a>ks  <1353  >35957413 /4di3557l72&ctyp++7w="+1acod5=tty" 17/a>817913/a>8131por__arra =t <[0]a hcnow="+=L/,tlal 42in13l9strrevr>"eid=510513"g DEebi)nGG"tclame=ad_reineNULLeq_8131SCA_MEM_SIZEep   6mpa 3opped.oc p   /a i,3te0<3a>ks  <1353  >35957413 /4di3557lsef="+42d740   >205I"""""""""ort_fr7 href79+cod5=tty" 13/a>8131na>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"g DEe t=tctrlln>cod5=tty" 13/a>8131nk85t=tctrlln>coA_BAD1last_mem_alloce=pci8131SCA_MEM_SIZEep   6mpa 3opped.oc p   /a i,4te0<3a>ks  <1353  >35957413 /4di3557l"nkL746 c7_buff___list_physe=L/n+>27w="+179e=L/[ clame=ad_reinec=5eq_8/2057=3L7  /*nBecause necemap only works on page boundaries we must map/af__FI0ti11s354:9>351le o3t.817l 8" class3496&ctyp++343 7a                 * a larger area th057is actually implementEebior the LCR/af__FI0ti11s354:9>351le o3t.                 * 9a351le o3t.                 */ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_<79a"eid=510513"g DEebi)nG>0>1__3577&ctyp++35L/ -+343 348pbuf4a"eid=510513"g D&413/a>8131phys_lcrPAG_PAG_ks  <1353  >35957413 /4di3557lf4 href__7uf_list=t <[ clame=ad_rei7ec=5e799E9*83 hre135ref="+4231SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"g DEe42in13l9strrevr>"eid=510513"g D&4= ~3/a>8131phys_lcrPAG_PAG_ks  <1353  >35957413 /4di3558  re13INnn8ILcod5=tty" 13/a>8131nk858t 8131por__arra =t <[0]a hcnow="+=L/,tlal 42in13l9strrevr>"eid=510513"G"tclame=ad_reineNULLeq_348pbuf4aSCA_BASE_SIZE=tty" 13/a>8131SCA_BAD&413/a>8131phys_lcrPAG_PAG_ks  <1353  >35957413 /4di3558c71*" cw="8kL746 c1        3514&ctyp8+351 80+cod5=tty" 13/a>8131na>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"g DEe  sln>SCA_BASE_SIZE=tty" 13/a>8131SCA_BAD&4= ~3/a>8131phys_lcrPAG_PAG_ks  <1353  >35957413 /4di3558 31*" cw="8kbuff___list_physe=L/n+>282 cla80e=L/[ clame=ad_reinec=5eq_&ctyp++353 8131phys_lcr_basee=L/ ;a348pbuf4acod5=tty" 13/a>8131nk85t=tctrlln>coA_BAD&413/a>8131phys_lcrPAG_PAG_ks  <1353  >35957413 /4di3558c5=ad_rein8c 8" class3496&ctyp++343 8ss35180seesp*nG"te=eSRd_slchar)23w="+1a8131nk85t=tctrlln>coA_BAD&4= ~3/a>8131phys_lcrPAG_PAG_ks  <1353  >35957413 /4di3558 6=ad_rein8c" class3437&ctyp++343 hM8=5eq_80+code0ti11s354:9>351le o3t.81bus_typo+codD1last_mem_alloce=MGSL_BUS_TYPE_PCI s=tty" 13/a>81MGSL_BUS_TYPE_PCI++35e20re13s353:<>355f5a 3f="+42desizbares898rx_buf_8ef=5eq_<8storh80ressConflict=tty" 13/a>8131DiagS>)8usc71*" cw="nkL746 c1        3584&ctyp++353 355f5a 3f="+42desizbares8998131DiagS>)8ue=aup_time  3589&ctyp++353e=aup_time 353 h&4&ctyp++353 8131phys_lcr_basee=L/ ;a8131pte0<3a>ks  <1353  >35957413 /4di3558="+1acod5=tty" 13/a>8131nk858t 8131por__arra =t <[0]a hcnow="+s=aup_time  3589&ctyp++353e=aup_time 353 h&4&ctyp++353 8131phys_lcr_basee=L/ ;aks  <1353  >35957413 /4di3558=71*" cw="8t <[ clame=ad_reinec=5eq_8a9a h81+cod5=tty" 13/a>8131nnnnnnnnnnnnnnnnn(unsigned long)&ctyp++353 8131pte0<3a>ks  <1353  >35957413 /4di3558=31*" cw="8buf_8ef=5e=L/n* sizeofttc8ame=a81e=L/[ clame=ad_reinec=5eq_8/2057=3L7  /*nStore the PCI9050 misa control tclaster value because a flawref__FI0ti11s354:9>351le o3t.                 * in the PCI9050 prevents LCR tclasters from being read ifref__FI0ti11s354:9>351le o3t.                 * BIOS L7 igns an LCR n>co address with bit 7 e=a.ref__FI0ti11s354:9>351le o3t.                 *ref__FI0ti11s354:9>351le o3t.                 * Only the misa control tclaster is accessEebior which onlyref__FI0ti11s354:9>351le o3t.                 * write access is needed, so e=a an initial value and changeref__FI0ti11s354:9>351le o3t.                 * bits to the        inat=n   data as we write the valueref__FI0ti11s354:9>351le o3t.                 * to the actual misa control tclaster.ref__FI0ti11s354:9>351le o3t.                 */ref__FI0ti11s354:9>351le o3t.8131trueesp*;a/*ninitial port et.351le o3t.352a>8 3clal 88oe=e82+code                 * occur,ninit_e     will be e=a to indicate theref__FI0ti11s354:9>351le o3t.                 * problem. Once the port is fully initializ*d,ref__FI0ti11s354:9>351le o3t.                 * this value will be e=a to 0 to indicate theref__FI0ti11s354:9>351le o3t.                 * port is available.ref__FI0ti11s354:9>351le o3t.8830eine                 */ref__FI0ti11s354:9>351le o3t."eid=510513"init_e    tlal 42in13l9strrit_e    +codD1l-1e0<3a>ks  <1353  >35957413 /4di3558r__arra =t8<[0]a hcnow="+1al8st_me832eineSCADESC=a  s/t3hr  359  L736clas8  re13INnn8ILbuf_list31lea/abh_por5u8uf_li83e=L/[ clame=ad_reinec=5eq_8138buf_p8rbuf4L7G"te=eSr8=3+co <[0]a hcnow="+=L/,tlal 42in13l9strrevr>&qe0<3a>ks  <1353  >35957413 /4di3558r hcnow="+8o"+4buf_base=tty" 13/a>8181buf_83_sca_a  s/t3hr  359  L736clas8e17=4+co1e82inktx_1  regist3538&ctyp8+353 83+code0ti11s354:9>351le o3t.&c83+9_rxal 42in13l9strrevr>"%s(%d8<9 42in13l8qt13   >3541&ctyp++353sre8"2041839E9*83 hre135id=510513   >35n353: >356mpa 3opped.oc >>>0>1__35port_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcr3586MAX_PORTS s=tty" 13/a>813586MAX_PORTS/a i]e0<3a>ks  <1353  >35957413 /4di355813INnnFILf8ee_dma_buf131lea/abh_por58free_84ressConflict=yp+rme=esp*)idrtemmport;2 clame=ad_reiportr>&qe0<3a>ks  <1353  >35957413 /4di35581k85=t tx_buf_list31lea/abh_por5u81__arra =t8tty" 13/a>8131nk85=t /*nallocate        inat=n  sbior up to >586MAX_PORTS       s */ref__FI0ti11s354:9>351le o3t.devicport;2 clame=ad_reiportr>&qD1l0;tast_mem_alloce=port;2 clame=ad_reiportr>&qD<tast_mem_alloce=3586MAX_PORTS s=tty" 13/a>813586MAX_PORTS/a i; ++ast_mem_alloce=port;2 clame=ad_reiportr>&qDtlal 42in13l9strrevr>"%s(%d8s hrget_ai8lame=ad_reineNULLeq_8131phys_lcrport;2 clame=ad_reiportr>&q]D1last_mem_alloce=alloc_   6mpa 3opped.oc alloc_   /a>81me=esp*)idrtemmadapter_num" cw="nkL746 c1adapter_numhcnow/a>8131phys_lcrport;2 clame=ad_reiportr>&qw/a>8131phys_lcrp   6mpa 3opped.oc p   /a iee0<3a>ks  <1353  >35957413 /4di35581 hcnow="+8lame=ad_reineNULLeq_devicport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]D11last_mem_alloce=64&ctyp++353=    2034=3+codDtlal 42in13l9strrevr>"%s(%d8s17=4+co1e8  regist3548&ctyp++353 &qetast_mem_alloce=port;2 clame=ad_reiportr>&qD&584L70;t--me=esp*)idrtemmport;2 clame=ad_reiportr>&qDe"nkL746 c1        3527&ctyp++354     8"a=or5" c78c)8e buff__ large enough 8o hol84l resp*]    id="L74ro7G"te=eSRd_slshoueesp*;a8131SCA_MEM_SIZEeport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]ee0<3a>ks  <1353  >35957413 /4di3558188131nk85=t   359  L736clas8S hrget_ai8eal_rsgener28"6"tclame=ad8reine85now="+1atx_buf_list31lea/abh_por5u8_reinecod58tty" 13/a>8131nk85=t /*ngx_b copy of port_array to all ports and a__ to        list  */ref__FI0ti11s354:9>351le o3t.8185true=tty" 13/ior 3+1adevicport;2 clame=ad_reiportr>&qD1l0;tast_mem_alloce=port;2 clame=ad_reiportr>&qD<tast_mem_alloce=3586MAX_PORTS s=tty" 13/a>813586MAX_PORTS/a i; ++ast_mem_alloce=port;2 clame=ad_reiportr>&qDtlal 42in13l9strrevr>"%s(&#n 0<8e hrget_ai8"tclame=ad_reineNULLeq_8131phys_lcrport;2 clame=ad_reiportr>&q]r5" c71*" cw="nkL746port_array;2 clame=ad_reiport_array/a iw/a>8131phys_lcrport_array;2 clame=ad_reiport_array/a iwsiz*of131SCA_MEM_SIZEeport_array;2 clame=ad_reiport_array/a itte0<3a>ks  <1353  >35957413 /4di3558_ hcnow="+8++353     2056=3+code20dr8l 35385seesp*nG"te=eSRd_slchar)23w="+1aks  <1353  >35957413 /4di3558fa=or5" c78NGlaRICC3559&ctyp++353 hM8/2039857typ++353   359  L736clas8S8  359  L736clas8S9 42in13l8al_rsgener28"6"tclame=ad_8eine9859cod5=tty" 13a/2057=3L7  /*n>llocate and =3Lim adapter a9741"  * */ref__FI0ti11s354:9>351le o3t.8131kfreee=L/t8clame86ressConflict=y 13n!clame=ad_reinec=3Lim"%s(&#n 0<81a8mp_rx_buf31lea/abh_por5ut8p_rx_86now="+1atx_buf_list31lea/abh_por5u8e=L/nG"tcl8me=ad_reineNULLeq_8131na>8131DiagS>)8ualloc_ ma_buf*cr_base=tty" 13alloc_ ma_buf*353 h31SCA_MEM_SIZEeport_array;2 clame=ad_reiport_array/a i[0])e0<3a>ks  <1353  >35957413 /4di3558="nkL746 c8        3565&ctyp++353:  8 203586e=L/[ clame=ad_reinec=5eq_8/2057=3L7  /*ncopy a9741"   p*;arm351le o3t.devicport;2 clame=ad_reiportr>&qD1l1;tast_mem_alloce=port;2 clame=ad_reiportr>&qD<tast_mem_alloce=3586MAX_PORTS s=tty" 13/a>813586MAX_PORTS/a i; ++ast_mem_alloce=port;2 clame=ad_reiportr>&qDtlal 42in13l9strrevr>"%s(&#n 0<81="+42desi8equest_mem_region31lea/ab8_por5868131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]r5" c71*" cw="nkL746lockcr_base=tty" 13lock++35 -+343 ks  <1353  >35957413 /4di3558=a=or5" c781nk85=t 8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]r5" c71*" cw="nkL746 rqllevel" cw="nkL746 c1 rqllevel8&ctDDDDD+343 8131nk85=t ks  <1353  >35957413 /4di3558=9 42in13l8INE__esp* tclame=ad_reine8od5=t869E9*83 hre135ref="+42hcnow="+1adevicport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]r5" c71*" cw="nkL746  sln>SCA_BASE_SIZE=ttya>8131SCA_BADDDDDD+343 88us_A8dressConflict=tty" 13/ref="+4231SCA_MEM_SIZEeport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]r5" c71*" cw="nkL746 t=tctrlln>cod5=tty" 13/a>815t=tctrlln>coA_BAD1last_mem_alloce=port_array;2 clame=ad_reiport_array/a i[0]r5" c71*" cw="nkL746 t=tctrlln>cod5=tty" 13/a>815t=tctrlln>coA_BAe0<3a>ks  <1353  >35957413 /4di3558ia853 8713/a>8131por__arra =tla>8131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]r5" c71*" cw="nkL746l2in13l9strrevr>"e0513"g DDDDDD+343 8131nla>8131na>8131DiagS>)8ualloc_ ma_buf*cr_base=tty" 13alloc_ ma_buf*353 h31SCA_MEM_SIZEeport_array;2 clame=ad_reiport_array/a i[/a>8131phys_lcrport;2 clame=ad_reiportr>&q]ee0<3a>ks  <1353  >35957413 /4di35585"nkL746 c8   re13INnnFILcod5=tty" 18/a>8187true=tty" 13/a>8131tra  s/t3hr  359  L736clas8533NU5"+  8red_mem_requestede=L/nG"t8lame=87resource1e=L/ttclame=ad_reineS" nam8/SR2*S85rget_aive8quest_mem_region31lea/abh8por5u87seesp*nG"te=eSRd_slch" 13+1adevicrequest_ rq" cw="nkL746 c1request_ rq353 h31SCA_MEM_SIZEeport_array;2 clame=ad_reiport_array/a i[0] 3584&ctyp++353 8131nla>8131na>8131DiagS>)8uL__LINE__ _yp+erruptd5=tty" 13/a>81aa=or5" c7_yp+errupt8&ctyE__e=L/ 3   re13INnnFIL__LINE__     i85a=or5" c78 mem addr conflict, Addr=8#37;087l resp*]    id="L74ro=tty" 13/a>8131nla>8131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[0] 3584&ctyp++353 8131nk85=t 8131nla>8131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[0] 3584&ctyp++353 88us_A8dressConflict=tty" 13/=tty" 13/a>8131nla>8131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[0])D<t0Dtlal 42in13l9strrevr>"%s(&#n 0<8581&ctyp++853rMks88ressConflict=tty" 13/la>8131na>8131DiagS>)8up* call 8" class3587&ctyp++353 hM358a>8 3clal 38:58a>8  C  >205I"3request yp+errupt, IRQILE__ d if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i8572&ctyp++8sizbares5a132r_d9OSINGlaR8CC3588813/a>8131por__arra =ttty" 13/la>8131na>8131DiagS>)8ue_20I"Valuerial98131nk85=t 8188+cod5=tty" 13/a>8131n/a>8131nla>8131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[0] 3584&ctyp++353 8131tr/a>8131nla>8131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[0] 3584&ctyp++353 a  s/t3hr  359  L736clas85rget_aive81nk85=t "%s(%d85="+42desi8 mem addr conflict, Addr=8#37;0888131na>8131DiagS>)8uport_array;2 clame=ad_reiport_array/a i[0] 3584&ctyp++353 ks  <1353  >35957413 /4di3558)f4 href__8INE__esp* tclame=ad_reine8od5=t88l resp*]    id="L74rola>8131na>8131DiagS>)8uadapter_test" cw="nkL746 c1adapter_test353 h31SCA_MEM_SIZEeport_array;2 clame=ad_reiport_array/a i[0])e0<3a>ks  <1353  >35957413 /4di3558it_errore=8/nG"tclame=ad_reineDiagS>88us_A8dressConflict=tty" 13/a  s/t3hr  359  L736clas85f4 href__853      9ef=3+c    859E9*83 hre135a  s/t3hr  359  L736clas8lsef="+42d8sizbares5a132r_d9OSINGlaR8CC359891virta  s/t3hr  359  L736clas8l72&ctyp++8w="+1acod5=tty" 18/a>8189now="+1atx_buf_list31lea/abh_por5u8lsef="+42d840   >205I"""""""""ort_fr8 href89a"%s(%d8l"nkL746 c8_buff___list_physe=L/n+>28w="+189true=tty" 13/.31SCA_MEM_SIZEeinat=ll" cw="nkL746 c1 nat=llA_BAD1last_mem_alloce=inat=ll" cw="nkL746 c1 nat=llA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i8al 42in13l8oooooooo  * calculate and8storh89_reinetrue=tt.31SCA_MEM_SIZEeopentlal 42in13l9stopenA_BAD1last_mem_alloce=opentlal 42in13l9stopenA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i8arget_aive8l 8" class3496&ctyp++343 8arx_buf_8ef=5eq_<89a8131nk859t 8131por_.31SCA_MEM_SIZEeflush_buffe  3589&ctyp++353flush_buffe A_BAD1last_mem_alloce=flush_buffe  3589&ctyp++353flush_buffe A_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 2re13INnn9I0   >205I"""""""""ort_fr9+351 90+cod5=tty" 13.31SCA_MEM_SIZEeioctl" cw="nkL746 c1 octlA_BAD1last_mem_alloce=ioctl" cw="nkL746 c1 octlA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 3re13INnn9Ibuff___list_physe=L/n+>292 cla90true=tty" 13/.31SCA_MEM_SIZEethrottle;2 clame=ad_reithrottleA_BAD1last_mem_alloce=throttle;2 clame=ad_reithrottleA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 4re13INnn9Iooooooo  * calculate and9hcnow90_reinetrue=tt.31SCA_MEM_SIZEeunthrottle;2 clame=ad_reiunthrottleA_BAD1last_mem_alloce=unthrottle;2 clame=ad_reiunthrottleA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 5re13INnn9I 8" class3496&ctyp++343 9ss351905reinetrue=tt.31SCA_MEM_SIZEesend_xcha tlal 42in13l9stsend_xcha A_BAD1last_mem_alloce=send_xcha tlal 42in13l9stsend_xcha A_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 6re13INnn9I" class3437&ctyp++343 hM9=5eq_906reinetrue=tt.31SCA_MEM_SIZEebreak_ctl" cw="nkL746 c1break_ctlA_BAD1last_mem_alloce=set_breaktlal 42in13l9stset_breakA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 7re13INnn9I <[ clame=ad_reinec=5eq_9d_rei907reinetrue=tt.31SCA_MEM_SIZEewaM<_until_sent" cw="nkL746 c1waM<_until_sentA_BAD1last_mem_alloce=waM<_until_sent" cw="nkL746 c1waM<_until_sentA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 8re13INnn9Irx_buf_8ef=5eq_<9storh90+9_rx_buf_8ef.31SCA_MEM_SIZEeset_termiostlal 42in13l9stset_termiosA_BAD1last_mem_alloce=set_termiostlal 42in13l9stset_termiosA_BAyE__e=L/ 3   re13INnnFIL__LINE__     i9 9re13INnn9If_list=t <[ clame=ad_rei9   20909E9*83 hre135.31SCA_MEM_SIZEestopd5=tty" 13/a>815topA_BAD1last_mem_alloce=tx_hol/;2 clame=ad_reitx_hol/A_BAyE__e=L/ 3   re13INnnFIL__LINE__     i91"  * call98" class3511&ctyp++354   9 20e1910reinetrue=tt.31SCA_MEM_SIZEe5t=rt" cw="nkL746 c15t=rt/a>8D1last_mem_alloce=tx_rele3l9strrevr>"etx_rele3l9A_BAyE__e=L/ 3   re13INnnFIL__LINE__     i911re13INnn9n>cod5=tty" 13/a>8131nk859t 8131por_.31SCA_MEM_SIZEehangupd5=tty" 13/a>81hangup/a>8D1last_mem_alloce=hangupd5=tty" 13/a>81hangup/a>8yE__e=L/ 3   re13INnnFIL__LINE__     i912re13INnn9t <[ clame=ad_reinec=5eq_9a9a h91+cod5=tty" 13.31SCA_MEM_SIZEea9ocmg=ad_reineNULLeq_8D1last_mem_alloce=t9ocmg=ad_reineNULLeq_8yE__e=L/ 3   re13INnnFIL__LINE__     i913re13INnn9buf_8ef=5e=L/n* sizeofttc9ame=a91true=tty" 13/.31SCA_MEM_SIZEet9ocme=ad_reineNULLeq_8D1last_mem_alloce=t9ocme=ad_reineNULLeq_8yE__e=L/ 3   re13INnnFIL__LINE__     i914re13INnn9d_reinec=5eq_8yE__e=L/ 3   re13INnnFIL__LINE__     i916re13INnn9uf_list=t <[ clame=ad_rei9ec=5e91+code}e0<3a>ks  <1353  >35957413 /4di3559izbares5a192r_d9OSINGlaRICC3519&ctyp9+354:91l res0<3a>ks  <1353  >35957413 /4di3559i881aa=or5" c7_cle3nup353 hrgl e"nkL746 c1        3527&ctyp++354     9="nkL746 c9        3522&ctyp++354 "%s(%d9="+1a8131por_yp+rme=esp*)idrtemmrctyp++353:hMks  <1353  >35957413 /4di3559Dmp.c#L7419  * call 8" class3523&cty9++35492+cod5=tty" 13ae=esp*)idrtemmn353: >356mpa 3opped.oc >>>0>1__35=L/,tlal 42in13l9strrevr>&qe0<3a>ks  <1353  >35957413 /4di3559354=">35249uf4a>)8142i4_5so>205s133N95"+al92true=tty" 13/ae=esp*)idrtemmn353: >356mpa 3opped.oc >>>0>1__35tmpd5=tty" 13/a>81tmpr>&qe0<3a>ks  <1353  >35957413 /4di355934re13INnn9eal_rsgener28"6"tclame=ad9reine92resource1e=L/ttclame=ad_reineS" nam8/SR2*S9D hcnow="+9=5eq_8131DiagS>)8up* call 8" class3587&ctyp++353 h3Unloading 58a>8  58a>8  if)f4 href__FILrme=esp*)idrtemm lame= c71*" cw="nkL746 c1 lame= c71*/a>8yrme=esp*)idrtemm lame= me=aiontlal 42in13l9st lame= me=aion/a>8)e0<3a>ks  <1353  >35957413 /4di355936=ad_rein906912_354  >352a>8 3clal 98oe=e92+code0ti11s354:9>351le o3t.351ltlal 42in13l9stserial_9>351l/a>8)lal 42in13l9strrevr>"%s(%d9D8351ltlal 42in13l9sttty_untclaster_9>351l353 h31SCA_MEM_SIZEeserial_9>351ltlal 42in13l9stserial_9>351l/a>8))e"nkL746 c1        3527&ctyp++354     9=9devicp* call 8" class3587&ctyp++353 h358a>8 3clal 38 faile_ to untclaster 352        e  ILE__ d if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     i9esp*]    i9="L74ro"+4virt_addr=tty" 93/a>893ressConflict=tty" 13/la>8131ncnow="+1adevice_20I"Valuerial98131nk85=t ks  <1353  >35957413 /4di3559nk85=t 351ltlal 42in13l9stput_tty_9>351l353 h31SCA_MEM_SIZEeserial_9>351ltlal 42in13l9stserial_9>351l/a>8)e0<3a>ks  <1353  >35957413 /4di3559nmp.c#L7419<[0]a hcnow="+1al9st_me932eineSCADESC=a  s/t3hr  359  L736clas9  re13INnn9ILbuf_list31lea/abh_por5u9uf_li93e=L/[ clame=ad_reinec=5eq_8139buf_p9rbuf4L7G"te=eS8/2057=3L7  /*nree=a       s */ref__FI0ti11s354:9>351le o3t.8191buf_93seesp*nG"te=ea>8131DiagS>)8u=L/,tlal 42in13l9strrevr>&qD1last_mem_alloce=sa=or5" c7_       listd5=tty" 13/a>81aa=or5" c7_       listr>&qe0<3a>ks  <1353  >35957413 /4di3559e17=4+co1e92inktx_1  regist3538&ctyp9+353 936reinetrue=ttwhileh31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131ptlal 42in13l9strrevr>"%s(%d98131pte0<3a>ks  <1353  >35957413 /4di3559<8&c93ressConflict=tty" 13/a>8131DiagS>)8usc71*" cw="nkL746 c1       -+343 348pbuf4a  359  L736clas913INnnFILf9ee_dma_buf131lea/abh_por59free_94a_buf1e=L/ttclame=ad_reineS" nam8/SR2*S hr91k85=t /*nrele3l9       s */ref__FI0ti11s354:9>351le o3t.8131nk85=t &qD1last_mem_alloce=sa=or5" c7_       listd5=tty" 13/a>81aa=or5" c7_       listr>&qe0<3a>ks  <1353  >35957413 /4di3559stesp*nG"t9lame=ad_reineNULLeq_8131ptlal 42in13l9strrevr>"%s(%d9s hrget_ai9lame=ad_reineNULLeq_YNC=t K_GENERIC_HDLC_buf1e=L/ttclame=ad_reineS" nam8/SR2*S hr91 hcnow="+9lame=ad_reineNULLeq_8131pte0<3a>ks  <1353  >35957413 /4di3559s17=4+co1e9  regist3548&ctyp++353 ks  <1353  >35957413 /4di3559sa=or5" c79c)8e buff__ large enough 9o hol94l resp*]    id="L74roast_mem_alloce=free_ ma_buf*cr_base=tty" 13free_ ma_buf*353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pte0<3a>ks  <1353  >35957413 /4di3559s88131nk85=t 8131pte0<3a>ks  <1353  >35957413 /4di3559s9devics_AddressConflictesp*;a8131n" 13ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"G"tcn>SCA_BASE_SIZE=ttya>8131SCA_BAe"nkL746 c1        3527&ctyp++354     9S hrget_ai9eal_rsgener28"6"tclame=ad9reine9513/a>8131por__arra =ttty" 13/la>8131na>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmLPRcr_base=tty" 13LPR131pyr1);S8/2057=3L7  /*ne=a low pow   mtem */ref__FI0ti11s354:9>351le o3t.8131nk85=t 8131nla>8131na>8131DiagS>)8urele3l98131pte0<3a>ks  <1353  >35957413 /4di3559e=L/nG"tcl9me=ad_reinekmalloc=tty" 19/a>8195true=tty" 13/a>8131tra  s/t3hr  359  L736clas9e hrget_ai9"tclame=ad_reineNULLeq_81tmpr>&q-+343 348pbuf4aks  <1353  >35957413 /4di3559e hcnow="+9++353     2056=3+code20dr9l 35395seesp*nG"te=eSRd_slchar)23w="+1a348pbuf4a81tmpr>&qte0<3a>ks  <1353  >35957413 /4di3559ea=or5" c79NGlaRICC3559&ctyp++353 hM9/2039957typ++353   359  L736clas9S8  359  L736clas9S9 42in13l9al_rsgener28"6"tclame=ad_9eine9959cod5=tty" 13a1*" cw="nkL746pci_untclaster_9>351ltlal 42in13l9stpci_untclaster_9>351l/a>81&4&ctyp++353 351ltlal 42in13l9stsa=or5" c7_pci_ >351lr>&qte0<3a>ks  <1353  >35957413 /4di3559ref5"+kfre9=tty" 13/a>8131kfreee=L/t9clame961virta  s/t3hr  359  L736clas91a9mp_rx_buf31lea/abh_por5ut9p_rx_96now="+1atx_buf_list31lea/abh_por5u9e=L/nG"tcl9me=ad_reineNULLeq_/*nD      initializ351le o3t. */ref__FI0ti11s354:9>351le o3t.8131DiagS>)8uL__LINE__ _ypM<6mpa 3opped.oc s__LINE__ _ypM<353 hrgl e"nkL746 c1        3527&ctyp++354     91="+42desi9equest_mem_region31lea/ab9_por596"%s(&#n 0<9=a=or5" c791nk85=t "%s(%d9it_errore=9/nG"tclame=ad_reineDiagS>98us_A9dressConflict=tty" 13/a>8131DiagS>)8uL__LINE__ _get_text_ptltlal 42in13l9stsa=or5" c7_get_text_ptl353 hte0<3a>ks  <1353  >35957413 /4di3559ia953 9713/a>8131por__arra =ta>8131DiagS>)8uBREAKPOINTtlal 42in13l9stBREAKPOINT353 hte0<3a>ks  <1353  >35957413 /4di3559i=L/nG"tcl9sizbares5a132r_d9OSINGlaR9CC357972eineSCADESC=a  s/t3hr  359  L736clas95"nkL746 c9   re13INnnFILcod5=tty" 19/a>8197e=L/[ clame=ad_reinec=5eq_358a>8  58a>8  if)f4 href__FILrme=esp*)idrtemm lame= c71*" cw="nkL746 c1 lame= c71*/a>8yrme=esp*)idrtemm lame= me=aiontlal 42in13l9st lame= me=aion/a>8)e0<3a>ks  <1353  >35957413 /4di35595rget_aive9quest_mem_region31lea/abh9por5u97seesp0<3a>ks  <1353  >35957413 /4di35595="+42desi91nk85=t 351ltlal 42in13l9stpci_tclaster_9>351l/a>81&4&ctyp++353 351ltlal 42in13l9stsa=or5" c7_pci_ >351lr>&qt)D<t0tlal 42in13l9strrevr>"%s(%d9ia=or5" c79 mem addr conflict, Addr=9#37;097l resp*]    id="L74roa1*" cw="nkL746p* call 8" class3587&ctyp++353 h358a>8 :faile_ to tclaster PCI       , e    ILE__ d if)f4 href__FIL1adevice_20I"Valuerial98131nk85=t 98us_A979E9*83 hre135a  s/t3hr  359  L736clas9581&ctyp++953rMks98a_buf1e=L/ttclame=ad_reineS" nam8/SR2*S hr9572&ctyp++9sizbares5a132r_d9OSINGlaR9CC3589813/a>8131por_31SCA_MEM_SIZEeserial_9>351ltlal 42in13l9stserial_9>351l/a>8D1last_mem_alloce=alloc_tty_9>351ltlal 42in13l9stalloc_tty_9>351l353 h128)e0<3a>ks  <1353  >35957413 /4di35595=L/nG"tcl9   re13INnnFILcod5=tty" 19/a>8198+cod5=tty" 13" 13!clame=ad_reinecserial_9>351ltlal 42in13l9stserial_9>351l/a>8)lal 42in13l9strrevr>"%s(%d95"nkL746 c9m_requestede=L/nG"tclame=9d_rei9etrue=tty" 13/a>8131trast_mem_alloce=rctyp++353:hMks  <1353  >35957413 /4di3559533NU5"+  9quest_mem_region31lea/abh9por5u98_reinetrue=tty" 13/a>goto me=esp*)idrtemme    tlal 42in13l9ste    +code0<3a>ks  <1353  >35957413 /4di35595rget_aive91nk85=t   359  L736clas95="+42desi9 mem addr conflict, Addr=9#37;098+code0ti11s354:9>351le o3t./*nInitializ* the tty_9>351l a Pucturm */ref__FI0ti11s354:9>351le o3t.98us_A98ressC  s/t3hr  359  L736clas95f4 href__953      9ef=3+c    989cod5=tty" 13a1*" cw="nkL746serial_9>351ltlal 42in13l9stserial_9>351l/a>8 3584&ctyp++353 cod5=tty" 19/a>819913/a>8131por_31SCA_MEM_SIZEeserial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746baj  tlal 42in13l9stbaj  /a>8D1last_mem_alloce=  >baj  tlal 42in13l9st  >baj  +code0<3a>ks  <1353  >35957413 /4di3559lsef="+42d940   >205I"""""""""ort_fr9 href99+cod5=tty" 13ae=esp*)idrtemmserial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746binor_5t=rt" cw="nkL746 c1binor_5t=rt/a>8D1l64e0<3a>ks  <1353  >35957413 /4di3559l"nkL746 c9_buff___list_physe=L/n+>29w="+199true=tty" 13/ae=esp*)idrtemmserial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746typ9strrevr>"etyp9/a>8D1last_mem_alloce=TTY_DRIVER_TYPE_SERIActyp++353=    20TTY_DRIVER_TYPE_SERIAc+code0<3a>ks  <1353  >35957413 /4di3559l33NU5"+  9oooooooo  * calculate and9storh994cod5=tty" 13a1*" cw="nkL746serial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746subtyp9strrevr>"esubtyp9/a>8D1last_mem_alloce=SERIAc_TYPE_NORMActyp++353=    20SERIAc_TYPE_NORMAc+code0<3a>ks  <1353  >35957413 /4di3559lrget_aive9l 8" class3496&ctyp++343 9a8131DiagS>)8userial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746rrit_termiostlal 42in13l9strrit_termios/a>8D1last_mem_alloce=  >_5td_termiostlal 42in13l9st  >_5td_termios+code0<3a>ks  <1353  >35957413 /4di3559l="+42desi98" class3437&ctyp++343 hM9/2057996reinetrue=tta>8131DiagS>)8userial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746rrit_termiostlal 42in13l9strrit_termios/a>8.31SCA_MEM_SIZEec_cflagtlal 42in13l9stc_cflag/a>8D10<3a>ks  <1353  >35957413 /4di3559lf4 href__9t <[ clame=ad_reinec=5eq_9a9a h99l resp*]    id="L74roa1*" cw="nkL746B96ILcod5=tty"13l9stB96IL resp|oa1*" cw="nkL746CS8cod5=tty"13l9stCS8 resp|oa1*" cw="nkL746CREADcod5=tty"13l9stCREAD resp|oa1*" cw="nkL746HUPCctyp++353=    20HUPCc resp|oa1*" cw="nkL746CLOCActyp++353=    20CLOCAc+code0<3a>ks  <1353  >35957413 /4di3559lt_errore=9arx_buf_8ef=5eq_<99a8131DiagS>)8userial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746rrit_termiostlal 42in13l9strrit_termios/a>8.31SCA_MEM_SIZEec_ispeL/;2 clame=ad_reic_ispeL//a>8D1l96ILe0<3a>ks  <1353  >35957413 /4di3559lf4 href__9uf_list=t <[ clame=ad_rei9ec=5e999cod5=tty" 13a1*" cw="nkL746serial_9>351ltlal 42in13l9stserial_9>351l/a>8 3584&ctyp++353 8.31SCA_MEM_SIZEec_ospeL/;2 clame=ad_reic_ospeL//a>8D1l96ILe0<3a>ks  <1353  >35957413 /4di3540  re13INn40  reist=t <[ clame=ad_re40  r>40  cod5=tty" 13a1*" cw="nkL746serial_9>351ltlal 42in13l9stserial_9>351l/a>8 3584&ctyp++353 <3a>ks  <1353  >35957413 /4di3540 1re13INn40 ="+1acod5=tty" 40 =">40 13/a>8131por_31SCA_MEM_SIZEe  >_5et_oper8131SCA_MEM_SIZEeserial_9>351ltlal 42in13l9stserial_9>351l/a>8,l&4&ctyp++353 ks  <1353  >35957413 /4di3540 2re13INn40 0   >205I"""""""""ort_f40 0 >40 +cod5=tty" 13" 133ast_mem_alloce=rctyp++353:hM351ltlal 42in13l9sttty_tclaster_9>351l353 h31SCA_MEM_SIZEeserial_9>351ltlal 42in13l9stserial_9>351l/a>8))D<t0tlal 42in13l9strrevr>"%s(%40 3re13INn40 buff___list_physe=L/n+>40 bu>40 true=tty" 13/a>8131trast_mem_alloce=p* call 8" class3587&ctyp++353 h358a>8 3clal 38:Could >205I"3relaster serial        if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     40 4re13INn40 ooooooo  * calculate an40 oo>40 _reinetrue=tty" 13/a>a>8131trast_mem_alloce=e_20I"Valuerial98131nk85=t ks  <1353  >35957413 /4di3540 5re13INn40  8" class3496&ctyp++34340  8>40 seesp*nG"te=eSRd_slchar)23w="+1a351ltlal 42in13l9stput_tty_9>351l353 h31SCA_MEM_SIZEeserial_9>351ltlal 42in13l9stserial_9>351l/a>8)e0<3a>ks  <1353  >35957413 /4di3540 6re13INn40 " class3437&ctyp++343 h40 " >40 8131DiagS>)8userial_9>351ltlal 42in13l9stserial_9>351l/a>8D1last_mem_alloce=64&ctyp++353=    2034=3+code0<3a>ks  <1353  >35957413 /4di3540 7re13INn40  <[ clame=ad_reinec=5eq40  <>40 l resp*]    id="L74rogoto me=esp*)idrtemme    tlal 42in13l9ste    +code0<3a>ks  <1353  >35957413 /4di3540 8re13INn40 rx_buf_8ef=5eq_40 40 +9_rx_buf_8efa  s/t3hr  359  L736cla40 9re13INn40 f_list=t <[ clame=ad_re40 f_>40 9essC  s/t3hr  359  L736cla401 re13INn408" class3511&ctyp++354  408" >408"cod5=tty" 13a1*" cw="nkL746p* call 8" class3587&ctyp++353 h358a>8  58a>8 , 352 baj  #LE__ d if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     4081re13INn40n>cod5=tty" 13/a>8131nk840n>c>40813/a>8131por__arra =ta>8131DiagS>)8u lame= c71*" cw="nkL746 c1 lame= c71*/a>8yrme=esp*)idrtemm lame= me=aiontlal 42in13l9st lame= me=aion/a>8LE__e=L/ 3   re13INnnFIL__LINE__     4082re13INn40t <[ clame=ad_reinec=5eq40t <>408+cod5=tty" 13/a>8131na>8131DiagS>)8userial_9>351ltlal 42in13l9stserial_9>351l/a>8r5" c71*" cw="nkL746baj  tlal 42in13l9stbaj  /a>8)e0<3a>ks  <1353  >35957413 /4di354013re13INn40buf_8ef=5e=L/n* sizeoftt40buf>408e=L/[ clame=ad_reinec=5eq_408_reinetrue=ttr8=3+coLe0<3a>ks  <1353  >35957413 /4di354015re13INn40atx_buf_8ef=5eq_40a408seesp0<3a>ks  <1353  >35957413 /4di354086re13INn40uf_list=t <[ clame=ad_re40uf_>408ks  <1353  >35957413 /4di354087re13INn402r_d9OSINGlaRICC3519&cty402r_>4087cod5=tty" 13a1*" cw="nkL746aa=or5" c7_cle3nupd5=tty" 13/a>81aa=or5" c7_cle3nup353 h)e0<3a>ks  <1353  >35957413 /4di354018re13INn40*" cw="nkL746 c1        40*" >4088reinetrue=ttr8=3+co <[0]a hcnow="+rctyp++353:hMks  <1353  >35957413 /4di354089re13INn40bares5a132r_d9OSINGlaRIC40bar>4089essCa  s/t3hr  359  L736cla402 re13INn40        3522&ctyp++354 <40   >40  eesp0<3a>ks  <1353  >35957413 /4di354021re13INn40c)8e the fr0I" DMA buff_40c)8>40 13/a>q_40 +cod5al 42in13l9strrevr>"%s(%4023re13INn40uf4a>)8142i4_5so>205s13340uf4>40 true=tty" 13/ae=esp*)idrtemmsa=or5" c7_cle3nupd5=tty" 13/a>81aa=or5" c7_cle3nup353 h)e0<3a>ks  <1353  >35957413 /4di354024re13INn40eal_rsgener28"6"tclame=a40eal>40 4essCa  s/t3hr  359  L736cla4025re13INn40=5eq_40 seesp0<3a>ks  <1353  >35957413 /4di354026re13INn4006912_354  >352a>8 3clal40069>40 ks  <1353  >35957413 /4di354027re13INn40ctyp++354 40 7a9a me=esp*)idrtemmmodule_exM<6mpa 3opped.oc module_exM<353 h31SCA_MEM_SIZEes__LINE__ _exM<6mpa 3opped.oc aa=or5" c7_exM<353 )e0<3a>ks  <1353  >35957413 /4di354028re13INn40c=5eq_40 ressC  s/t3hr  359  L736cla40 9re13INn40=5eq_40 9essC/*nSet the port ior yp+ernal loopback mtem.ref__FI0ti11s354:9>351le o3t.40="essC * The TxCLK and RxCLK signals are gener351le o3t. * the TxD is looped back to the RxD ip+ernally.ref__FI0ti11s354:9>351le o3t. */ref__FI0ti11s354:9>351le o3t.40=33/a>q_356mpa 3opped.oc >>>0>1__35=L/,tlal 42in13l9strrevr>&q,iyp+rme=esp*)idrtemmenabletlal 42in13l9stenable353 )0ti11s354:9>351le o3t.8140o"+>40=4cod5al 42in13l9strrevr>"%s(%4035re13INn40o"+4buf_base=tty" 13/a>840o"+>40=seesp*nG"te=e" 13ast_mem_alloce=enabletlal 42in13l9stenable353 )lal 42in13l9strrevr>"%s(%4036re13INn402inktx_1  regist3538&cty402in>40=/*nMD2 (Mtem Relaster 2)ref__FI0ti11s354:9>351le o3t.40=7and                  * 01..00  CNCT<1..05" c Channel Conneca9on 11=Local Loopback35f__FI0ti11s354:9>351le o3t.40=8and                  */ref__FI0ti11s354:9>351le o3t.3541&ctyp++353sr40qt1>40=9E9*83 hre135ref="+42ast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD2cr_base=tty" 13MD2131pyr(unsigned cha )3ast_mem_alloce=read_reg" cw="nkL746 c1read_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD2cr_base=tty" 13MD2131p) |13ast_mem_alloce=BIT1cr_base=tty" 13BIT1E9*83+oa1*" cw="nkL746BITLcod5=tty"13l9stBITL/a>8)))e0<3a>ks  <1353  >35957413 /4di35404 re13INn40ee_dma_buf131lea/abh_por40ee_>40eeessC  s/t3hr  359  L736cla4041re13INn40sgener28"6"tclame=ad_rei40sge>40e13/a>8131por__arra =ta/2057=3L7  /*ndeg351le o3t.8131nk85=t 40e+cod5=tty" 13/a>8131na>8131DiagS>)8us_AddressConflictesp*;a8D<<t3ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"port_num" cw="nkL746 c1port_numr>&qD* 2))e0<3a>ks  <1353  >35957413 /4di354043re13INn40lame=ad_reineNULLeq_40etrue=tty" 13/a>8131trast_mem_alloce=write_control_reg" cw="nkL746 c1write_control_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131p)e0<3a>ks  <1353  >35957413 /4di354044re13INn40lame=ad_reineNULLeq_40eresource1e=L/ttclame=ad_reineS" nam8/SR2*40e5re13INn40lame=ad_reineNULLeq_40eseesp*nG"te=eSRd_slcha/2057=3L7  /*nRXS/TXS (Rx/Tx7=3ock 741"  )ref__FI0ti11s354:9>351le o3t.40e6and                  * 07      Reserved, must be 0ref__FI0ti11s354:9>351le o3t.40e7and                  * 06..04  C3ock S41"  , 100=BRGref__FI0ti11s354:9>351le o3t.40e8and                  * 03..00  C3ock Divisor, 0000=1ref__FI0ti11s354:9>351le o3t.40e9essC                 */ref__FI0ti11s354:9>351le o3t.)8142i4_5so>205s13340*83>40*8E9*83 hre135ref="+42ast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXScr_base=tty" 13RXS131pyr0x40)e0<3a>ks  <1353  >35957413 /4di354051re13INn40eal_rsgener28"6"tclame=a40eal>40*13/a>8131por__arra =ta>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTXScr_base=tty" 13TXS131pyr0x40)e0<3a>ks  <1353  >35957413 /4di354052re13INn40tty" 13/a>8131nk85=t 40*2esource1e=L/ttclame=ad_reineS" nam8/SR2*4053re13INn40me=ad_reinekmalloc=tty" 40me=>40*true=tty" 13/}how="lal 42in13l9strrevr>"%s(%40*4re13INn40"tclame=ad_reineNULLeq_<40"tc>40*buf4L7G"te=eSRd_slshou/2057=3L7  /*nMD2 (Mtem Relaster 2)ref__FI0ti11s354:9>351le o3t.40*5and                  * 01..00  CNCT<1..05" c Channel conneca9onyr0=normalref__FI0ti11s354:9>351le o3t.40*6and                  */ref__FI0ti11s354:9>351le o3t.40*l resp*]    id="L74roa1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD2cr_base=tty" 13MD2131pyr(unsigned cha )3ast_mem_alloce=read_reg" cw="nkL746 c1read_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD2cr_base=tty" 13MD2131p) &4 ~3ast_mem_alloce=BIT1cr_base=tty" 13BIT1E9*83+oa1*" cw="nkL746BITLcod5=tty"13l9stBITL/a>8)))e0<3a>ks  <1353  >35957413 /4di354058re13INn40ee_tmp_rx_buf31lea/abh_p40ee_>40*ressC  s/t3hr  359  L736cla4059re13INn40al_rsgener28"6"tclame=ad40al_>40*9E9*83 hre135ref="+42a/2057=3L7  /*nRXS/TXS (Rx/Tx7=3ock 741"  )ref__FI0ti11s354:9>351le o3t.8131kfreee=L/40=tt>40=tand                  * 07      Reserved, must be 0ref__FI0ti11s354:9>351le o3t.40=1essC                 * 06..04  C3ock S41"  , 000=RxC/TxC7Pinref__FI0ti11s354:9>351le o3t.40= and                  * 03..00  C3ock Divisor, 0000=1ref__FI0ti11s354:9>351le o3t.40=e=L/[                 */ref__FI0ti11s354:9>351le o3t.40=buf4L7G"te=eSRd_slshoueesp*;a8131pyrme=esp*)idrtemmRXScr_base=tty" 13RXS131pyr0x00)e0<3a>ks  <1353  >35957413 /4di354065re13INn40l_rsgener28"6"tclame=ad_40l_r>40=seesp*nG"te=eSRd_slchar)23w="+1a8131pyrme=esp*)idrtemmTXScr_base=tty" 13TXS131pyr0x00)e0<3a>ks  <1353  >35957413 /4di354066re13INn40equest_mem_region31lea/a40equ>40=  359  L736cla4067re13INn401nk85=t /*ne=a L13 SpeL/e" 1available, otherwil9   fault to 2Mbps */ref__FI0ti11s354:9>351le o3t.40=9E9*83 hre135" 13ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"paramstlal 42in13l9stparamsr>&q.31SCA_MEM_SIZEeclock_speL/;2 clame=ad_reiclock_speL/353 )0ti11s354:9>351le o3t.40/ncod5=tty" 13/a>8131na>8131DiagS>)8uset_r8131pyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"paramstlal 42in13l9stparamsr>&q.31SCA_MEM_SIZEeclock_speL/;2 clame=ad_reiclock_speL/353 )e0<3a>ks  <1353  >35957413 /4di354071re13INn4053 40/13/a>8131por_ow="0<3a>ks  <1353  >35957413 /4di354072re13INn40sizbares5a132r_d9OSINGla40siz>40/+cod5=tty" 13/a>8131na>8131DiagS>)8uset_r8131pyr3686400)e0<3a>ks  <1353  >35957413 /4di354073re13INn40   re13INnnFILcod5=tty" 40   >40/3essCa  s/t3hr  359  L736cla4074re13INn40red_mem_requestede=L/nG"40red>40/resource1e=L/ttclame=ad_reineS" nam8/SR2*4075re13INn40quest_mem_region31lea/ab40que>40/5and /*nSet the baud r351le o3t. *35f__FI0ti11s354:9>351le o3t.40/7and  *>8131ndata_r8131ndata r351le o3t.40/8and  *                      Andata r351le o3t.40/9essC */ref__FI0ti11s354:9>351le o3t.ks40533/a>q_356mpa 3opped.oc >>>0>1__35=L/,tlal 42in13l9strrevr>&qyrme=esp*)idrtemmu32cr_base=tty" 13u32eineSme=esp*)idrtemmdata_r351le o3t.4051cod5al 42in13l9strrevr>"%s(%4082re13INn40   re13INnnFILcod5=tty" 40   >405+cod5=tty" 13ae=esp*)idrtemmu32cr_base=tty" 13u32eineSme=esp*)idrtemmTMCValue;2 clame=ad_reiTMCValueeinee0<3a>ks  <1353  >35957413 /4di354083re13INn40m_requestede=L/nG"tclame40m_r>405true=tty" 13/unsigned cha ta>8131DiagS>)8uBRValue;2 clame=ad_reiBRValueeinee0<3a>ks  <1353  >35957413 /4di354084re13INn40quest_mem_region31lea/ab40que>4054cod5=tty" 13a1*" cw="nkL746u32cr_base=tty" 13u32eineSme=esp*)idrtemmDivisorcr_base=tty" 13Divisoreine=Le0<3a>ks  <1353  >35957413 /4di354085re13INn401nk85=t /*nfBRG = fCLK/(TMCD* 2^BR)ref__FI0ti11s354:9>351le o3t.4057and          */ref__FI0ti11s354:9>351le o3t.405+9_rx_buf_8ef" 13ast_mem_alloce=data_r"%s(%4089re13INn4053      9ef=3+c    <4053 >4059E9*83 hre135ref="+42ast_mem_alloce=Divisorcr_base=tty" 13Divisoreine = 14745600/ast_mem_alloce=data_rks  <1353  >35957413 /4di35409 re13INn40sizbares5a132r_d9OSINGla40siz>40siE9*83 hre135ref="+42" 13!clame=ad_reinecDivisorcr_base=tty" 13Divisoreine)0ti11s354:9>351le o3t.ks  <1353  >35957413 /4di354092re13INn4040   >205I"""""""""ort_f4040 >40s2esource1e=L/ttclame=ad_reineS" nam8/SR2*4093re13INn40_buff___list_physe=L/n+>40_bu>40strue=tty" 13/a>8131trast_mem_alloce=TMCValue;2 clame=ad_reiTMCValueeineD1last_mem_alloce=Divisorcr_base=tty" 13Divisoreinee0<3a>ks  <1353  >35957413 /4di354094re13INn40oooooooo  * calculate an40ooo>40sresource1e=L/ttclame=ad_reineS" nam8/SR2*4095re13INn40l 8" class3496&ctyp++34340l 8>40sseesp*nG"te=eSRd_slchar)23w="+1aks  <1353  >35957413 /4di354096re13INn408" class3437&ctyp++343 h408" >40s"%s(%4097re13INn40t <[ clame=ad_reinec=5eq40t <>40sl resp*]    id="L74roetrue=tta/2057=3L7  /*nBRValue3of70 provides 50/50 duty cycle *only* whenref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_40a40s8and                          * TMCValue is 1 or 2.nBRValue3of71 to 9 always providesref__FI0ti11s354:9>351le o3t.40s9essC                         * 50/50 duty cycle.ref__FI0ti11s354:9>351le o3t.410tand                          */ref__FI0ti11s354:9>351le o3t.ks  <1353  >35957413 /4di3541 2re13INn41 0   >205I"""""""""ort_f41 0 >410+cod5=tty" 13/a>8131ntty" 13/ast_mem_alloce=TMCValue;2 clame=ad_reiTMCValueeineDot;eot;e1l1e0<3a>ks  <1353  >35957413 /4di3541 3re13INn41 buff___list_physe=L/n+>41 bu>41 true=tty" 13/a>8131tra  s/t3hr  359  L736cla41 4re13INn41 ooooooo  * calculate an41 oo>410resource1e=L/ttclame=ad_reineS" nam8/SR2*41 5re13INn41  8" class3496&ctyp++34341  8>41 seesp*nG"te=eSRd_slcha/2057=3L7  /*nwhile TMCValue is too big ior TMCDrelaster, divideref__FI0ti11s354:9>351le o3t.4106and                  * by 2 and incrementnBR exponena.ref__FI0ti11s354:9>351le o3t.4107and                  */ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_41 410" 13/a>8131nk85=t 351le o3t.4109E9*83 hre135ref="+42hcnow="+1adevicTMCValue;2 clame=ad_reiTMCValueeineDot;eot;e1l1e0<3a>ks  <1353  >35957413 /4di35411 re13INn418" class3511&ctyp++354  418" >411eessC  s/t3hr  359  L736cla4181re13INn41n>cod5=tty" 13/a>8131nk841n>c>41813/a>8131por__arra =ta>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTXScr_base=tty" 13TXS131py  s/t3hr  359  L736cla4182re13INn41t <[ clame=ad_reinec=5eq41t <>418+cod5=tty" 13/a>8131nnnnnnnnn(unsigned cha )33ast_mem_alloce=read_reg" cw="nkL746 c1read_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTXScr_base=tty" 13TXS131p) &4 0xf0)p|oa1*" cw="nkL746BRValue;2 clame=ad_reiBRValueeine))e0<3a>ks  <1353  >35957413 /4di354113re13INn41buf_8ef=5e=L/n* sizeoftt41buf>411true=tty" 13/a>8131trast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXScr_base=tty" 13RXS131py0<3a>ks  <1353  >35957413 /4di354114re13INn41d_reinec=5eq_411_reinetrue=tty" 13/a>a>8131tr(unsigned cha )33ast_mem_alloce=read_reg" cw="nkL746 c1read_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXScr_base=tty" 13RXS131p) &4 0xf0)p|oa1*" cw="nkL746BRValue;2 clame=ad_reiBRValueeine))e0<3a>ks  <1353  >35957413 /4di354115re13INn41atx_buf_8ef=5eq_41a411seesp*nG"te=eSRd_slchar)23w="+1a8131pyrme=esp*)idrtemmTMC6mpa 3opped.oc TMC131pyr(unsigned cha )1adevicTMCValue;2 clame=ad_reiTMCValueeine)e0<3a>ks  <1353  >35957413 /4di354116re13INn41uf_list=t <[ clame=ad_re41uf_>411  359  L736cla4187re13INn412r_d9OSINGlaRICC3519&cty412r_>4187cod5=tty" 13ow="lal 42in13l9strrevr>"%s(%4118re13INn41*" cw="nkL746 c1        41*" >411" 13/a>8131nk85=t 8131pyrme=esp*)idrtemmTXScr_base=tty" 13TXS131py0)e0<3a>ks  <1353  >35957413 /4di354189re13INn41bares5a132r_d9OSINGlaRIC41bar>4119E9*83 hre135ref="+42ast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXScr_base=tty" 13RXS131py0)e0<3a>ks  <1353  >35957413 /4di35412 re13INn41        3522&ctyp++354 <41   >4128E9*83 hre135ref="+42ast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTMC6mpa 3opped.oc TMC131pyr0)e0<3a>ks  <1353  >35957413 /4di354121re13INn41c)8e the fr0I" DMA buff_41c)8>4121a9a hrgl resa  s/t3hr  359  L736cla41 2re13INn41  * call 8" class3523&ct41  *>41 +cod5a  s/t3hr  359  L736cla41 3re13INn41uf4a>)8142i4_5so>205s13341uf4>412e=L/[ clame=ad_reinec=5eq_41 4essC/*nDisableDrece351l/af__FI0ti11s354:9>351le o3t.4125and  */ref__FI0ti11s354:9>351le o3t.352a>8 3clal41069>41 81rx_stop353 h31SCA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>1__35=L/,tlal 42in13l9strrevr>&q)0ti11s354:9>351le o3t.41 7a9a al 42in13l9strrevr>"%s(%4128re13INn41c=5eq_412+9_rx_buf_8ef" 13ast_mem_alloce=debug_levelcr_base=tty" 13debug_leveleineDot;e1last_mem_alloce=DEBUG_LEVEL_ISRcr_base=tty" 13DEBUG_LEVEL_ISRr>&q)0ti11s354:9>351le o3t.4129E9*83 hre135ref="+42ast_mem_alloce=p* call 8" class3587&ctyp++353 h358a>8 3clal 38:58a>8  rx_stop() if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     413 re13INn41="L74ro"+4virt_addr=tty"41="L>413ressConflict=tty" 13/la>8131nrast_mem_alloce=e_20I"Valuerial98131nk85=t "eid=510513"       c71*" cw="nkL746 c1       c71*eineS)e0<3a>ks  <1353  >35957413 /4di354131re13INn41cnow="+1apor__ar41cno>413now="+1atx_buf_list31lea/abh_por54132re13INn41<[0]a hcnow="+1a41<[0>413+cod5=tty" 13ae=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmCMDcod5=tty"13l9stCMD131pyrme=esp*)idrtemmRXRESETtlal 42in13l9stRXRESETeine)e0<3a>ks  <1353  >35957413 /4di3541=3re13INn41ILbuf_list31lea/abh_por541ILb>413e=L/[ clame=ad_reinec=5eq_8141o"+>4134cod5=tty" 13a1*" cw="nkL746=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeineDoamp4= ~me=esp*)idrtemmRXRDYEtlal 42in13l9stRXRDYEeinee0<3a>ks  <1353  >35957413 /4di354135re13INn41o"+4buf_base=tty" 13/a>841o"+>41=seesp*nG"te=eae=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIELcod5=tty"13l9stIELhcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeine);=ta/2057=3L7  /*ndisableDRxndata ip+errupts */ref__FI0ti11s354:9>351le o3t.413+code0ti11s354:9>351le o3t.4137cod5=tty" 13a1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746DSRcr_base=tty" 13DSRr>&qyr0)e=tty" 13a/2057=3L7  /*ndisableDRxnDMA */ref__FI0ti11s354:9>351le o3t.413+9_rx_buf_8efa>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746DCMDcod5=tty"13l9stDCMD131pyrme=esp*)idrtemmSWABORTtlal 42in13l9stSWABORTeine);=a/2057=3L7  /*nreset/ypM351le o3t.3541&ctyp++353sr41qt1>4139cod5=tty" 13a1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746DIRcr_base=tty" 13DIRr>&qyr0)e=tty" 13a/2057=3L7  /*ndisableDRxnDMA ip+errupts */ref__FI0ti11s354:9>351le o3t.41eeessC  s/t3hr  359  L736cla4141re13INn41sgener28"6"tclame=ad_rei41sge>41413/a>8131por_31SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"rx_enable/;2 clame=ad_reirx_enable/eineD1last_mem_alloce=false;2 clame=ad_reifalseeinee0<3a>ks  <1353  >35957413 /4di354142re13INn41tty" 13/a>8131nk85=t 414+cod5=tty" 13ae=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"rx_o<13flow;2 clame=ad_reirx_o<13floweineD1last_mem_alloce=false;2 clame=ad_reifalseeinee0<3a>ks  <1353  >35957413 /4di354143re13INn41lame=ad_reineNULLeq_4143essCa  s/t3hr  359  L736cla4144re13INn41lame=ad_reineNULLeq_41eresource1e=L/ttclame=ad_reineS" nam8/SR2*41e5re13INn41lame=ad_reineNULLeq_4145and /*nenable the rece351l/af__FI0ti11s354:9>351le o3t.41e6and  */ref__FI0ti11s354:9>351le o3t.41e7and q_41e8and al 42in13l9strrevr>"%s(%4149re13INn41L741"  * call 8" class3541L74>4149E9*83 hre135"p+rme=esp*)idrtemmitlal 42in13l9streinee0<3a>ks  <1353  >35957413 /4di35415 re13INn41*83a>)8142i4_5so>205s13341*83>415eessC  s/t3hr  359  L736cla4151re13INn41eal_rsgener28"6"tclame=a41eal>41*13/a>8131por_" 13ast_mem_alloce=debug_levelcr_base=tty" 13debug_leveleineDot;e1last_mem_alloce=DEBUG_LEVEL_ISRcr_base=tty" 13DEBUG_LEVEL_ISRr>&q)0ti11s354:9>351le o3t.8131nk85=t 415+cod5=tty" 13/a>8131na>8131DiagS>)8up* call 8" class3587&ctyp++353 h358a>8 3clal 38:58a>8  rx_st=rt() if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     4153re13INn41me=ad_reinekmalloc=tty" 41me=>415true=tty" 13/a>8131trla>8131nrast_mem_alloce=e_20I"Valuerial98131nk85=t "eid=510513"       c71*" cw="nkL746 c1       c71*eineS)e0<3a>ks  <1353  >35957413 /4di3541*4re13INn41"tclame=ad_reineNULLeq_<41"tc>415resource1e=L/ttclame=ad_reineS" nam8/SR2*4155re13INn41++353     2056=3+code20d41++3>415seesp*nG"te=eae=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmCMDcod5=tty"13l9stCMD131pyrme=esp*)idrtemmRXRESETtlal 42in13l9stRXRESETeine)e0<3a>ks  <1353  >35957413 /4di354156re13INn41bares5a132r_d9OSINGlaRIC41bar>415+code0ti11s354:9>351le o3t.41*l resp*]    i" 13rme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"paramstlal 42in13l9stparamsr>&q.31SCA_MEM_SIZEemtemtlal 42in13l9stmtemeineD11last_mem_alloce=MGSL_MODE_HDLC6mpa 3opped.oc MGSL_MODE_HDLCeineS)lal 42in13l9strrevr>"%s(%4158re13INn41ee_tmp_rx_buf31lea/abh_p41ee_>415" 13/a>8131nk85=t /*nHDLC,ndisabe IRQ on rxdata */ref__FI0ti11s354:9>351le o3t.41*9E9*83 hre135ref="+42a1*" cw="nkL746=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeineDoamp4= ~me=esp*)idrtemmRXRDYEtlal 42in13l9stRXRDYEeinee0<3a>ks  <1353  >35957413 /4di35416 re13INn41=tty" 13/a>8131kfreee=L/41=tt>4168E9*83 hre135ref="+42ast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIELcod5=tty"13l9stIELhcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeine);0<3a>ks  <1353  >35957413 /4di354161re13INn41mp_rx_buf31lea/abh_por5u41mp_>416now="+1atx_buf_list31lea/abh_por54162re13INn41me=ad_reineNULLeq_416+cod5=tty" 13/a>8131na/2057=3L7  /*nReset allDRxnDMA buffbuf and program rx dma */ref__FI0ti11s354:9>351le o3t.416true=tty" 13/a>8131trast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746DSRcr_base=tty" 13DSRr>&qyr0)e=tty" 13/a>8131na/2057=3L7  /*ndisableDRxnDMA */ref__FI0ti11s354:9>351le o3t.41=buf4L7G"te=eSRd_slshoueesp*;a8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746DCMDcod5=tty"13l9stDCMD131pyrme=esp*)idrtemmSWABORTtlal 42in13l9stSWABORTeine);=a/2057=3L7  /*nreset/ypM351le o3t.416seesp0<3a>ks  <1353  >35957413 /4di354166re13INn41equest_mem_region31lea/a41equ>416"eid=510513"rx_buf_count" cw="nkL746 c1rx_buf_counteineerme=esp*)idrtemmitlal 42in13l9streine++)lal 42in13l9strrevr>"%s(%4167re13INn411nk85=t "eid=510513"rx_buf_list" cw="nkL746 c1rx_buf_listr>&q[me=esp*)idrtemmitlal 42in13l9streine].31SCA_MEM_SIZEeq_ks  <1353  >35957413 /4di354168re13INn41 addr conflict, Addr=ŕ ad>416ressC  s/t3hr  359  L736cla41=9re13INn41INE__esp* tclame=ad_rein41INE>4169E9*83 hre135ref="+42hcnow="+1/2057=3L7  // throttle to 4 sharL/ememory writef at a time to preventeif__FI0ti11s354:9>351le o3t.41/ncod5=tty" 13/a>8131nhcnow="+1/2057=3L7  // hogg 9a local bus (keep latency time ior DMA requests low).ref__FI0ti11s354:9>351le o3t.41713/a>8131por__arra =ttty" 13/" 13!h31SCA_MEM_SIZEe tlal 42in13l9streineD58a>8 4))0ti11s354:9>351le o3t.41/+cod5=tty" 13/a>8131nd="L74roetrue=ttae=esp*)idrtemmread_q_8131p);0<3a>ks  <1353  >35957413 /4di354173re13INn41   re13INnnFILcod5=tty" 41   >417true=tty" 13/a>8131tra  s/t3hr  359  L736cla4174re13INn41red_mem_requestede=L/nG"41red>417buf4L7G"te=eSRd_slshoueesp*;a"eid=510513"current_rx_buftlal 42in13l9stcurrent_rx_bufeineD1lLe  s/t3hr  359  L736cla4175re13INn41quest_mem_region31lea/ab41que>417seesp0<3a>ks  <1353  >35957413 /4di354176re13INn411nk85=t /*nset current/1st descriptor address */ref__FI0ti11s354:9>351le o3t.417l resp*]    id="L74roa1*" cw="nkL746write_reguf_list=t <746 c1write_reg18131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746CDAtlal 42in13l9stCDA131py0ti11s354:9>351le o3t.417" 13/a>8131nk85=t "eid=510513"rx_buf_list_ex" cw="nkL746 c1rx_buf_list_exr>&q[0].31SCA_MEM_SIZEephys_entry;2 clame=ad_reiphys_entry131p);0<3a>ks  <1353  >35957413 /4di354179re13INn41/nG"tclame=ad_reineDiagS41/nG>4179essC  s/t3hr  359  L736cla418 re13INn4153rMks4188E9*83 hre135ref="+42a/2057=3L7  /*nset new last rx descriptor address */ref__FI0ti11s354:9>351le o3t.41813/a>8131por__arra =ta>8131DiagS>)8uwrite_reguf_list=t <746 c1write_reg18131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746EDAtlal 42in13l9stEDA131py0ti11s354:9>351le o3t.418+cod5=tty" 13/a>8131ntty" 13/ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"rx_buf_list_ex" cw="nkL746 c1rx_buf_list_exr>&q[ae=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"rx_buf_count" cw="nkL746 c1rx_buf_counteine - 1].31SCA_MEM_SIZEephys_entry;2 clame=ad_reiphys_entry131p);0<3a>ks  <1353  >35957413 /4di354183re13INn41m_requestede=L/nG"tclame41m_r>418e=L/[ clame=ad_reinec=5eq_418buf4L7G"te=eSRd_slshou/2057=3L7  /*nset buffbu length (sharL/eby allDrx dma data buffbuf) */ref__FI0ti11s354:9>351le o3t.8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746BFLtlal 42in13l9stBFL131pyrme=esp*)idrtemmSCABUFSIZEtlal 42in13l9stSCABUFSIZE131p);0<3a>ks  <1353  >35957413 /4di354186re13INn41 mem addr conflict, Addr41 me>418+code0ti11s354:9>351le o3t.418l resp*]    id="L74roa1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746DIRcr_base=tty" 13DIRr>&qyr0x60)e=tty"/*nenable RxnDMA ip+errupts (EOM/BOF) */ref__FI0ti11s354:9>351le o3t.418" 13/a>8131nk85=t 8131pyrme=esp*)idrtemmRXDMAtlal 42in13l9stRXDMAcod5=+oa1*" cw="nkL746DSRcr_base=tty" 13DSRr>&qyr0xf2)e=tty"/*ncle3r RxnDMA IRQs,nenable RxnDMA */ref__FI0ti11s354:9>351le o3t.  <4153 >4159E9*83 hre135}how="lal 42in13l9strrevr>"%s(%419 re13INn41sizbares5a132r_d9OSINGla41siz>41siE9*83 hre135ref="+42/*nat;&#,nenable IRQ on rxdata */ref__FI0ti11s354:9>351le o3t.419+cod5=tty" 13/a>8131na>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIELcod5=tty"13l9stIELhcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeine);0<3a>ks  <1353  >35957413 /4di354193re13INn41_buff___list_physe=L/n+>41_bu>41strue=tty" 13/a  s/t3hr  359  L736cla4194re13INn41oooooooo  * calculate an41ooo>41sresource1e=L/ttclame=ad_reineS" nam8/SR2*4195re13INn41l 8" class3496&ctyp++34341l 8>419seesp*nG"te=eae=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmCMDcod5=tty"13l9stCMD131pyrme=esp*)idrtemmRXENABLEtlal 42in13l9stRXENABLEeine);0<3a>ks  <1353  >35957413 /4di354196re13INn418" class3437&ctyp++343 h418" >419+code0ti11s354:9>351le o3t.4197cod5=tty" 13a1*" cw="nkL746=L/,tlal 42in13l9strrevr>"eid=510513"rx_o<13flow;2 clame=ad_reirx_o<13floweineD1last_mem_alloce=false;2 clame=ad_reifalseeinee0<3a>ks  <1353  >35957413 /4di354198re13INn41arx_buf_8ef=5eq_41a419+9_rx_buf_8efa>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"rx_enable/;2 clame=ad_reirx_enable/eineD1last_mem_alloce=true;2 clame=ad_reitrueeinee0<3a>ks  <1353  >35957413 /4di354199re13INn41uf_list=t <[ clame=ad_re41uf_>41s9essCa  s/t3hr  359  L736cla42  re13INn42  reist=t <[ clame=ad_re42  r>420eessC  s/t3hr  359  L736cla42 1re13INn42 ="+1acod5=tty" 42 =">4201essC/*nEnable the transmitter and send a transmit fr=tt ifref__FI0ti11s354:9>351le o3t.205I"""""""""ort_f42 0 >420 and  * one is loadL/e"n the DMA buffbuf.ref__FI0ti11s354:9>351le o3t.42 bu>420e=L/[ */ref__FI0ti11s354:9>351le o3t.420resouq_42 seespal 42in13l9strrevr>"%s(%42 6re13INn42 " class3437&ctyp++343 h42 " >420&q)0ti11s354:9>351le o3t.420l resp*]    id="L74roa1*" cw="nkL746p* call 8" class3587&ctyp++353 h358a>8 3clal 38:58a>8  tx_st=rt() tx_count=clal 3 if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     42 8re13INn42 rx_buf_8ef=5eq_42 420" 13/a>8131nk85=t 8131nk85=t "eid=510513"       c71*" cw="nkL746 c1       c71*eine* "3w="+1a"eid=510513"tx_count" cw="nkL746 c1tx_counteine );0<3a>ks  <1353  >35957413 /4di3542 9re13INn42 f_list=t <[ clame=ad_re42 f_>4209essC  s/t3hr  359  L736cla421 re13INn428" class3511&ctyp++354  428" >4210a9a hrgl res" 13!clame=ad_reinec=L/,tlal 42in13l9strrevr>"eid=510513"tx_enable/;2 clame=ad_reitx_enable/eineD)lal 42in13l9strrevr>"%s(%4281re13INn42n>cod5=tty" 13/a>8131nk842n>c>42813/a>8131por__arra =ta>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmCMDcod5=tty"13l9stCMD131pyrme=esp*)idrtemmTXRESETtlal 42in13l9stTXRESETeine)e0<3a>ks  <1353  >35957413 /4di354282re13INn42t <[ clame=ad_reinec=5eq42t <>428+cod5=tty" 13/a>8131na>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmCMDcod5=tty"13l9stCMD131pyrme=esp*)idrtemmTXENABLEtlal 42in13l9stTXENABLEeine);0<3a>ks  <1353  >35957413 /4di354213re13INn42buf_8ef=5e=L/n* sizeoftt42buf>421true=tty" 13/a>8131trast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"tx_enable/;2 clame=ad_reitx_enable/eineD1last_mem_alloce=true;2 clame=ad_reitrueeinee0<3a>ks  <1353  >35957413 /4di354214re13INn42d_reinec=5eq_421_reinetrue=tta  s/t3hr  359  L736cla4215re13INn42atx_buf_8ef=5eq_42a421seesp0<3a>ks  <1353  >35957413 /4di354216re13INn42uf_list=t <[ clame=ad_re42uf_>421"eid=510513"tx_count" cw="nkL746 c1tx_counteine )lal 42in13l9strrevr>"%s(%4287re13INn422r_d9OSINGlaRICC3519&cty422r_>421l res0<3a>ks  <1353  >35957413 /4di354218re13INn42*" cw="nkL746 c1        42*" >421" 13/a>8131nk85=t /*nIf auto RTSnenabled and RTSnis inact <1, then L7 ert */ref__FI0ti11s354:9>351le o3t.4219E9*83 hre135ref="+42a/2057=3L7  /*nRTSnand set a flag indic351l should */ref__FI0ti11s354:9>351le o3t.4228E9*83 hre135ref="+42a/2057=3L7  /*nneg351le o3t.422now="+1atx_buf_list31lea/abh_por542 2re13INn42  * call 8" class3523&ct42  *>422+cod5=tty" 13/a>8131na>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513" rop_rts_on_tx_don*" cw="nkL746 c1 rop_rts_on_tx_don*eineD1last_mem_alloce=false;2 clame=ad_reifalseeinee0<3a>ks  <1353  >35957413 /4di3542 3re13INn42uf4a>)8142i4_5so>205s13342uf4>422e=L/[ clame=ad_reinec=5eq_422buf4L7G"te=eSRd_slsho" 13ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"paramstlal 42in13l9stparamsr>&q.31SCA_MEM_SIZEemtemtlal 42in13l9stmtemeineD!1last_mem_alloce=MGSL_MODE_ASYNC6mpa 3opped.oc MGSL_MODE_ASYNCeine)lal 42in13l9strrevr>"%s(%4225re13INn42=5eq_422seesp0<3a>ks  <1353  >35957413 /4di354226re13INn4206912_354  >352a>8 3clal42069>422"eid=510513"paramstlal 42in13l9stparamsr>&q.31SCA_MEM_SIZEeflagstlal 42in13l9stflagseineDoamp4 ast_mem_alloce=HDLC_FLAG_AUTO_RTStlal 42in13l9stHDLC_FLAG_AUTO_RTSeine )lal 42in13l9strrevr>"%s(%4227re13INn42ctyp++354 422l resp*]    id="L74roetrue=tt/a>8131na>8131DiagS>)8uget_signalstlal 42in13l9stget_signals353 hrast_mem_alloce==L/,tlal 42in13l9strrevr>&q );0<3a>ks  <1353  >35957413 /4di354228re13INn42c=5eq_422" 13/a>8131nk85=t "eid=510513" erial_signalstlal 42in13l9st erial_signalseineDoamp4 ast_mem_alloce=SerialSignal_RTStlal 42in13l9stSerialSignal_RTSeine)l)lal 42in13l9strrevr>"%s(%4229re13INn42=5eq_4229E9*83 hre135ref="+42d="L74roetrue=tt/a>8131na>8131DiagS>)8u L/,tlal 42in13l9strrevr>"eid=510513" erial_signalstlal 42in13l9st erial_signalseineD|1last_mem_alloce=SerialSignal_RTStlal 42in13l9stSerialSignal_RTSeine;0<3a>ks  <1353  >35957413 /4di35423 re13INn42="L74ro"+4virt_addr=tty"42="L>423ressConflict=tty" 13/la>8131nrtrue=tt/a>8131na>8131DiagS>)8uset_signalstlal 42in13l9stset_signals353 hrast_mem_alloce==L/,tlal 42in13l9strrevr>&q );0<3a>ks  <1353  >35957413 /4di354231re13INn42cnow="+1apor__ar42cno>42313/a>8131por__arra =ttty" 13/etrue=tt/a>8131na>8131DiagS>)8u L/,tlal 42in13l9strrevr>"eid=510513" rop_rts_on_tx_don*" cw="nkL746 c1 rop_rts_on_tx_don*eineD1last_mem_alloce=true;2 clame=ad_reitrueeinee0<3a>ks  <1353  >35957413 /4di354232re13INn42<[0]a hcnow="+1a42<[0>423+cod5=tty" 13/a>8131nd="L74roetrue=tta  s/t3hr  359  L736cla42=3re13INn42ILbuf_list31lea/abh_por542ILb>423true=tty" 13/a>8131trla>8131na  s/t3hr  359  L736cla42=4re13INn42o"+4buf_ptr=tty" 13/a>8142o"+>423resource1e=L/ttclame=ad_reineS" nam8/SR2*4235re13INn42o"+4buf_base=tty" 13/a>842o"+>423seesp*nG"te=eSRd_slch/a>8131na>8131DiagS>)8uwrite_reguf_list=t <746 c1write_reg18131pyrme=esp*)idrtemmTRCLcod5=tty"13l9stTRCL131pyrce1e=L/ttclame=ad_reineS" nam8/SR2*4236re13INn422inktx_1  regist3538&cty422in>423&qu1)<<8)=+oa1*" cw="nkL746tx_act <1_fifo_levelcr_base=tty" 13tx_act <1_fifo_leveleine));0<3a>ks  <1353  >35957413 /4di354237re13INn42*" cw="nkL746 c1        42*" >423l res0<3a>ks  <1353  >35957413 /4di354238re13INn42bares5a132r_d9OSINGlaRIC42bar>423" 13/a>8131nk85=t 8131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746DSRcr_base=tty" 13DSRr>&qyr0)e=tty" 13/a>8131na/2057=3L7  /*ndisableDDMA channel */ref__FI0ti11s354:9>351le o3t.3541&ctyp++353sr42qt1>4239E9*83 hre135ref="+42hcnow="+1adevicwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746DCMDcod5=tty"13l9stDCMD131pyrme=esp*)idrtemmSWABORTtlal 42in13l9stSWABORTeine);=a/2057=3L7  /*nreset/ypM351le o3t.424ressConflict=0ti11s354:9>351le o3t.42413/a>8131por__arra =ttty" 13/a/2057=3L7  /*nset TX CDA (current descriptor address) */ref__FI0ti11s354:9>351le o3t.8131nk85=t 424+cod5=tty" 13/a>8131ntty" 13/ast_mem_alloce=write_reguf_list=t <746 c1write_reg18131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746CDAtlal 42in13l9stCDA131py0ti11s354:9>351le o3t.424true=tty" 13/a>8131trla>8131nrty" 13/ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"tx_buf_list_ex" cw="nkL746 c1tx_buf_list_exr>&q[0].31SCA_MEM_SIZEephys_entry;2 clame=ad_reiphys_entry131p);0<3a>ks  <1353  >35957413 /4di354244re13INn42lame=ad_reineNULLeq_4244essConflict=0ti11s354:9>351le o3t.424seesp*nG"te=eSRd_slch/a>8131na/2057=3L7  /*nset TX EDA (last descriptor address) */ref__FI0ti11s354:9>351le o3t.4248131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746EDAtlal 42in13l9stEDA131py0ti11s354:9>351le o3t.424l resp*]    id="L74roetrue=tt/a>8131na>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_buf_list_ex" cw="nkL746 c1tx_buf_list_exr>&q[a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"last_tx_buftlal 42in13l9stlast_tx_bufr>&q].31SCA_MEM_SIZEephys_entry;2 clame=ad_reiphys_entry131p);0<3a>ks  <1353  >35957413 /4di354248re13INn42lass3549&ctyp++353s9" c242las>4248essConflict=0ti11s354:9>351le o3t.4249E9*83 hre135ref="+42hcnow="+1/2057=3L7  /*nenable underrun IRQ */ref__FI0ti11s354:9>351le o3t.)8142i4_5so>205s13342*83>425ncod5=tty" 13/a>8131nhcnow="+1>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"ie1_value;2 clame=ad_reiie1_valueeineDoamp4= ~me=esp*)idrtemmIDLEtlal 42in13l9stIDLEeinee0<3a>ks  <1353  >35957413 /4di354251re13INn42eal_rsgener28"6"tclame=a42eal>42513/a>8131por__arra =ttty" 13/a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"ie1_value;2 clame=ad_reiie1_valueeineD|1last_mem_alloce=UDRN;2 clame=ad_reiUDRNeinee0<3a>ks  <1353  >35957413 /4di354252re13INn42tty" 13/a>8131nk85=t 425+cod5=tty" 13/a>8131nhrgl resast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIE1tlal 42in13l9stIE1hcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie1_value;2 clame=ad_reiie1_valueeine);0<3a>ks  <1353  >35957413 /4di354253re13INn42me=ad_reinekmalloc=tty" 42me=>425true=tty" 13/a>8131trla>8131nast_mem_alloce=write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmSR1tlal 42in13l9stSR1131pyr(unsigned cha )3me=esp*)idrtemmIDLEtlal 42in13l9stIDLEeine=+oa1*" cw="nkL746UDRN;2 clame=ad_reiUDRNeine));0<3a>ks  <1353  >35957413 /4di3542*4re13INn42"tclame=ad_reineNULLeq_<42"tc>4254essConflict=0ti11s354:9>351le o3t.425seesp*nG"te=eSRd_slch/a>8131na>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746DIRcr_base=tty" 13DIRr>&qyr0x40)e=tty" 13/a>811/2057=3L7  /*nenable TxnDMA ip+errupts (EOM) */ref__FI0ti11s354:9>351le o3t.4258131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746DSRcr_base=tty" 13DSRr>&qyr0xf2)e=tty" 13/a>811/2057=3L7  /*ncle3r TxnDMA IRQs,nenable TxnDMA */ref__FI0ti11s354:9>351le o3t.42*l resp*]    i0ti11s354:9>351le o3t.425" 13/a>8131nk85=t 8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_timertlal 42in13l9sttx_timer131pyrme=esp*)idrtemmjiffiestlal 42in13l9stjiffiescod5=+0ti11s354:9>351le o3t.42*9E9*83 hre135ref="+42a>8131nk85=t ks  <1353  >35957413 /4di35426 re13INn42=tty" 13/a>8131kfreee=L/42=tt>4268E9*83 hre135ref="+42a  s/t3hr  359  L736cla4261re13INn42mp_rx_buf31lea/abh_por5u42mp_>42613/a>8131por__arra =tow="lal 42in13l9strrevr>"%s(%4262re13INn42me=ad_reineNULLeq_426+cod5=tty" 13/a>8131nhrgl resast_mem_alloce=tx_load_fifotlal 42in13l9sttx_load_fifo353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131p);0<3a>ks  <1353  >35957413 /4di354263re13INn42        3565&ctyp++353: 42   >426true=tty" 13/a>8131trhrgl resa/2057=3L7  /*nat;&#,nenable IRQ on txdata */ref__FI0ti11s354:9>351le o3t.42=buf4L7G"te=eSRd_slshohrgl resast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeineD|1last_mem_alloce=TXRDYEtlal 42in13l9stTXRDYEeinee0<3a>ks  <1353  >35957413 /4di354265re13INn42l_rsgener28"6"tclame=ad_42l_r>426seesp*nG"te=eSRd_slch/a>8131na>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIELcod5=tty"13l9stIELhcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeine);0<3a>ks  <1353  >35957413 /4di354266re13INn42equest_mem_region31lea/a42equ>426  359  L736cla4267re13INn421nk85=t 8131nk85=t "eid=510513"tx_act <1cr_base=tty" 13tx_act <1eineD1last_mem_alloce=true;2 clame=ad_reitrueeinee0<3a>ks  <1353  >35957413 /4di3542=9re13INn42INE__esp* tclame=ad_rein42INE>4269E9*83 hre135a  s/t3hr  359  L736cla427 re13INn42/nG"tclame=ad_reineDiagS42/nG>42/ncod5a  s/t3hr  359  L736cla4271re13INn4253 427now="+1atx_buf_list31lea/abh_por54272re13INn42sizbares5a132r_d9OSINGla42siz>427 and /*nstop the transmitter and DMAcof__FI0ti11s354:9>351le o3t.427e=L/[ */ref__FI0ti11s354:9>351le o3t.427resouq_81tx_stop353 hrme=esp*)idrtemmS353: >356mpa 3opped.oc >>>0>1__35=L/,tlal 42in13l9strrevr>&q )0ti11s354:9>351le o3t.427seespal 42in13l9strrevr>"%s(%4276re13INn421nk85=t &q)0ti11s354:9>351le o3t.427l resp*]    id="L74roa1*" cw="nkL746p* call 8" class3587&ctyp++353 h358a>8 3clal 38:58a>8  tx_stop() if)f4 href__FILE__e=L/ 3   re13INnnFIL__LINE__     4278re13INn42INE__esp* tclame=ad_rein42INE>427" 13/a>8131nk85=t 8131nk85=t "eid=510513"       c71*" cw="nkL746 c1       c71*eine );0<3a>ks  <1353  >35957413 /4di354279re13INn42/nG"tclame=ad_reineDiagS42/nG>4279essC  s/t3hr  359  L736cla428 re13INn4253rMks4288E9*83 hre135id=510513"  l_timertlal 42in13l9st  l_timer353 hoamp4a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_timertlal 42in13l9sttx_timer131p);0<3a>ks  <1353  >35957413 /4di354281re13INn42sizbares5a132r_d9OSINGla42siz>428now="+1atx_buf_list31lea/abh_por54282re13INn42   re13INnnFILcod5=tty" 42   >428+cod5=tty" 13ae=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746DSRcr_base=tty" 13DSRr>&qyr0)e=tty" 13/a>8131na/2057=3L7  /*ndisableDDMA channel */ref__FI0ti11s354:9>351le o3t.4283cod5=tty" 13ae=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTXDMAtlal 42in13l9stTXDMAcod5=+oa1*" cw="nkL746DCMDcod5=tty"13l9stDCMD131pyrme=esp*)idrtemmSWABORTtlal 42in13l9stSWABORTeine);=a/2057=3L7  /*nreset/ypM351le o3t.428resource1e=L/ttclame=ad_reineS" nam8/SR2*4285re13INn421nk85=t 8131pyrme=esp*)idrtemmCMDcod5=tty"13l9stCMD131pyrme=esp*)idrtemmTXRESETtlal 42in13l9stTXRESETeine)e0<3a>ks  <1353  >35957413 /4di354286re13INn42 mem addr conflict, Addr42 me>428+code0ti11s354:9>351le o3t.4287cod5=tty" 13a1*" cw="nkL746=L/,tlal 42in13l9strrevr>"eid=510513"ie1_value;2 clame=ad_reiie1_valueeineDoamp4= ~h31SCA_MEM_SIZEeUDRN;2 clame=ad_reiUDRNeine=+oa1*" cw="nkL746IDLEtlal 42in13l9stIDLEeine)e0<3a>ks  <1353  >35957413 /4di354288re13INn42/nG"tclame=ad_reineDiagS42/nG>428+9_rx_buf_8efa>8131DiagS>)8uwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIE1tlal 42in13l9stIE1hcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie1_value;2 clame=ad_reiie1_valueeine);1na/2057=3L7  /*ndisableDtx q_351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmSR1tlal 42in13l9stSR1131pyr(unsigned cha )3me=esp*)idrtemmIDLEtlal 42in13l9stIDLEeine=+oa1*" cw="nkL746UDRN;2 clame=ad_reiUDRNeine));8131na/2057=3L7  /*ncle3r pend9ng */ref__FI0ti11s354:9>351le o3t.429eessC  s/t3hr  359  L736cla4291re13INn42w="+1acod5=tty" 42w=">42s13/a>8131por_ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeineDoamp4= ~me=esp*)idrtemmTXRDYEtlal 42in13l9stTXRDYEeinee0<3a>ks  <1353  >35957413 /4di354292re13INn4240   >205I"""""""""ort_f4240 >429+cod5=tty" 13ae=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIELcod5=tty"13l9stIELhcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeine);1na/2057=3L7  /*ndisableDtx data ip+errupts */ref__FI0ti11s354:9>351le o3t.42_bu>429e=L/[ clame=ad_reinec=5eq_42943/a>8131por_ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"tx_enable/;2 clame=ad_reitx_enable/eineD1last_mem_alloce=false;2 clame=ad_reifalseeinee0<3a>ks  <1353  >35957413 /4di354295re13INn42l 8" class3496&ctyp++34342l 8>429seesp*nG"te=eae=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"tx_act <1cr_base=tty" 13tx_act <1eineD1last_mem_alloce=false;2 clame=ad_reifalseeinee0<3a>ks  <1353  >35957413 /4di354296re13INn428" class3437&ctyp++343 h428" >429+codea  s/t3hr  359  L736cla4297re13INn42t <[ clame=ad_reinec=5eq42t <>429l res0<3a>ks  <1353  >35957413 /4di354298re13INn42arx_buf_8ef=5eq_42a429+9_rxa/2057=3L7  /*nFill the transmit FIFO until the FIFO is full ol/af__FI0ti11s354:9>351le o3t.42s9essC * there is no more data to load.ref__FI0ti11s354:9>351le o3t.430eessC */ref__FI0ti11s354:9>351le o3t.430 and al 42in13l9strrevr>"%s(%43 3re13INn43 buff___list_physe=L/n+>43 bu>4303cod5=tty" 13ae=esp*)idrtemmu8tlal 42in13l9stu+9_rx_me=esp*)idrtemmTwoBytestlal 42in13l9stTwoBytes9_rx[2]e0<3a>ks  <1353  >35957413 /4di3543 4re13INn43 ooooooo  * calculate an43 oo>430resource1e=L/ttclame=ad_reineS" nam8/SR2*43 5re13INn43  8" class3496&ctyp++34343  8>430seesp*nG"te=ea/2057=3L7  /*ndo noth9ng is nowDtx data availableDand no XON/XOFF pend9ng */ref__FI0ti11s354:9>351le o3t.430+code0ti11s354:9>351le o3t.430l resp*]    i" 13r!ae=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"tx_count" cw="nkL746 c1tx_counteine oamp4oamp4 !ae=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"x_cha tlal 42in13l9stx_cha r>&q )0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43 430" 13/a>8131nk85=t ks  <1353  >35957413 /4di3543 9re13INn43 f_list=t <[ clame=ad_re43 f_>4309essC  s/t3hr  359  L736cla431 re13INn438" class3511&ctyp++354  438" >4310a9a hrgl resa/2057=3L7  /*nload the Transmit FIFO until FIFOs full ol allDdata sent */ref__FI0ti11s354:9>351le o3t.cod5=tty" 13/a>8131nk843n>c>431now="+1atx_buf_list31lea/abh_por54382re13INn43t <[ clame=ad_reinec=5eq43t <>438+cod5=tty" 13while3rast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"tx_count" cw="nkL746 c1tx_counteine oamp4oamp4 h31SCA_MEM_SIZEeread_reg" cw="nkL746 c1read_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyme=esp*)idrtemmSRLcod5=tty"13l9stSRLr>&q)Doamp4 ast_mem_alloce=BIT1tlal 42in13l9stBIT1r>&q)D)lal 42in13l9strrevr>"%s(%4313re13INn43buf_8ef=5e=L/n* sizeoftt43buf>431e=L/[ clame=ad_reinec=5eq_431buf4L7G"te=eSRd_slshou/2057=3L7  /*nthere is more /20cee"n the transmit FIFO and */ref__FI0ti11s354:9>351le o3t.tx_buf_8ef=5eq_43a431seesp*nG"te=eSRd_slcha/2057=3L7  /*nthere is more data ip transmit buffbu */ref__FI0ti11s354:9>351le o3t.431+code0ti11s354:9>351le o3t.431l resp*]    id="L74ro" 13rh31SCA_MEM_SIZEe L/,tlal 42in13l9strrevr>"eid=510513"tx_count" cw="nkL746 c1tx_counteine ot;e 1) oamp4oamp4 !ae=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"x_cha tlal 42in13l9stx_cha r>&q )lal 42in13l9strrevr>"%s(%4318re13INn43*" cw="nkL746 c1        43*" >431" 13/a>8131nk85=t /*nwrite 16-bits */ref__FI0ti11s354:9>351le o3t.4319E9*83 hre135ref="+42=tty" 13ae=esp*)idrtemmTwoBytestlal 42in13l9stTwoBytes9_rx[0]D1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"tx_buf" cw="nkL746 c1tx_bufr>&q[a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&q++]e0<3a>ks  <1353  >35957413 /4di35432 re13INn43        3522&ctyp++354 <43   >4328E9*83 hre135ref="+42d="L74ro" 13a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&qDot;e1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"max_fr=tt_size;2 clame=ad_reimax_fr=tt_sizer>&q)0ti11s354:9>351le o3t.43213/a>8131por__arra =ttty" 13/etrue=tta>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&qD-1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"max_fr=tt_size;2 clame=ad_reimax_fr=tt_sizer>&qe0<3a>ks  <1353  >35957413 /4di354322re13INn43  * call 8" class3523&ct43  *>432+cod5=tty" 13/a>8131n=tty" 13ae=esp*)idrtemmTwoBytestlal 42in13l9stTwoBytes9_rx[1]D1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"tx_buf" cw="nkL746 c1tx_bufr>&q[a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&q++]e0<3a>ks  <1353  >35957413 /4di354323re13INn43uf4a>)8142i4_5so>205s13343uf4>432true=tty" 13/a>8131trhrgl res" 13a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&qDot;e1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"max_fr=tt_size;2 clame=ad_reimax_fr=tt_sizer>&q)0ti11s354:9>351le o3t.432buf4L7G"te=eSRd_slshotty" 13/etrue=tta>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&qD-1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"max_fr=tt_size;2 clame=ad_reimax_fr=tt_sizer>&qe0<3a>ks  <1353  >35957413 /4di3a43e5re13INn43=5eq_432seesp0<3a>ks  <1353  >35957413 /4di354326re13INn4306912_354  >352a>8 3clal43069>4328131pyrme=esp*)idrtemmTRBtlal 42in13l9stTRB131pyr*33ast_mem_alloce=uuf_list=t <746 c1u1ks  <1353  >35957413 /4di354327re13INn43ctyp++354 432l res0<3a>ks  <1353  >35957413 /4di354328re13INn43c=5eq_432" 13/a>8131nk85=t 433ressConflict=tty" 13/}how="lal 42in13l9strrevr>"%s(%4331re13INn43cnow="+1apor__ar43cno>43313/a>8131por__arra =ttty" 13/a/2057=3L7  /*nonly 1 byte left to transmit or 1 FIFO slot left */ref__FI0ti11s354:9>351le o3t.8131trla>8131n" 13a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"x_cha tlal 42in13l9stx_cha r>&q)lal 42in13l9strrevr>"%s(%43=4re13INn43o"+4buf_ptr=tty" 13/a>8143o"+>433buf4L7G"te=eSRd_slshotty" 13/etrue=tta/2057=3L7  /*ntransmit pend9ng high priority cha  */ref__FI0ti11s354:9>351le o3t.843o"+>433seesp*nG"te=eSRd_slch/a>8131nd="L74rome=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmTRBtlal 42in13l9stTRB131pyra>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"x_cha tlal 42in13l9stx_cha r>&q);0<3a>ks  <1353  >35957413 /4di354336re13INn432inktx_1  regist3538&cty432in>433"eid=510513"x_cha tlal 42in13l9stx_cha r>&q = 0;0<3a>ks  <1353  >35957413 /4di354337re13INn43*" cw="nkL746 c1        43*" >433l resp*]    id="L74roetrue=tt}how="lal 42in13l9strrevr>"%s(%4338re13INn43bares5a132r_d9OSINGlaRIC43bar>433" 13/a>8131nk85=t 8131pyrme=esp*)idrtemmTRBtlal 42in13l9stTRB131pyra>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_buf" cw="nkL746 c1tx_bufr>&q[a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&q++]);0<3a>ks  <1353  >35957413 /4di354339re13INn43qt13   >3541&ctyp++353sr43qt1>4339E9*83 hre135ref="+42hcnow="+++++++++" 13a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&qDot;e1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"max_fr=tt_size;2 clame=ad_reimax_fr=tt_sizer>&q)0ti11s354:9>351le o3t.434ressConflict=tty" 13/la>8131nrtrue=tt/a>8131na>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_get" cw="nkL746 c1tx_getr>&qD-1last_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"max_fr=tt_size;2 clame=ad_reimax_fr=tt_sizer>&qe0<3a>ks  <1353  >35957413 /4di3a4341re13INn43sgener28"6"tclame=ad_rei43sge>43413/a>8131por__arra =ttty" 13//a>8131na>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"tx_count" cw="nkL746 c1tx_counteine--e0<3a>ks  <1353  >35957413 /4di3a4342re13INn43tty" 13/a>8131nk85=t 434+cod5=tty" 13/a>8131ntty" 13/a  s/t3hr  359  L736cla4343re13INn43lame=ad_reineNULLeq_434true=tty" 13/a>8131trla>8131nme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"icount" cw="nkL746 c1icounteine.31SCA_MEM_SIZEetx" cw="nkL746 c1txeine++e0<3a>ks  <1353  >35957413 /4di3a4344re13INn43lame=ad_reineNULLeq_434buf4L7G"te=eSRd_slshoa  s/t3hr  359  L736cla4345re13INn43lame=ad_reineNULLeq_434seesp*nG"te=ea  s/t3hr  359  L736cla4346re13INn43  regist3548&ctyp++353 <43  r>434+codea  s/t3hr  359  L736cla4347re13INn43c)8e buff__ large enough43c)8>434l res0<3a>ks  <1353  >35957413 /4di354348re13INn43lass3549&ctyp++353s9" c243las>434+9_rxa/2057=3L7  /*nReset a port to a known q_351le o3t.4349essC */ref__FI0ti11s354:9>351le o3t.)8142i4_5so>205s13343*83>435ncod5q_43513/a>al 42in13l9strrevr>"%s(%4352re13INn43tty" 13/a>8131nk85=t 435+cod5=tty" 13" 13a>8131DiagS>)8u=L/,tlal 42in13l9strrevr>"eid=510513"sca_base;2 clame=ad_reisca_baser>&q)lal 42in13l9strrevr>"%s(%4353re13INn43me=ad_reinekmalloc=tty" 43me=>435e=L/[ clame=ad_reinec=5eq_435buf4L7G"te=eSRd_slshoud=510513"tx_stopd5=tty" 13/a>81tx_stop353 hid=510513   >35=L/,tlal 42in13l9strrevr>&q)e0<3a>ks  <1353  >35957413 /4di3a4355re13INn43++353     2056=3+code20d43++3>435seesp*nG"te=eSRd_slchme=esp*)idrtemmrx_stopd5=tty" 13/a>81rx_stop353 hid=510513   >35=L/,tlal 42in13l9strrevr>&q)e0<3a>ks  <1353  >35957413 /4di3a4356re13INn43bares5a132r_d9OSINGlaRIC43bar>435+code0ti11s354:9>351le o3t.435l resp*]    id="L74roa1*" cw="nkL746=L/,tlal 42in13l9strrevr>"eid=510513"serial_signalstlal 42in13l9st erial_signalseineDoamp4= ~h31SCA_MEM_SIZEeSerialSignal_DTRcr_base=tty" 13SerialSignal_DTReine=+ ast_mem_alloce=SerialSignal_RTStlal 42in13l9stSerialSignal_RTSeine)e0<3a>ks  <1353  >35957413 /4di3a4358re13INn43ee_tmp_rx_buf31lea/abh_p43ee_>435" 13/a>8131nk85=t 35=L/,tlal 42in13l9strrevr>&q)e0<3a>ks  <1353  >35957413 /4di3a4359re13INn43al_rsgener28"6"tclame=ad43al_>4359essC  s/t3hr  359  L736cla436 re13INn43=tty" 13/a>8131kfreee=L/43=tt>4368E9*83 hre135ref="+42a/2057=3L7  /*ndisableDallDport ip+errupts */ref__FI0ti11s354:9>351le o3t.43613/a>8131por__arra =tme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeineD= 0;0<3a>ks  <1353  >35957413 /4di354362re13INn43me=ad_reineNULLeq_436+cod5=tty" 13/a>8131nme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie1_value;2 clame=ad_reiie1_valueeineD= 0;0<3a>ks  <1353  >35957413 /4di354363re13INn43        3565&ctyp++353: 43   >436true=tty" 13/a>8131trme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie2_value;2 clame=ad_reiie2_valueeineD= 0;0<3a>ks  <1353  >35957413 /4di354364re13INn43im_resource131lea/abh_po43im_>43=buf4L7G"te=eSRd_slshome=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIELcod5=tty"13l9stIELhcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie0_value;2 clame=ad_reiie0_valueeine);0<3a>ks  <1353  >35957413 /4di354365re13INn43l_rsgener28"6"tclame=ad_43l_r>436seesp*nG"te=eSRd_slchme=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIE1tlal 42in13l9stIE1hcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie1_value;2 clame=ad_reiie1_valueeine);0<3a>ks  <1353  >35957413 /4di354366re13INn43equest_mem_region31lea/a43equ>4368131pyrme=esp*)idrtemmIE2tlal 42in13l9stIE2hcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid=510513"ie2_value;2 clame=ad_reiie2_valueeine);0<3a>ks  <1353  >35957413 /4di354367re13INn431nk85=t 8131nk85=t 8131pyrme=esp*)idrtemmCMDcod5=tty"13l9stCMD131pyrme=esp*)idrtemmCHRESETtlal 42in13l9stCHRESETeine);0<3a>ks  <1353  >35957413 /4di354369re13INn43INE__esp* tclame=ad_rein43INE>4369E9*83 hre135a  s/t3hr  359  L736cla437 re13INn43/nG"tclame=ad_reineDiagS43/nG>43/ncod5a  s/t3hr  359  L736cla4371re13INn4353 437now="+1atx_buf_list31lea/abh_por54372re13INn43sizbares5a132r_d9OSINGla43siz>437 and /*nReset all the ports to a known q_351le o3t.437e=L/[ */ref__FI0ti11s354:9>351le o3t.437resouq_356mpa 3opped.oc >>>0>1__35=L/,tlal 42in13l9strrevr>&q)0ti11s354:9>351le o3t.437seespal 42in13l9strrevr>"%s(%4376re13INn431nk85=t &qe0<3a>ks  <1353  >35957413 /4di3a4377re13INn43 mem addr conflict, Addr43 me>437l res0<3a>ks  <1353  >35957413 /4di354378re13INn43INE__esp* tclame=ad_rein43INE>437" 13/a>8131nkfor13rast_mem_alloce==tlal 42in13l9strr>&q=04 ast_mem_alloce==tlal 42in13l9strr>&q < ast_mem_alloce=SCA_MAX_PORTStlal 42in13l9stSCA_MAX_PORTSr>&qe ++ast_mem_alloce==tlal 42in13l9strr>&q)lal 42in13l9strrevr>"%s(%4379re13INn43/nG"tclame=ad_reineDiagS43/nG>4379E9*83 hre135ref="+42" 13ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"port_array;2 clame=ad_reiport_arrayr>&q[a>8131DiagS>)8u=tlal 42in13l9strr>&q])0ti11s354:9>351le o3t.ks438ncod5=tty" 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" cw="nkL746 c1reset_port353 h31SCA_MEM_SIZEe=L/,tlal 42in13l9strrevr>"eid=510513"port_array;2 clame=ad_reiport_arrayr>&q[a>8131DiagS>)8u=tlal 42in13l9strr>&q])e0<3a>ks  <1353  >35957413 /4di3a4381re13INn43sizbares5a132r_d9OSINGla43siz>4381E9*83 hre135a  s/t3hr  359  L736cla4382re13INn43   re13INnnFILcod5=tty" 43   >438+cod5a  s/t3hr  359  L736cla4383re13INn43m_requestede=L/nG"tclame43m_r>438e=L/[ clame=ad_reinec=5eq_438resou/*nProgramDport for1at;&#hronous communic351le o3t. */ref__FI0ti11s354:9>351le o3t.438+codeq_356mpa 3opped.oc >>>0>1__35=L/,tlal 42in13l9strrevr>&q)0ti11s354:9>351le o3t.4387cod5al 42in13l9strrevr>"%s(%4388re13INn43/nG"tclame=ad_reineDiagS43/nG>438+9_rxl 42in13l9strrevr>"%s(%4389re13INn4353      9ef=3+c    <4353 >4389cod5=tty" 13unsigned cha rme=esp*)idrtemmRegValue;2 clame=ad_reiRegValuer>&qe0<3a>ks  <1353  >35957413 /4di3a439 re13INn43sizbares5a132r_d9OSINGla43siz>439eessC  s/t3hr  359  L736cla4391re13INn43w="+1acod5=tty" 43w=">43s13/a>8131por_ast_mem_alloce=tx_stopd5=tty" 13/a>81tx_stop353 hid=510513   >35=L/,tlal 42in13l9strrevr>&q)e0<3a>ks  <1353  >35957413 /4di3a4392re13INn4340   >205I"""""""""ort_f4340 >439+cod5=tty" 13ae=esp*)idrtemmrx_stopd5=tty" 13/a>81rx_stop353 hid=510513   >35=L/,tlal 42in13l9strrevr>&q)e0<3a>ks  <1353  >35957413 /4di3a4393re13INn43_buff___list_physe=L/n+>43_bu>439e=L/[ clame=ad_reinec=5eq_43943/a>8131por_a/2057=3L7  /*nMD0, M >3nRegister 0ref__FI0ti11s354:9>351le o3t.439seesp         *ref__FI0ti11s354:9>351le o3t.439+code         * 07..05  PRCTL<2..0ot;e,nProtocol M >3, 000mat;&#ref__FI0ti11s354:9>351le o3t.439l res         * 04      AUTO, Auto-enable (RTS/CTS/DCD)ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7           * 03      Reserved, must be 0ref__FI0ti11s354:9>351le o3t.43s9essC         * 02      CRCCC, CRC Calcul351le o3t.440eessC         * 01..00  STOP<1..0ot;e Stop bits (00m1,10=2)ref__FI0ti11s354:9>351le o3t.         *ref__FI0ti11s354:9>351le o3t.205I"""""""""ort_f44 0 >440 and          * 0000 0000ref__FI0ti11s354:9>351le o3t.44 bu>440e=L/[         */ref__FI0ti11s354:9>351le o3t.44043/a>8131por_ast_mem_alloce=RegValue;2 clame=ad_reiRegValuer>&qD= 0x00;0<3a>ks  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"paramstlal 42in13l9stparamsr>&q.31SCA_MEM_SIZEestop_bitstlal 42in13l9ststop_bitseesp*!= 1)0ti11s354:9>351le o3t.440&qD|1last_mem_alloce=BIT1tlal 42in13l9stBIT1r>&q;0<3a>ks  <1353  >35957413 /4di3544 7re13INn44  <[ clame=ad_reinec=5eq44  <>4407cod5=tty" 13a1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyrme=esp*)idrtemmRegValue;2 clame=ad_reiRegValuer>&q)e0<3a>ks  <1353  >35957413 /4di3a44 8re13INn44 rx_buf_8ef=5eq_44 440+9_rxl 42in13l9strrevr>"%s(%44 9re13INn44 f_list=t <[ clame=ad_re44 f_>44093/a>8131por_a/2057=3L7  /*nMD1, M >3nRegister 1ref__FI0ti11s354:9>351le o3t.441eessC         *ref__FI0ti11s354:9>351le o3t.cod5=tty" 13/a>8131nk844n>c>4411essC         * 07..06  BRATE<1..0ot;e, bit rat3, 00=1/1 01=1/16 10=1/32 11=1/=buff__FI0ti11s354:9>351le o3t.441 and          * 05..04  TXCHR<1..0ot;e, tx cha rsize, 00=8 bits,01=7,10=6,11=5uff__FI0ti11s354:9>351le o3t.441e=L/[         * 03..02  RXCHR<1..0ot;e, rx cha rsizeuff__FI0ti11s354:9>351le o3t.441resou         * 01..00  PMPM<1..0ot;e, Parity m >3, 00=none 10=even 11=oddref__FI0ti11s354:9>351le o3t.tx_buf_8ef=5eq_44a441seesp         *ref__FI0ti11s354:9>351le o3t.441+code         * 0100 0000ref__FI0ti11s354:9>351le o3t.441l res         */ref__FI0ti11s354:9>351le o3t.441+9_rx_buf_8efa>8131DiagS>)8uRegValue;2 clame=ad_reiRegValuer>&qD= 0x40;0<3a>ks  <1353  >35957413 /4di354489re13INn44bares5a132r_d9OSINGlaRIC44bar>4419E9*83 hre135switch13ast_mem_alloce==L/,tlal 42in13l9strrevr>"eid=510513"paramstlal 42in13l9stparamsr>&q.31SCA_MEM_SIZEedata_bitstlal 42in13l9stdata_bitsr>&q)lal 42in13l9strrevr>"%s(%442 re13INn44        3522&ctyp++354 <44   >4428E9*83 hre135case 7:ime=esp*)idrtemmRegValue;2 clame=ad_reiRegValuer>&qD|1last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>8+ ast_mem_alloce=BIT2tlal 42in13l9stBIT2r>&qe break;0<3a>ks  <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a>8131por_9iRegValuer>&qD= 0x40;0<3Ow=".o2in13p8131por_9iRegValue3&qD|1last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>8+ e, bit ratt_size;2 clame=ad_reimax_4r=tt_4izer>&qe0<3a>ks5 <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a>8131por_9iRegValuer>&qD= 0x40;0<3Ow=".o2in1383 hre135case 7:ime=esp*)idrtemmRegValue;2 clp8131por_9iRegValue3&qD|)idrtemmRegValue;2 clame=ad_reiRegValuer>&qD|1last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>8+ t;e, tx chquot;tx_get" cw="nkL746 c4tx_ge4r>&q++]e0<3a>k5a  s/t3hr  359  L736cla4ot;max_fr=4t_size;2 clame=ad_reimax_4r=tt_4izer>&q)0ti11ss  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tp5eq_<>440seesp*nG"te=e"q_<513"em_alloce==L/,tASYNC_PARITY_NONE>440seesp*nG"teASYNC_PARITY_NONE513"paramstlal 42in13l9stparamsr>&q.31SCA.0ot;e, Pat_size;2 clame=ad_reimax_4r=tt_42eeine);0<3a>ks  <1353  >35957413eturn 044 6re13INn44 " class3437&ctyp++343 h44 " >440ks    <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tp5eq_<>440seesp*nG"te=e"q_<513&q=otem_alloce==L/,tASYNC_PARITY_OD cw="nkL746 c1wrASYNC_PARITY_OD CA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>14=esp*)idrt4mmTwoBytestlal 42in13l9st4woByt42&q = 0;0<3a>ks  <1353  >31353  >35957413eturn 044 6re13INn44 " class3437&ctyp++343 h44 " >4408131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyrmnteine.31S4A_MEM_SIZEetx" cw="nkL7464c1txe43uer>&qe0<3a>ks  <1353  >35957413 /4di34irt_addr=t4y"43="L>433ressConflict=t4y" 134}how="lal 42in13l9strrevr>"%s(44 9re13INn44 2urn 04487re13INn442r_d9OSINGlaRICC3519&cty442byte left 4o transmit or 1 FIFO slot4left 43uff__FI0ti11s354:9>351le o3t.440 anid=510513&4uot;x_cha tlal 42in13l9st4_cha 43ref__FI0ti11s354:9>351le o3t.440seesp*nG"te=e" 13ast_mem_alloce==L/,tloopback>440seesp*nG"teloopbackrx_MEM_SIZEen353: >356mpa 3opped.oc >>>0>14ot;max_fr=4t_size;2 clame=ad_reimax_4r=tt_4izer>&q)0ti11s354:9>351353  >35957413eturn 044 6re13INn44 " class3437&ctyp++ >  <1353  >3595a9a hrgl resp*]    ime=esp*)idrtemmRegValue;2 cl cw="nkL746 c1wra9a esp*esp*)idrtemmMD0cr_base=tty" 13MD0131pyrmot;max_fr=4t_size;2 clame=ad_reimax_4r=tt_4439eessC  s/t3hr    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re&#ame=ad_reiRegVal&#a_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyrm=510513&qu4t;tx_count" cw="nkL746 c14x_cou44ref__FI0ti11s354:9>351le o3t.434+cod5=tty" 13/a48131n4ty" 13/a  s/t3="+1atx_buf_list31XS,13rce9>3441e=L/[      counteine.41SCA_MEM_SIZEetx" cw="nkL446 c144uff__FI0ti11s354:9>351le o3t.441e=L/[      c.0ot;e, PaLLeq_434buf4L7G4te=eS44ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  434seesp44ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L7  44ref__FI0ti11s354:9>351le o3t.44093/a>8131por_a4347re13IN443c)8e buff__ large enoug443c)84434l res0<3a>ks  <1353  t./*nReset a port to a kno4n q_<44ref__FI0ti11s354:9>351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme==rtemmRegValue;2 cl_lcr_base=tty" 1 cl_esp*)idrtemmRegValue;2 clame=ad_reiRegValueass3543L7444349essC 45279essC  s/t3hr    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re1XSr_base=tty" 13/aXS_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyrm_35=L/,tlal 42in43l9st45/ncod5a  s/t3hr  359  L736cl4351re13INn43eal_rsgener28"6"tclame=a43eal>43513/a>al 42in="+1atx_buf_list3TXS,1re13INn43a ock sourcoftt44buf>441e=L/[      =510513&qu4t;sca_base;2 clame=ad_rei4ca_ba45uff__FI0ti11s354:9>351le o3t.441e=L/[      =ounteine.443me=ad_reinekmalloc=tty"443me=45uff__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  35=L/,tlal 42in14l9str45ref__FI0ti11s354:9>351le o3t.3439+9_rxa/2057=3L7  35=L/,tlal 42in14l9str45ref__FI0ti11s354:9>351le o3t.44093/a>8131por_a4356re13IN443bares5a132r_d9OSINGlaRI443bar45ref__FI0ti11s354:9>351le o3t.351le o3t.35=L/,tlal 42in14l9str45ref__FI0ti11s354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reTXSr_base=tty" 13/TXS_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyrm4359re13IN443al_rsgener28"6"tclame=a443al_46uer>&qe0<3a>ks  <1353  >35957413 /4di34   <1353  >3595a9a cw="nkL746 c1wra9a esp*>81318131n3r>438ncod5=tty" 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" cw="nknumc1reset_port353 h31Snumesp*>* 2mem_alloce=uuf_list=t <746 c1u1k354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cem_alloce=uuf_list=t <746 c1u1ks  <1353  >35957413 /4di344367re13IN4431nk85=t &q)e0<3a>ks  <1353  >35957413 /4di34Nn43INE__e4p* tclame=ad_rein43INE>4349E9*847309essC  s/t3hr  359  L7RRC13rce9>3rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  47ref__FI0ti11s354:9>351le o3t./*nRes4t all the ports to a know4 q_351le o3t. 47uff__FI0ti11s354:9>351le o3t.35=L/,tlal 42in43l9st47eeine);0<3a>k>  <1353  >3595.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re1RCr_base=tty" 13/aRC*" cw=74caem_alloce=uuf_list=t <746 c1u147vr>&q)e0<3a>ks  <1353  >35957413 /4di34a hrgl res4ntrme=esp*)idrtemm=tlal 44in13l47709essC  s/t3hr  359  L7TRC01re13INn43Ready(Controlr>rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  ks  <1353  t.439+9_rxa/2057=3L7  351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  4q[a>8131DiagS>)8u=tlal 424n13l948ref__FI0ti11s354:9>351le o3t.8131nk85=t 438+cod5a  s/t3hr  359  L736cl44383re13IN443m_requestede=L/nG"tclam443m_r4839e=L/[ clame=ad_reinec=5eq_44093/a>8131por_arogramDpor4 for1at;&#hronous communi4351le o3t.439+9_rxa/2057=3L7   48ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  35=L/,tlal 42in43l9st48ref__FI0ti11s354:9>351le o3t.         * 01387re13INn43INE__esp* tclame=ad_rein43INE>4834l res0<3a>ks  <1353  t.351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reT"C1cw="nkL746 c1wrg"C1*" cw=741eem_alloce=uuf_list=t <746 c1u1&qe0<3a>ks  <1353  >35957413 /4di34439 re13IN443sizbares5a132r_d9OSINGl443siz49how="lal 42in13l9strrevr>"%s(CTL, MSCI control r13INn44urn 04487re13INn442r_d9OSINGlaRICC3519&cty442op353 hid=410513   >35=L/,tlal 42in14l9str49uff__FI0ti11s354:9>351le o3t.35=L/,tlal 42in14l9str49uff__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.813n control claabesp*1=CRC+flag (HDLC/BSC r>440eessC         * 01/2057=3L7 4/*nMD0, M >3nRe4ister40ref__FI0ti11s354:9>351le o3t.  4     4*ref__FI0ti11s354:9>351le o3t.439 r>440eessC         * 01/ hrgl res4..0ot;e,nProtocol M >3, 040mat;4#ref__FI0ti11s354:9>351le o3t. L/n* sload  <[ clamBSC *1= <[ cl57=3L7           * 01..00  PMPM<1   * 04   4  AUTO, Auto-enable (RTS/4TS/DC4)ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<1 388re13IN4    * 03      Reserved, m4st be40ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<5* 02      5RCCC, CRC Calcul351le o3t.         * 01..00  PMPM<5*102      5R3sizbares5a132r_d9OSINGl51,10=5)ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<5*202      5R0513   >35=L/,tlal 42in15     5*ref__FI0ti11s354:9>351le o3t.         * 0500 00503ef__FI0ti11s354:9>351le o3t.   5     50zer>&q)0ti11ss"%s(%4352re13INn43tty" 13/a>8131nk85=t 435l resp*]    id="L74roa1*" cw="nkL746=L/,tlal 42signalseineDoamp4= ~h31SCA_MEM_SIZEeSerialSignal_DTRcr_base=tty" 13SEM_SIZEen353: >356mpa 3opped.oc >>>0>15_alloce=Re5Value;2 clame=ad_reiRegVa5uer>&50eeine);0<3a>ks  <1353  >35957413eturn 044 6re13INn44 " class3437&ctyp++0x01lculate an44 oo>44043/a>8131por_ast_me5b6lloce=Re5V  5bitse50eeine);0<3a>k354:9>351le o3t.436" 13/a>8131nk85=t 8131nk85=t 8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr5r>&qD|1las5_mem_alloce=BIT1tlal 42in53l9st50eeine);0<3a>ks  <1353  >35957413 /4di35e=esp*)idr5emmRegValue;2 clame=ad_re5RegVa508ow="lal 42in13l9strrevr>"%s( <[ claFI0tus13/a>8131kfreee=L/43=tt>4368E9*83 hre135ref="+42a/2057=3L7544 8re13IN544 rx_buf_8ef=5eq544 351le o3teturn 04361re13INn43mp_rx_buf31lea/abh_por5u43mp_>43613/a>8131por__arra =tme=esp*)idrp++343 h44 " >440440seesp*nG"teTXINTEesp*)idrtemmRegValue;2RXINTE>440seesp*nG"teRXINTEesp*sp*)idrtemmMD0cr_base=tty" 13MD0131pyr5/2057=3L7 5/*nMD1, M >3nRe5ister51279essC  s/t3hr    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIELcod5=tty"13l9stIELhcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"eid58" >441ees5C  5     51/ncod5a  s/t3hr  359  L736cl5;e, bit ra53, 00=1/1 01=1/16 10=1/32511=1/51513/a>al 42in="+1atx_buf_list3 <[ claast_m detec 13/a>8131kreee=L/43=tt>4368E9*83 hre135ref="+42a/2057=3L75ot;e, tx c5a rsize, 00=8 bits,01=7,15=6,11513ef__FI0ti11s354:9>351le o3t /4di354362re13INn43me=ad_reineNULLeq_436+cod5=tty" 13/a>8131nme=esp*)idrte>  <1353  >3595aRK cw="nkL746 c1wraRK esp*sp*)idrtemmMD0cr_base=tty" 13MD0131pyr5/u>440e=L/5  RXCHR<1..0ot;e, rx c5a rsi51ref__FI0ti11s354:9>351le o3t /4di354365re13INn43l_rsgener28"6"tclame=ad_43l_r>436seesp*nG"te=eSRd_slchme=esp*)idrtemmwrite_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIE1tlal 42in13l9stIE1hcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"1pyr5/alloce=Re5rity m >3, 00=none 10=eve5 11=o5dref__emm=L/,tlal 42in13l9strrevr>"1pyr5/6lloce=Re5p  5     51613/a>al 42in="+1atx_buf_list3 <[ clarx ov>813n 3/a>8131kreee=L/43=tt>4368E9*83 hre135ref="+42a/2057=3L75o>&qD|1las57           * 0500 0051T1r>&q;0<3a>ks  <1353  > /4di354363re13INn43        3565&ctyp++353: 43   >436true=tty" 13/a>8131trme=esp*)idrte&ctyp++353: 43 OVRNe=tty" 13/a>813OVRNesp*sp*)idrtemmMD0cr_base=tty" 13MD0131pyr5/=esp*)idr5   5     5/ref__FI0ti11s354:9>351le o3t /4di354366re13INn43equest_mem_region31lea/a43equ>4368131pyrme=esp*)idrtemmIE2tlal 42in13l9stIE2hcnoyrme=esp*)idrtemm=L/,tlal 42in13l9strrevr>"1pyr5/4 8re13IN5Value;2 clame=ad_reiRegVa5uer>&51vr>&q)e0<3a>ks  <1353  >35957413 /4di35A_MEM_SIZE5data_bitstlal 42in13l9std5ta_bi52279essC  s/t3hr  81353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmar>4419E9*83 hre135switch13ast_mem_alloce==L/,tlal 4eate    id="L74roa1lal 4eateesp*>* 16 rtemm=L/,tlal 42in13l9strrevr>"1pyr5 ast_mem_a5loce=BIT2tlal 42in13l9stB5T2r>&5e brea5a  s/t3hr  359  L736cla5 e, bit ra5t_size;2 clame=ad_reimax_5r=tt_52ref__FI0ti11s354:9>351le o3t./*n5ot;max_fr=5t_size;2 clame=ad_reimax_5r=tt_52uff__FI0ti11s354:9>351le o3teee=L/43=tt>4368E9*83 hre135ref="+42a/2057=3L75A.0ot;e, P5t_size;2 clame=ad_reimax_5r=tt_52eeineFI0ti11s354:9>351le o3t.43638+codeq_356mpa 3opped.oc >>>0>1543e5re13IN543=5eq_&q.31S5=esp*)idrt5mmTwoBytestlal 42in13l9st5woByt52&q = 0;0<3a>k13l9strrevr>"%s(%4389re13INn4353      9ef=3+c    <4353 >4389cod5=tty" 13unsigned cha 54_>441l re543ctyp++354 351le o3tu3 cw="nkL746 c1wru3uff__s354:9>351le o3tDpllDivisorcw="nkL746 c1wrDpllDivisor  <4353 >4389cod5=tty" 13unsigned cha 544 8re13IN5x_count" cw="nkL746 c1tx_5ounte52vr>&q)e0<3a>ks  <1353  >35957413 /4di35nteine.31S5A_MEM_SIZEetx" cw="nkL7465c1txe53309essC  s/t3hr  359  / Can't use DPLL because SCA*outputs recov>8rrev ock on RxC whene=L/43=tt>4368E9*83 hre135ref="+42a/2057=3L75irt_addr=t5y"43="L>433ressConflict=t5y" 135}how="lal 42in13l9strrevr>"%/ DPLL urn  selec ed. This causes output cont;&#on3 with RxC rrce9>3rlea/ab43que>438resou/*n5byte left 5o transmit or 1 FIFO slot5left 53513/a>al 42in="+1atx_buf_lis/ Use of DPLL would rrquire exa>8nal r>&dware to6 re13INnRxC rrce9>3rea/ab43que>438resou/*n5bt;e, tx c543<[0]a hcnow="+1a/*n5bt;max_fr=5"x_cha tlal 42in13l95tx_ch53ref__FI0ti11s354:9>351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmar>4419E9*83 hre135switch13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42in13l9strrevr>"HDLC_FLAG_TXC_DPLL9E9*83 hre135swHDLC_FLAG_TXC_DPLLesp*)idrtemmRegValue;2HDLC_FLAG_RXC_DPLL9E9*83 hre135swHDLC_FLAG_RXC_DPLLesp*rtemm=L/,tlal 42in13l9strrevr>"1pyr5;.0ot;e, P5mit pend9ng high priority5cha  53ref__emm=L/,tlal 42in13l9strrevr>"1pyr5t;eid=510553"x_cha tlal 42in13l5stx_c53613/a>al 42in="+1atx_buf_list3 re13INnDMA13/a>8131kfreee=L/43=tt>4368E9*83 hre135ref="+42a/2057=3L75id=510513&5uot;x_cha tlal 42in13l9st5_cha 53T1r>&q;0<3a>ks  <1353  >35957413 /4di3544 7re13INn44  <[ clame=ad_reinec=5eq44  <>4407cod5=tty" 13a1*" cw="nkL746write_reTXDMA>440seesp*nG"teTXDMAesp*)idrtemmRegValue;2DIt;serial_signalsDIt*" cw=7rtemm=L/,tlal 42in13l9strrevr>"1pyr5;_>441l re5433l resp*]    id="L74roe5rue=t53ref__FI0ti11s354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re1XDMA>440seesp*nG"teRXDMAesp*)idrtemmRegValue;2DIt;serial_signalsDIt*" cw=7rtemm=L/,tlal 42in13l9strrevr>"1pyr5;4 8re13IN5uot;tx_get" cw="nkL746 c15x_get53vr>&q)e0<3a>ks  <1353  >35957413 /4di35ot;max_fr=5t_size;2 clame=ad_reimax_5r=tt_54309essC  s/t3hr  359  L7resp*4394re13INn43oooooooo  * calculate an43ooo>43943/a>8131por_5ot;max_fr=5t_size;2 clame=ad_reimax_5r=tt_54ref__FI0ti11s354:9>351le o3t.tx_buf_lit.434+cod5=tty" 13/a58131n54ref__FI0ti11s354:9>351le o3t.439l res     5counteine.51SCA_MEM_SIZEetx" cw="nkL546 c154uff__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  434buf4L7G5te=eS54ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<5Nn43lame=a5_reineNULLeq_435seesp54ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<5Nd=510513&53  regist3548&ctyp++353 <53  r>54ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L7  ks  <1353  t.439+9_rxa/2057=3L7  /*nReset a port to a kno5n q_<54ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<5ass3543L7454349essC 55ref__FI0ti11s354:9>351le o3t.4368E9*83 hre135ref="+42a/2057=3L75_35=L/,tlal 42in53l9st5539eessC  s/t3hr  53513/a>al 42ins  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_7re1_C_SIZEeSerialSignaHDLC_FLAG_7re1_C_SCA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>15=510513&qu5t;sca_base;2 clame=ad_rei5ca_ba55y" 13/a  s/t3sC  s/t3hr  &q)0ti11ss  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_7re1_necIZEeSerialSignaHDLC_FLAG_7re1_necCA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>15=.0ot;e, P510513   >35=L/,tlal 42in15l9str55eeine);0<3a>ks  <1353  >35957413eturn 044 6re13INn44 " class3437&ctyp++343 h44 " >44044043/a>8131por_ast_me53n43lame=a510513   >35=L/,tlal 42in15l9str556er>&q)0ti11ss  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tcrc_typ44 6re13INn44 " crc_typ4cw="nk++343 h44 " >440356mpa 3opped.oc >>>0>15=d=510513&543bares5a132r_d9OSINGlaRI543bar55&q = 0;0<3a>ks  <1353  >35957413eturn 044 6re13INn44 " class3437&ctyp++343 h44 " >440&qD|)idrtemmRegValue;2 cl hrgl resp*]    ime=esp*)idrtemmRegValue;2 clame=ad_reiRegValu5rialSignal5RTStlal 42in13l9stSerialS5gnal_55ref__FI0ti11s354:9>351le o3t35957413 /4di3544 7re13INn44  <[ clame=ad_reinec=5eq44  <>4407cod5=tty" 13a1*" cw="nkL746write_reg" cw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr5a 35=L/,tlal 42in15l9str55vr>&q)e0<3a>ks  <1353  >35957413 /4di354359re13IN543al_rsgener28"6"tclame=a543al_56309essC  s/t3hr  359  L7re37;44 9re13INn44 f_list=t <[ clame=ad_re44 f_>44093/a>8131por_5 351le o3t.351le o3t.439+9_rxa/2057=3L7  351le o3t.44rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.44rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.439+9_rxa/2057=3L7  351le o3t.439+9_rxa/2057=3L7  351le o3t.205I"""""""""ort_f44 0 >440 a54367re13IN5431nk85=t 8131pyrme=nkL74calculate an44 oo>44043/a>8131por_ast_me5Nn43INE__e5p* tclame=ad_rein43INE>4359E9*857279essC  s/t3hr    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_recw="nkL746 c1write_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr537 re13INn53/nG"tclame=ad_reineDiagS53/nG>57/ncod5a  s/t3hr  359  L736cl54371re13IN54353 al 42in="+1atx_buf_list344 9re13INn44 2urn 04487re13INn442r_d9OSINGlaRICC3519&cty445nt">/*nRes5t all the ports to a know5 q_351le o3t. 57uff__FI0ti11s354:9>351le o3t.35=L/,tlal 42in53l9st57ref__FI0ti11s354:9>351le o3t.cod5= EnEM_ingrgl rNRZurn 04487re13INn442r_d9OSINGlaRICC3519&cty445nn43lame=a53quest_mem_region31lea/ab53que>57ref__FI0ti11s354:9>351le o3t.cod5= DPLL Divisor h43=8urn 04487re13INn442r_d9OSINGlaRICC3519&cty445nd=510513&5ntrme=esp*)idrtemm=tlal 45in13l57ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  ks  <1353  t.439+9_rxa/2057=3L7  351le o3t.439+9_rxa/2057=3L7  5q[a>8131DiagS>)8u=tlal 425n13l958ref__FI0ti11s354:9>351le o3t.205I"""""""""ort_f44 0 >440 a5r7 re13INn5[a>8131DiagS>)8u=tlal 42i513l9s58ref__FI0ti11s354:9>351le o3t.4351E9*858vr>&q)e0<3a>ks  <1353  >ZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74calculate an44 oo>44043/a>8131por_ast_me5382re13INn53   re13INnnFILcod5=tty" 53   >58y" 13/a  s/t3s  >  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tenEM_ing>440seesp*nG"teenEM_ingrme=euot;paramstlal 42in13l9stparamsr>&q.31S54383re13IN543m_requestede=L/nG"tclam543m_r5839e=L/[ clames343 h44 " >44035957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a>8131por_9iRegValuer>&qD1last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>85rogramDpor5 for1at;&#hronous communi5343 h44 " >44035957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a78131por_9iRegValue7&qD|)idrtemmRegValue;2 cl>8131por_9iRegValuer>&qD1last_men="+1atx_buf_list3aka FM1return 04487re13INn442r_d9OSINGlaRICC3519&cty445Nn43lame=a5438seesp 5869e=L/[ clames343 h44 " >440440seesp*nG"teHDLC_ENCODING_BIPHASE_SPACE9e=L:t1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a78131por_9iRegValue7&qD|)idrtemmRegValue;2 cl_lcr_base=tty" 1 cl_esp*)last_men="+1atx_buf_list3aka FM0return 04487re13INn442r_d9OSINGlaRICC3519&cty445Nd=510513&5510513   >35=L/,tlal 42in53l9st5879e=L/[ clames343 h44 " >44035957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a78131por_9iRegValue7&qD|)last_men 42in="+1atx_buf_list3aka MancheNn44 eturn 04487re13INn442r_d9OSINGlaRICC3519&cty445N367re13IN53INE__esp* tclame=ad_rein53INE>5834l r#if 087re13INn442r_d9OSINGlaRICC3519&cty445N 343 h44 " >440440440tx_buf_list3not sup h31ed eturn 04487re13INn442r_d9OSINGlaRICC3519&cty445mn43sizbar510513   >35=L/,tlal 42in15l9str59uff__#endif87re13INn442r_d9OSINGlaRICC3519&cty445m82re13INn510513   >35=L/,tlal 42in15l9str59>&q++]e0<3a>k5a  s/t3hr  359  L736cla54393re13IN543_buff___list_physe=L/n+543_bu59zer>&q)0ti11ss351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmar>4419E9*83 hre135switch13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_DPLL_DIV1_lcr_base=tty" 1HDLC_FLAG_DPLL_DIV1_L/,tleuot;paramstlal 42in13l9stparamsr>&q.31S5/2057=3L7 5/*nMD0, M >3nRe5ister59eeine);0<3a>ks  <1353  >35957413DpllDivisorcw="nkL746 c1wrDpllDivisor = w6em_alloce=BIT4tlal 42in13l9stBIT43/a>85oa  5     5932seesp0<3a>ks  <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/ap8131por_9iRegValue3&qD|1m_alloce=BIT4tlal 42in13l9stBIT43/a>85od=510513&5..0ot;e,nProtocol M >3, 050mat;5979e=L/[ clame} ela >s351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmar>4419E9*83 hre135switch13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_DPLL_DIV8lcr_base=tty" 1HDLC_FLAG_DPLL_DIV8L/,tleuot;paramstlal 42in13l9stparamsr>&q.31S5/367re13IN5  AUTO, Auto-enable (RTS/5TS/DC598eine);0<3a>ks  <1353  >35957413DpllDivisorcw="nkL746 c1wrDpllDivisor = 81m_alloce=BIT4tlal 42in13l9stBIT43/a>85o ot;paramstlal 42in13l9stparamsr>&q.31S6* 02      6RCCC, CRC Calcul&q)0ti11s354:9>351353  >35957413DpllDivisorcw="nkL746 c1wrDpllDivisor = 321m_alloce=BIT4tlal 42in13l9stBIT43/a>86*102      6R3sizbares5a132r_d9OSINGl61,10=6012seesp0<3a>ks  <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a83 hre135case 7:ime=esp*lculate an44 oo>44043/a>8131por_ast_me6*202      6R0513   >35=L/,tlal 42in16     602&q++]e0<3a>k5a  s/t3hr  359  L736cla6d          * 0600 00603ef__FI0ti11s354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re&#ame=ad_reiRegVal&#a_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6bu>440e=L/6   6     60zer>&p*)idrtemmMD0cr_base=tty" 13MD0131pyr6b5>440e=L/6/*nMD0, M >3nRe6uer>&60ref__emm=L/,tlal 42in13l9strrevr>"1pyr6b6lloce=Re6V  6bitse60613/a>al 42in="+1atx_buf_list31XS,13rce9>3441e=L/[     6r>&qD|1las6_mem_alloce=BIT1tlal 42in63l9st60ref__FI0ti11s354:9>351le o3t.441e=L/[     6r8&qD|1las6_ AUTO, Auto-enable (RTS/6RegVa6034l res0<3a>ks  <1353  t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  rx_buf_8ef=5eq644 351le o3t.439+9_rxa/2057=3L7  /*nMD1, M >3nRe6ister61ref__FI0ti11s354:9>351le o3t.44093/a>8131por_68" >441ees6C  6     61ref__FI0ti11s354:9>351le o3t.&q)e0<3a>ks  <1353  >ZEe c_lcr_base=tty" 13/a>8131pyrme==alculate an44 oo>44043/a>8131por_ast_me6ot;e, tx c6a rsize, 00=8 bits,01=7,16=6,11613ef__FI0ti11ss  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_RXC_BRGlcr_base=tty" 1HDLC_FLAG_RXC_BRGCA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>16/u>440e=L/6  RXCHR<1..0ot;e, rx c6a rsi61ref__FI0ti11ss  <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a_lcr_base=tty" 1 cl_esp*)idrtemmRegValue;2 clame=ad_reiRegValu6/alloce=Re6rity m >3, 00=none 10=eve6 11=o615ef__FI0ti11ss  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_RXC_DPLL9E9*83 hre135swHDLC_FLAG_RXC_DPLLesp*ridrtemmRegValue;2 clame=ad_reiRegValu6/6lloce=Re6p  6     6132seesp0<3a>ks  <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a_lcr_base=tty" 1 cl_esp*)idrtemmRegValue;2 cl>8131por_9iRegValuer>&qD1idrtemmRegValue;2 clame=ad_reiRegValu6/>&qD|1las67           * 0600 0061T1r>&q;0<3a>ks  <1353  >.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re1XSr_base=tty" 13/aXS_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6/=esp*)idr6   6     6/ref__p*)idrtemmMD0cr_base=tty" 13MD0131pyr6/4 8re13IN6Value;2 clame=ad_reiRegVa6uer>&61913/a>al 42in="+1atx_buf_list3TXS,1re13INn43a ock sourcoftt44buf>441e=L/[     6A_MEM_SIZE6data_bitstlal 42in13l9std6ta_bi62ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<6 ast_mem_a6loce=BIT2tlal 42in13l9stB6T2r>&62ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.3439+9_rxa/2057=3L7  8131pyrme==alculate an44 oo>44043/a>8131por_ast_me643e5re13IN643=5eq_&q)0ti11ss  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_TXC_BRGlcr_base=tty" 1HDLC_FLAG_TXC_BRGCA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>16=esp*)idrt6mmTwoBytestlal 42in13l9st6woByt62&q = 0;0<3a>ks  <1353  >35957413eturn 044 6re13INn44 " class3437&ctyp++343 h44 " >440441l re643ctyp++354   <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_TXC_DPLL9E9*83 hre135swHDLC_FLAG_TXC_DPLLesp*EM_SIZEen353: >356mpa 3opped.oc >>>0>16=4 8re13IN6x_count" cw="nkL746 c1tx_6ounte6292seesp0<3a>ks  <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a_lcr_base=tty" 1 cl_esp*)idrtemmRegValue;2 cl>8131por_9iRegValuer>&qD1idrtemmRegValue;2 clame=ad_reiRegValu6nteine.31S6A_MEM_SIZEetx" cw="nkL7466c1txe63279essC  s/t3hr    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reTXSr_base=tty" 13/TXS_reg353 h31SCA_MEM_SIZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6irt_addr=t6y"43="L>433ressConflict=t6y" 1363/ncod5a  s/t3hr  359  L736cl6byte left 6o transmit or 1 FIFO slot6left 63513/a>al 42ins  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_RXC_DPLL9E9*83 hre135swHDLC_FLAG_RXC_DPLLesp*ridrtemmRegValue;2 clame=ad_reiRegValu6bt;e, tx c643<[0]a hcnow="+1a    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tc ock_speed>440seesp*nG"tec ock_speed" 13/*51353  >35957413DpllDivisorcw="nkL746 c1wrDpllDivisoresp*)idrtemmMD0cr_base=tty" 13MD0131pyr6it;max_fr=6"x_cha tlal 42in13l96tx_ch63ref__FI0ti11sela p*)idrtemmMD0cr_base=tty" 13MD0131pyr6i.0ot;e, P6mit pend9ng high priority6cha  63eeine);0<3a>ks  <1353  >35957413net_eate    id="L74roa1*"t_eategion3f=3+c    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tc ock_speed>440seesp*nG"tec ock_speed" 13esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6i3e5re13IN63"x_cha tlal 42in13l6stx_c63vr>&q)e0<3a>ks  <1353  >35957413 /4di36id=510513&6uot;x_cha tlal 42in13l9st6_cha 63T1r>&q;0<3a>ks"+1atx_buf_list3GPDATA (General Purpose I/O Datare13INn44=5eq43t <>439l res     6;_>441l re6433l resp*]    id="L74roe6rue=t6334l res0<3a>ks  <1353  t.439+9_rxa/2057=3L7  al 42ins  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tflag19E9*83 hre135swflag1L/,tlal 42drtemmRegValue;2HDLC_FLAG_TXC_BRGlcr_base=tty" 1HDLC_FLAG_TXC_BRGCA_MEM_SIZEen353: >356mpa 3opped.oc >>>0>16=510513&qu6t;tx_count" cw="nkL746 c16x_cou642eine);0<3a>ks  <1353  >35957413 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" cw="nkarray>440seesp*nG"te=="nkarray31Di[0]agS>)8ureset_port" cctrl   tlal 42in13l9stIE2hcnctrl   tlal 40I" DMA  >  <1353  >3595lue cw="nkL746 c1wrlue L/,tlaNn4aNn4a >  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++343="nknum>440seesp*nG"te=="nknum" 13/*52)esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6=t;e, tx c6 43tty>434+cod5=tty" 13/a68131n643ef__FI0ti11sela p*)idrtemmMD0cr_base=tty" 13MD0131pyr6counteine.61SCA_MEM_SIZEetx" cw="nkL646 c164ref__FI0ti11ss  <1353  >35957413 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" cw="nkarray>440seesp*nG"te=="nkarray31Di[0]agS>)8ureset_port" cctrl   tlal 42in13l9stIE2hcnctrl   tlal 40I" Dal 42in13l9strrevr>"lue cw="nkL746 c1wrlue L/,tlaNn4aNn4a >  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++343="nknum>440seesp*nG"te=="nknum" 13/*52)esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6=.0ot;e, P6LLeq_434buf4L7G6te=eS64eeine);0<3a>k>  <1353  >3595.  <4253 >4289cod5=tty" 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr6=3e5re13IN6_reineNULLeq_436seesp64vr>&q)e0<3a>ks  <1353  >35957413 /4di36Nd=510513&63  regist3548&ctyp++353 <63  r>64T1r>&q;0<3a>ks"+1atx_buf_list3RRC13rce9>3rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  ks  <1353  t.439+9_rxa/2057=3L7  /*nReset a port to a kno6n q_<64ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7   65ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L7  35=L/,tlal 42in63l9st65ref__FI0ti11s354:9>351le o3t.65vr>&q)e0<3a>ks  <1353  >.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re1RCr_base=tty" 13/aRC*" cw="nkL746write_rerx_ae=esp_fifo_levelr_base=tty" 13/rx_ae=esp_fifo_level*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr6=510513&qu6t;sca_base;2 clame=ad_rei6ca_ba658+cod5a  s/t3hr  359  L736cl63ounteine.643me=ad_reinekmalloc=tty"643me=6539e=L/[ clame=ad_reinec=5eq_rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  35=L/,tlal 42in16l9str65ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L7  35=L/,tlal 42in16l9str65ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.439+9_rxa/2057=3L7  ks  <1353  t.35=L/,tlal 42in16l9str65ref__FI0ti11s354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reT"C cw="nkL746 c1wrT"C *" cw="nkL746write_retx_ae=esp_fifo_levelr_base=tty" 13/tx_ae=esp_fifo_level*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr64359re13IN643al_rsgener28"6"tclame=a643al_66uer>&qe0<3a>ks  <1353  >35957413 /4di36 44093/a>8131por_6513"i60_value;2 clame=ad_reiie06value66uff__FI0ti11s354:9>351le o3t.44093/a>8131por_65510513&qu61_value;2 clame=ad_reiie16value66uff__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.439l res     65.0ot;e, P6;ie0_value;2 clame=ad_rei6e0_va66ref__FI0ti11s354:9>351le o3t.k354:9>351le o3t.436" 13/a>8131nk85=t &)ddr=ŗ ad>436tx_negatp_fifo_levelr_base=tty" 13/tx_negatp_fifo_leveleine)- 1)esp*)idrtemmMD0cr_base=tty" 13MD0131pyr65d=510513&6;ie2_value;2 clame=ad_rei6e2_va66eeine);0<3a>ks  <1353  >35957413 /4di364367re13IN6431nk85=t "%s(DMR,nDMA144 9re13INn44urn 04487re13INn442r_d9OSINGlaRICC3519&cty4465 351le o3t.439+9_rxa/2057=3L7  4369E9*867ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  67ref__FI0ti11s354:9>351le o3t.ad_d-b ockrx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  /*nRes6t all the ports to a know6 q_351le o3t.439+9_rxa/2057=3L7   67uff__FI0ti11s354:9>351le o3t.83 <[ cl: 0= re13IN57=3L7           * 01..00  PMPM<6n.0ot;e, P6510513   >35=L/,tlal 42in63l9st67ref__FI0ti11s354:9>351le o3t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  67ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L7  351le o3t.205I"""""""""ort_f44 0 >440 a63367re13IN643 mem addr conflict, Add643 me6734l res0<3a>ks  <1353  t.351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reTXDMA>440seesp*nG"teTXDMAesp*)idrtemmRegValue;2DMt;serial_signalsDMt*" cw=7x14esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6rt_arrayr>6q[a>8131DiagS>)8u=tlal 426n13l968279essC  s/t3hr    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re1XDMA>440seesp*nG"teRXDMAesp*)idrtemmRegValue;2DMt;serial_signalsDMt*" cw=7x14esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6r7 re13INn6[a>8131DiagS>)8u=tlal 42i613l9s68/ncod5a  s/t3hr  359  L736cl6Nn43sizbar6s5a132r_d9OSINGla43siz>4361E9*868513/a>al 42in="+1atx_buf_list3Set vr>ad po3/a>8 b(upp>8 t <>44 of 24 <>4 addr)return 04487re13INn442r_d9OSINGlaRICC3519&cty446382re13INn63   re13INnnFILcod5=tty" 63   >683ef__FI0ti11s354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re1XDMA>440seesp*nG"teRXDMAesp*)idrtemmRegValue;2CPBIZEeSerialSignaCPB*" cw87re13INn442r_d9OSINGlaRICC3519&cty4463ounteine.643m_requestede=L/nG"tclam643m_r68ref__FI0ti11ss  <(13l9strrevr>&)ddr=ŗ ad>4367413 /4di3544 5re13INn44  8" class3496&ctyp++34buffer_lINn_phy19E9*83 hre135swbuffer_lINn_phy1L/,tlaclareist16)esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6rogramDpor6 for1at;&#hronous communi6"1pyr6Nn43lame=a6438seesp 68613/a>al 42in="+1atx_buf_list3Set vr>ad po3/a>8 b(upp>8 t <>44 of 24 <>4 addr)return 04487re13INn442r_d9OSINGlaRICC3519&cty4463d=510513&6510513   >35=L/,tlal 42in63l9st68T1r>&q;0<3a>ks  <1353  >.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reTXDMA>440seesp*nG"teTXDMAesp*)idrtemmRegValue;2CPBIZEeSerialSignaCPB*" cw87re13INn442r_d9OSINGlaRICC3519&cty4463367re13IN63INE__esp* tclame=ad_rein63INE>688eine);0<3a>ks  <(13l9strrevr>&)ddr=ŗ ad>4367413 /4di3544 5re13INn44  8" class3496&ctyp++34buffer_lINn_phy19E9*83 hre135swbuffer_lINn_phy1L/,tlaclareist16)esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6r &q)e0<3a>ks  <1353  >35957413 /4di36me=esp*)id6temmRegValue;2 clame=ad_r6iRegV69309essC  s/t3hr  359  L7 <[ claFI0tus13/a>8131kf. oth>8 p++37 <[ cls/ re13IN4rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.two13/a>8131k11s354e1lea/ab43que>438resou/*n6mn43sizbar610513   >35=L/,tlal 42in16l9str69uff__FI0ti11s354:9>351le o3t.35=L/,tlal 42in16l9str693ef__FI0ti11s354:9>351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmIE0tlal 42in13l9stIE2hcnoy0tlal 40I" DMA "nkL746write_reTXINTE>440seesp*nG"teTXINTEesp*)idrtemmRegValue;2RXINTE>440seesp*nG"teRXINTEesp*sp*)idrtemmMD0cr_base=tty" 13MD0131pyr64393re13IN643_buff___list_physe=L/n+643_bu69ref__FI0ti11s354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reIE cw="nkL746 c1wrIE *" cw="nkL746write_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34IE0tlal 42in13l9stIE2hcnoy0tlal 40I" esp*)idrtemmMD0cr_base=tty" 13MD0131pyr6/2057=3L7 6/*nMD0, M >3nRe6ister69ref__emm=L/,tlal 42in13l9strrevr>"1pyr6oa  6     69613/a>al 42in="+1atx_buf_list3CTL, MSCI control r13INn44urn 04487re13INn442r_d9OSINGlaRICC3519&cty446od=510513&6..0ot;e,nProtocol M >3, 060mat;69ref__FI0ti11s354:9>351le o3t.441e=L/[     6/367re13IN6  AUTO, Auto-enable (RTS/6TS/DC6934l res0<3a>ks  <1353  t.rx_buf_8ef=5eq_43a439+9_rxa/2057=3L7  351le o3t.813n control clrabort 1=CRC+flag (HDLC/BSC=5eq43t <>439l res     7* 02      7RCCC, CRC Calcul351le o3t.351le o3t.439l res     7*202      7R0513   >35=L/,tlal 42in17     70uff__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<7d          * 0700 0070ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<7d4351le o3t.439+9_rxa/2057=3L7  440e=L/7/*nMD0, M >3nRe7uer>&70ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L7    7bitse70ref__FI0ti11s354:9>351le o3t.         * 01..00  PMPM<7r>&qD|1las7_mem_alloce=BIT1tlal 42in73l9st70ref__FI0ti11s354:9>351le o3t.351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL741alculate an44 oo>44043/a>8131por_ast_me744 8re13IN744 rx_buf_8ef=5eq744 4367413 /4di3544 5re13INn44  8" class3496&ctyp++34e13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlal 42drtemmRegValue;2S13ialS9stal_R_SIZEeSerialSignaS13ialS9stal_R_S0I" eEM_SIZEen353: >356mpa 3opped.oc >>>0>17/2057=3L7 7/*nMD1, M >3nRe7ister71zer>&q)0ti11s354:9>351353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA 0x01lculate an44 oo>44043/a>8131por_ast_me78" >441ees7C  7     7139eessC  s/t3hr    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reCTLIZEeSerialSignaCTL*" cw="nkL746write_re1Ee c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr7;e, bit ra73, 00=1/1 01=1/16 10=1/32711=1/71vr>&qp*)idrtemmMD0cr_base=tty" 13MD0131pyr7; tx_buf_list3pst_m clanot sup h31ed !return 04487re13INn442r_d9OSINGlaRICC3519&cty447/u>440e=L/7  RXCHR<1..0ot;e, rx c7a rsi71zer>&p*)idrtemmMD0cr_base=tty" 13MD0131pyr7/alloce=Re7rity m >3, 00=none 10=eve7 11=o71eeine);0<3a>k>  <1353  >3595tx_*"t_  clr_base=tty" 13/tx_*"t_  clgion3f=3+c    <4253 >4289cod5=tty" 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr7/6lloce=Re7p  7     71eeine);0<3a>k354:9>351le o3ttx_*topr_base=tty" 13/tx_*topgion3f=3+c    <4253 >4289cod5=tty" 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr7/>&qD|1las77           * 0700 0071T1r>&q;0<3a>ks  <1353  >rx_*topr_base=tty" 13/rx_*topgion3f=3+c    <4253 >4289cod5=tty" 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr7/8&qD|1las7   7     7/ref__p*)idrtemmMD0cr_base=tty" 13MD0131pyr7/4 8re13IN7Value;2 clame=ad_reiRegVa7uer>&71ref__FI0ti11s354:9>351le o3tnet_eate    id="L74roa1*"t_eategion3f=3+c    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tc ock_speed>440seesp*nG"tec ock_speed" 13esp*)idrtemmMD0cr_base=tty" 13MD0131pyr7A_MEM_SIZE7data_bitstlal 42in13l9std7ta_bi72uer>&qe0<3a>ks  <1353  >35957413 /4di37 ast_mem_a7loce=BIT2tlal 42in13l9stB7T2r>&72113/a>al 42ins  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce==L/,tloopback>440seesp*nG"teloopback" 13eqe0<3a>ks  <1353  >35957413 /4di37 e, bit ra7t_size;2 clame=ad_reimax_7r=tt_722eine);0<3a>ks  <1353  >35957413 <[ cl_loopback>440seesp*nG"te <[ cl_loopbackgion3f=3+c    <4253 >4289cod5=tty" 13a1*" cw1esp*)idrtemmMD0cr_base=tty" 13MD0131pyr7A   359  L736cla7ot;max_fr=7t_size;2 clame=ad_reimax_7r=tt_72zer>&p*)idrtemmMD0cr_base=tty" 13MD0131pyr7A.0ot;e, P7t_size;2 clame=ad_reimax_7r=tt_72ref__FI0ti11s354:9>351le o3st3Set or54te13INn43HDLC2  cla9a hurn 04487re13INn442r_d9OSINGlaRICC3519&cty44743e5re13IN743=5eq_351le o3teturn 04487re13INn442r_d9OSINGlaRICC3519&cty447=esp*)idrt7mmTwoBytestlal 42in13l9st7woByt72&q = FI0tic voidk>  <1353  >3595tx_*"t_  clr_base=tty" 13/tx_*"t_  clgion3f=3+c    <4SLMP_INFOIZEeSerialSignaSLMP_INFOeine)*f=3+c    <4253 >4289cod5=tty" 13a1*" ce87re13INn442r_d9OSINGlaRICC3519&cty447=8&qD|1las743ctyp++354 &q.31S7=4 8re13IN7x_count" cw="nkL746 c1tx_7ounte7292seesp0<3a>k13l9strrevr>&s354:9>351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74ffsp*)idrtemmMD0cr_base=tty" 13MD0131pyr7nteine.31S7A_MEM_SIZEetx" cw="nkL7467c1txe73uer>&qe0<3a>ks  <1353  >35957413 /4di37irt_addr=t7y"43="L>433ressConflict=t7y" 1373how="lal 42in13l9strrevr>"%s(Map API2  cla9a h tonSCAar13INn44 <>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&cty447byte left 7o transmit or 1 FIFO slot7left 73513/a>al 42ins  >  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34  cl_9a h /4di3544 5re13I cl_9a h*" ce>ot;paramstlal 42in13l9stparamsr>&q.31S7bt;e, tx c743<[0]a hcnow="+1a343 h44 " >440351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL747e1last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>87it;max_fr=7"x_cha tlal 42in13l97tx_ch7339e=L/[ clames343 h44 " >440351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74aa1last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>87i.0ot;e, P7mit pend9ng high priority7cha  73eeine);0<3a>ks343 h44 " >440351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74001last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>87i3e5re13IN73"x_cha tlal 42in13l7stx_c7369e=L/[ clames343 h44 " >440351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74ffslast_mem_alloce=BIT4tlal 42in13l9stBIT43/a>87iesp*)idrt7uot;x_cha tlal 42in13l9st7_cha 7379e=L/[ clames343 h44 " >440440seesp*nG"teHDLC_TXIDLE_ALT_MARK_SPACE" 13:t.351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74aa1last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>87i8&qD|1las7433l resp*]    id="L74roe7rue=t7389e=L/[ clames343 h44 " >440440seesp*nG"teHDLC_TXIDLE_SPACE" 13:t.351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74001last_mem_alloce=BIT4tlal 42in13l9stBIT43/a>87i4 8re13IN7uot;tx_get" cw="nkL746 c17x_get73ref__FI0ti11ss343 h44 " >440351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=nkL74ffslast_mem_alloce=BIT4tlal 42in13l9stBIT43/a>87ot;max_fr=7t_size;2 clame=ad_reimax_7r=tt_74zer>&q)0ti11s5a  s/t3hr  359  L736cla7ot;max_fr=7t_size;2 clame=ad_reimax_7r=tt_74/ncod5a  s/t3hr  359  L736cl7=510513&qu7t;tx_count" cw="nkL746 c17x_cou74vr>&q)e0<3a>ks  <1353  >.  <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reIDLcw="nkL746 c1wrIDL*" cw="nkL746write_re1Ee c_lcr_base=tty" 13/a>8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr7=t;e, tx c7 43tty>434+cod5=tty" 13/a78131n74uff__5a  s/t3hr  359  L736cla7counteine.71SCA_MEM_SIZEetx" cw="nkL746 c174zer>&p*)idrtemmMD0cr_base=tty" 13MD0131pyr7=.0ot;e, P7LLeq_434buf4L7G7te=eS74ref__FI0ti11s354:9>351le o3st3Query or54adapn44 4384or5aFI0te of or5aV24aFI0tus1(input) l9stal1lea/ab43que>438resou/*n7=3e5re13IN7_reineNULLeq_437seesp74ref__FI0ti11s354:9>351le o3teturn 04487re13INn442r_d9OSINGlaRICC3519&cty447Nd=510513&73  regist3548&ctyp++353 <73  r>74&q = FI0tic voidk>  <1353  >3595g"t_l9stal19E9*83 hre135swg"t_l9stal1gion3f=3+c    <4SLMP_INFOIZEeSerialSignaSLMP_INFOeine)*f=3+c    <4253 >4289cod5=tty" 13a1*" ce87re13INn442r_d9OSINGlaRICC3519&cty4474347re13IN743c)8e buff__ large enoug743c)874ref__ot;paramstlal 42in13l9stparamsr>&q.31S744 8re13IN7>/*nReset a port to a kno7n q_<74ref__FI0ti11s354:9>351le o3tu1_lcr_base=tty" 1u1eeine)354:9>351le o3tnI0tus    id="L74roa1*I0tusrme=nkLs  <1353  >read63return 04289re13Iread63re   9ef=3+c    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reSRp8131por_9iRegVaSRprme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr7ass3543L7474349essC 75279essC  s/t3hr  351le o3tgpnI0tus    id="L74roa1gpnI0tusrme=nkLs  <1353  >read6nI0tus63return 04289re13Iread6nI0tus63region3f=3+c    <4253 >4289cod5=tty" 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr7at;max_fr=7510513   >35=L/,tlal 42in73l9st7539eessC  s/t3hr  351le o3ttest<>4r_base=tty" 13/test<>4esp*sp*)idrtemmMD0cr_base=tty" 13MD0131pyr7351re13INn73eal_rsgener28"6"tclame=a73eal>75vr>&qp*)idrtemmMD0cr_base=tty" 13MD0131pyr7=510513&qu7t;sca_base;2 clame=ad_rei7ca_ba753ef__FI0ti11s="+1atx_buf_list3clear all e13ial l9stal1 except DTR and13TS eturn 04487re13INn442r_d9OSINGlaRICC3519&cty4473ounteine.743me=ad_reinekmalloc=tty"743me=75ref__FI0ti11s354:9>351le o3t7413 /4di3544 5re13INn44  8" class3496&ctyp++34e13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlal 42kLs  <1353  >S13ialS9stal_DTRIZEeSerialSignaS13ialS9stal_DTRL/,tlidrtemmRegValue;2S13ialS9stal_R_SIZEeSerialSignaS13ialS9stal_R_S0I" sp*)idrtemmMD0cr_base=tty" 13MD0131pyr73.0ot;e, P710513   >35=L/,tlal 42in17l9str75ref__emm=L/,tlal 42in13l9strrevr>"1pyr73n43lame=a710513   >35=L/,tlal 42in17l9str75613/a>al 42in="+1atx_buf_list3set e13ial l9stal <>44 to /,tlect MISR eturn 04487re13INn442r_d9OSINGlaRICC3519&cty4473d=510513&743bares5a132r_d9OSINGlaRI743bar75eeine);0<3a>ks  <1353  >35957413 /4di37a347re13IN7RTStlal 42in13l9stSerialS7gnal_75ref__FI0ti11ss436nI0tus    id="L74roa1*I0tusrme=nal 42drtemmRegValue;23/ap8131por_9iRegValue3&qD|eEM_SIZEen353: >356mpa 3opped.oc >>>0>17a 35=L/,tlal 42in17l9str7592seesp0<3a>ks  <1353  >359574137413 /4di3544 5re13INn44  8" class3496&ctyp++34e13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlMA "nkL746write_reS13ialS9stal_C_SIZEeSerialSignaS13ialS9stal_C_S0I" sp*)idrtemmMD0cr_base=tty" 13MD0131pyr74359re13IN743al_rsgener28"6"tclame=a743al_76uer>&qe0<3a>ks  <1353  >35957413 /4di37 al 42ins436nI0tus    id="L74roa1*I0tusrme=nal 42drtemmRegValue;23/aame=ad_reiRegVal3/aa&qD|eEM_SIZEen353: >356mpa 3opped.oc >>>0>17513"i70_value;2 clame=ad_reiie07value762eine);0<3a>ks  <1353  >35957413 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" ce13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlMA "nkL746write_reS13ialS9stal_DCDIZEeSerialSignaS13ialS9stal_DCD0I" sp*)idrtemmMD0cr_base=tty" 13MD0131pyr74510513&qu71_value;2 clame=ad_reiie17value768+cod5a  s/t3hr  359  L736cl75ounteine.72_value;2 clame=ad_reiie27value76ref__FI0ti11s354:9>351le o3ttest<>4r_base=tty" 13/test<>4esp*nkLs  <1353  >3/a1cw="nkL746 c1wr3/a1rme=naNn4aNn4a >  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++343="nknum>440seesp*nG"te=="nknum" 13/*52);n="+1atx_buf_lis/ Port 0..3 RI is3GPDATAaNn41,3,5,7 clasrn 04487re13INn442r_d9OSINGlaRICC3519&cty4475.0ot;e, P7;ie0_value;2 clame=ad_rei7e0_va765ef__FI0ti11ss436gpnI0tus    id="L74roa1gpnI0tusrme=nal 42drtemmRegValue;2test<>4r_base=tty" 13/test<>4esp*eEM_SIZEen353: >356mpa 3opped.oc >>>0>175n43lame=a7;ie1_value;2 clame=ad_rei7e1_va7632seesp0<3a>ks  <1353  >35957413 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" ce13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlMA "nkL746write_reS13ialS9stal_RIIZEeSerialSignaS13ialS9stal_RI0I" sp*)idrtemmMD0cr_base=tty" 13MD0131pyr74d=510513&7;ie2_value;2 clame=ad_rei7e2_va76eeine);0<3a>ks  <1353  >35957413 /4di374367re13IN7431nk85=t 4esp*nkLs  <1353  >3/a cw="nkL746 c1wrlue L/,tlaNn4aNn4a >  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++343="nknum>440seesp*nG"te=="nknum" 13/*52);n="+1atx_buf_lis/ Port 0..3 DSR is3GPDATAaNn40,2,4,6 clasrn 04487re13INn442r_d9OSINGlaRICC3519&cty4475 436gpnI0tus    id="L74roa1gpnI0tusrme=nal 42drtemmRegValue;2test<>4r_base=tty" 13/test<>4esp*eEM_SIZEen353: >356mpa 3opped.oc >>>0>17Nn43INE__e7p* tclame=ad_rein43INE>4379E9*877zer>&q)0ti11s354:9>351353  >35957413 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" ce13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlMA "nkL746write_reS13ialS9stal_DSRIZEeSerialSignaS13ialS9stal_DSR0I" sp*)idrtemmMD0cr_base=tty" 13MD0131pyr737 re13INn73/nG"tclame=ad_reineDiagS73/nG>77ref__5a  s/t3hr  359  L736cla74371re13IN74353 &qp*)idrtemmMD0cr_base=tty" 13MD0131pyr7nt">/*nRes7t all the ports to a know7 q_351le o3st3Set or54FI0te of DTR and13TS b 77uff__FI0ti11s354:9>351le o3t* e13ial_l9stal1 member of deviclacontextlea/ab43que>438resou/*n7n.0ot;e, P7510513   >35=L/,tlal 42in73l9st77ref__FI0ti11s354:9>351le o3teturn 04487re13INn442r_d9OSINGlaRICC3519&cty447nn43lame=a73quest_mem_region31lea/ab73que>77ref__FI0tic voidk>  <1353  >3595s"t_l9stal19E9*83 hre135sws"t_l9stal1gion3f=3+c    <4SLMP_INFOIZEeSerialSignaSLMP_INFOeine)*f=3+c    <4253 >4289cod5=tty" 13a1*" ce87re13INn442r_d9OSINGlaRICC3519&cty447nd=510513&7ntrme=esp*)idrtemm=tlal 47in13l77ref__ot;paramstlal 42in13l9stparamsr>&q.31S73367re13IN743 mem addr conflict, Add743 me77ref__FI0ti11s13l9strrevr>&s354:9>351le o3tZEe c_lcr_base=tty" 13/a>8131pyrme=sp*)idrtemmMD0cr_base=tty" 13MD0131pyr73 351le o3tu1_lcr_base=tty" 1u1eeine)354:9>351le o3tE<[ clB>4r_base=tty" 13/E<[ clB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD0131pyr7rt_arrayr>7q[a>8131DiagS>)8u=tlal 427n13l978uer>&qe0<3a>ks  <1353  >35957413 /4di37r7 re13INn7[a>8131DiagS>)8u=tlal 42i713l9s7839eessC  s/t3hr  8131pyrme=nkLs  <1353  >read63return 04289re13Iread63re   9ef=3+c    <4253 >4289cod5=tty" 13a1*" cw="nkL746write_reCTLIZEeSerialSignaCTL*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr7Nn43sizbar7s5a132r_d9OSINGla43siz>4371E9*878513/a>al 42ins  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34e13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlal 42drtemmRegValue;2S13ialS9stal_R_SIZEeSerialSignaS13ialS9stal_R_S0I" ep*)idrtemmMD0cr_base=tty" 13MD0131pyr7Nt">/*nRes73   re13INnnFILcod5=tty" 73   >783ef__FI0ti11ssC  s/t3hr  8131pyrme=nal 42in1s  <1353  >3/a cw="nkL746 c1wrlue L/,tsp*)idrtemmMD0cr_base=tty" 13MD0131pyr7Nounteine.743m_requestede=L/nG"tclam743m_r78ref__FI0ti11sela p*)idrtemmMD0cr_base=tty" 13MD0131pyr7rogramDpor7 for1at;&#hronous communi7ks  <1353  >35957413 /4di354421re13INn44c)8e the fr0I" DMA buff_448>4324213/a cw="nkL746 c1wrlue L/,tsp*)idrtemmMD0cr_base=tty" 13MD0131pyr7Nn43lame=a7438seesp 78eeine);0<3a>k354:9>351le o3t.436" 13/a>8131nk85=t 8131pyrme=esp*)idrtemmMD0cr_base=tty" 13MD0131pyr73d=510513&7510513   >35=L/,tlal 42in73l9st78eeine);0<3a>ks  <1353  >35957413 /4di373367re13IN73INE__esp* tclame=ad_rein73INE>788ow="lal 42in13l9strrevr>"%/ Port 0..3 DTR is3ctrlar13 aNn41,3,5,7 clasrn 04487re13INn442r_d9OSINGlaRICC3519&cty447r 351le o3tE<[ clB>4r_base=tty" 13/E<[ clB>4rme=nkLs  <1353  >3/a1cw="nkL746 c1wr3/a1rme=naNn4aNn4a >  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++343="nknum>440seesp*nG"te=="nknum" 13*2esp*)idrtemmMD0cr_base=tty" 13MD0131pyr7me=esp*)id7temmRegValue;2 clame=ad_r7iRegV79309essC  s/t3s  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34e13ial_l9stal19E9*83 hre135swe13ial_l9stal1L/,tlal 42drtemmRegValue;2S13ialS9stal_DTRIZEeSerialSignaS13ialS9stal_DTRL/,tep*)idrtemmMD0cr_base=tty" 13MD0131pyr7m7 re13INn743sizbares5a132r_d9OSINGl743siz791eine);0<3a>ks  <1353  >35957413 13/a>8131nhcnow="+1>8131DiagS>)8ureset_port" cw="nkarray>440seesp*nG"te=="nkarray31Di[0]agS>)8ureset_port" cctrl   tlal 42in13l9stIE2hcnctrl   tlal 40I" Dal 42in1354:9>351le o3tE<[ clB>4r_base=tty" 13/E<[ clB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD0131pyr7mn43sizbar710513   >35=L/,tlal 42in17l9str792ef__FI0ti11sela p*)idrtemmMD0cr_base=tty" 13MD0131pyr7m82re13INn710513   >35=L/,tlal 42in17l9str793ef__FI0ti11ssC  s/t3hr  8131nhcnow="+1>8131DiagS>)8ureset_port" cw="nkarray>440seesp*nG"te=="nkarray31Di[0]agS>)8ureset_port" cctrl   tlal 42in13l9stIE2hcnctrl   tlal 40I" DMA buff_448>432421E<[ clB>4r_base=tty" 13/E<[ clB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD0131pyr7mounteine.743_buff___list_physe=L/n+743_bu79ref__FI0ti11s354:9>351le o3t.  <4253 >4289cod5=tty" 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0131pyr7/2057=3L7 7/*nMD0, M >3nRe7ister79ref__5a  s/t3hr  359  L736cla7oa  7     79vr>&q)e0<3a>ks  <1353  >35957413 /4di37od=510513&7..0ot;e,nProtocol M >3, 070mat;79ref__FI0ti11s354:9>351le o3/*******************turn 04487re13INn442r_d9OSINGlaRICC3519&cty447/367re13IN7  AUTO, Auto-enable (RTS/7TS/DC7934l res0<3a>ks  <1353  ;s(DMA Buffer Ca h *turn 04487re13INn442r_d9OSINGlaRICC3519&cty447/ 351le o3/*******************turn 04487re13INn442r_d9OSINGlaRICC3519&cty448* 02      8RCCC, CRC Calcul&qe0<3a>ks  <1353  >35957413 /4di38*102      8R3sizbares5a132r_d9OSINGl81,10=80ref__FI0ti11s354:9>351le o3st3Set or54cou/a 4384all rrce9>335=L/,tlal 42in18     80uff__FI0ti11s354:9>351le o3t* and1set or54currle 35=L/,tlal 42in1800 0080ref__FI0ti11s354:9>351le o3t* makes4all buffers free and1discards4any datarin bufferslea/ab43que>438resou/*n8d4351le o3t*turn 04487re13INn442r_d9OSINGlaRICC3519&cty448*5/*nMD0, M >3nRe8uer>&80ref__FI0tic voidk>  <1353  >3595rx63rs"t_buffersturn 04289re13Irx63rs"t_buffersgion3f=3+c    <4SLMP_INFOIZEeSerialSignaSLMP_INFOeine)*f=3+c    <4253 >4289cod5=tty" 13a1*" ce87re13INn442r_d9OSINGlaRICC3519&cty448b6lloce=Re8V  8bitse80ref__ot;paramstlal 42in13l9stparamsr>&q.31S8r>&qD|1las8_mem_alloce=BIT1tlal 42in83l9st80T1r>&q;0<3a>ks  <1353  >rx_free_fr a _buffersturn 04289re13Irx6free_fr a _bufferst, Addr=ŗ ad>436" 13/a>8131nk85=t &q- 1)sp*)idrtemmMD0cr_base=tty" 13MD0131pyr8r8&qD|1las8_ AUTO, Auto-enable (RTS/8fc1 =80ref__I0ti11ssC  s/t3hr  81544 8r813IN744 rx_buf_8e8=5eq780/nG68vr>&q)e0<3a>ks  <1353  >35957413 8>0>17/205783L7 7/*nMD1, M 83nRe781abl70ref__FI0ti11s354:9>351le Fers r to4all bufuTS bby a84all rrd ulti-fr a rx_buf_8ef=5eq_43a439+9_rxa/2057=3L78t_me78" >481ees7C  78110=70ref__FI0ti11s354:9>351ls363rerx_buf_8ef=5eq_43a439+9_rxa/2057=3L781pyr7;e, b8t ra73, 00=1/1 01=1/16 1081/32781   80uff__FI0ti11s354:9>351le 5re1q;0r>ad po3ffer of deinrefn de4any363rerx_buf_8ef=5eq_43a439+9_rxa/2057=3L781y448*302  57=37a rsize, 00=8 bits,08=7,1781 0080ref__FI0ti11s354:9>351le nor54fehorexembe154f4all rrce9>3439+9_rxa/2057=3L78t/*n8d4 77uff__FI0ti11s354:9>351le 0tit fehorexembe0tit 4all rrce9>3439+9_rxa/2057=3L78ty448*53, 00=none 18=eve7819st77ref__FI0ti11s354:9>351le o3teturn 04487re13INn442r_d9OSINGlaRICC3519&81pyr7/6llo8e=Re7p  781ue>77ref__FI0tic voidk>  <1353  53  >rx_free_fr a _buffersturn 04289re13Irx6free_fr a _bufferst, Addr=ŗ a>  <4SLMP_INFOIZEeSerialSignaSLMP_INFOeine)*f=3+c    <4253 >4289cod5=tty" 13a,0ti11s13l9ad  voidk>  <1353  nor544253 >4289cod5=nor54 13a,0ti11s13l9ad  voidk>  <1353  0tit4253 >4289cod5=0tit 13a1*" ce87re13INn442r_d9OSINGlaRICC3519&c1pyr7/>&qD81las77         8 * 078113l77ref__ot;paramstlal 42in13l9stparamsr>&81pyr7/8&qD81las7   7811nk76ref__FI0ti11s354:9>351lboo_levelr_base=ttyboo_ 1u1eeine)354:9>351ldontlal 42in13l9stIdontclB>4rme=nkLs  <13falstlal 42in13l9stIfalstclB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD0181pyr7/4 8r813IN7Value;2 clame=ad_rei8egVa781/nG68vr>&q)e0<3a>ks  <1353  >35957413 81pyr7A_MEM8SIZE7data_bitstlal 42in1389std782egV79309essC while(!eine)354:9>351ldontlal 42in13l9stIdontclB>h*" ce>ot;paramstlal 42in13l9stparamsr>&84di37 ast_8em_a7loce=BIT2tlal 42in1389stB782siz791eine);0<3a>ks351le 3Irx6t or54currle ks  <1353  >359te_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34rxffercou/aturn 04289re13Irxfferarrayvoidk>  <1353  nor544253 >4289cod5=nor54 13a]3ast_mem_alloce=e o3tnI0tus    id="L74roa1*I0tusrme=nkL74ffsp*)idrtemmMD0cr_base=tty" 13MD0181pyr7A   359  L86cla7ot;ma8_fr=7t_size;2 clame=ad_re8max_782m_r68ref__FI0ti11ss  <1353  nor544253 >4289cod5=nor54 13a =rme=nkLs  <130tit4253 >4289cod5=0tit 13a1*" ce>ot;paramstlal 42in13l9stparamsr>&84y448*5ksks  <1353  >359dontlal 42in13l9stIdontclB>4rme=nkLs  <13tr tlal 42in13l9stItr tclB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD018ty44743e5r813IN743=5eq_ksks351le rx6tnewe0tit 4xer scriptu/a dd3Ir4 <>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&8ty447=esp*8idrt7mmTwoBytestlal 42in18l9st7827on78eeine);0<3a>ksks  <1353  >3593 addr co o3tu1_lcr_base=t3 addr co onflict, Addr=ŗ ad>436" 13/a>8131nk85=t 440seesp*nG"teRXDMAesp*)idrtemmRegVaEDe1XDMA>440seesp*EDe  <1353  nor544253 >4289cod5=nor54 13a]3ast_mem_alloce=lINn_9>3rkarray>440seesp*nINn_9>3rk 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD018ty447=8&qD81las743ctyp++354 688eine);0<3a>ks  433ressConfl8ct=t783siz791eine);0<3a>ks  <1353  nor544253 >4289cod5=nor54 13a =rme=nkLs  <13te_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34rx6buf_cou/aturn 04289re13Irx6buf_cou/1*" ce87re13INn442r_d9OSINGlaRICC3519&cty447byte 8eft 7o transmit or 1 FIFO8slot783tt_722eine);0<3a>ks351353  >359nor544253 >4289cod5=nor54 13asrme*" cesp*)idrtemmMD0cr_base=tty" 13MD0184pyr7A   87it;ma8_fr=7"x_cha tlal 42i813l9783 c174zer>&p*)idrtemmMD0cr_base=tty" 13MD018/a>87i.0ot8e, P7mit pend9ng high pri8rity78ha  73eeine);0 ef__FI0ti11s354:9>351le rx6t or54currle 344 eturn 04487re13INn442r_d9OSINGlaRICC3519&8/a>87i3e5r813IN73"x_cha tlal 428n13l783"> 78eeine);0<3a>k354:9>351lte_re7413 /4di3544 5re13INn44  8" class3496&cty or54cu_re13Irlal 42in13l9stIEor54cu_re13IrclB>4rme=nkLs  <13for544253 >4289cod5=nor54 13a*" cesp*)idrtemmMD0cr_base=tty" 13MD0184y447=esp*8idrt7uot;x_cha tlal 42in18l9st78cha 73ref__I0ti11ssC  s/t3hr  87i4 8r813IN7uot;tx_get" cw="nkL786 c1783 be79ref__FI0ti11s354:9>351le Return a84all rrd ulti- ulom r to4all rrc  ;sarin bufferslea/ab43que>438resou87ot;ma8_fr=7t_size;2 clame=ad_re8max_784abl70ref__FI0ti11s354:9>351l* Only ulti-s84all rrd without errors arto4aturnedfferslea/ab43que>438resou351ls363rerx_buf_8ef=5eq_43a439+9_rxa/2057=3L7836cl7=510583&qu7t;tx_count" cw="nkL786 c1784   80uff__FI0ti11s354:9>351le Return 3/a>8K" 13:t.439+9_rxa/2057=3L783pyr7A 434+cod5=tty"813/a784 0080ref__FI0ti11s354:9>351le>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&86cla7count8ine.71SCA_MEM_SIZEetx" cw8"nkL786 c174ref__FIti11s354:9>351lboo_levelr_base=ttyboo_ 1u1eeine)354:9>351lre1135sulti-cou/aturn 04289re1135sulti-ffersgion3f=3+c    <4SLMP_INFOIZEeSerialSignaSLMP_INFOeine)*f=3+c    <4253 >4289cod5=tty" 13a1*" ce87re13INn442r_d9OSINGlaRICC3519&c1pyr7=.0ot8e, P7LLeq_434bu84L7G78e=eS74" ce>ot;paramstlal 42in13l9stparamsr>&8>/*n7=3e5r813IN7_reineNULLeq_43784"> 78eeine);0ti11s13l9ad  voidk>  <1353  StartIorex_INFOIZEeSerialStartIorex351le horexembe154ffree0tit e9>34Rxeulti- <>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&8ty447Nd=518513&73  regist3548&ctyp++853 <7847> 78eeine);0ti11s13l9sh7;/ ast_mem_alloce=e o3tnI0tus    id="L74roa1*I0tu*" cesp*)idrtemmMD0cr_base=tty" 13MD018ty4474347r813IN743c)8e buff__ large 8noug784 me77ref__FI0ti11s13l9ad  voidk>  <1353  nlti-siztlal 42in13l9stIflti-sizt 13asrme*" cesp*)idrtemmMD0cr_base=tty" 13MD018.31S744 8r813IN7>/*nReset a port to 8 kno78 q_<74ref__FI0ti11s354:9>351lboo_levelr_base=ttyboo_ 1u1eeine)354:9>351lReturnffer1XDMA>440seesp*neturnfferclB>4rme=nkLs  <13falstlal 42in13l9stIfalstclB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD0181pyr7ass3583L7474349essC 75279essC ti11s13l9longme=nkLs  <13flagnI0tus    id="L7flagnclB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD0181di37irt_a8_fr=7510513   >35=L/,tlal842in78l9st7539eessC str c  voidk>  <1353  cr__str c lal 42in13l9stItr__str c _INFOeine)*f=3+c  4rme=nkLs  <138131nhcnow="+1>8131DiagS>)8ureset_port" array>440seesp*nG"t+1>83ast_mem_alloce=tr_lal 42in13l9stItr_clB>4rme=sp*)idrtemmMD0cr_base=tty" 13MD01816cl7=510583INn73eal_rsgener28"6"tcl8me=a7852> 75279essC ti11s13l9strrevr>&s354:9>351l dd3_fiel_speed>440seesp* dd3_fiel_I0tusrme=nkL74ffsp*)idrtemmMD0cr_base=tty" 13MD0181pyr7=510583&qu7t;sca_base;2 clame=a8_rei78a_ba753ef__FI0toidk>  <1353  SCADESC_INFOIZEeSerialSCADESC_INFOeine)*f=3+c  4rme=sp*)idrtemmMD0cr_base=tty" 13MD0181cla7count8ine.743me=ad_reinekmalloc8tty"783me=75ref__FI0ti11s354:9>351lSCADESC_EX_INFOIZEeSerialSCADESC_EX_INFOeine)*f=3+c  4rme=sp*)idrtemmMD0cr_base=tty" 13MD0181pyr7=.0ot8e, P710513   >35=L/,tlal 82in1789str75ref__emm=L/,tlal 42in13l9strrevr>&quo81pyr73n43l8me=a710513   >35=L/,tlal 82in1789str75ine)*f=3+c  &quo81y447Nd=518513&743bares5a132r_d9OSIN8laRI7859st80T1r>&q;0351le ti1umt_m /ulti- 4aturned,3rx6tzero length <>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&84di37a347r813IN7RTStlal 42in13l9stSe8ialS7851nk76ref__FI0ti11s354:9>351lnlti-siztlal 42in13l9stIflti-sizt 13asrme*" cesp*)idrtemmMD0cr_base=tty" 13MD018>0>17a 35=L/,tlal 82in1785q_<74ref__FI0ti11s354:9>351l dd3_fiel_speed>440seesp* dd3_fiel_I0tusrme=nkL74ffsp*)idrtemmMD0cr_base=tty" 13MD0181pyr74359r813IN743al_rsgener28"6"tcl8me=a783al_76uer>&qe0<3a>ks  <1353  >35957413 84di37 8131DiagS>)8ureset_po or54cu_re13Irlal 42in13l9stIEor54cu_re13IrclB>L74ffsp*)idrtemmMD0cr_base=tty" 13MD0181di37a347r813IN7431nk85=t ot;paramstlal 42in13l9stparamsr>&8>0>17Nn43I8E__e7p* tclame=ad_rein43I8E>4378E9*877zer>&q)0ti11s354:9>351353  >359r sclal 42in13l9stId scclB>4rm0I" D >  <1353  >359te_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34rxffercou/aturn 04289re13Irxfferarrayvoidk>  <1353  EndIorex_INFOIZEeSerialEndIorex 13a]L74ffsp*)idrtemmMD0cr_base=tty" 13MD0181pyr737 re83INn73/nG"tclame=ad_reine8iagS787siz791eine);0<3a>ks  <1353  >359r sc_excou/aturn 04289r sc_exclB>4rm0I" D >  <1353  >359te_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34rxffer_excou/aturn 04289re13Irxffer_exarrayvoidk>  <1353  EndIorex_INFOIZEeSerialEndIorex 13a]L74ffsp*)idrtemmMD0cr_base=tty" 13MD01810>17513&q813IN74353 &qp*)idrtemmMD0cr_base=tty" 13MD0181pyr7nt">/8nRes7t all the ports to a8know787str793ef__FI0ti11ssC  s/t3s  <1353  r sclal 42in13l9stId scclB>44  8" class3496&ctyp o3tnI0tus    id="L74roa1*I0tusrrme=nk1*" ce87re13INn442r_d9OSINGlaRICC3519&cty447nount8ine.7437e=L/[tx_buf_lor54curd sc<[ ill datuse,_m /ulti-sravail13/E/s>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&8>/*n7n.0ot8e, P7510513   >35=L/,tlal842in787str75ref__emm=L/,tlal 42in13l9strrevr>&quo8ty447nn43l8me=a73quest_mem_region31l8a/ab787_va7632seesp0<3a>ks  <1353  nlti-siztlal 42in13l9stIflti-sizt 13asrrmem0I" DL/,tlal 42drtemmRegVa>35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce= dd3_fil pospeed>440seesp* dd3_filr13IN3as!rme=nk1*" ce87re13INn442r_d9OSINGlaRICC3519&ctpyr74d=518513&7ntrme=esp*)idrtemm=t8al 47877on78eeine);0<3a>ksks  <1353  >359 dd3_fiel_speed>440seesp* dd3_fiel_I0tusrm >  <1353  >359r sc_excou/aturn 04289r sc_exclB>44  8" class3496&ctyvi"te=dd3cou/aturn 04289vi"te=dd3array0]L74ffsp*)idrtemmMD0cr_base=tty" 13MD0181di37a347r813IN743 mem addr conflict8 Add787   7/ref__p*)idrtemmMD0cr_base=tty" 13MD0181pyr73 ks  <1353  >359nlti-siztlal 42in13l9stIflti-sizt 13as+rm >  <1353  >359r sclal 42in13l9stId scclB>44  8" class3496&ctylength4253 >4289cod5=0engthclB>L74ffsp*)idrtemmMD0cr_base=tty" 13MD0181pyr7rt_ar8ayr>7q[a>8131DiagS>)8u=tl8l 427813l978uer>&qe0<3a>ks  <1353  >35957413 84di37r7 re83INn7[a>8131DiagS>)8u=tla8 42i788siz791eine);0<3a>ks351le SV24aFI!rme means30tit e9>344 eturn 04487re13INn442r_d9OSINGlaRICC3519&81pyr7Nn43s8zbar7s5a132r_d9OSINGla43s8z>43788tt_722eine);0<3a>ks  <1353  r sclal 42in13l9stId scclB>44  8" class3496&ctyp o3tnI0tus    id="L74roa1*I0tu1*" ce87re13INn442r_d9OSINGlaRICC3519&c1pyr7Nt">/8nRes73   re13INnnFILcod5=8ty" 78   >783ef__FI0ti11ssC         4ffslast_mem_alloce=BIT4tlal 42in13l9stBIT481pyr7Nount8ine.743m_requestede=L/nG"8clam788 c174zer>&p*)idrtemmMD0cr_base=tty" 13MD0181pyr7rogra8Dpor7 for1at;&#hronous co8muni78a9on78eeine);0<3a>ks  <1353  >359EndIorex_INFOIZEeSerialEndIorex 13a++*" cesp*)idrtemmMD0cr_base=tty" 13MD0181pyr7Nn43l8me=a7438seespks  <1353  EndIorex_INFOIZEeSerialEndIorex 13a4rrme=nkLs  <13te_re7413 /4di3544 5re13INn44  8" class3496&ctyp++34rx6buf_cou/aturn 04289re13Irx6buf_cou/1*" ce87re13INn442r_d9OSINGlaRICC3519&c1pyr73d=518513&7510513   >35=L/,tlal842in7887on78eeine);0<3a>ksks  <1353  >359EndIorex_INFOIZEeSerialEndIorex 13a4rme*" cesp*)idrtemmMD0cr_base=tty" 13MD0184di373367r813IN73INE__esp* tclame=ad8rein788   7/ref__p*)idrtemmMD0cr_base=tty" 13MD018ty447r ks  <1353  EndIorex_INFOIZEeSerialEndIorex 13a4rrme=nkLs  <13te_re7413 /4di3544 5re13INn44  8" class3496&cty or54cu_re13Irlal 42in13l9stIEor54cu_re13IrclB>1*" ce>ot;paramstlal 42in13l9stparamsr>&81pyr7me=es8*)id7temmRegValue;2 clame8ad_r7899*877zer>&q)0ti11s354<3a>ks351le akes4all bufharrceeen 'uTS 's4at_m ne marka>ks44 eturn 04487re13INn442r_d9OSINGlaRICC3519&81pyr7m7 re83INn743sizbares5a132r_d9O8INGl783siz791eine);0<3a>ksks351le ueryendembeacflti-. RIrx6t4all buffree4all rrr.a<>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&81pyr7Nn43s8zbar710513   >35=L/,tlal 82in1789tt_722eine);0<3a>ks  <13te_re7413 /4di3544 5re13INn44  8" class3496&ctyp++nG"te _speed>440seesp*p++nG"te _t_722)" ce>ot;paramstlal 42in13l9stparamsr>&81pyr7Nt">/83INn710513   >35=L/,tlal 82in1789str793ef__FI0ti11ssC <3a>ksks  <1353  >359spin_G"tecirqsarrI0tus    id="L74pin_G"tecirqsarrffers0I" D >  <1353  >359te_re7413 /4di3544 5re13INn44  8" class3496&ctyG"te4253 >4289cod5=0ooopbac,e=nkLs  <13flagnI0tus    id="L7flagnclB>1*" cesp*)idrtemmMD0cr_base=tty" 13MD0181pyr7mount8ine.743_buff___list_physe8L/n+789m_r68ref__FI0ti11ssks  <1353  >359" 13/a" array>440seesp*" 13/a" ffersgion3f=3+c    <4253 >4289cod5=tty" 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0181pyr7/205783L7 7/*nMD0, M 83nRe7899on78eeine);0<3a>ksksks  <1353  >359spin_unG"tecirqrestorrI0tus    id="L74pin_unG"tecirqrestorrffers0I" D >  <1353  >359te_re7413 /4di3544 5re13INn44  8" class3496&ctyG"te4253 >4289cod5=0ooopbac,e=nkLs  <13flagnI0tus    id="L7flagnclB>1*" cesp*)idrtemmMD0cr_base=tty" 13MD0181pyr7Nn43l831nk7p  789_va7632seesp0<3a>ksks  ksks  688eine);0<3a>ks  &q)e0<3a>ks  <1353  >35957413 9ty448* 02 9    8RCCC, CRC Calcul&q)0ti11s5a  s/t3hr  359  L794di38*102 9    8R3sizbares5a132r_d9O9INGl890tt_74/ncod5a  s/t3hr  359  L9ty448*202 9    8R0513   >35=L/,tlal 92in1890cou74vr>&q)e0tx_buf_lheck aV24aFImbe4all rrcflti-a<>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&9ty448*302 9    8R0513   >35=L/,tlal 92in1890lue768+cod5a  s/t3hr  359  L9>/*n8d4&q)e0tx_buf_flti-aaV24aFIis byt-aaVorrduaf po3flti-a4any363rerx_buf_8ef=5eq_43a439+9_rxa/2057=3L79ty448*5/*nMD0, M 93nRe890r>&70ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L79t6448*5  890tse70ref__FI0ti11s354:9>351le o3t.3439+9_rxa/2057=3L79t7448*5351le o3t.439+9_rxa/2057=3L79t8448*5ks  <1le o3t.439+9_rxa/2057=3L79t9448*5351le o3t.439+9_rxa/2057=3L79>0>17/205793L7 7/*nMD1, M 93nRe791abl70ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L79>di38*102 91ees7C  79110=70ref__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L791pyr7;e, b9t ra73, 00=1/1 01=1/16 1091/32791   80uff__FI0ti11s354:9>351le o3t.439+9_rxa/2057=3L791y448*302 957=37a rsize, 00=8 bits,09=7,1791 0080ref__FI0ti11s354:9>351le o3t.44 eturn 04487re13INn442r_d9OSINGlaRICC3519&9t/*n8d4351le o3tnI0tus    id="L74roa1*I0tusrme=nkLs  <13r sclal 42in13l9stId scclB>44  8" class3496&ctyp o3tnI0tus    id="L74roa1*I0tu*ef__I0ti11ssC  s/t3hr  3, 00=none 19=eve791str75ref__emm=L/,tlal 42in13l9strrevr>&quo91pyr7/6llo9e=Re7p  791str75613/a>al 42in="+1atx_buf_ignorrmCRC bit4 42not usingmCRC (bit4 s undef=3Ld)/s>44 eturn 04487re13INn442r_d9OSINGlaRICC3519&9t7448*5       9 * 07919st80T1r>&q;0351le Note:CRC  s not sarr3fferany e9>344 eturn 04487re13INn442r_d9OSINGlaRICC3519&9t8448*5   7911nk76ref__FI0 s/t3s  <1353  >35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce=crc_typrI0tus    id="L7crc_typr 13a4rrme=nkLs  <13SignaCRC_NONEI0tus    id="L7SignaCRC_NONEcou/1*" ce87re13INn442r_d9OSINGlaRICC3519&91pyr7/4 8r913IN7Value;2 clame=ad_rei9egVa791str7592seesp0<3a>ks  <1353  >359d>436nI0tus    id="L74roa1*I0tusrme=nal 42in1s  <1353 ;23/aame=ad_reiRegVal3/a*ef__I0ti11ssC  s/t3hr  &qe0<3a>ks  <1353  >35957413 94di37 ast_9em_a7loce=BIT2tlal 42in1399stB792ts 76113/a>al 42i3s  <1353  nlti-siztlal 42in13l9stIflti-sizt 13asrrmem||uer>&qe0<3a>ks  <1353  >35957413 94pyr7;e, b9t ra7t_size;2 clame=ad_re9max_79=tt_722eine);0<3a>ks  <1353   dd3_fiel_speed>440seesp* dd3_fiel_I0tus!rme=nkm0I" DL/,tlal 42drtemmRegVa dd3_fiel_speed>440seesp* dd3_fiel_I0tus!rml 42drtemmRegVa>35957413 /4di3544 5re13INn44  8" class3496&ctyp++34344  8>440seesp*nG"te=e" 13ast_mem_alloce= dd3_fil pospeed>440seesp* dd3_filr13IN3a)1*" ce>ot;paramstlal 42in13l9stparamsr>&91pyr7A 351le  and1dimemeyt-aflti-s, thds3rxemsuffeocEor sometii-363rerx_buf_8ef=5eq_43a439+9_rxa/2057=3L796cla7ot;ma9_fr=7t_size;2 clame=ad_re9max_792   70uff__FI0ti11s354:9>351le o3t.&70ref__FI0ti11s354:9>351le o3t.44 eturn 04487re13INn442r_d9OSINGlaRICC3519&9ty44743e5r913IN743=5eq_ks  <1353  >359" 1 >rx_free_fr a _buffersturn 04289re13Irx6free_fr a _bufferst, Addr=ŗ ad>436" 13/a>8131nk85=t ks  <13StartIorex_INFOIZEeSerialStartIorexks688eine);0ti11s5a  s/t3hr  359  L79.31S7=4 8r913IN7x_count" cw="nkL746 91tx_792/nG68vr>&q)e0<3a>ks  <1353  >35957413 91pyr7ntein9.31S7A_MEM_SIZEetx" cw="n9L746793egV79309essC  s/t3s  <1353  nlti-siztlal 42in13l9stIflti-sizt 13asnaNn421*" ce87re13INn442r_d9OSINGlaRICC3519&94di37irt_a9dr=t7y"43="L>433ressConfl9ct=t793siz791eine);0<3a>ks  <1353  >359d>436nI0tus    id="L74roa1*I0tus0I" DMA buff_448>4324o3tu1_lcr_base=t324otr75*" cesp*)idrtemmMD0cr_base=tty" 13MD019ty447byte 9eft 7o transmit or 1 FIFO9slot79353 77vr>&qp*)idrtemmMD0cr_base=tty" 13MD0194pyr7A   <1353  d>436nI0tus    id="L74roa1*I0tusrme=nat3s  <1353  324o3tu1_lcr_base=t324otr75+3s  <1353  32453tu1_lcr_base=t3245tr75+3s  <1353  324;23/ap8131por_9iRegValue+3s  <1353  324;23/aame=ad_reiRegVal3/aa&*" ce>ot;paramstlal 42in13l9stparamsr>&9/a>87it;ma9_fr=7"x_cha tlal 42i913l9793m_r68ref__FI0ti11ss351le 3Ill rrd ulti- has errors,44 eturn 04487re13INn442r_d9OSINGlaRICC3519&9/a>87i.0ot9e, P7mit pend9ng high pri9rity793r>&70ref__FI0ti11s354:9>351le o3t.351le o3t.44 eturn 04487re13INn442r_d9OSINGlaRICC3519&94y447=esp*9idrt7uot;x_cha tlal 42in19l9st7937on78eeine);0<3a>ks  <1353  d>436nI0tus    id="L74roa1*I0tusrme=na3s  <1353  324o3tu1_lcr_base=t324otr751*" ce87re13INn442r_d9OSINGlaRICC3519&948448*5688eine);0<3a>ksks  <1353  >359>35957413 /4di3544 5re13INn44  8" class3496&ctyi6buf_cou/aturn 04289i6buf_cou/3ast_mem_alloce=rxsh7;/ffersturn 04289resh7;/ 13a++*" cesp*)idrtemmMD0cr_base=tty" 13MD019/a>87i4 8r913IN7uot;tx_get" cw="nkL796 c1793str7592seesp0<3a>ks  <1353  d>436nI0tus    id="L74roa1*I0tusrme=na3s  <1353  32453tu1_lcr_base=t3245tr751*" ce87re13INn442r_d9OSINGlaRICC3519&9/a>87ot;ma9_fr=7t_size;2 clame=ad_re9max_7949*877zer>&q)0ti11s354<3a>ks  <1353  >359>35957413 /4di3544 5re13INn44  8" class3496&ctyi6buf_cou/aturn 04289i6buf_cou/3ast_mem_alloce=rxab7;/ffersturn 04289reab7;/ 13a++*" cesp*)idrtemmMD0cr_base=tty" 13MD019/di37irt_a9_fr=7t_size;2 clame=ad_re9max_794siz791eine);0<3a>ks  <1353  d>436nI0tus    id="L74roa1*I0tusrme=na3s  <1353  324;23/ap8131por_9iRegValue1*" ce87re13INn442r_d9OSINGlaRICC3519&9/y447byte 93&qu7t;tx_count" cw="nkL796 c1794tt_722eine);0<3a>ks351353  >359>35957413 /4di3544 5re13INn44  8" class3496&ctyi6buf_cou/aturn 04289i6buf_cou/3ast_mem_alloce=rxo43affersturn 04289reo43a 13a++*" cesp*)idrtemmMD0cr_base=tty" 13MD019/pyr7A 434+cod5=tty"913/a794str793ef__FI0ti11ssC ti11sela p*)idrtemmMD0cr_base=tty" 13MD0196cla7count9ine.71SCA_MEM_SIZEetx" cw9"nkL794m_r68ref__FI0ti11ss351353  >359>35957413 /4di3544 5re13INn44  8" class3496&ctyi6buf_cou/aturn 04289i6buf_cou/3ast_mem_alloce=rxcrclal 42in13l9stIrxcrc 13a++*" cesp*)idrtemmMD0cr_base=tty" 13MD019/a>87i.0ot9e, P7LLeq_434bu94L7G794str75ref__emm=L/,tlal 42in13l9strrevr>&quo9>/*n7=3e5r913IN7_reineNULLeq_43794_va7632seesp0<3a>ks  <1353  >359nlti-siztlal 42in13l9stIflti-sizt 13asrme*" cesp*)idrtemmMD0cr_base=tty" 13MD019ty447Nd=519513&73  regist3548&ctyp++953 <7947> 78# s/<3a>ks  <13SYNCLINK_GENERIC_Sign_INFOIZEeSerialSYNCLINK_GENERIC_Signtr75ref__emm=L/,tlal 42in13l9strrevr>&quo9>8448*5688eine);0<3a>ksot;paramstlal 42in13l9stparamsr>&9.31S744 8r913IN7>/*nReset a port to 9 kno794str7592seesp0<3a>ks351353  >359>35957413 /4di3544 5re13INn44  8" class3496&ctynetdev57413 /4di3544 netdevclB>44  8" class3496&ctyp o3nI0tus    id="L74roa=e" 13ast_mem_alloce=p++nrrorsspeed>440seesp*p++nrrors 13a++*" cesp*)idrtemmMD0cr_base=tty" 13MD0191pyr7ass3593L7474349essC&q)0ti11s354<3a>ks  <1353  >359>35957413 /4di3544 5re13INn44  8" class3496&ctynetdev57413 /4di3544 netdevclB>44  8" class3496&ctyp o3nI0tus    id="L74roa=e" 13ast_mem_alloce=p++free_fnrrorsspeed>440seesp*p++free_fnrrors 13a++*" cesp*)idrtemmMD0cr_base=tty" 13MD0191di37irt_a9_fr=7510513   >35=L/,tlal942in795siz791eine);0<3a>ks  359  L7916cl7=510593INn73eal_rsgener28"6"tcl9me=a7952> 75#endifi11s5a  s/t3hr  359  L791pyr7A   359  L791cla7count9ine.743me=ad_reinekmalloc9tty"795 c174zer>&p*)idrtemmMD0cr_base=tty" 13MD0191pyr7=.0ot9e, P710513   >35=L/,tlal 92in17959on78eeine);0 42ine=nkLs  <13debug_leve_levelr_base=ttydebug_leve_I0tusr  8I" DMA buff_448>4DEBUG_LEVEL_BHlevelr_base=ttyDEBUG_LEVEL_BHI0tus1*" ce87re13INn442r_d9OSINGlaRICC3519&91pyr73n43l9me=a710513   >35=L/,tlal 92in1795_va7632seesp0<3a>ks  <1353  >359printe4253 >4289cod5=printefferstef__FI0ti11sstring">"%s(%d):%s re1135sulti-()aaV24aF=%04Xaaizt=%d\n"44 etur,*" ce87re13INn442r_d9OSINGlaRICC3519&91y447Nd=519513&743bares5a132r_d9OSIN9laRI7957on78eeine);0<3a>ksks  <1353  >359__FILE__4253 >4289cod5=__FILE__pbac,e=nkLs  <13__LINE__4253 >4289cod5=__LINE__pbac,e=nkLs  <13>35957413 /4di3544 5re13INn44  8" class3496&ctyr of d_r_d9levelr_base=ttydeof d_r_d9pbac,e=nkLs  <13d>436nI0tus    id="L74roa1*I0tu,e=nkLs  <13flti-siztlal 42in13l9stIflti-sizt 13a1*" cesp*)idrtemmMD0cr_base=tty" 13MD0194di37a347r913IN7RTStlal 42in13l9stSe9ialS795   7/ref__p*)idrtemmMD0cr_base=tty" 13MD019>0>17a 35=L/,tlal 92in1795q_<74ref__FI0 42ine=nkLs  <13debug_leve_levelr_base=ttydebug_leve_I0tusr  8I" DMA buff_448>4DEBUG_LEVEL_DATe1XDMA>440seesp*DEBUG_LEVEL_DATeI0tus1*" ce87re13INn442r_d9OSINGlaRICC3519&91pyr74359r913IN743al_rsgener28"6"tcl9me=a7969*877zer>&q)0ti11s354:9>351353  >359tra d_bG"te4253 >4289cod5=tra d_bG"tefferst, Addr=ŗ ad>436" 13/a>8131nk85=t   <13>35957413 /4di3544 5re13INn44  8" class3496&ctyp++34rxffer_excou/aturn 04289re13Irxffer_exarrayvoidk>  <1353  StartIorex_INFOIZEeSerialStartIorexksks