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()
1481 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_put_char() local
1514 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_flush_chars() local
1552 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_write() local
1610 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_write_room() local
1638 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_chars_in_buffer() local
1664 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_flush_buffer() local
1687 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_send_xchar() local
1710 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_throttle() local
1735 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_unthrottle() local
1762 static int get_stats(MGSLPC_INFO * info, struct mgsl_icount __user *user_icount) in get_stats()
1779 static int get_params(MGSLPC_INFO * info, MGSL_PARAMS __user *user_params) in get_params()
1799 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) in set_params()
1825 static int get_txidle(MGSLPC_INFO * info, int __user *idle_mode) in get_txidle()
1836 static int set_txidle(MGSLPC_INFO * info, int idle_mode) in set_txidle()
1848 static int get_interface(MGSLPC_INFO * info, int __user *if_mode) in get_interface()
1859 static int set_interface(MGSLPC_INFO * info, int if_mode) in set_interface()
1881 static int set_txenable(MGSLPC_INFO * info, int enable, struct tty_struct *tty) in set_txenable()
1900 static int tx_abort(MGSLPC_INFO * info) in tx_abort()
1920 static int set_rxenable(MGSLPC_INFO * info, int enable) in set_rxenable()
1947 static int wait_events(MGSLPC_INFO * info, int __user *mask_ptr) in wait_events()
2056 static int modem_input_wait(MGSLPC_INFO *info,int arg) in modem_input_wait()
2110 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in tiocmget() local
2136 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in tiocmset() local
2166 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_break() local
2188 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_get_icount() local
2224 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_ioctl() local
2280 MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_set_termios() local
2322 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_close() local
2355 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_wait_until_sent() local
2419 MGSLPC_INFO * info = (MGSLPC_INFO *)tty->driver_data; in mgslpc_hangup() local
2435 MGSLPC_INFO *info = container_of(port, MGSLPC_INFO, port); in carrier_raised() local
2447 MGSLPC_INFO *info = container_of(port, MGSLPC_INFO, port); in dtr_rts() local
2462 MGSLPC_INFO *info; in mgslpc_open() local
2529 static inline void line_info(struct seq_file *m, MGSLPC_INFO *info) in line_info()
2597 MGSLPC_INFO *info; in mgslpc_proc_show() local
2609 static int rx_alloc_buffers(MGSLPC_INFO *info) in rx_alloc_buffers()
2640 static void rx_free_buffers(MGSLPC_INFO *info) in rx_free_buffers()
2648 static int claim_resources(MGSLPC_INFO *info) in claim_resources()
2658 static void release_resources(MGSLPC_INFO *info) in release_resources()
2670 static int mgslpc_add_device(MGSLPC_INFO *info) in mgslpc_add_device()
2733 MGSLPC_INFO *info = mgslpc_device_list; in mgslpc_remove_device() local
2860 static void mgslpc_set_rate(MGSLPC_INFO *info, unsigned char channel, unsigned int rate) in mgslpc_set_rate()
2896 static void enable_auxclk(MGSLPC_INFO *info) in enable_auxclk()
2983 static void loopback_enable(MGSLPC_INFO *info) in loopback_enable()
3006 static void hdlc_mode(MGSLPC_INFO *info) in hdlc_mode()
3246 static void rx_stop(MGSLPC_INFO *info) in rx_stop()
3259 static void rx_start(MGSLPC_INFO *info) in rx_start()
3275 static void tx_start(MGSLPC_INFO *info, struct tty_struct *tty) in tx_start()
3313 static void tx_stop(MGSLPC_INFO *info) in tx_stop()
3327 static void reset_device(MGSLPC_INFO *info) in reset_device()
3377 static void async_mode(MGSLPC_INFO *info) in async_mode()
3548 static void tx_set_idle(MGSLPC_INFO *info) in tx_set_idle()
3559 static void get_signals(MGSLPC_INFO *info) in get_signals()
3581 static void set_signals(MGSLPC_INFO *info) in set_signals()
3605 static void rx_reset_buffers(MGSLPC_INFO *info) in rx_reset_buffers()
3624 static bool rx_get_frame(MGSLPC_INFO *info, struct tty_struct *tty) in rx_get_frame()
3708 static bool register_test(MGSLPC_INFO *info) in register_test()
3734 static bool irq_test(MGSLPC_INFO *info) in irq_test()
3769 static int adapter_test(MGSLPC_INFO *info) in adapter_test()
3791 static void trace_block(MGSLPC_INFO *info,const char* data, int count, int xmit) in trace_block()
3828 MGSLPC_INFO *info = from_timer(info, t, tx_timer); in tx_timeout() local
3871 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_attach() local
3920 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_xmit() local
3966 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_open() local
4029 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_close() local
4063 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_wan_ioctl() local
4160 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_tx_timeout() local
4182 static void hdlcdev_tx_done(MGSLPC_INFO *info) in hdlcdev_tx_done()
4196 static void hdlcdev_rx(MGSLPC_INFO *info, char *buf, int size) in hdlcdev_rx()
4236 static int hdlcdev_init(MGSLPC_INFO *info) in hdlcdev_init()
4282 static void hdlcdev_exit(MGSLPC_INFO *info) in hdlcdev_exit()