Lines Matching defs:info

42 #define DBGDATA(info, buf, size, label) if (debug_level >= DEBUG_LEVEL_DATA) trace_block((info), (b…  argument
427 #define slgt_irq_on(info, mask) \ argument
429 #define slgt_irq_off(info, mask) \ argument
552 static void trace_block(struct slgt_info *info, const char *data, int count, const char *label) in trace_block()
575 #define DBGDATA(info, buf, size, label) argument
579 static void dump_tbufs(struct slgt_info *info) in dump_tbufs()
589 #define DBGTBUF(info) argument
593 static void dump_rbufs(struct slgt_info *info) in dump_rbufs()
603 #define DBGRBUF(info) argument
606 static inline int sanity_check(struct slgt_info *info, char *devname, const char *name) in sanity_check()
650 struct slgt_info *info; in open() local
719 struct slgt_info *info = tty->driver_data; in close() local
745 struct slgt_info *info = tty->driver_data; in hangup() local
769 struct slgt_info *info = tty->driver_data; in set_termios() local
806 static void update_tx_timer(struct slgt_info *info) in update_tx_timer()
822 struct slgt_info *info = tty->driver_data; in write() local
856 struct slgt_info *info = tty->driver_data; in put_char() local
876 struct slgt_info *info = tty->driver_data; in send_xchar() local
893 struct slgt_info *info = tty->driver_data; in wait_until_sent() local
935 struct slgt_info *info = tty->driver_data; in write_room() local
947 struct slgt_info *info = tty->driver_data; in flush_chars() local
968 struct slgt_info *info = tty->driver_data; in flush_buffer() local
987 struct slgt_info *info = tty->driver_data; in tx_hold() local
1004 struct slgt_info *info = tty->driver_data; in tx_release() local
1030 struct slgt_info *info = tty->driver_data; in ioctl() local
1107 struct slgt_info *info = tty->driver_data; in get_icount() local
1134 static long get_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *user_params) in get_params32()
1158 static long set_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *new_params) in set_params32()
1194 struct slgt_info *info = tty->driver_data; in slgt_compat_ioctl() local
1244 static inline void line_info(struct seq_file *m, struct slgt_info *info) in line_info()
1313 struct slgt_info *info; in synclink_gt_proc_show() local
1343 struct slgt_info *info = tty->driver_data; in chars_in_buffer() local
1357 struct slgt_info *info = tty->driver_data; in throttle() local
1378 struct slgt_info *info = tty->driver_data; in unthrottle() local
1404 struct slgt_info *info = tty->driver_data; in set_break() local
1438 struct slgt_info *info = dev_to_port(dev); in hdlcdev_attach() local
1485 struct slgt_info *info = dev_to_port(dev); in hdlcdev_xmit() local
1523 struct slgt_info *info = dev_to_port(dev); in hdlcdev_open() local
1584 struct slgt_info *info = dev_to_port(dev); in hdlcdev_close() local
1618 struct slgt_info *info = dev_to_port(dev); in hdlcdev_ioctl() local
1715 struct slgt_info *info = dev_to_port(dev); in hdlcdev_tx_timeout() local
1736 static void hdlcdev_tx_done(struct slgt_info *info) in hdlcdev_tx_done()
1750 static void hdlcdev_rx(struct slgt_info *info, char *buf, int size) in hdlcdev_rx()
1790 static int hdlcdev_init(struct slgt_info *info) in hdlcdev_init()
1837 static void hdlcdev_exit(struct slgt_info *info) in hdlcdev_exit()
1849 static void rx_async(struct slgt_info *info) in rx_async()
1919 static int bh_action(struct slgt_info *info) in bh_action()
1952 struct slgt_info *info = container_of(work, struct slgt_info, task); in bh_handler() local
1997 static void bh_transmit(struct slgt_info *info) in bh_transmit()
2006 static void dsr_change(struct slgt_info *info, unsigned short status) in dsr_change()
2026 static void cts_change(struct slgt_info *info, unsigned short status) in cts_change()
2061 static void dcd_change(struct slgt_info *info, unsigned short status) in dcd_change()
2098 static void ri_change(struct slgt_info *info, unsigned short status) in ri_change()
2118 static void isr_rxdata(struct slgt_info *info) in isr_rxdata()
2152 static void isr_serial(struct slgt_info *info) in isr_serial()
2209 static void isr_rdma(struct slgt_info *info) in isr_rdma()
2235 static void isr_tdma(struct slgt_info *info) in isr_tdma()
2266 static bool unsent_tbufs(struct slgt_info *info) in unsent_tbufs()
2290 static void isr_txeom(struct slgt_info *info, unsigned short status) in isr_txeom()
2340 static void isr_gpio(struct slgt_info *info, unsigned int changed, unsigned int state) in isr_gpio()
2365 struct slgt_info *info = dev_id; in slgt_interrupt() local
2425 static int startup(struct slgt_info *info) in startup()
2458 static void shutdown(struct slgt_info *info) in shutdown()
2500 static void program_hw(struct slgt_info *info) in program_hw()
2535 static void change_params(struct slgt_info *info) in change_params()
2615 static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount) in get_stats()
2627 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params()
2635 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params()
2656 static int get_txidle(struct slgt_info *info, int __user *idle_mode) in get_txidle()
2664 static int set_txidle(struct slgt_info *info, int idle_mode) in set_txidle()
2676 static int tx_enable(struct slgt_info *info, int enable) in tx_enable()
2695 static int tx_abort(struct slgt_info *info) in tx_abort()
2705 static int rx_enable(struct slgt_info *info, int enable) in rx_enable()
2755 static int wait_mgsl_event(struct slgt_info *info, int __user *mask_ptr) in wait_mgsl_event()
2869 static int get_interface(struct slgt_info *info, int __user *if_mode) in get_interface()
2877 static int set_interface(struct slgt_info *info, int if_mode) in set_interface()
2900 static int get_xsync(struct slgt_info *info, int __user *xsync) in get_xsync()
2914 static int set_xsync(struct slgt_info *info, int xsync) in set_xsync()
2926 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl()
2951 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl()
2972 static int set_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) in set_gpio()
3007 static int get_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) in get_gpio()
3081 static int wait_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) in wait_gpio()
3132 static int modem_input_wait(struct slgt_info *info,int arg) in modem_input_wait()
3187 struct slgt_info *info = tty->driver_data; in tiocmget() local
3216 struct slgt_info *info = tty->driver_data; in tiocmset() local
3239 struct slgt_info *info = container_of(port, struct slgt_info, port); in carrier_raised() local
3250 struct slgt_info *info = container_of(port, struct slgt_info, port); in dtr_rts() local
3266 struct slgt_info *info) in block_til_ready()
3348 static int alloc_tmp_rbuf(struct slgt_info *info) in alloc_tmp_rbuf()
3363 static void free_tmp_rbuf(struct slgt_info *info) in free_tmp_rbuf()
3374 static int alloc_desc(struct slgt_info *info) in alloc_desc()
3420 static void free_desc(struct slgt_info *info) in free_desc()
3430 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in alloc_bufs()
3441 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in free_bufs()
3452 static int alloc_dma_bufs(struct slgt_info *info) in alloc_dma_bufs()
3468 static void free_dma_bufs(struct slgt_info *info) in free_dma_bufs()
3478 static int claim_resources(struct slgt_info *info) in claim_resources()
3503 static void release_resources(struct slgt_info *info) in release_resources()
3524 static void add_device(struct slgt_info *info) in add_device()
3589 struct slgt_info *info; in alloc_dev() local
3693 struct slgt_info *info = port_array[i]; in device_init() local
3744 struct slgt_info *info; in slgt_cleanup() local
3861 static __u8 rd_reg8(struct slgt_info *info, unsigned int addr) in rd_reg8()
3867 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value) in wr_reg8()
3873 static __u16 rd_reg16(struct slgt_info *info, unsigned int addr) in rd_reg16()
3879 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value) in wr_reg16()
3885 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr) in rd_reg32()
3891 static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value) in wr_reg32()
3897 static void rdma_reset(struct slgt_info *info) in rdma_reset()
3910 static void tdma_reset(struct slgt_info *info) in tdma_reset()
3928 static void enable_loopback(struct slgt_info *info) in enable_loopback()
3955 static void set_rate(struct slgt_info *info, u32 rate) in set_rate()
3974 static void rx_stop(struct slgt_info *info) in rx_stop()
3994 static void rx_start(struct slgt_info *info) in rx_start()
4043 static void tx_start(struct slgt_info *info) in tx_start()
4081 static void tx_stop(struct slgt_info *info) in tx_stop()
4104 static void reset_port(struct slgt_info *info) in reset_port()
4118 static void reset_adapter(struct slgt_info *info) in reset_adapter()
4127 static void async_mode(struct slgt_info *info) in async_mode()
4268 static void sync_mode(struct slgt_info *info) in sync_mode()
4493 static void tx_set_idle(struct slgt_info *info) in tx_set_idle()
4535 static void get_signals(struct slgt_info *info) in get_signals()
4555 static void msc_set_vcr(struct slgt_info *info) in msc_set_vcr()
4597 static void set_signals(struct slgt_info *info) in set_signals()
4614 static void free_rbufs(struct slgt_info *info, unsigned int i, unsigned int last) in free_rbufs()
4633 static void reset_rbufs(struct slgt_info *info) in reset_rbufs()
4645 static bool rx_get_frame(struct slgt_info *info) in rx_get_frame()
4782 static bool rx_get_buf(struct slgt_info *info) in rx_get_buf()
4808 static void reset_tbufs(struct slgt_info *info) in reset_tbufs()
4821 static unsigned int free_tbuf_count(struct slgt_info *info) in free_tbuf_count()
4846 static unsigned int tbuf_bytes(struct slgt_info *info) in tbuf_bytes()
4896 static bool tx_load(struct slgt_info *info, const char *buf, unsigned int size) in tx_load()
4963 static int register_test(struct slgt_info *info) in register_test()
4985 static int irq_test(struct slgt_info *info) in irq_test()
5027 static int loopback_test_rx(struct slgt_info *info) in loopback_test_rx()
5051 static int loopback_test(struct slgt_info *info) in loopback_test()
5111 static int adapter_test(struct slgt_info *info) in adapter_test()
5131 struct slgt_info *info = (struct slgt_info*)context; in tx_timeout() local
5155 struct slgt_info *info = (struct slgt_info*)context; in rx_timeout() local