#include <linux/netdevice.h>#include <linux/skbuff.h>#include <linux/types.h>#include <asm/spinlock.h>#include <net/irda/irda_device.h>Include dependency graph for irport.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | SPEED_DEFAULT 9600 |
| #define | SPEED_MAX 115200 |
| #define | PORT_UNKNOWN 0 |
| #define | PORT_8250 1 |
| #define | PORT_16450 2 |
| #define | PORT_16550 3 |
| #define | PORT_16550A 4 |
| #define | PORT_CIRRUS 5 |
| #define | PORT_16650 6 |
| #define | PORT_MAX 6 |
| #define | FRAME_MAX_SIZE 2048 |
Functions | |
| irport_cb * | irport_open (int i, unsigned int iobase, unsigned int irq) |
| int | irport_close (struct irport_cb *self) |
| void | irport_start (struct irport_cb *self) |
| void | irport_stop (struct irport_cb *self) |
| void | irport_change_speed (void *priv, __u32 speed) |
| void | irport_interrupt (int irq, void *dev_id, struct pt_regs *regs) |
| int | irport_hard_xmit (struct sk_buff *skb, struct device *dev) |
| int | irport_net_open (struct device *dev) |
| int | irport_net_close (struct device *dev) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 37 of file irport.h. Referenced by irport_change_speed(). |
|
||||||||||||
|
Definition at line 348 of file irport.c. References ASSERT, divisor, iobase, IRDA_DEBUG, NULL, outb, SPEED_MAX, spin_lock_irqsave, spin_unlock_irqrestore, UART_DLL, UART_DLM, UART_FCR, UART_FCR_ENABLE_FIFO, UART_FCR_TRIGGER_1, UART_FCR_TRIGGER_14, UART_IER, UART_IER_RDI, UART_LCR, UART_LCR_DLAB, UART_LCR_WLEN8, and xff. Referenced by ircc_change_speed(), and irport_open(). |
|
|
Definition at line 254 of file irport.c. References ASSERT, irport_cb::dongle, iobuff_t::head, irport_cb::io, IRDA_DEBUG, irda_device_dongle_cleanup(), kfree(), irport_cb::netdev, NULL, release_region, rtnl_lock(), rtnl_unlock(), irport_cb::rx_buff, chipio_t::sir_base, chipio_t::sir_ext, irport_cb::tx_buff, and unregister_netdevice. Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 600 of file irport.c. References ASSERT, async_wrap_skb(), sk_buff::data, dev_kfree_skb, EBUSY, FALSE, iobase, irda_get_speed, irda_lock(), irport_start(), jiffies, NULL, outb, speed, spin_lock_irqsave, spin_unlock_irqrestore, start, UART_IER, UART_IER_THRI, and WARNING. Referenced by ircc_change_speed(), and irport_open(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 688 of file irport.c. References dev, device, iir, inb, iobase, IRDA_DEBUG, irport_receive(), irport_write_wakeup(), lsr, spin_lock, spin_unlock, UART_IIR, UART_IIR_ID, UART_IIR_RDI, UART_IIR_RLSI, UART_IIR_THRI, UART_LSR, UART_LSR_THRE, and WARNING. Referenced by ircc_interrupt(), and irport_open(). Here is the call graph for this function: ![]() |
|
|
Definition at line 802 of file irport.c. References ASSERT, free_irq(), iobase, IRDA_DEBUG, irlap_close(), irport_stop(), MOD_DEC_USE_COUNT, and NULL. Referenced by ircc_net_close(), ircc_net_open(), and irport_open(). Here is the call graph for this function: ![]() |
|
|
Definition at line 762 of file irport.c. References ASSERT, EAGAIN, iobase, irlap_open(), irport_start(), MOD_INC_USE_COUNT, NULL, and request_irq(). Referenced by ircc_net_open(), and irport_open(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 137 of file irport.c. References check_region, dev, dev_alloc(), device, driver_name, ERROR, FALSE, IFF_PIO, IFF_SIR, IO_EXTENT, IR_115200, IR_19200, IR_38400, IR_57600, IR_9600, IRDA_DEBUG, irda_init_max_qos_capabilies(), IRDA_IRLAP, irda_qos_bits_to_value(), irport_change_speed(), irport_hard_xmit(), irport_interrupt(), irport_net_close(), irport_net_get_stats(), irport_net_init(), irport_net_ioctl(), irport_net_open(), kfree(), kmalloc(), memset, MESSAGE, NULL, OUTSIDE_FRAME, irport_cb::priv, qos_mtt_bits, register_netdevice, request_region, ret, rtnl_lock(), rtnl_unlock(), and spin_lock_init. Referenced by ircc_open(), and irport_init(). Here is the call graph for this function: ![]() |
|
|
Definition at line 290 of file irport.c. References iobase, irport_stop(), irport_cb::lock, outb, spin_lock_irqsave, spin_unlock_irqrestore, UART_IER, UART_IER_RDI, UART_IER_RLSI, UART_IER_THRI, UART_LCR, UART_LCR_WLEN8, UART_MCR, UART_MCR_DTR, UART_MCR_OUT2, and UART_MCR_RTS. Referenced by ircc_change_speed(), ircc_open(), irport_hard_xmit(), and irport_net_open(). Here is the call graph for this function: ![]() |
|
|
Definition at line 311 of file irport.c. References iobase, irport_cb::lock, outb, spin_lock_irqsave, spin_unlock_irqrestore, UART_IER, and UART_MCR. Referenced by ircc_change_speed(), irport_net_close(), and irport_start(). |