Lines Matching defs:info
321 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg)) argument
322 #define read_reg(info, reg) inb((info)->io_base + (reg)) argument
324 #define read_reg16(info, reg) inw((info)->io_base + (reg)) argument
325 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg)) argument
327 #define set_reg_bits(info, reg, mask) \ argument
330 #define clear_reg_bits(info, reg, mask) \ argument
336 static void irq_disable(MGSLPC_INFO *info, unsigned char channel, unsigned short mask) in irq_disable()
346 static void irq_enable(MGSLPC_INFO *info, unsigned char channel, unsigned short mask) in irq_enable()
357 #define port_irq_disable(info, mask) \ argument
360 #define port_irq_enable(info, mask) \ argument
516 MGSLPC_INFO *info; in mgslpc_probe() local
576 MGSLPC_INFO *info = link->priv; in mgslpc_config() local
634 MGSLPC_INFO *info = link->priv; in mgslpc_suspend() local
643 MGSLPC_INFO *info = link->priv; in mgslpc_resume() local
651 static inline bool mgslpc_paranoia_check(MGSLPC_INFO *info, in mgslpc_paranoia_check()
684 static bool wait_command_complete(MGSLPC_INFO *info, unsigned char channel) in wait_command_complete()
696 static void issue_command(MGSLPC_INFO *info, unsigned char channel, unsigned char cmd) in issue_command()
704 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in tx_pause() local
720 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in tx_release() local
737 static int bh_action(MGSLPC_INFO *info) in bh_action()
768 MGSLPC_INFO *info = container_of(work, MGSLPC_INFO, task); in bh_handler() local
810 static void bh_transmit(MGSLPC_INFO *info, struct tty_struct *tty) in bh_transmit()
819 static void bh_status(MGSLPC_INFO *info) in bh_status()
828 static void rx_ready_hdlc(MGSLPC_INFO *info, int eom) in rx_ready_hdlc()
891 static void rx_ready_async(MGSLPC_INFO *info, int tcd) in rx_ready_async()
959 static void tx_done(MGSLPC_INFO *info, struct tty_struct *tty) in tx_done()
996 static void tx_ready(MGSLPC_INFO *info, struct tty_struct *tty) in tx_ready()
1045 static void cts_change(MGSLPC_INFO *info, struct tty_struct *tty) in cts_change()
1080 static void dcd_change(MGSLPC_INFO *info, struct tty_struct *tty) in dcd_change()
1118 static void dsr_change(MGSLPC_INFO *info) in dsr_change()
1133 static void ri_change(MGSLPC_INFO *info) in ri_change()
1157 MGSLPC_INFO *info = dev_id; in mgslpc_isr() local
1266 static int startup(MGSLPC_INFO * info, struct tty_struct *tty) in startup()
1319 static void shutdown(MGSLPC_INFO * info, struct tty_struct *tty) in shutdown()
1365 static void mgslpc_program_hw(MGSLPC_INFO *info, struct tty_struct *tty) in mgslpc_program_hw()
1399 static void mgslpc_change_params(MGSLPC_INFO *info, struct tty_struct *tty) in mgslpc_change_params()
1479 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_put_char() local
1512 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_flush_chars() local
1550 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_write() local
1608 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_write_room() local
1636 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_chars_in_buffer() local
1662 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_flush_buffer() local
1685 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_send_xchar() local
1708 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_throttle() local
1733 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_unthrottle() local
1760 static int get_stats(MGSLPC_INFO * info, struct mgsl_icount __user *user_icount) in get_stats()
1777 static int get_params(MGSLPC_INFO * info, MGSL_PARAMS __user *user_params) in get_params()
1797 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) in set_params()
1823 static int get_txidle(MGSLPC_INFO * info, int __user *idle_mode) in get_txidle()
1834 static int set_txidle(MGSLPC_INFO * info, int idle_mode) in set_txidle()
1846 static int get_interface(MGSLPC_INFO * info, int __user *if_mode) in get_interface()
1857 static int set_interface(MGSLPC_INFO * info, int if_mode) in set_interface()
1879 static int set_txenable(MGSLPC_INFO * info, int enable, struct tty_struct *tty) in set_txenable()
1898 static int tx_abort(MGSLPC_INFO * info) in tx_abort()
1918 static int set_rxenable(MGSLPC_INFO * info, int enable) in set_rxenable()
1945 static int wait_events(MGSLPC_INFO * info, int __user *mask_ptr) in wait_events()
2054 static int modem_input_wait(MGSLPC_INFO *info,int arg) in modem_input_wait()
2108 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in tiocmget() local
2134 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in tiocmset() local
2164 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_break() local
2186 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_get_icount() local
2222 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_ioctl() local
2277 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_set_termios() local
2319 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_close() local
2352 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_wait_until_sent() local
2416 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_hangup() local
2432 MGSLPC_INFO *info = container_of(port, MGSLPC_INFO, port); in carrier_raised() local
2446 MGSLPC_INFO *info = container_of(port, MGSLPC_INFO, port); in dtr_rts() local
2461 MGSLPC_INFO *info; in mgslpc_open() local
2528 static inline void line_info(struct seq_file *m, MGSLPC_INFO *info) in line_info()
2596 MGSLPC_INFO *info; in mgslpc_proc_show() local
2608 static int rx_alloc_buffers(MGSLPC_INFO *info) in rx_alloc_buffers()
2639 static void rx_free_buffers(MGSLPC_INFO *info) in rx_free_buffers()
2647 static int claim_resources(MGSLPC_INFO *info) in claim_resources()
2657 static void release_resources(MGSLPC_INFO *info) in release_resources()
2669 static int mgslpc_add_device(MGSLPC_INFO *info) in mgslpc_add_device()
2732 MGSLPC_INFO *info = mgslpc_device_list; in mgslpc_remove_device() local
2859 static void mgslpc_set_rate(MGSLPC_INFO *info, unsigned char channel, unsigned int rate) in mgslpc_set_rate()
2895 static void enable_auxclk(MGSLPC_INFO *info) in enable_auxclk()
2982 static void loopback_enable(MGSLPC_INFO *info) in loopback_enable()
3005 static void hdlc_mode(MGSLPC_INFO *info) in hdlc_mode()
3245 static void rx_stop(MGSLPC_INFO *info) in rx_stop()
3258 static void rx_start(MGSLPC_INFO *info) in rx_start()
3274 static void tx_start(MGSLPC_INFO *info, struct tty_struct *tty) in tx_start()
3312 static void tx_stop(MGSLPC_INFO *info) in tx_stop()
3326 static void reset_device(MGSLPC_INFO *info) in reset_device()
3376 static void async_mode(MGSLPC_INFO *info) in async_mode()
3547 static void tx_set_idle(MGSLPC_INFO *info) in tx_set_idle()
3558 static void get_signals(MGSLPC_INFO *info) in get_signals()
3580 static void set_signals(MGSLPC_INFO *info) in set_signals()
3604 static void rx_reset_buffers(MGSLPC_INFO *info) in rx_reset_buffers()
3623 static bool rx_get_frame(MGSLPC_INFO *info, struct tty_struct *tty) in rx_get_frame()
3707 static bool register_test(MGSLPC_INFO *info) in register_test()
3733 static bool irq_test(MGSLPC_INFO *info) in irq_test()
3768 static int adapter_test(MGSLPC_INFO *info) in adapter_test()
3790 static void trace_block(MGSLPC_INFO *info,const char* data, int count, int xmit) in trace_block()
3827 MGSLPC_INFO *info = from_timer(info, t, tx_timer); in tx_timeout() local
3870 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_attach() local
3919 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_xmit() local
3965 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_open() local
4028 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_close() local
4062 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_wan_ioctl() local
4159 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_tx_timeout() local
4181 static void hdlcdev_tx_done(MGSLPC_INFO *info) in hdlcdev_tx_done()
4195 static void hdlcdev_rx(MGSLPC_INFO *info, char *buf, int size) in hdlcdev_rx()
4235 static int hdlcdev_init(MGSLPC_INFO *info) in hdlcdev_init()
4281 static void hdlcdev_exit(MGSLPC_INFO *info) in hdlcdev_exit()