/linux-2.4.37.9/drivers/net/irda/ |
D | via-ircc.c | 86 int iobase); 95 static int via_ircc_read_dongle_id(int iobase); 104 static void via_ircc_change_dongle_speed(int iobase, int speed, 106 static int RxTimerHandler(struct via_ircc_cb *self, int iobase); 108 static int via_ircc_dma_xmit(struct via_ircc_cb *self, u16 iobase); 109 static int upload_rxdata(struct via_ircc_cb *self, int iobase); 465 int iobase; in via_ircc_close() local 471 iobase = self->io.fir_base; in via_ircc_close() 473 ResetChip(iobase, 5); //hardware reset. in via_ircc_close() 503 int iobase = info->fir_base; in via_ircc_setup() local [all …]
|
D | w83977af_ir.c | 91 static int w83977af_open(int i, unsigned int iobase, unsigned int irq, 94 static int w83977af_probe(int iobase, int irq, int dma); 98 static int w83977af_pio_write(int iobase, __u8 *buf, int len, int fifo_size); 99 static void w83977af_dma_write(struct w83977af_ir *self, int iobase); 158 int w83977af_open(int i, unsigned int iobase, unsigned int irq, in w83977af_open() argument 168 if (w83977af_probe(iobase, irq, dma) == -1) in w83977af_open() 186 self->io.fir_base = iobase; in w83977af_open() 276 int iobase; in w83977af_close() local 280 iobase = self->io.fir_base; in w83977af_close() 317 int w83977af_probe( int iobase, int irq, int dma) in w83977af_probe() argument [all …]
|
D | via-ircc.h | 418 void SetMaxRxPacketSize(__u16 iobase, __u16 size) in SetMaxRxPacketSize() argument 424 WriteReg(iobase, I_CF_L_2, low); in SetMaxRxPacketSize() 425 WriteReg(iobase, I_CF_H_2, high); in SetMaxRxPacketSize() 433 void SetFIFO(__u16 iobase, __u16 value) in SetFIFO() argument 437 WriteRegBit(iobase, 0x11, 0, 0); in SetFIFO() 438 WriteRegBit(iobase, 0x11, 7, 1); in SetFIFO() 441 WriteRegBit(iobase, 0x11, 0, 0); in SetFIFO() 442 WriteRegBit(iobase, 0x11, 7, 0); in SetFIFO() 445 WriteRegBit(iobase, 0x11, 0, 1); in SetFIFO() 446 WriteRegBit(iobase, 0x11, 7, 0); in SetFIFO() [all …]
|
D | nsc-ircc.c | 140 static int nsc_ircc_dma_receive_complete(struct nsc_ircc_cb *self, int iobase); 143 static int nsc_ircc_pio_write(int iobase, __u8 *buf, int len, int fifo_size); 144 static void nsc_ircc_dma_xmit(struct nsc_ircc_cb *self, int iobase); 148 static int nsc_ircc_read_dongle_id (int iobase); 149 static void nsc_ircc_init_dongle_interface (int iobase, int dongle_id); 409 int iobase; in nsc_ircc_close() local 415 iobase = self->io.fir_base; in nsc_ircc_close() 836 int iobase = info->fir_base; in nsc_ircc_setup() local 839 switch_bank(iobase, BANK3); in nsc_ircc_setup() 840 version = inb(iobase+MID); in nsc_ircc_setup() [all …]
|
D | ali-ircc.c | 112 static int ali_ircc_sir_write(int iobase, int fifo_size, __u8 *buf, int len); 129 static void SIR2FIR(int iobase); 130 static void FIR2SIR(int iobase); 392 int iobase; in ali_ircc_close() local 398 iobase = self->io.fir_base; in ali_ircc_close() 532 int iobase = info->fir_base; in ali_ircc_setup() local 537 SIR2FIR(iobase); in ali_ircc_setup() 540 outb(0x40, iobase+FIR_MCR); // benjamin 2000/11/30 11:45AM in ali_ircc_setup() 543 switch_bank(iobase, BANK3); in ali_ircc_setup() 544 version = inb(iobase+FIR_ID_VR); in ali_ircc_setup() [all …]
|
D | smc-ircc.c | 85 static int ircc_open(unsigned int iobase, unsigned int board_addr); 86 static int ircc_dma_receive(struct ircc_cb *self, int iobase); 87 static void ircc_dma_receive_complete(struct ircc_cb *self, int iobase); 89 static void ircc_dma_xmit(struct ircc_cb *self, int iobase, int bofs); 167 static inline void register_bank(int iobase, int bank) in register_bank() argument 169 outb(((inb(iobase+IRCC_MASTER) & 0xf0) | (bank & 0x07)), in register_bank() 170 iobase+IRCC_MASTER); in register_bank() 604 int iobase, ir_mode, ctrl, fast; in ircc_change_speed() local 613 iobase = self->io->fir_base; in ircc_change_speed() 618 outb(IRCC_MASTER_RESET, iobase+IRCC_MASTER); in ircc_change_speed() [all …]
|
D | irport.c | 77 static int irport_write(int iobase, int fifo_size, __u8 *buf, int len); 139 irport_open(int i, unsigned int iobase, unsigned int irq) in irport_open() argument 166 self->io.sir_base = iobase; in irport_open() 239 dev->base_addr = iobase; in irport_open() 291 int iobase; in irport_start() local 293 iobase = self->io.sir_base; in irport_start() 300 outb(UART_LCR_WLEN8, iobase+UART_LCR); /* Reset DLAB */ in irport_start() 301 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase+UART_MCR); in irport_start() 304 outb(UART_IER_RLSI | UART_IER_RDI |UART_IER_THRI, iobase+UART_IER); in irport_start() 312 int iobase; in irport_stop() local [all …]
|
D | vlsi_ir.c | 221 static void vlsi_reg_debug(unsigned iobase, const char *s) in vlsi_reg_debug() argument 228 printk("%02x", (unsigned)inb((iobase+i))); in vlsi_reg_debug() 432 unsigned iobase; in vlsi_set_baud() local 439 iobase = ndev->base_addr; in vlsi_set_baud() 445 outw(0, iobase+VLSI_PIO_IRENABLE); in vlsi_set_baud() 479 outw(config, iobase+VLSI_PIO_IRCFG); in vlsi_set_baud() 481 outw(nphyctl, iobase+VLSI_PIO_NPHYCTL); in vlsi_set_baud() 483 outw(IRENABLE_IREN, iobase+VLSI_PIO_IRENABLE); in vlsi_set_baud() 488 config = inw(iobase+VLSI_PIO_IRENABLE) & IRENABLE_MASK; in vlsi_set_baud() 504 if (inw(iobase+VLSI_PIO_PHYCTL) != nphyctl) { in vlsi_set_baud() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | ewrk3.h | 18 #define EWRK3_CSR iobase+0x00 /* Control and Status Register */ 19 #define EWRK3_CR iobase+0x01 /* Control Register */ 20 #define EWRK3_ICR iobase+0x02 /* Interrupt Control Register */ 21 #define EWRK3_TSR iobase+0x03 /* Transmit Status Register */ 22 #define EWRK3_RSVD1 iobase+0x04 /* RESERVED */ 23 #define EWRK3_RSVD2 iobase+0x05 /* RESERVED */ 24 #define EWRK3_FMQ iobase+0x06 /* Free Memory Queue */ 25 #define EWRK3_FMQC iobase+0x07 /* Free Memory Queue Counter */ 26 #define EWRK3_RQ iobase+0x08 /* Receive Queue */ 27 #define EWRK3_RQC iobase+0x09 /* Receive Queue Counter */ [all …]
|
D | de4x5.h | 16 #define DE4X5_BMR iobase+(0x000 << lp->bus) /* Bus Mode Register */ 17 #define DE4X5_TPD iobase+(0x008 << lp->bus) /* Transmit Poll Demand Reg */ 18 #define DE4X5_RPD iobase+(0x010 << lp->bus) /* Receive Poll Demand Reg */ 19 #define DE4X5_RRBA iobase+(0x018 << lp->bus) /* RX Ring Base Address Reg */ 20 #define DE4X5_TRBA iobase+(0x020 << lp->bus) /* TX Ring Base Address Reg */ 21 #define DE4X5_STS iobase+(0x028 << lp->bus) /* Status Register */ 22 #define DE4X5_OMR iobase+(0x030 << lp->bus) /* Operation Mode Register */ 23 #define DE4X5_IMR iobase+(0x038 << lp->bus) /* Interrupt Mask Register */ 24 #define DE4X5_MFC iobase+(0x040 << lp->bus) /* Missed Frame Counter */ 25 #define DE4X5_APROM iobase+(0x048 << lp->bus) /* Ethernet Address PROM */ [all …]
|
D | ewrk3.c | 315 static int ewrk3_hw_init(struct net_device *dev, u_long iobase); 322 static int DevicePresent(u_long iobase); 326 static int Read_EEPROM(u_long iobase, u_char eaddr); 327 static int Write_EEPROM(short data, u_long iobase, u_char eaddr); 330 static void isa_probe(struct net_device *dev, u_long iobase); 331 static void eisa_probe(struct net_device *dev, u_long iobase); 332 static struct net_device *alloc_device(struct net_device *dev, u_long iobase); 334 static struct net_device *insert_device(struct net_device *dev, u_long iobase, int (*init) (struct … 363 u_long iobase = dev->base_addr; in ewrk3_probe() local 367 if ((iobase == 0) && loading_module) { in ewrk3_probe() [all …]
|
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/ |
D | sm.c | 151 #define UART_RBR(iobase) (iobase+0) argument 152 #define UART_THR(iobase) (iobase+0) argument 153 #define UART_IER(iobase) (iobase+1) argument 154 #define UART_IIR(iobase) (iobase+2) argument 155 #define UART_FCR(iobase) (iobase+2) argument 156 #define UART_LCR(iobase) (iobase+3) argument 157 #define UART_MCR(iobase) (iobase+4) argument 158 #define UART_LSR(iobase) (iobase+5) argument 159 #define UART_MSR(iobase) (iobase+6) argument 160 #define UART_SCR(iobase) (iobase+7) argument [all …]
|
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | hwaccess.c | 151 data |= inl(card->iobase + reg) & ~mask; in emu10k1_writefn0() 152 outl(data, card->iobase + reg); in emu10k1_writefn0() 156 outl(data, card->iobase + reg); in emu10k1_writefn0() 178 val = inl(card->iobase + reg); in emu10k1_readfn0() 184 val = inl(card->iobase + reg); in emu10k1_readfn0() 195 outw(data & TIMER_RATE_MASK, card->iobase + TIMER); in emu10k1_timer_set() 220 outl(regptr, card->iobase + PTR); in sblive_writeptr() 221 data |= inl(card->iobase + DATA) & ~mask; in sblive_writeptr() 222 outl(data, card->iobase + DATA); in sblive_writeptr() 226 outl(regptr, card->iobase + PTR); in sblive_writeptr() [all …]
|
/linux-2.4.37.9/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 102 #define RBR(iobase) (iobase+0) argument 103 #define THR(iobase) (iobase+0) argument 104 #define IER(iobase) (iobase+1) argument 105 #define IIR(iobase) (iobase+2) argument 106 #define FCR(iobase) (iobase+2) argument 107 #define LCR(iobase) (iobase+3) argument 108 #define MCR(iobase) (iobase+4) argument 109 #define LSR(iobase) (iobase+5) argument 110 #define MSR(iobase) (iobase+6) argument 111 #define SCR(iobase) (iobase+7) argument [all …]
|
D | baycom_ser_hdx.c | 92 #define RBR(iobase) (iobase+0) argument 93 #define THR(iobase) (iobase+0) argument 94 #define IER(iobase) (iobase+1) argument 95 #define IIR(iobase) (iobase+2) argument 96 #define FCR(iobase) (iobase+2) argument 97 #define LCR(iobase) (iobase+3) argument 98 #define MCR(iobase) (iobase+4) argument 99 #define LSR(iobase) (iobase+5) argument 100 #define MSR(iobase) (iobase+6) argument 101 #define SCR(iobase) (iobase+7) argument [all …]
|
D | yam.c | 119 int iobase; member 177 #define RBR(iobase) (iobase+0) argument 178 #define THR(iobase) (iobase+0) argument 179 #define IER(iobase) (iobase+1) argument 180 #define IIR(iobase) (iobase+2) argument 181 #define FCR(iobase) (iobase+2) argument 182 #define LCR(iobase) (iobase+3) argument 183 #define MCR(iobase) (iobase+4) argument 184 #define LSR(iobase) (iobase+5) argument 185 #define MSR(iobase) (iobase+6) argument [all …]
|
/linux-2.4.37.9/drivers/acorn/scsi/ |
D | cumana_1.c | 226 int iobase = instance->io_port; in NCR5380_pwrite() local 227 int dma_io = iobase & ~(0x3C0000>>2); in NCR5380_pwrite() 229 volatile unsigned char *iobase = (unsigned char *)ioaddr(instance->io_port); in NCR5380_pwrite() local 230 volatile unsigned char *dma_io = (unsigned char *)((int)iobase & ~0x3C0000); in NCR5380_pwrite() 235 CTRL(iobase, 0x02); in NCR5380_pwrite() 241 status = STAT(iobase); in NCR5380_pwrite() 260 CTRL(iobase, 0x12); in NCR5380_pwrite() 264 status = STAT(iobase); in NCR5380_pwrite() 274 status = STAT(iobase); in NCR5380_pwrite() 285 CTRL(iobase, oldctrl|0x40); in NCR5380_pwrite() [all …]
|
D | ecoscsi.c | 63 int iobase = instance->io_port; in ecoscsi_read() local 64 outb(reg | 8, iobase); in ecoscsi_read() 65 return inb(iobase + 1); in ecoscsi_read() 70 int iobase = instance->io_port; in ecoscsi_write() local 71 outb(reg | 8, iobase); in ecoscsi_write() 72 outb(value, iobase + 1); in ecoscsi_write() 177 int iobase = instance->io_port; 184 while(((status = STAT(iobase)) & 0x100)==0); 191 int iobase = instance->io_port; 196 outb(inb(iobase + 128), iobase + 135); [all …]
|
/linux-2.4.37.9/drivers/bluetooth/ |
D | bt3c_cs.c | 136 inline void bt3c_address(unsigned int iobase, unsigned short addr) in bt3c_address() argument 138 outb(addr & 0xff, iobase + ADDR_L); in bt3c_address() 139 outb((addr >> 8) & 0xff, iobase + ADDR_H); in bt3c_address() 143 inline void bt3c_put(unsigned int iobase, unsigned short value) in bt3c_put() argument 145 outb(value & 0xff, iobase + DATA_L); in bt3c_put() 146 outb((value >> 8) & 0xff, iobase + DATA_H); in bt3c_put() 150 inline void bt3c_io_write(unsigned int iobase, unsigned short addr, unsigned short value) in bt3c_io_write() argument 152 bt3c_address(iobase, addr); in bt3c_io_write() 153 bt3c_put(iobase, value); in bt3c_io_write() 157 inline unsigned short bt3c_get(unsigned int iobase) in bt3c_get() argument [all …]
|
D | bluecard_cs.c | 175 unsigned int iobase = info->link.io.BasePort1; in bluecard_activity_led_timeout() local 179 outb(0x08 | 0x20, iobase + 0x30); in bluecard_activity_led_timeout() 182 outb(0x00, iobase + 0x30); in bluecard_activity_led_timeout() 189 unsigned int iobase = info->link.io.BasePort1; in bluecard_enable_activity_led() local 193 outb(0x10 | 0x40, iobase + 0x30); in bluecard_enable_activity_led() 199 outb(0x08 | 0x20, iobase + 0x30); in bluecard_enable_activity_led() 211 static int bluecard_write(unsigned int iobase, unsigned int offset, __u8 *buf, int len) in bluecard_write() argument 217 outb_p(actual, iobase + offset); in bluecard_write() 220 outb_p(buf[i], iobase + offset + i + 1); in bluecard_write() 242 register unsigned int iobase = info->link.io.BasePort1; in bluecard_write_wakeup() local [all …]
|
D | btuart_cs.c | 130 static int btuart_write(unsigned int iobase, int fifo_size, __u8 *buf, int len) in btuart_write() argument 135 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in btuart_write() 141 outb(buf[actual], iobase + UART_TX); in btuart_write() 162 register unsigned int iobase = info->link.io.BasePort1; in btuart_write_wakeup() local 175 len = btuart_write(iobase, 16, skb->data, skb->len); in btuart_write_wakeup() 195 unsigned int iobase; in btuart_receive() local 203 iobase = info->link.io.BasePort1; in btuart_receive() 221 info->rx_skb->pkt_type = inb(iobase + UART_RX); in btuart_receive() 254 *skb_put(info->rx_skb, 1) = inb(iobase + UART_RX); in btuart_receive() 301 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive() [all …]
|
/linux-2.4.37.9/drivers/net/wan/ |
D | sealevel.c | 45 int iobase; member 209 static struct slvl_board *slvl_init(int iobase, int irq, int txdma, int rxdma, int slow) in slvl_init() argument 222 if(!request_region(iobase, 8, "Sealevel 4021")) in slvl_init() 224 printk(KERN_WARNING "sealevel: I/O 0x%X already in use.\n", iobase); in slvl_init() 256 b->iobase = iobase; in slvl_init() 263 iobase |= Z8530_PORT_SLEEP; in slvl_init() 265 dev->chanA.ctrlio=iobase+1; in slvl_init() 266 dev->chanA.dataio=iobase; in slvl_init() 267 dev->chanB.ctrlio=iobase+3; in slvl_init() 268 dev->chanB.dataio=iobase+2; in slvl_init() [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | forte.c | 153 unsigned long iobase; /* Ctrl BAR address */ member 186 unsigned long iobase; member 228 while ( (inw (chip->iobase + FORTE_AC97_CMD) & FORTE_AC97_PORT_BSY) in forte_ac97_wait() 257 outw (reg | (1<<7), chip->iobase + FORTE_AC97_CMD); in forte_ac97_read() 266 if (inw (chip->iobase + FORTE_AC97_CMD) & FORTE_AC97_DP_INVALID) { in forte_ac97_read() 272 ret = inw (chip->iobase + FORTE_AC97_DATA); in forte_ac97_read() 300 outw (val, chip->iobase + FORTE_AC97_DATA); in forte_ac97_write() 301 outb (reg | FORTE_AC97_WRITE, chip->iobase + FORTE_AC97_CMD); in forte_ac97_write() 389 if (!channel || !channel->iobase) in forte_channel_reset() 395 outw (channel->ctrl, channel->iobase + FORTE_PLY_CTRL); in forte_channel_reset() [all …]
|
D | ali5455.c | 350 unsigned long iobase; member 680 ch_st_sel = inb(state->card->iobase + ALI_SPDIFICS) & ALI_SPDIF_OUT_CH_STATUS; //select spdif_out in ali_set_spdifout_rate() 683 outb(ch_st_sel, (state->card->iobase + ALI_SPDIFICS)); in ali_set_spdifout_rate() 684 outb(status_rate | 0x20, (state->card->iobase + ALI_SPDIFCSR + 2)); in ali_set_spdifout_rate() 687 outb(ch_st_sel, (state->card->iobase + ALI_SPDIFICS)); in ali_set_spdifout_rate() 688 outw(status_rate | 0x10, (state->card->iobase + ALI_SPDIFCSR + 2)); in ali_set_spdifout_rate() 704 port = state->card->iobase + dmabuf->read_channel->port; in ali_get_dma_addr() 706 port = state->card->iobase + dmabuf->codec_spdifout_channel->port; in ali_get_dma_addr() 708 port = state->card->iobase + dmabuf->controller_spdifout_channel->port; in ali_get_dma_addr() 710 port = state->card->iobase + dmabuf->write_channel->port; in ali_get_dma_addr() [all …]
|
D | cmpci.c | 353 unsigned int iosb, iobase, iosynth, member 486 outl(addr, s->iobase + CODEC_CMI_ADC_FRAME1); in set_dmadac1() 487 outw(count - 1, s->iobase + CODEC_CMI_ADC_FRAME2); in set_dmadac1() 488 maskb(s->iobase + CODEC_CMI_FUNCTRL0, ~CHADC1, 0); in set_dmadac1() 493 outl(addr, s->iobase + CODEC_CMI_ADC_FRAME1); in set_dmaadc() 494 outw(count - 1, s->iobase + CODEC_CMI_ADC_FRAME2); in set_dmaadc() 495 maskb(s->iobase + CODEC_CMI_FUNCTRL0, ~0, CHADC1); in set_dmaadc() 500 outl(addr, s->iobase + CODEC_CMI_DAC_FRAME1); in set_dmadac() 501 outw(count - 1, s->iobase + CODEC_CMI_DAC_FRAME2); in set_dmadac() 502 maskb(s->iobase + CODEC_CMI_FUNCTRL0, ~CHADC0, 0); in set_dmadac() [all …]
|