• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/pcmcia/

Lines Matching refs:base

15 static inline          void nsp_write(unsigned int base,
18 static inline unsigned char nsp_read(unsigned int base,
30 static inline void nsp_write(unsigned int base,
34 outb(val, (base + index));
37 static inline unsigned char nsp_read(unsigned int base,
40 return inb(base + index);
75 static inline void nsp_fifo8_read(unsigned int base,
80 nsp_multi_read_1(base, FIFODATA, buf, count);
94 static inline void nsp_fifo16_read(unsigned int base,
99 nsp_multi_read_2(base, FIFODATA, buf, count);
113 static inline void nsp_fifo32_read(unsigned int base,
118 nsp_multi_read_4(base, FIFODATA, buf, count);
132 static inline void nsp_fifo8_write(unsigned int base,
136 nsp_multi_write_1(base, FIFODATA, buf, count);
150 static inline void nsp_fifo16_write(unsigned int base,
154 nsp_multi_write_2(base, FIFODATA, buf, count);
168 static inline void nsp_fifo32_write(unsigned int base,
172 nsp_multi_write_4(base, FIFODATA, buf, count);
178 static inline void nsp_mmio_write(unsigned long base,
182 unsigned char *ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + index);
187 static inline unsigned char nsp_mmio_read(unsigned long base,
190 unsigned char *ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + index);
197 static inline unsigned char nsp_mmio_index_read(unsigned long base,
200 unsigned char *index_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + INDEXREG);
201 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG);
207 static inline void nsp_mmio_index_write(unsigned long base,
211 unsigned char *index_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + INDEXREG);
212 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG);
219 static inline void nsp_mmio_multi_read_4(unsigned long base,
224 unsigned long *ptr = (unsigned long *)(base + Register);
228 //nsp_dbg(NSP_DEBUG_DATA_IO, "base 0x%0lx ptr 0x%p",base,ptr);
237 static inline void nsp_mmio_fifo32_read(unsigned int base,
242 nsp_mmio_multi_read_4(base, FIFODATA, buf, count);
245 static inline void nsp_mmio_multi_write_4(unsigned long base,
250 unsigned long *ptr = (unsigned long *)(base + Register);
254 //nsp_dbg(NSP_DEBUG_DATA_IO, "base 0x%0lx ptr 0x%p",base,ptr);
263 static inline void nsp_mmio_fifo32_write(unsigned int base,
268 nsp_mmio_multi_write_4(base, FIFODATA, buf, count);