• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/

Lines Matching refs:SLMP_INFO

281 } SLMP_INFO;
451 static SLMP_INFO *synclinkmp_device_list = NULL;
532 static void hdlcdev_tx_done(SLMP_INFO *info);
533 static void hdlcdev_rx(SLMP_INFO *info, char *buf, int size);
534 static int hdlcdev_init(SLMP_INFO *info);
535 static void hdlcdev_exit(SLMP_INFO *info);
540 static int get_stats(SLMP_INFO *info, struct mgsl_icount __user *user_icount);
541 static int get_params(SLMP_INFO *info, MGSL_PARAMS __user *params);
542 static int set_params(SLMP_INFO *info, MGSL_PARAMS __user *params);
543 static int get_txidle(SLMP_INFO *info, int __user *idle_mode);
544 static int set_txidle(SLMP_INFO *info, int idle_mode);
545 static int tx_enable(SLMP_INFO *info, int enable);
546 static int tx_abort(SLMP_INFO *info);
547 static int rx_enable(SLMP_INFO *info, int enable);
548 static int modem_input_wait(SLMP_INFO *info,int arg);
549 static int wait_mgsl_event(SLMP_INFO *info, int __user *mask_ptr);
555 static void add_device(SLMP_INFO *info);
557 static int claim_resources(SLMP_INFO *info);
558 static void release_resources(SLMP_INFO *info);
560 static int startup(SLMP_INFO *info);
561 static int block_til_ready(struct tty_struct *tty, struct file * filp,SLMP_INFO *info);
563 static void shutdown(SLMP_INFO *info);
564 static void program_hw(SLMP_INFO *info);
565 static void change_params(SLMP_INFO *info);
567 static bool init_adapter(SLMP_INFO *info);
568 static bool register_test(SLMP_INFO *info);
569 static bool irq_test(SLMP_INFO *info);
570 static bool loopback_test(SLMP_INFO *info);
571 static int adapter_test(SLMP_INFO *info);
572 static bool memory_test(SLMP_INFO *info);
574 static void reset_adapter(SLMP_INFO *info);
575 static void reset_port(SLMP_INFO *info);
576 static void async_mode(SLMP_INFO *info);
577 static void hdlc_mode(SLMP_INFO *info);
579 static void rx_stop(SLMP_INFO *info);
580 static void rx_start(SLMP_INFO *info);
581 static void rx_reset_buffers(SLMP_INFO *info);
582 static void rx_free_frame_buffers(SLMP_INFO *info, unsigned int first, unsigned int last);
583 static bool rx_get_frame(SLMP_INFO *info);
585 static void tx_start(SLMP_INFO *info);
586 static void tx_stop(SLMP_INFO *info);
587 static void tx_load_fifo(SLMP_INFO *info);
588 static void tx_set_idle(SLMP_INFO *info);
589 static void tx_load_dma_buffer(SLMP_INFO *info, const char *buf, unsigned int count);
591 static void get_signals(SLMP_INFO *info);
592 static void set_signals(SLMP_INFO *info);
593 static void enable_loopback(SLMP_INFO *info, int enable);
594 static void set_rate(SLMP_INFO *info, u32 data_rate);
596 static int bh_action(SLMP_INFO *info);
598 static void bh_receive(SLMP_INFO *info);
599 static void bh_transmit(SLMP_INFO *info);
600 static void bh_status(SLMP_INFO *info);
601 static void isr_timer(SLMP_INFO *info);
602 static void isr_rxint(SLMP_INFO *info);
603 static void isr_rxrdy(SLMP_INFO *info);
604 static void isr_txint(SLMP_INFO *info);
605 static void isr_txrdy(SLMP_INFO *info);
606 static void isr_rxdmaok(SLMP_INFO *info);
607 static void isr_rxdmaerror(SLMP_INFO *info);
608 static void isr_txdmaok(SLMP_INFO *info);
609 static void isr_txdmaerror(SLMP_INFO *info);
610 static void isr_io_pin(SLMP_INFO *info, u16 status);
612 static int alloc_dma_bufs(SLMP_INFO *info);
613 static void free_dma_bufs(SLMP_INFO *info);
614 static int alloc_buf_list(SLMP_INFO *info);
615 static int alloc_frame_bufs(SLMP_INFO *info, SCADESC *list, SCADESC_EX *list_ex,int count);
616 static int alloc_tmp_rx_buf(SLMP_INFO *info);
617 static void free_tmp_rx_buf(SLMP_INFO *info);
619 static void load_pci_memory(SLMP_INFO *info, char* dest, const char* src, unsigned short count);
620 static void trace_block(SLMP_INFO *info, const char* data, int count, int xmit);
624 static unsigned char read_reg(SLMP_INFO *info, unsigned char addr);
625 static void write_reg(SLMP_INFO *info, unsigned char addr, unsigned char val);
626 static u16 read_reg16(SLMP_INFO *info, unsigned char addr);
627 static void write_reg16(SLMP_INFO *info, unsigned char addr, u16 val);
628 static unsigned char read_status_reg(SLMP_INFO * info);
629 static void write_control_reg(SLMP_INFO * info);
667 static inline int sanity_check(SLMP_INFO *info,
720 SLMP_INFO *info;
805 SLMP_INFO * info = tty->driver_data;
839 SLMP_INFO *info = tty->driver_data;
867 SLMP_INFO *info = tty->driver_data;
920 SLMP_INFO *info = tty->driver_data;
998 SLMP_INFO *info = tty->driver_data;
1035 SLMP_INFO *info = tty->driver_data;
1059 SLMP_INFO * info = tty->driver_data;
1125 SLMP_INFO *info = tty->driver_data;
1150 SLMP_INFO *info = tty->driver_data;
1189 SLMP_INFO *info = tty->driver_data;
1211 SLMP_INFO *info = tty->driver_data;
1231 SLMP_INFO *info = tty->driver_data;
1261 SLMP_INFO *info = tty->driver_data;
1352 static inline void line_info(struct seq_file *m, SLMP_INFO *info)
1427 SLMP_INFO *info;
1456 SLMP_INFO *info = tty->driver_data;
1472 SLMP_INFO *info = tty->driver_data;
1497 SLMP_INFO *info = tty->driver_data;
1528 SLMP_INFO * info = tty->driver_data;
1564 SLMP_INFO *info = dev_to_port(dev);
1609 SLMP_INFO *info = dev_to_port(dev);
1651 SLMP_INFO *info = dev_to_port(dev);
1709 SLMP_INFO *info = dev_to_port(dev);
1743 SLMP_INFO *info = dev_to_port(dev);
1839 SLMP_INFO *info = dev_to_port(dev);
1861 static void hdlcdev_tx_done(SLMP_INFO *info)
1875 static void hdlcdev_rx(SLMP_INFO *info, char *buf, int size)
1917 static int hdlcdev_init(SLMP_INFO *info)
1962 static void hdlcdev_exit(SLMP_INFO *info)
1975 static int bh_action(SLMP_INFO *info)
2008 SLMP_INFO *info = container_of(work, SLMP_INFO, task);
2051 static void bh_receive(SLMP_INFO *info)
2060 static void bh_transmit(SLMP_INFO *info)
2072 static void bh_status(SLMP_INFO *info)
2084 static void isr_timer(SLMP_INFO * info)
2110 static void isr_rxint(SLMP_INFO * info)
2169 static void isr_rxrdy(SLMP_INFO * info)
2239 static void isr_txeom(SLMP_INFO * info, unsigned char status)
2299 static void isr_txint(SLMP_INFO * info)
2327 static void isr_txrdy(SLMP_INFO * info)
2358 static void isr_rxdmaok(SLMP_INFO * info)
2375 static void isr_rxdmaerror(SLMP_INFO * info)
2393 static void isr_txdmaok(SLMP_INFO * info)
2411 static void isr_txdmaerror(SLMP_INFO * info)
2428 static void isr_io_pin( SLMP_INFO *info, u16 status )
2539 SLMP_INFO *info = dev_id;
2626 SLMP_INFO * port = info->port_array[i];
2656 static int startup(SLMP_INFO * info)
2694 static void shutdown(SLMP_INFO * info)
2733 static void program_hw(SLMP_INFO *info)
2769 static void change_params(SLMP_INFO *info)
2869 static int get_stats(SLMP_INFO * info, struct mgsl_icount __user *user_icount)
2890 static int get_params(SLMP_INFO * info, MGSL_PARAMS __user *user_params)
2910 static int set_params(SLMP_INFO * info, MGSL_PARAMS __user *new_params)
2938 static int get_txidle(SLMP_INFO * info, int __user *idle_mode)
2957 static int set_txidle(SLMP_INFO * info, int idle_mode)
2972 static int tx_enable(SLMP_INFO * info, int enable)
2995 static int tx_abort(SLMP_INFO * info)
3019 static int rx_enable(SLMP_INFO * info, int enable)
3041 static int wait_mgsl_event(SLMP_INFO * info, int __user *mask_ptr)
3165 static int modem_input_wait(SLMP_INFO *info,int arg)
3219 SLMP_INFO *info = tty->driver_data;
3245 SLMP_INFO *info = tty->driver_data;
3270 SLMP_INFO *info = container_of(port, SLMP_INFO, port);
3282 SLMP_INFO *info = container_of(port, SLMP_INFO, port);
3297 SLMP_INFO *info)
3391 static int alloc_dma_bufs(SLMP_INFO *info)
3465 static int alloc_buf_list(SLMP_INFO *info)
3524 static int alloc_frame_bufs(SLMP_INFO *info, SCADESC *buf_list,SCADESC_EX *buf_list_ex,int count)
3541 static void free_dma_bufs(SLMP_INFO *info)
3551 static int alloc_tmp_rx_buf(SLMP_INFO *info)
3559 static void free_tmp_rx_buf(SLMP_INFO *info)
3565 static int claim_resources(SLMP_INFO *info)
3654 static void release_resources(SLMP_INFO *info)
3710 static void add_device(SLMP_INFO *info)
3726 SLMP_INFO *current_dev = synclinkmp_device_list;
3759 * Return Value: pointer to SLMP_INFO if success, otherwise NULL
3761 static SLMP_INFO *alloc_dev(int adapter_num, int port_num, struct pci_dev *pdev)
3763 SLMP_INFO *info;
3765 info = kzalloc(sizeof(SLMP_INFO),
3839 SLMP_INFO *port_array[SCA_MAX_PORTS];
3920 SLMP_INFO *info;
3921 SLMP_INFO *tmp;
4032 static void enable_loopback(SLMP_INFO *info, int enable)
4079 static void set_rate( SLMP_INFO *info, u32 data_rate )
4125 static void rx_stop(SLMP_INFO *info)
4146 static void rx_start(SLMP_INFO *info)
4203 static void tx_start(SLMP_INFO *info)
4273 static void tx_stop( SLMP_INFO *info )
4300 static void tx_load_fifo(SLMP_INFO *info)
4349 static void reset_port(SLMP_INFO *info)
4373 static void reset_adapter(SLMP_INFO *info)
4385 static void async_mode(SLMP_INFO *info)
4524 static void hdlc_mode(SLMP_INFO *info)
4721 static void tx_set_idle(SLMP_INFO *info)
4741 static void get_signals(SLMP_INFO *info)
4770 static void set_signals(SLMP_INFO *info)
4799 static void rx_reset_buffers(SLMP_INFO *info)
4810 static void rx_free_frame_buffers(SLMP_INFO *info, unsigned int first, unsigned int last)
4838 static bool rx_get_frame(SLMP_INFO *info)
5012 static void tx_load_dma_buffer(SLMP_INFO *info, const char *buf, unsigned int count)
5052 static bool register_test(SLMP_INFO *info)
5091 static bool irq_test(SLMP_INFO *info)
5142 static bool sca_init(SLMP_INFO *info)
5183 static bool init_adapter(SLMP_INFO *info)
5242 static bool loopback_test(SLMP_INFO *info)
5307 static int adapter_test( SLMP_INFO *info )
5369 static bool memory_test(SLMP_INFO *info)
5421 static void load_pci_memory(SLMP_INFO *info, char* dest, const char* src, unsigned short count)
5440 static void trace_block(SLMP_INFO *info,const char* data, int count, int xmit)
5477 SLMP_INFO *info = (SLMP_INFO*)context;
5505 SLMP_INFO *info = (SLMP_INFO*)context;
5553 static unsigned char read_reg(SLMP_INFO * info, unsigned char Addr)
5558 static void write_reg(SLMP_INFO * info, unsigned char Addr, unsigned char Value)
5564 static u16 read_reg16(SLMP_INFO * info, unsigned char Addr)
5570 static void write_reg16(SLMP_INFO * info, unsigned char Addr, u16 Value)
5576 static unsigned char read_status_reg(SLMP_INFO * info)
5582 static void write_control_reg(SLMP_INFO * info)