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
728 struct slgt_info *info = tty->driver_data; in close() local
754 struct slgt_info *info = tty->driver_data; in hangup() local
778 struct slgt_info *info = tty->driver_data; in set_termios() local
815 static void update_tx_timer(struct slgt_info *info) in update_tx_timer()
831 struct slgt_info *info = tty->driver_data; in write() local
865 struct slgt_info *info = tty->driver_data; in put_char() local
885 struct slgt_info *info = tty->driver_data; in send_xchar() local
902 struct slgt_info *info = tty->driver_data; in wait_until_sent() local
944 struct slgt_info *info = tty->driver_data; in write_room() local
956 struct slgt_info *info = tty->driver_data; in flush_chars() local
977 struct slgt_info *info = tty->driver_data; in flush_buffer() local
996 struct slgt_info *info = tty->driver_data; in tx_hold() local
1013 struct slgt_info *info = tty->driver_data; in tx_release() local
1039 struct slgt_info *info = tty->driver_data; in ioctl() local
1116 struct slgt_info *info = tty->driver_data; in get_icount() local
1143 static long get_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *user_params) in get_params32()
1167 static long set_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *new_params) in set_params32()
1203 struct slgt_info *info = tty->driver_data; in slgt_compat_ioctl() local
1253 static inline void line_info(struct seq_file *m, struct slgt_info *info) in line_info()
1322 struct slgt_info *info; in synclink_gt_proc_show() local
1352 struct slgt_info *info = tty->driver_data; in chars_in_buffer() local
1366 struct slgt_info *info = tty->driver_data; in throttle() local
1387 struct slgt_info *info = tty->driver_data; in unthrottle() local
1413 struct slgt_info *info = tty->driver_data; in set_break() local
1447 struct slgt_info *info = dev_to_port(dev); in hdlcdev_attach() local
1494 struct slgt_info *info = dev_to_port(dev); in hdlcdev_xmit() local
1532 struct slgt_info *info = dev_to_port(dev); in hdlcdev_open() local
1592 struct slgt_info *info = dev_to_port(dev); in hdlcdev_close() local
1626 struct slgt_info *info = dev_to_port(dev); in hdlcdev_ioctl() local
1723 struct slgt_info *info = dev_to_port(dev); in hdlcdev_tx_timeout() local
1744 static void hdlcdev_tx_done(struct slgt_info *info) in hdlcdev_tx_done()
1758 static void hdlcdev_rx(struct slgt_info *info, char *buf, int size) in hdlcdev_rx()
1798 static int hdlcdev_init(struct slgt_info *info) in hdlcdev_init()
1843 static void hdlcdev_exit(struct slgt_info *info) in hdlcdev_exit()
1855 static void rx_async(struct slgt_info *info) in rx_async()
1924 static int bh_action(struct slgt_info *info) in bh_action()
1957 struct slgt_info *info = container_of(work, struct slgt_info, task); in bh_handler() local
2002 static void bh_transmit(struct slgt_info *info) in bh_transmit()
2011 static void dsr_change(struct slgt_info *info, unsigned short status) in dsr_change()
2031 static void cts_change(struct slgt_info *info, unsigned short status) in cts_change()
2066 static void dcd_change(struct slgt_info *info, unsigned short status) in dcd_change()
2103 static void ri_change(struct slgt_info *info, unsigned short status) in ri_change()
2123 static void isr_rxdata(struct slgt_info *info) in isr_rxdata()
2157 static void isr_serial(struct slgt_info *info) in isr_serial()
2214 static void isr_rdma(struct slgt_info *info) in isr_rdma()
2240 static void isr_tdma(struct slgt_info *info) in isr_tdma()
2271 static bool unsent_tbufs(struct slgt_info *info) in unsent_tbufs()
2295 static void isr_txeom(struct slgt_info *info, unsigned short status) in isr_txeom()
2345 static void isr_gpio(struct slgt_info *info, unsigned int changed, unsigned int state) in isr_gpio()
2370 struct slgt_info *info = dev_id; in slgt_interrupt() local
2430 static int startup(struct slgt_info *info) in startup()
2463 static void shutdown(struct slgt_info *info) in shutdown()
2505 static void program_hw(struct slgt_info *info) in program_hw()
2540 static void change_params(struct slgt_info *info) in change_params()
2620 static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount) in get_stats()
2632 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params()
2640 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params()
2661 static int get_txidle(struct slgt_info *info, int __user *idle_mode) in get_txidle()
2669 static int set_txidle(struct slgt_info *info, int idle_mode) in set_txidle()
2681 static int tx_enable(struct slgt_info *info, int enable) in tx_enable()
2700 static int tx_abort(struct slgt_info *info) in tx_abort()
2710 static int rx_enable(struct slgt_info *info, int enable) in rx_enable()
2760 static int wait_mgsl_event(struct slgt_info *info, int __user *mask_ptr) in wait_mgsl_event()
2874 static int get_interface(struct slgt_info *info, int __user *if_mode) in get_interface()
2882 static int set_interface(struct slgt_info *info, int if_mode) in set_interface()
2905 static int get_xsync(struct slgt_info *info, int __user *xsync) in get_xsync()
2919 static int set_xsync(struct slgt_info *info, int xsync) in set_xsync()
2931 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl()
2956 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl()
2977 static int set_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) in set_gpio()
3012 static int get_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) in get_gpio()
3086 static int wait_gpio(struct slgt_info *info, struct gpio_desc __user *user_gpio) in wait_gpio()
3137 static int modem_input_wait(struct slgt_info *info,int arg) in modem_input_wait()
3192 struct slgt_info *info = tty->driver_data; in tiocmget() local
3221 struct slgt_info *info = tty->driver_data; in tiocmset() local
3244 struct slgt_info *info = container_of(port, struct slgt_info, port); in carrier_raised() local
3255 struct slgt_info *info = container_of(port, struct slgt_info, port); in dtr_rts() local
3271 struct slgt_info *info) in block_til_ready()
3354 static int alloc_tmp_rbuf(struct slgt_info *info) in alloc_tmp_rbuf()
3369 static void free_tmp_rbuf(struct slgt_info *info) in free_tmp_rbuf()
3380 static int alloc_desc(struct slgt_info *info) in alloc_desc()
3426 static void free_desc(struct slgt_info *info) in free_desc()
3436 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in alloc_bufs()
3447 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in free_bufs()
3458 static int alloc_dma_bufs(struct slgt_info *info) in alloc_dma_bufs()
3474 static void free_dma_bufs(struct slgt_info *info) in free_dma_bufs()
3484 static int claim_resources(struct slgt_info *info) in claim_resources()
3509 static void release_resources(struct slgt_info *info) in release_resources()
3530 static void add_device(struct slgt_info *info) in add_device()
3595 struct slgt_info *info; in alloc_dev() local
3699 struct slgt_info *info = port_array[i]; in device_init() local
3750 struct slgt_info *info; in slgt_cleanup() local
3866 static __u8 rd_reg8(struct slgt_info *info, unsigned int addr) in rd_reg8()
3872 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value) in wr_reg8()
3878 static __u16 rd_reg16(struct slgt_info *info, unsigned int addr) in rd_reg16()
3884 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value) in wr_reg16()
3890 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr) in rd_reg32()
3896 static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value) in wr_reg32()
3902 static void rdma_reset(struct slgt_info *info) in rdma_reset()
3915 static void tdma_reset(struct slgt_info *info) in tdma_reset()
3933 static void enable_loopback(struct slgt_info *info) in enable_loopback()
3960 static void set_rate(struct slgt_info *info, u32 rate) in set_rate()
3979 static void rx_stop(struct slgt_info *info) in rx_stop()
3999 static void rx_start(struct slgt_info *info) in rx_start()
4048 static void tx_start(struct slgt_info *info) in tx_start()
4086 static void tx_stop(struct slgt_info *info) in tx_stop()
4109 static void reset_port(struct slgt_info *info) in reset_port()
4123 static void reset_adapter(struct slgt_info *info) in reset_adapter()
4132 static void async_mode(struct slgt_info *info) in async_mode()
4273 static void sync_mode(struct slgt_info *info) in sync_mode()
4498 static void tx_set_idle(struct slgt_info *info) in tx_set_idle()
4540 static void get_signals(struct slgt_info *info) in get_signals()
4560 static void msc_set_vcr(struct slgt_info *info) in msc_set_vcr()
4602 static void set_signals(struct slgt_info *info) in set_signals()
4619 static void free_rbufs(struct slgt_info *info, unsigned int i, unsigned int last) in free_rbufs()
4638 static void reset_rbufs(struct slgt_info *info) in reset_rbufs()
4650 static bool rx_get_frame(struct slgt_info *info) in rx_get_frame()
4787 static bool rx_get_buf(struct slgt_info *info) in rx_get_buf()
4813 static void reset_tbufs(struct slgt_info *info) in reset_tbufs()
4826 static unsigned int free_tbuf_count(struct slgt_info *info) in free_tbuf_count()
4851 static unsigned int tbuf_bytes(struct slgt_info *info) in tbuf_bytes()
4901 static bool tx_load(struct slgt_info *info, const char *buf, unsigned int size) in tx_load()
4968 static int register_test(struct slgt_info *info) in register_test()
4990 static int irq_test(struct slgt_info *info) in irq_test()
5032 static int loopback_test_rx(struct slgt_info *info) in loopback_test_rx()
5056 static int loopback_test(struct slgt_info *info) in loopback_test()
5116 static int adapter_test(struct slgt_info *info) in adapter_test()
5136 struct slgt_info *info = (struct slgt_info*)context; in tx_timeout() local
5160 struct slgt_info *info = (struct slgt_info*)context; in rx_timeout() local