/linux-master/arch/parisc/include/asm/ |
H A D | io.h | 150 #define outb_p outb 165 extern void outb(unsigned char b, int addr); 171 #define outb outb macro 178 #define outb eisa_out8 macro 202 #define outb(x, y) ({(void)(x); (void)(y); BUG(); 0;}) macro
|
/linux-master/drivers/net/wan/ |
H A D | n2.c | 126 #define sca_out(value, reg, card) outb(value, sca_reg(reg, card)) 147 outb((psr & ~PSR_PAGEBITS) | page, card->io + N2_PSR); 186 outb(mcr, io + N2_MCR); 207 outb(mcr, io + N2_MCR); 209 outb(inb(io + N2_PCR) | PCR_ENWIN, io + N2_PCR); /* open window */ 210 outb(inb(io + N2_PSR) | PSR_DMAEN, io + N2_PSR); /* enable dma */ 225 outb(mcr, io + N2_MCR); 382 outb(0, io + N2_PCR); 383 outb(winbase >> 12, io + N2_BAR); 387 outb(WIN16 [all...] |
/linux-master/sound/isa/msnd/ |
H A D | msnd.c | 83 outb(cmd, dev->io + HP_CVR); 101 outb(high, io + HP_TXH); 102 outb(mid, io + HP_TXM); 103 outb(low, io + HP_TXL); 145 outb(inb(dev->io + HP_ICR) | HPICR_TREQ, dev->io + HP_ICR); 147 outb(dev->irqid, dev->io + HP_IRQM); 149 outb(inb(dev->io + HP_ICR) & ~HPICR_TREQ, dev->io + HP_ICR); 150 outb(inb(dev->io + HP_ICR) | HPICR_RREQ, dev->io + HP_ICR); 180 outb(inb(dev->io + HP_ICR) & ~HPICR_RREQ, dev->io + HP_ICR); 182 outb(HPIRQ_NON [all...] |
/linux-master/sound/isa/gus/ |
H A D | gus_main.c | 306 outb(5, GUSP(gus, REGCNTRLS)); 307 outb(gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); 308 outb(0x00, GUSP(gus, IRQDMACNTRLREG)); 309 outb(0, GUSP(gus, REGCNTRLS)); 315 outb(0x00 | gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); 316 outb(dma1, GUSP(gus, IRQDMACNTRLREG)); 318 outb(0x40 | gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); 319 outb(irq, GUSP(gus, IRQDMACNTRLREG)); 326 outb(0x00 | gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); 327 outb(dma [all...] |
/linux-master/drivers/pcmcia/ |
H A D | pd6729.c | 71 outb(reg, port); 88 outb(reg, port); 91 outb(reg, port); 107 outb(reg, port); 108 outb(value, port + 1); 122 outb(reg, port); 125 outb(reg, port); 126 outb(val, port + 1); 140 outb(reg, port); 143 outb(re [all...] |
H A D | i82092.c | 198 outb(reg, port); 212 outb(reg, port); 213 outb(value, port+1); 226 outb(reg, port); 229 outb(reg, port); 230 outb(val, port+1); 245 outb(reg, port); 248 outb(reg, port); 249 outb(val, port+1); 264 outb(re [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | pcl816.c | 138 outb(chan, dev->iobase + PCL816_MUX_REG); 139 outb(range, dev->iobase + PCL816_RANGE_REG); 146 outb(PCL816_MUX_SCAN(first_chan, last_chan), 175 outb(0, dev->iobase + PCL816_CLRINT_REG); 181 outb(0, dev->iobase + PCL816_AI_LSB_REG); 441 outb(ctrl, dev->iobase + PCL816_CTRL_REG); 442 outb((dma->chan << 4) | dev->irq, 489 outb(0, dev->iobase + PCL816_CTRL_REG); 510 outb(PCL816_CTRL_SOFT_TRIG, dev->iobase + PCL816_CTRL_REG); 525 outb( [all...] |
H A D | adl_pci9111.c | 137 outb(flags, io_base + PLX9052_INTCSR); 170 outb(flags, dev->iobase + PCI9111_INT_CTRL_REG); 178 outb(0, int_ctrl_reg); 179 outb(PCI9111_INT_CTRL_FFEN, int_ctrl_reg); 180 outb(0, int_ctrl_reg); 193 outb(0, dev->iobase + PCI9111_AI_TRIG_CTRL_REG); 351 outb(last_chan, dev->iobase + PCI9111_AI_CHANNEL_REG); 354 outb(PCI9111_AI_RANGE(range0), dev->iobase + PCI9111_AI_RANGE_STAT_REG); 380 outb(trig, dev->iobase + PCI9111_AI_TRIG_CTRL_REG); 491 outb( [all...] |
H A D | dt2811.c | 208 outb(status | DT2811_ADCSR_CLRERROR, 236 outb(DT2811_ADCSR_ADMODE(0), dev->iobase + DT2811_ADCSR_REG); 247 outb(DT2811_ADGCR_CHAN(chan) | DT2811_ADGCR_GAIN(range), 295 outb(mode | DT2811_ADCSR_INTENB, dev->iobase + DT2811_ADCSR_REG); 298 outb(devpriv->ai_divisor, dev->iobase + DT2811_TMRCTR_REG); 505 outb(val & 0xff, dev->iobase + DT2811_DADATA_LO_REG(chan)); 506 outb((val >> 8) & 0xff, 530 outb(s->state, dev->iobase + DT2811_DO_REG); 540 outb(DT2811_ADCSR_ADMODE(0), dev->iobase + DT2811_ADCSR_REG); 544 outb(DT2811_ADCSR_ADMOD [all...] |
H A D | adv_pci1760.c | 101 outb(val & 0xff, dev->iobase + PCI1760_OMB_REG(0)); 102 outb((val >> 8) & 0xff, dev->iobase + PCI1760_OMB_REG(1)); 103 outb(cmd, dev->iobase + PCI1760_OMB_REG(2)); 104 outb(0, dev->iobase + PCI1760_OMB_REG(3)); 303 outb(0, dev->iobase + PCI1760_INTCSR_REG(0)); 304 outb(0, dev->iobase + PCI1760_INTCSR_REG(1)); 305 outb(0, dev->iobase + PCI1760_INTCSR_REG(3));
|
H A D | das16.c | 540 outb(first_chan | (last_chan << 4), dev->iobase + DAS16_MUX_REG); 551 outb((das16_gainlists[board->ai_pg])[range], 712 outb(DAS1600_CONV_DISABLE, dev->iobase + DAS1600_CONV_REG); 724 outb(DAS1600_BURST_VAL, 729 outb(0, dev->iobase + DAS1600_BURST_REG); 732 outb(byte, dev->iobase + DAS16_PACER_REG); 751 outb(devpriv->ctrl_reg, dev->iobase + DAS16_CTRL_REG); 754 outb(0, dev->iobase + DAS1600_CONV_REG); 771 outb(devpriv->ctrl_reg, dev->iobase + DAS16_CTRL_REG); 782 outb( [all...] |
H A D | dt2814.c | 111 outb(chan, dev->iobase + DT2814_CSR); 213 outb(chan | DT2814_ENB | (trigvar << 5), dev->iobase + DT2814_CSR); 234 outb(status & DT2814_CHANMASK, dev->iobase + DT2814_CSR); 294 outb(status & DT2814_CHANMASK, dev->iobase + DT2814_CSR); 312 outb(0, dev->iobase + DT2814_CSR);
|
H A D | aio_iiro_16.c | 80 outb(0, dev->iobase + AIO_IIRO_16_IRQ); 144 outb(s->state & 0xff, dev->iobase + AIO_IIRO_16_RELAY_0_7); 145 outb((s->state >> 8) & 0xff,
|
/linux-master/drivers/gpio/ |
H A D | gpio-sch311x.c | 105 outb(SIO_CONFIG_KEY_ENTER, sio_config_port); 111 outb(SIO_CONFIG_KEY_EXIT, sio_config_port); 117 outb(reg, sio_config_port); 123 outb(reg, sio_config_port); 124 outb(val, sio_config_port + 1); 178 outb(data, block->runtime_reg + block->data_reg); 199 outb(data, block->runtime_reg + block->config_regs[offset]); 215 outb(data, block->runtime_reg + block->config_regs[offset]); 249 outb(data, block->runtime_reg + block->config_regs[offset]); 256 outb(dat [all...] |
/linux-master/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 48 . smc_enable, with outw instead of outb 348 outb( 0, ioaddr + INT_MASK ); 368 outb( SMC_INTERRUPT_MASK, ioaddr + INT_MASK ); 389 outb( 0, ioaddr + INT_MASK ); 393 outb( RCR_CLEAR, ioaddr + RCR ); 394 outb( TCR_CLEAR, ioaddr + TCR ); 447 outb( multicast_table[i], ioaddr + MULTICAST1 + i ); 542 outb( IM_ALLOC_INT, ioaddr + INTERRUPT ); 608 outb( packet_no, ioaddr + PNR_ARR ); 625 outb( (lengt [all...] |
/linux-master/drivers/watchdog/ |
H A D | wdt_pci.c | 103 outb(ctr, WDT_CR); 109 outb(val & 0xFF, WDT_COUNT0 + ctr); 111 outb(val >> 8, WDT_COUNT0 + ctr); 135 outb(0, WDT_DC); /* Enable watchdog */ 139 outb(0, WDT_CLOCK); /* 2.0833MHz clock */ 158 outb(0, WDT_DC); /* Enable watchdog */ 202 outb(0, WDT_DC); /* Enable watchdog */
|
H A D | simatic-ipc-wdt.c | 67 outb(inb(WD_ENABLE_IOADR) | WD_ENABLED, WD_ENABLE_IOADR); 73 outb(inb(WD_ENABLE_IOADR) & ~WD_ENABLED, WD_ENABLE_IOADR); 88 outb((inb(WD_ENABLE_IOADR) & 0xc7) | timeout_idx << 3, WD_ENABLE_IOADR); 115 outb(resetbit & ~SAFE_EN_N_227E, GP_STATUS_REG_227E); 135 outb(WD_TRIGGERED | WD_MACROMODE | timeout_idx << 3, WD_ENABLE_IOADR);
|
H A D | sbc_epx_c3.c | 43 outb(1, EPXC3_WATCHDOG_CTL_REG); 49 outb(0, EPXC3_WATCHDOG_CTL_REG); 56 outb(1, EPXC3_WATCHDOG_PET_REG);
|
/linux-master/sound/isa/ |
H A D | cmi8328.c | 116 outb(0x43, port + 3); 117 outb(0x21, port + 3); 118 outb(reg, port + 3); 124 outb(0x43, port + 3); 125 outb(0x21, port + 3); 126 outb(reg, port + 3); 127 outb(val, port + 3); /* yes, value goes to the same port as index */ 295 outb(val, port); 440 outb(cmi->wss_cfg, cmi->port);
|
/linux-master/drivers/input/gameport/ |
H A D | ns558.c | 65 outb(~c & ~3, io); 67 outb(c, io); 78 outb(c, io); 90 outb(c, io); 105 outb(0xff, io & (-1 << i));
|
/linux-master/drivers/net/ |
H A D | sb1000.c | 324 outb(0xa0, ioaddr[0] + 6); 325 outb(out[2], ioaddr[0] + 1); 326 outb(out[3], ioaddr[0] + 2); 327 outb(out[4], ioaddr[0] + 3); 328 outb(out[5], ioaddr[0] + 4); 329 outb(out[1], ioaddr[0] + 5); 330 outb(0xa0, ioaddr[0] + 6); 331 outb(out[0], ioaddr[0] + 7); 418 outb(out[2], ioaddr[0] + 1); 419 outb(ou [all...] |
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | speedfax.c | 150 outb(SFAX_TIGER_IRQ_BIT, sf->cfg + TIGER_AUX_IRQMASK); 158 outb(0, sf->cfg + TIGER_AUX_IRQMASK); 166 outb(TIGER_EXTERN_RESET_ON, sf->cfg + TIGER_RESET_ADDR); 167 outb(SFAX_PCI_RESET_ON, sf->cfg + TIGER_AUX_DATA); 169 outb(TIGER_EXTERN_RESET_OFF, sf->cfg + TIGER_RESET_ADDR); 171 outb(sf->aux_data, sf->cfg + TIGER_AUX_DATA); 189 outb(sf->aux_data, sf->cfg + TIGER_AUX_DATA); 196 outb(sf->aux_data, sf->cfg + TIGER_AUX_DATA); 321 outb(0xff, sf->cfg); 322 outb( [all...] |
/linux-master/drivers/cpufreq/ |
H A D | speedstep-ich.c | 120 outb(pm2_blk, (pmbase + 0x20)); 123 outb(value, (pmbase + 0x50)); 127 outb(pm2_blk, (pmbase + 0x20));
|
/linux-master/drivers/video/backlight/ |
H A D | kb3886_bl.c | 32 outb(KB3886_ADC_DAC_PWM, KB3886_PARENT); 34 outb(KB3886_PWM0_WRITE, KB3886_IO); 36 outb(intensity, KB3886_IO);
|
/linux-master/sound/pci/ice1712/ |
H A D | ice1724.c | 140 outb(reg, ICEMT1724(ice, AC97_INDEX)); 142 outb(old_cmd | VT1724_AC97_WRITE, ICEMT1724(ice, AC97_CMD)); 154 outb(reg, ICEMT1724(ice, AC97_INDEX)); 155 outb(old_cmd | VT1724_AC97_READ, ICEMT1724(ice, AC97_CMD)); 184 outb((data >> 16) & 0xff, ICEREG1724(ice, GPIO_WRITE_MASK_22)); 203 outb(data >> 16, ICEREG1724(ice, GPIO_DATA_22)); 250 outb(buffer[i], ICEREG1724(ice, MPU_DATA)); 283 outb(mask, ICEREG1724(ice, IRQMASK)); 429 outb(status, ICEREG1724(ice, IRQSTAT)); 473 outb(mtsta [all...] |