#include <linux/time.h>#include <asm/spinlock.h>#include <asm/io.h>Include dependency graph for nsc-ircc.h:

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

Go to the source code of this file.
Defines | |
| #define | DMA_TX_MODE 0x08 |
| #define | DMA_RX_MODE 0x04 |
| #define | CFG_BAIC 0x00 |
| #define | CFG_CSRT 0x01 |
| #define | CFG_MCTL 0x02 |
| #define | CFG_FER 0x00 |
| #define | CFG_FAR 0x01 |
| #define | CFG_PTR 0x02 |
| #define | CFG_PNP0 0x1b |
| #define | CFG_PNP1 0x1c |
| #define | CFG_PNP3 0x4f |
| #define | APEDCRC 0x02 |
| #define | ENBNKSEL 0x01 |
| #define | TXD 0x00 |
| #define | RXD 0x00 |
| #define | IER 0x01 |
| #define | IER_RXHDL_IE 0x01 |
| #define | IER_TXLDL_IE 0x02 |
| #define | IER_LS_IE 0x04 |
| #define | IER_ETXURI 0x04 |
| #define | IER_DMA_IE 0x10 |
| #define | IER_TXEMP_IE 0x20 |
| #define | IER_SFIF_IE 0x40 |
| #define | IER_TMR_IE 0x80 |
| #define | FCR 0x02 |
| #define | FCR_FIFO_EN 0x01 |
| #define | FCR_RXSR 0x02 |
| #define | FCR_TXSR 0x04 |
| #define | FCR_RXTH 0x40 |
| #define | FCR_TXTH 0x20 |
| #define | EIR 0x02 |
| #define | EIR_RXHDL_EV 0x01 |
| #define | EIR_TXLDL_EV 0x02 |
| #define | EIR_LS_EV 0x04 |
| #define | EIR_DMA_EV 0x10 |
| #define | EIR_TXEMP_EV 0x20 |
| #define | EIR_SFIF_EV 0x40 |
| #define | EIR_TMR_EV 0x80 |
| #define | LCR 0x03 |
| #define | LCR_WLS_8 0x03 |
| #define | BSR 0x03 |
| #define | BSR_BKSE 0x80 |
| #define | BANK0 LCR_WLS_8 |
| #define | BANK1 0x80 |
| #define | BANK2 0xe0 |
| #define | BANK3 0xe4 |
| #define | BANK4 0xe8 |
| #define | BANK5 0xec |
| #define | BANK6 0xf0 |
| #define | BANK7 0xf4 |
| #define | MCR 0x04 |
| #define | MCR_MODE_MASK ~(0xd0) |
| #define | MCR_UART 0x00 |
| #define | MCR_RESERVED 0x20 |
| #define | MCR_SHARP_IR 0x40 |
| #define | MCR_SIR 0x60 |
| #define | MCR_MIR 0x80 |
| #define | MCR_FIR 0xa0 |
| #define | MCR_CEIR 0xb0 |
| #define | MCR_IR_PLS 0x10 |
| #define | MCR_DMA_EN 0x04 |
| #define | MCR_EN_IRQ 0x08 |
| #define | MCR_TX_DFR 0x08 |
| #define | LSR 0x05 |
| #define | LSR_RXDA 0x01 |
| #define | LSR_TXRDY 0x20 |
| #define | LSR_TXEMP 0x40 |
| #define | ASCR 0x07 |
| #define | ASCR_RXF_TOUT 0x01 |
| #define | ASCR_FEND_INF 0x02 |
| #define | ASCR_S_EOT 0x04 |
| #define | ASCT_RXBSY 0x20 |
| #define | ASCR_TXUR 0x40 |
| #define | ASCR_CTE 0x80 |
| #define | BGDL 0x00 |
| #define | BGDH 0x01 |
| #define | ECR1 0x02 |
| #define | ECR1_EXT_SL 0x01 |
| #define | ECR1_DMANF 0x02 |
| #define | ECR1_DMATH 0x04 |
| #define | ECR1_DMASWP 0x08 |
| #define | EXCR2 0x04 |
| #define | EXCR2_TFSIZ 0x01 |
| #define | EXCR2_RFSIZ 0x04 |
| #define | TXFLV 0x06 |
| #define | RXFLV 0x07 |
| #define | MID 0x00 |
| #define | TMRL 0x00 |
| #define | TMRH 0x01 |
| #define | IRCR1 0x02 |
| #define | IRCR1_TMR_EN 0x01 |
| #define | TFRLL 0x04 |
| #define | TFRLH 0x05 |
| #define | RFRLL 0x06 |
| #define | RFRLH 0x07 |
| #define | IRCR2 0x04 |
| #define | IRCR2_MDRS 0x04 |
| #define | IRCR2_FEND_MD 0x20 |
| #define | FRM_ST 0x05 |
| #define | FRM_ST_VLD 0x80 |
| #define | FRM_ST_ERR_MSK 0x5f |
| #define | FRM_ST_LOST_FR 0x40 |
| #define | FRM_ST_MAX_LEN 0x10 |
| #define | FRM_ST_PHY_ERR 0x08 |
| #define | FRM_ST_BAD_CRC 0x04 |
| #define | FRM_ST_OVR1 0x02 |
| #define | FRM_ST_OVR2 0x01 |
| #define | RFLFL 0x06 |
| #define | RFLFH 0x07 |
| #define | IR_CFG2 0x00 |
| #define | IR_CFG2_DIS_CRC 0x02 |
| #define | IRM_CR 0x07 |
| #define | IRM_CR_IRX_MSL 0x40 |
| #define | IRM_CR_AF_MNT 0x80 |
| #define | MAX_TX_WINDOW 7 |
| #define | MAX_RX_WINDOW 7 |
Typedefs | |
| typedef nsc_chip | nsc_chip_t |
Functions | |
| static void | switch_bank (int iobase, int bank) |
|
|
Definition at line 54 of file nsc-ircc.h. Referenced by w83977af_probe(). |
|
|
Definition at line 121 of file nsc-ircc.h. Referenced by nsc_ircc_dma_xmit_complete(), and nsc_ircc_fir_interrupt(). |
|
|
Definition at line 127 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(). |
|
|
Definition at line 123 of file nsc-ircc.h. |
|
|
Definition at line 122 of file nsc-ircc.h. |
|
|
Definition at line 124 of file nsc-ircc.h. |
|
|
Definition at line 126 of file nsc-ircc.h. Referenced by nsc_ircc_dma_xmit_complete(). |
|
|
Definition at line 125 of file nsc-ircc.h. |
|
|
|
Definition at line 94 of file nsc-ircc.h. |
|
|
Definition at line 95 of file nsc-ircc.h. |
|
|
Definition at line 96 of file nsc-ircc.h. |
|
|
Definition at line 97 of file nsc-ircc.h. |
|
|
Definition at line 98 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_dma_receive_complete(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 99 of file nsc-ircc.h. Referenced by nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 100 of file nsc-ircc.h. Referenced by nsc_ircc_change_dongle_speed(), nsc_ircc_init_dongle_interface(), and nsc_ircc_read_dongle_id(). |
|
|
Definition at line 131 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(). |
|
|
Definition at line 130 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(). |
|
|
|
Definition at line 92 of file nsc-ircc.h. |
|
|
Definition at line 41 of file nsc-ircc.h. Referenced by nsc_ircc_probe_108(). |
|
|
Definition at line 42 of file nsc-ircc.h. Referenced by nsc_ircc_probe_108(). |
|
|
Definition at line 47 of file nsc-ircc.h. Referenced by nsc_ircc_probe_338(). |
|
|
Definition at line 46 of file nsc-ircc.h. Referenced by nsc_ircc_probe_338(). |
|
|
Definition at line 43 of file nsc-ircc.h. Referenced by nsc_ircc_probe_108(). |
|
|
Definition at line 49 of file nsc-ircc.h. Referenced by nsc_ircc_probe_338(). |
|
|
Definition at line 50 of file nsc-ircc.h. Referenced by nsc_ircc_probe_338(). |
|
|
Definition at line 51 of file nsc-ircc.h. Referenced by nsc_ircc_probe_338(). |
|
|
Definition at line 48 of file nsc-ircc.h. Referenced by nsc_ircc_probe_338(). |
|
|
Definition at line 38 of file nsc-ircc.h. |
|
|
Definition at line 37 of file nsc-ircc.h. |
|
|
Definition at line 133 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive(), nsc_ircc_dma_xmit(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 135 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive(), and nsc_ircc_dma_xmit(). |
|
|
Definition at line 137 of file nsc-ircc.h. Referenced by nsc_ircc_dma_xmit(). |
|
|
Definition at line 136 of file nsc-ircc.h. |
|
|
Definition at line 134 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive(), nsc_ircc_dma_xmit(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 79 of file nsc-ircc.h. Referenced by nsc_ircc_interrupt(). |
|
|
Definition at line 83 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(). |
|
|
Definition at line 82 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(). |
|
|
Definition at line 80 of file nsc-ircc.h. Referenced by nsc_ircc_sir_interrupt(). |
|
|
Definition at line 85 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(). |
|
|
Definition at line 86 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(). |
|
|
Definition at line 84 of file nsc-ircc.h. Referenced by nsc_ircc_sir_interrupt(). |
|
|
Definition at line 81 of file nsc-ircc.h. Referenced by nsc_ircc_sir_interrupt(). |
|
|
Definition at line 55 of file nsc-ircc.h. Referenced by w83977af_probe(). |
|
|
Definition at line 139 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 141 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 140 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 72 of file nsc-ircc.h. |
|
|
Definition at line 73 of file nsc-ircc.h. |
|
|
Definition at line 74 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_dma_receive(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 76 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 75 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 77 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 165 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 171 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 167 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 168 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 169 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 172 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 173 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 170 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 166 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 62 of file nsc-ircc.h. |
|
|
Definition at line 67 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(), and nsc_ircc_hard_xmit_fir(). |
|
|
Definition at line 66 of file nsc-ircc.h. |
|
|
Definition at line 65 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(), and nsc_ircc_net_open(). |
|
|
Definition at line 63 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_net_open(), nsc_ircc_probe(), nsc_ircc_setup(), and nsc_ircc_sir_interrupt(). |
|
|
Definition at line 69 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), nsc_ircc_fir_interrupt(), and nsc_ircc_sir_interrupt(). |
|
|
Definition at line 70 of file nsc-ircc.h. Referenced by nsc_ircc_fir_interrupt(), and nsc_ircc_hard_xmit_fir(). |
|
|
Definition at line 68 of file nsc-ircc.h. Referenced by nsc_ircc_sir_interrupt(). |
|
|
Definition at line 64 of file nsc-ircc.h. Referenced by nsc_ircc_hard_xmit_sir(), and nsc_ircc_sir_interrupt(). |
|
|
Definition at line 179 of file nsc-ircc.h. |
|
|
Definition at line 180 of file nsc-ircc.h. |
|
|
Definition at line 152 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(), nsc_ircc_fir_interrupt(), and nsc_ircc_hard_xmit_fir(). |
|
|
Definition at line 153 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(), nsc_ircc_fir_interrupt(), and nsc_ircc_hard_xmit_fir(). |
|
|
Definition at line 161 of file nsc-ircc.h. |
|
|
Definition at line 163 of file nsc-ircc.h. |
|
|
Definition at line 162 of file nsc-ircc.h. |
|
|
Definition at line 183 of file nsc-ircc.h. |
|
|
Definition at line 185 of file nsc-ircc.h. |
|
|
Definition at line 184 of file nsc-ircc.h. |
|
|
Definition at line 88 of file nsc-ircc.h. |
|
|
Definition at line 89 of file nsc-ircc.h. |
|
|
Definition at line 116 of file nsc-ircc.h. |
|
|
Definition at line 117 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(), and nsc_ircc_pio_receive(). |
|
|
Definition at line 119 of file nsc-ircc.h. Referenced by nsc_ircc_pio_write(). |
|
|
Definition at line 118 of file nsc-ircc.h. |
|
|
Definition at line 208 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(). |
|
|
Definition at line 207 of file nsc-ircc.h. Referenced by nsc_ircc_dma_xmit_complete(), and nsc_ircc_hard_xmit_fir(). |
|
|
Definition at line 102 of file nsc-ircc.h. |
|
|
Definition at line 110 of file nsc-ircc.h. |
|
|
Definition at line 112 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive(), nsc_ircc_dma_xmit(), and nsc_ircc_dma_xmit_complete(). |
|
|
Definition at line 113 of file nsc-ircc.h. |
|
|
Definition at line 109 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(). |
|
|
Definition at line 111 of file nsc-ircc.h. Referenced by nsc_ircc_dma_xmit(). |
|
|
Definition at line 108 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(). |
|
|
Definition at line 103 of file nsc-ircc.h. |
|
|
Definition at line 105 of file nsc-ircc.h. |
|
|
Definition at line 106 of file nsc-ircc.h. |
|
|
Definition at line 107 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(). |
|
|
Definition at line 114 of file nsc-ircc.h. Referenced by nsc_ircc_change_speed(), and nsc_ircc_dma_xmit(). |
|
|
Definition at line 104 of file nsc-ircc.h. |
|
|
Definition at line 147 of file nsc-ircc.h. Referenced by nsc_ircc_probe(), and nsc_ircc_setup(). |
|
|
Definition at line 176 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(), and w83977af_dma_receive_complete(). |
|
|
Definition at line 175 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(), and w83977af_dma_receive_complete(). |
|
|
Definition at line 158 of file nsc-ircc.h. |
|
|
Definition at line 157 of file nsc-ircc.h. |
|
|
Definition at line 59 of file nsc-ircc.h. |
|
|
Definition at line 144 of file nsc-ircc.h. Referenced by nsc_ircc_is_receiving(). |
|
|
Definition at line 156 of file nsc-ircc.h. |
|
|
Definition at line 155 of file nsc-ircc.h. |
|
|
Definition at line 151 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(), nsc_ircc_fir_interrupt(), nsc_ircc_hard_xmit_fir(), w83977af_fir_interrupt(), and w83977af_hard_xmit(). |
|
|
Definition at line 150 of file nsc-ircc.h. Referenced by nsc_ircc_dma_receive_complete(), nsc_ircc_fir_interrupt(), nsc_ircc_hard_xmit_fir(), w83977af_fir_interrupt(), and w83977af_hard_xmit(). |
|
|
Definition at line 58 of file nsc-ircc.h. |
|
|
Definition at line 143 of file nsc-ircc.h. |
|
|
Definition at line 199 of file nsc-ircc.h. |
|
||||||||||||