slgt_info 120 drivers/tty/synclink_gt.c static struct slgt_info *slgt_device_list; slgt_info 166 drivers/tty/synclink_gt.c static void hdlcdev_tx_done(struct slgt_info *info); slgt_info 167 drivers/tty/synclink_gt.c static void hdlcdev_rx(struct slgt_info *info, char *buf, int size); slgt_info 168 drivers/tty/synclink_gt.c static int hdlcdev_init(struct slgt_info *info); slgt_info 169 drivers/tty/synclink_gt.c static void hdlcdev_exit(struct slgt_info *info); slgt_info 242 drivers/tty/synclink_gt.c struct slgt_info *next_device; /* device list link */ slgt_info 254 drivers/tty/synclink_gt.c struct slgt_info *port_array[SLGT_MAX_PORTS]; slgt_info 431 drivers/tty/synclink_gt.c static __u8 rd_reg8(struct slgt_info *info, unsigned int addr); slgt_info 432 drivers/tty/synclink_gt.c static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value); slgt_info 433 drivers/tty/synclink_gt.c static __u16 rd_reg16(struct slgt_info *info, unsigned int addr); slgt_info 434 drivers/tty/synclink_gt.c static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value); slgt_info 435 drivers/tty/synclink_gt.c static __u32 rd_reg32(struct slgt_info *info, unsigned int addr); slgt_info 436 drivers/tty/synclink_gt.c static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value); slgt_info 438 drivers/tty/synclink_gt.c static void msc_set_vcr(struct slgt_info *info); slgt_info 440 drivers/tty/synclink_gt.c static int startup(struct slgt_info *info); slgt_info 441 drivers/tty/synclink_gt.c static int block_til_ready(struct tty_struct *tty, struct file * filp,struct slgt_info *info); slgt_info 442 drivers/tty/synclink_gt.c static void shutdown(struct slgt_info *info); slgt_info 443 drivers/tty/synclink_gt.c static void program_hw(struct slgt_info *info); slgt_info 444 drivers/tty/synclink_gt.c static void change_params(struct slgt_info *info); slgt_info 446 drivers/tty/synclink_gt.c static int register_test(struct slgt_info *info); slgt_info 447 drivers/tty/synclink_gt.c static int irq_test(struct slgt_info *info); slgt_info 448 drivers/tty/synclink_gt.c static int loopback_test(struct slgt_info *info); slgt_info 449 drivers/tty/synclink_gt.c static int adapter_test(struct slgt_info *info); slgt_info 451 drivers/tty/synclink_gt.c static void reset_adapter(struct slgt_info *info); slgt_info 452 drivers/tty/synclink_gt.c static void reset_port(struct slgt_info *info); slgt_info 453 drivers/tty/synclink_gt.c static void async_mode(struct slgt_info *info); slgt_info 454 drivers/tty/synclink_gt.c static void sync_mode(struct slgt_info *info); slgt_info 456 drivers/tty/synclink_gt.c static void rx_stop(struct slgt_info *info); slgt_info 457 drivers/tty/synclink_gt.c static void rx_start(struct slgt_info *info); slgt_info 458 drivers/tty/synclink_gt.c static void reset_rbufs(struct slgt_info *info); slgt_info 459 drivers/tty/synclink_gt.c static void free_rbufs(struct slgt_info *info, unsigned int first, unsigned int last); slgt_info 460 drivers/tty/synclink_gt.c static void rdma_reset(struct slgt_info *info); slgt_info 461 drivers/tty/synclink_gt.c static bool rx_get_frame(struct slgt_info *info); slgt_info 462 drivers/tty/synclink_gt.c static bool rx_get_buf(struct slgt_info *info); slgt_info 464 drivers/tty/synclink_gt.c static void tx_start(struct slgt_info *info); slgt_info 465 drivers/tty/synclink_gt.c static void tx_stop(struct slgt_info *info); slgt_info 466 drivers/tty/synclink_gt.c static void tx_set_idle(struct slgt_info *info); slgt_info 467 drivers/tty/synclink_gt.c static unsigned int free_tbuf_count(struct slgt_info *info); slgt_info 468 drivers/tty/synclink_gt.c static unsigned int tbuf_bytes(struct slgt_info *info); slgt_info 469 drivers/tty/synclink_gt.c static void reset_tbufs(struct slgt_info *info); slgt_info 470 drivers/tty/synclink_gt.c static void tdma_reset(struct slgt_info *info); slgt_info 471 drivers/tty/synclink_gt.c static bool tx_load(struct slgt_info *info, const char *buf, unsigned int count); slgt_info 473 drivers/tty/synclink_gt.c static void get_signals(struct slgt_info *info); slgt_info 474 drivers/tty/synclink_gt.c static void set_signals(struct slgt_info *info); slgt_info 475 drivers/tty/synclink_gt.c static void enable_loopback(struct slgt_info *info); slgt_info 476 drivers/tty/synclink_gt.c static void set_rate(struct slgt_info *info, u32 data_rate); slgt_info 478 drivers/tty/synclink_gt.c static int bh_action(struct slgt_info *info); slgt_info 480 drivers/tty/synclink_gt.c static void bh_transmit(struct slgt_info *info); slgt_info 481 drivers/tty/synclink_gt.c static void isr_serial(struct slgt_info *info); slgt_info 482 drivers/tty/synclink_gt.c static void isr_rdma(struct slgt_info *info); slgt_info 483 drivers/tty/synclink_gt.c static void isr_txeom(struct slgt_info *info, unsigned short status); slgt_info 484 drivers/tty/synclink_gt.c static void isr_tdma(struct slgt_info *info); slgt_info 486 drivers/tty/synclink_gt.c static int alloc_dma_bufs(struct slgt_info *info); slgt_info 487 drivers/tty/synclink_gt.c static void free_dma_bufs(struct slgt_info *info); slgt_info 488 drivers/tty/synclink_gt.c static int alloc_desc(struct slgt_info *info); slgt_info 489 drivers/tty/synclink_gt.c static void free_desc(struct slgt_info *info); slgt_info 490 drivers/tty/synclink_gt.c static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count); slgt_info 491 drivers/tty/synclink_gt.c static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count); slgt_info 493 drivers/tty/synclink_gt.c static int alloc_tmp_rbuf(struct slgt_info *info); slgt_info 494 drivers/tty/synclink_gt.c static void free_tmp_rbuf(struct slgt_info *info); slgt_info 502 drivers/tty/synclink_gt.c static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount); slgt_info 503 drivers/tty/synclink_gt.c static int get_params(struct slgt_info *info, MGSL_PARAMS __user *params); slgt_info 504 drivers/tty/synclink_gt.c static int set_params(struct slgt_info *info, MGSL_PARAMS __user *params); slgt_info 505 drivers/tty/synclink_gt.c static int get_txidle(struct slgt_info *info, int __user *idle_mode); slgt_info 506 drivers/tty/synclink_gt.c static int set_txidle(struct slgt_info *info, int idle_mode); slgt_info 507 drivers/tty/synclink_gt.c static int tx_enable(struct slgt_info *info, int enable); slgt_info 508 drivers/tty/synclink_gt.c static int tx_abort(struct slgt_info *info); slgt_info 509 drivers/tty/synclink_gt.c static int rx_enable(struct slgt_info *info, int enable); slgt_info 510 drivers/tty/synclink_gt.c static int modem_input_wait(struct slgt_info *info,int arg); slgt_info 511 drivers/tty/synclink_gt.c static int wait_mgsl_event(struct slgt_info *info, int __user *mask_ptr); slgt_info 516 drivers/tty/synclink_gt.c static int get_interface(struct slgt_info *info, int __user *if_mode); slgt_info 517 drivers/tty/synclink_gt.c static int set_interface(struct slgt_info *info, int if_mode); slgt_info 518 drivers/tty/synclink_gt.c static int set_gpio(struct slgt_info *info, struct gpio_desc __user *gpio); slgt_info 519 drivers/tty/synclink_gt.c static int get_gpio(struct slgt_info *info, struct gpio_desc __user *gpio); slgt_info 520 drivers/tty/synclink_gt.c static int wait_gpio(struct slgt_info *info, struct gpio_desc __user *gpio); slgt_info 521 drivers/tty/synclink_gt.c static int get_xsync(struct slgt_info *info, int __user *if_mode); slgt_info 522 drivers/tty/synclink_gt.c static int set_xsync(struct slgt_info *info, int if_mode); slgt_info 523 drivers/tty/synclink_gt.c static int get_xctrl(struct slgt_info *info, int __user *if_mode); slgt_info 524 drivers/tty/synclink_gt.c static int set_xctrl(struct slgt_info *info, int if_mode); slgt_info 529 drivers/tty/synclink_gt.c static void add_device(struct slgt_info *info); slgt_info 531 drivers/tty/synclink_gt.c static int claim_resources(struct slgt_info *info); slgt_info 532 drivers/tty/synclink_gt.c static void release_resources(struct slgt_info *info); slgt_info 551 drivers/tty/synclink_gt.c static void trace_block(struct slgt_info *info, const char *data, int count, const char *label) slgt_info 578 drivers/tty/synclink_gt.c static void dump_tbufs(struct slgt_info *info) slgt_info 592 drivers/tty/synclink_gt.c static void dump_rbufs(struct slgt_info *info) slgt_info 605 drivers/tty/synclink_gt.c static inline int sanity_check(struct slgt_info *info, char *devname, const char *name) slgt_info 649 drivers/tty/synclink_gt.c struct slgt_info *info; slgt_info 718 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 744 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 768 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 800 drivers/tty/synclink_gt.c static void update_tx_timer(struct slgt_info *info) slgt_info 816 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 850 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 870 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 887 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 929 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 941 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 962 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 981 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 998 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1024 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1100 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1127 drivers/tty/synclink_gt.c static long get_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *user_params) slgt_info 1151 drivers/tty/synclink_gt.c static long set_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *new_params) slgt_info 1187 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1229 drivers/tty/synclink_gt.c static inline void line_info(struct seq_file *m, struct slgt_info *info) slgt_info 1298 drivers/tty/synclink_gt.c struct slgt_info *info; slgt_info 1315 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1329 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1350 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1376 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 1410 drivers/tty/synclink_gt.c struct slgt_info *info = dev_to_port(dev); slgt_info 1457 drivers/tty/synclink_gt.c struct slgt_info *info = dev_to_port(dev); slgt_info 1495 drivers/tty/synclink_gt.c struct slgt_info *info = dev_to_port(dev); slgt_info 1556 drivers/tty/synclink_gt.c struct slgt_info *info = dev_to_port(dev); slgt_info 1590 drivers/tty/synclink_gt.c struct slgt_info *info = dev_to_port(dev); slgt_info 1687 drivers/tty/synclink_gt.c struct slgt_info *info = dev_to_port(dev); slgt_info 1708 drivers/tty/synclink_gt.c static void hdlcdev_tx_done(struct slgt_info *info) slgt_info 1722 drivers/tty/synclink_gt.c static void hdlcdev_rx(struct slgt_info *info, char *buf, int size) slgt_info 1761 drivers/tty/synclink_gt.c static int hdlcdev_init(struct slgt_info *info) slgt_info 1808 drivers/tty/synclink_gt.c static void hdlcdev_exit(struct slgt_info *info) slgt_info 1820 drivers/tty/synclink_gt.c static void rx_async(struct slgt_info *info) slgt_info 1890 drivers/tty/synclink_gt.c static int bh_action(struct slgt_info *info) slgt_info 1923 drivers/tty/synclink_gt.c struct slgt_info *info = container_of(work, struct slgt_info, task); slgt_info 1968 drivers/tty/synclink_gt.c static void bh_transmit(struct slgt_info *info) slgt_info 1977 drivers/tty/synclink_gt.c static void dsr_change(struct slgt_info *info, unsigned short status) slgt_info 1997 drivers/tty/synclink_gt.c static void cts_change(struct slgt_info *info, unsigned short status) slgt_info 2032 drivers/tty/synclink_gt.c static void dcd_change(struct slgt_info *info, unsigned short status) slgt_info 2069 drivers/tty/synclink_gt.c static void ri_change(struct slgt_info *info, unsigned short status) slgt_info 2089 drivers/tty/synclink_gt.c static void isr_rxdata(struct slgt_info *info) slgt_info 2123 drivers/tty/synclink_gt.c static void isr_serial(struct slgt_info *info) slgt_info 2180 drivers/tty/synclink_gt.c static void isr_rdma(struct slgt_info *info) slgt_info 2206 drivers/tty/synclink_gt.c static void isr_tdma(struct slgt_info *info) slgt_info 2237 drivers/tty/synclink_gt.c static bool unsent_tbufs(struct slgt_info *info) slgt_info 2261 drivers/tty/synclink_gt.c static void isr_txeom(struct slgt_info *info, unsigned short status) slgt_info 2311 drivers/tty/synclink_gt.c static void isr_gpio(struct slgt_info *info, unsigned int changed, unsigned int state) slgt_info 2336 drivers/tty/synclink_gt.c struct slgt_info *info = dev_id; slgt_info 2378 drivers/tty/synclink_gt.c struct slgt_info *port = info->port_array[i]; slgt_info 2396 drivers/tty/synclink_gt.c static int startup(struct slgt_info *info) slgt_info 2429 drivers/tty/synclink_gt.c static void shutdown(struct slgt_info *info) slgt_info 2471 drivers/tty/synclink_gt.c static void program_hw(struct slgt_info *info) slgt_info 2506 drivers/tty/synclink_gt.c static void change_params(struct slgt_info *info) slgt_info 2579 drivers/tty/synclink_gt.c static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount) slgt_info 2591 drivers/tty/synclink_gt.c static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) slgt_info 2599 drivers/tty/synclink_gt.c static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) slgt_info 2620 drivers/tty/synclink_gt.c static int get_txidle(struct slgt_info *info, int __user *idle_mode) slgt_info 2628 drivers/tty/synclink_gt.c static int set_txidle(struct slgt_info *info, int idle_mode) slgt_info 2640 drivers/tty/synclink_gt.c static int tx_enable(struct slgt_info *info, int enable) slgt_info 2659 drivers/tty/synclink_gt.c static int tx_abort(struct slgt_info *info) slgt_info 2669 drivers/tty/synclink_gt.c static int rx_enable(struct slgt_info *info, int enable) slgt_info 2719 drivers/tty/synclink_gt.c static int wait_mgsl_event(struct slgt_info *info, int __user *mask_ptr) slgt_info 2833 drivers/tty/synclink_gt.c static int get_interface(struct slgt_info *info, int __user *if_mode) slgt_info 2841 drivers/tty/synclink_gt.c static int set_interface(struct slgt_info *info, int if_mode) slgt_info 2864 drivers/tty/synclink_gt.c static int get_xsync(struct slgt_info *info, int __user *xsync) slgt_info 2878 drivers/tty/synclink_gt.c static int set_xsync(struct slgt_info *info, int xsync) slgt_info 2890 drivers/tty/synclink_gt.c static int get_xctrl(struct slgt_info *info, int __user *xctrl) slgt_info 2915 drivers/tty/synclink_gt.c static int set_xctrl(struct slgt_info *info, int xctrl) slgt_info 2936 drivers/tty/synclink_gt.c static int set_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) slgt_info 2971 drivers/tty/synclink_gt.c static int get_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) slgt_info 3045 drivers/tty/synclink_gt.c static int wait_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) slgt_info 3096 drivers/tty/synclink_gt.c static int modem_input_wait(struct slgt_info *info,int arg) slgt_info 3151 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 3180 drivers/tty/synclink_gt.c struct slgt_info *info = tty->driver_data; slgt_info 3203 drivers/tty/synclink_gt.c struct slgt_info *info = container_of(port, struct slgt_info, port); slgt_info 3214 drivers/tty/synclink_gt.c struct slgt_info *info = container_of(port, struct slgt_info, port); slgt_info 3230 drivers/tty/synclink_gt.c struct slgt_info *info) slgt_info 3312 drivers/tty/synclink_gt.c static int alloc_tmp_rbuf(struct slgt_info *info) slgt_info 3327 drivers/tty/synclink_gt.c static void free_tmp_rbuf(struct slgt_info *info) slgt_info 3338 drivers/tty/synclink_gt.c static int alloc_desc(struct slgt_info *info) slgt_info 3384 drivers/tty/synclink_gt.c static void free_desc(struct slgt_info *info) slgt_info 3394 drivers/tty/synclink_gt.c static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) slgt_info 3405 drivers/tty/synclink_gt.c static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) slgt_info 3416 drivers/tty/synclink_gt.c static int alloc_dma_bufs(struct slgt_info *info) slgt_info 3432 drivers/tty/synclink_gt.c static void free_dma_bufs(struct slgt_info *info) slgt_info 3442 drivers/tty/synclink_gt.c static int claim_resources(struct slgt_info *info) slgt_info 3467 drivers/tty/synclink_gt.c static void release_resources(struct slgt_info *info) slgt_info 3488 drivers/tty/synclink_gt.c static void add_device(struct slgt_info *info) slgt_info 3506 drivers/tty/synclink_gt.c struct slgt_info *current_dev = slgt_device_list; slgt_info 3551 drivers/tty/synclink_gt.c static struct slgt_info *alloc_dev(int adapter_num, int port_num, struct pci_dev *pdev) slgt_info 3553 drivers/tty/synclink_gt.c struct slgt_info *info; slgt_info 3555 drivers/tty/synclink_gt.c info = kzalloc(sizeof(struct slgt_info), GFP_KERNEL); slgt_info 3597 drivers/tty/synclink_gt.c struct slgt_info *port_array[SLGT_MAX_PORTS]; slgt_info 3657 drivers/tty/synclink_gt.c struct slgt_info *info = port_array[i]; slgt_info 3708 drivers/tty/synclink_gt.c struct slgt_info *info; slgt_info 3709 drivers/tty/synclink_gt.c struct slgt_info *tmp; slgt_info 3825 drivers/tty/synclink_gt.c static __u8 rd_reg8(struct slgt_info *info, unsigned int addr) slgt_info 3831 drivers/tty/synclink_gt.c static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value) slgt_info 3837 drivers/tty/synclink_gt.c static __u16 rd_reg16(struct slgt_info *info, unsigned int addr) slgt_info 3843 drivers/tty/synclink_gt.c static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value) slgt_info 3849 drivers/tty/synclink_gt.c static __u32 rd_reg32(struct slgt_info *info, unsigned int addr) slgt_info 3855 drivers/tty/synclink_gt.c static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value) slgt_info 3861 drivers/tty/synclink_gt.c static void rdma_reset(struct slgt_info *info) slgt_info 3874 drivers/tty/synclink_gt.c static void tdma_reset(struct slgt_info *info) slgt_info 3892 drivers/tty/synclink_gt.c static void enable_loopback(struct slgt_info *info) slgt_info 3919 drivers/tty/synclink_gt.c static void set_rate(struct slgt_info *info, u32 rate) slgt_info 3938 drivers/tty/synclink_gt.c static void rx_stop(struct slgt_info *info) slgt_info 3958 drivers/tty/synclink_gt.c static void rx_start(struct slgt_info *info) slgt_info 4007 drivers/tty/synclink_gt.c static void tx_start(struct slgt_info *info) slgt_info 4045 drivers/tty/synclink_gt.c static void tx_stop(struct slgt_info *info) slgt_info 4068 drivers/tty/synclink_gt.c static void reset_port(struct slgt_info *info) slgt_info 4082 drivers/tty/synclink_gt.c static void reset_adapter(struct slgt_info *info) slgt_info 4091 drivers/tty/synclink_gt.c static void async_mode(struct slgt_info *info) slgt_info 4232 drivers/tty/synclink_gt.c static void sync_mode(struct slgt_info *info) slgt_info 4457 drivers/tty/synclink_gt.c static void tx_set_idle(struct slgt_info *info) slgt_info 4499 drivers/tty/synclink_gt.c static void get_signals(struct slgt_info *info) slgt_info 4519 drivers/tty/synclink_gt.c static void msc_set_vcr(struct slgt_info *info) slgt_info 4561 drivers/tty/synclink_gt.c static void set_signals(struct slgt_info *info) slgt_info 4578 drivers/tty/synclink_gt.c static void free_rbufs(struct slgt_info *info, unsigned int i, unsigned int last) slgt_info 4597 drivers/tty/synclink_gt.c static void reset_rbufs(struct slgt_info *info) slgt_info 4609 drivers/tty/synclink_gt.c static bool rx_get_frame(struct slgt_info *info) slgt_info 4746 drivers/tty/synclink_gt.c static bool rx_get_buf(struct slgt_info *info) slgt_info 4772 drivers/tty/synclink_gt.c static void reset_tbufs(struct slgt_info *info) slgt_info 4785 drivers/tty/synclink_gt.c static unsigned int free_tbuf_count(struct slgt_info *info) slgt_info 4810 drivers/tty/synclink_gt.c static unsigned int tbuf_bytes(struct slgt_info *info) slgt_info 4860 drivers/tty/synclink_gt.c static bool tx_load(struct slgt_info *info, const char *buf, unsigned int size) slgt_info 4927 drivers/tty/synclink_gt.c static int register_test(struct slgt_info *info) slgt_info 4949 drivers/tty/synclink_gt.c static int irq_test(struct slgt_info *info) slgt_info 4991 drivers/tty/synclink_gt.c static int loopback_test_rx(struct slgt_info *info) slgt_info 5015 drivers/tty/synclink_gt.c static int loopback_test(struct slgt_info *info) slgt_info 5075 drivers/tty/synclink_gt.c static int adapter_test(struct slgt_info *info) slgt_info 5095 drivers/tty/synclink_gt.c struct slgt_info *info = from_timer(info, t, tx_timer); slgt_info 5119 drivers/tty/synclink_gt.c struct slgt_info *info = from_timer(info, t, rx_timer);