/linux-master/drivers/scsi/ |
H A D | nsp32_io.h | 16 outb(val, (base + index)); 121 outb(reg, base + INDEX_REG); 129 outb(reg, base + INDEX_REG ); 130 outb(val, base + DATA_REG_LOW); 136 outb(reg, base + INDEX_REG); 144 outb(reg, base + INDEX_REG ); 153 outb(reg, base + INDEX_REG); 169 outb(reg, base + INDEX_REG );
|
H A D | a100u2w.c | 208 outb(ORC_CMD_VERSION, host->base + ORC_HDATA); 209 outb(HDO, host->base + ORC_HCTRL); 216 outb(data, host->base + ORC_HSTUS); /* Clear HDI */ 221 outb(data, host->base + ORC_HSTUS); /* Clear HDI */ 229 outb(ORC_CMD_SET_NVM, host->base + ORC_HDATA); /* Write command */ 230 outb(HDO, host->base + ORC_HCTRL); 234 outb(address, host->base + ORC_HDATA); /* Write address */ 235 outb(HDO, host->base + ORC_HCTRL); 239 outb(value, host->base + ORC_HDATA); /* Write value */ 240 outb(HD [all...] |
/linux-master/sound/isa/gus/ |
H A D | gus_io.c | 35 outb(reg | 0x80, gus->gf1.reg_regsel); 39 outb(reg, gus->gf1.reg_regsel); 41 outb((value | 0x03) & ~(0x80 | 0x20), gus->gf1.reg_data8); 49 outb(reg, gus->gf1.reg_regsel); 51 outb(data, gus->gf1.reg_data8); 58 outb(reg, gus->gf1.reg_regsel); 66 outb(reg, gus->gf1.reg_regsel); 75 outb(reg, gus->gf1.reg_regsel); 83 outb(reg, gus->gf1.reg_timerctrl); 86 outb(dat [all...] |
H A D | gus_mixer.c | 54 outb(gus->mix_cntrl_reg = nval, GUSP(gus, MIXCNTRLREG)); 55 outb(gus->gf1.active_voice = 0, GUSP(gus, GF1PAGE)); 111 outb(addr | 0, GUSP(gus, MIXCNTRLPORT)); 112 outb(1, GUSP(gus, MIXDATAPORT)); 113 outb(addr | 2, GUSP(gus, MIXCNTRLPORT)); 114 outb((unsigned char) val1, GUSP(gus, MIXDATAPORT)); 115 outb(addr | 1, GUSP(gus, MIXCNTRLPORT)); 116 outb(2, GUSP(gus, MIXDATAPORT)); 117 outb(addr | 3, GUSP(gus, MIXCNTRLPORT)); 118 outb((unsigne [all...] |
/linux-master/drivers/bluetooth/ |
H A D | bluecard_cs.c | 171 outb(0x08 | 0x20, iobase + 0x30); 187 outb(0x18 | 0x60, iobase + 0x30); 190 outb(0x00, iobase + 0x30); 266 outb(info->ctrl_reg, iobase + REG_CONTROL); 309 outb(info->ctrl_reg, iobase + REG_CONTROL); 313 outb(info->ctrl_reg, iobase + REG_CONTROL); 341 outb(REG_COMMAND_RX_WIN_ONE, iobase + REG_COMMAND); 350 outb(REG_COMMAND_RX_WIN_TWO, iobase + REG_COMMAND); 513 outb(info->ctrl_reg, iobase + REG_CONTROL); 521 outb( [all...] |
/linux-master/drivers/video/backlight/ |
H A D | apple_bl.c | 52 outb(0x04 | (intensity << 4), 0xb3); 53 outb(0xbf, 0xb2); 71 outb(0x03, 0xb3); 72 outb(0xbf, 0xb2); 97 outb(0x04 | (intensity << 4), 0x52f); 98 outb(0xbf, 0x52e); 116 outb(0x03, 0x52f); 117 outb(0xbf, 0x52e);
|
/linux-master/drivers/input/serio/ |
H A D | i8042-io.h | 52 outb(val, I8042_DATA_REG); 57 outb(val, I8042_COMMAND_REG);
|
/linux-master/arch/mips/loongson2ef/lemote-2f/ |
H A D | reset.c | 98 outb(REG_SHUTDOWN_HIGH, EC_SHUTDOWN_IO_PORT_HIGH); 99 outb(REG_SHUTDOWN_LOW, EC_SHUTDOWN_IO_PORT_LOW); 102 outb(val & (~BIT_SHUTDOWN_ON), EC_SHUTDOWN_IO_PORT_DATA); 107 outb(val | BIT_SHUTDOWN_ON, EC_SHUTDOWN_IO_PORT_DATA);
|
/linux-master/arch/alpha/kernel/ |
H A D | sys_sx164.c | 39 outb(0, DMA1_RESET_REG); 40 outb(0, DMA2_RESET_REG); 41 outb(DMA_MODE_CASCADE, DMA2_MODE_REG); 42 outb(0, DMA2_MASK_REG);
|
H A D | irq_i8259.c | 33 outb(mask, port); 68 outb(0xE0 | (irq - 8), 0xa0); /* ack the slave */ 71 outb(0xE0 | irq, 0x20); /* ack the master */ 87 outb(0xff, 0x21); /* mask all of 8259A-1 */ 88 outb(0xff, 0xA1); /* mask all of 8259A-2 */
|
H A D | sys_sable.c | 105 outb(mask, port); 127 outb(val1, port); /* ack the slave */ 128 outb(val2, 0x534); /* ack the master */ 160 outb(-1, 0x537); /* slave 0 */ 161 outb(-1, 0x53b); /* slave 1 */ 162 outb(-1, 0x53d); /* slave 2 */ 163 outb(0x44, 0x535); /* enable cascades in master */
|
H A D | time.c | 240 outb(0x36, 0x43); /* pit counter 0: system timer */ 241 outb(0x00, 0x40); 242 outb(0x00, 0x40); 244 outb(0xb6, 0x43); /* pit counter 2: speaker */ 245 outb(0x31, 0x42); 246 outb(0x13, 0x42); 354 outb((inb(0x61) & ~0x02) | 0x01, 0x61); 363 outb(0xb0, 0x43); /* binary, mode 0, LSB/MSB, Ch 2 */ 364 outb(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ 365 outb(CALIBRATE_LATC [all...] |
/linux-master/drivers/net/ethernet/8390/ |
H A D | smc-ultra.c | 227 outb(reg4, ioaddr + 4); 250 outb(0x80 | reg4, ioaddr + 4); 253 outb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c); 260 outb(reg4, ioaddr + 4); 398 outb(0x00, ioaddr); /* Disable shared memory for safety. */ 399 outb(0x80, ioaddr + 5); 401 outb(inb(ioaddr + 4) | 0x80, ioaddr + 4); 402 outb((inb(ioaddr + 13) & ~0x4C) | irq2reg[dev->irq], ioaddr + 13); 403 outb(inb(ioaddr + 4) & 0x7f, ioaddr + 4); 406 outb( [all...] |
/linux-master/arch/x86/pci/ |
H A D | direct.c | 66 outb((u8)value, 0xCFC + (reg & 3)); 115 outb((u8)(0xF0 | (fn << 1)), 0xCF8); 116 outb((u8)bus, 0xCFA); 130 outb(0, 0xCF8); 155 outb((u8)(0xF0 | (fn << 1)), 0xCF8); 156 outb((u8)bus, 0xCFA); 160 outb((u8)value, PCI_CONF2_ADDRESS(dev, reg)); 170 outb(0, 0xCF8); 231 outb(0x01, 0xCFB); 250 outb( [all...] |
/linux-master/drivers/watchdog/ |
H A D | ibmasr.c | 78 outb(reg & ~asr_toggle_mask, asr_write_addr); 81 outb(reg | asr_toggle_mask, asr_write_addr); 84 outb(reg & ~asr_toggle_mask, asr_write_addr); 103 outb(reg & ~(TOPAZ_ASR_TOGGLE | TOPAZ_ASR_DISABLE), 113 outb(reg & ~asr_disable_mask, asr_write_addr); 128 outb(reg | TOPAZ_ASR_TOGGLE | TOPAZ_ASR_DISABLE, 131 outb(reg | asr_toggle_mask, asr_write_addr); 134 outb(reg | asr_disable_mask, asr_write_addr); 151 outb(0x07, 0x2e); 152 outb( [all...] |
H A D | nic7018_wdt.c | 95 outb(counter << 4 | config->divider, 112 outb(control | WDT_RELOAD_PORT_EN, wdt->io_base + WDT_RELOAD_CTRL); 114 outb(1, wdt->io_base + WDT_RELOAD_PORT); 117 outb(control | WDT_CTRL_RESET_EN, wdt->io_base + WDT_CTRL); 126 outb(0, wdt->io_base + WDT_CTRL); 127 outb(0, wdt->io_base + WDT_RELOAD_CTRL); 128 outb(0xF0, wdt->io_base + WDT_PRESET_PRESCALE); 137 outb(1, wdt->io_base + WDT_RELOAD_PORT); 208 outb(UNLOCK, wdt->io_base + WDT_REG_LOCK); 212 outb(LOC [all...] |
H A D | ni903x_wdt.c | 60 outb(control | NIWD_CONTROL_RESET, wdt->io_base + NIWD_CONTROL); 61 outb(control | NIWD_CONTROL_PET, wdt->io_base + NIWD_CONTROL); 70 outb(((0x00FF0000 & counter) >> 16), wdt->io_base + NIWD_SEED2); 71 outb(((0x0000FF00 & counter) >> 8), wdt->io_base + NIWD_SEED1); 72 outb((0x000000FF & counter), wdt->io_base + NIWD_SEED0); 87 outb(control, wdt->io_base + NIWD_CONTROL); 104 outb(control | NIWD_CONTROL_PET, wdt->io_base + NIWD_CONTROL); 113 outb(NIWD_CONTROL_RESET | NIWD_CONTROL_PROC_RESET, 126 outb(NIWD_CONTROL_RESET, wdt->io_base + NIWD_CONTROL); 218 outb(NIWD_CONTROL_RESE [all...] |
/linux-master/sound/isa/wavefront/ |
H A D | wavefront_fx.c | 56 outb (onoff ? 0x02 : 0x00, dev->fx_op); 80 outb (FX_LSB_TRANSFER, dev->fx_lcr); 81 outb (page, dev->fx_dsp_page); 82 outb (addr, dev->fx_dsp_addr); 83 outb ((data[0] >> 8), dev->fx_dsp_msb); 84 outb ((data[0] & 0xff), dev->fx_dsp_lsb); 92 outb (FX_AUTO_INCR|FX_LSB_TRANSFER, dev->fx_lcr); 93 outb (page, dev->fx_dsp_page); 94 outb (addr, dev->fx_dsp_addr); 97 outb ((dat [all...] |
/linux-master/drivers/gpio/ |
H A D | gpio-it87.c | 85 outb(0x87, REG); 86 outb(0x01, REG); 87 outb(0x55, REG); 88 outb(0x55, REG); 94 outb(0x02, REG); 95 outb(0x02, VAL); 101 outb(LDNREG, REG); 102 outb(ldn, VAL); 107 outb(reg, REG); 113 outb(re [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | dmm32at.c | 166 outb(DMM32AT_FIFO_CTRL_FIFORST, dev->iobase + DMM32AT_FIFO_CTRL_REG); 169 outb(DMM32AT_FIFO_CTRL_SCANEN, 172 outb(chan, dev->iobase + DMM32AT_AI_LO_CHAN_REG); 173 outb(last_chan, dev->iobase + DMM32AT_AI_HI_CHAN_REG); 174 outb(dmm32at_rangebits[range], dev->iobase + DMM32AT_AI_CFG_REG); 219 outb(0xff, dev->iobase + DMM32AT_AI_START_CONV_REG); 343 outb(0, dev->iobase + DMM32AT_CTRDIO_CFG_REG); 346 outb(DMM32AT_CTRL_PAGE_8254, dev->iobase + DMM32AT_CTRL_REG); 349 outb(DMM32AT_CLKCT1, dev->iobase + DMM32AT_CLKCT); 350 outb(lo [all...] |
H A D | mpc624.c | 121 outb(0, dev->iobase + MPC624_ADC); 126 outb(bit, dev->iobase + MPC624_ADC); 130 outb(MPC624_ADSCK | bit, dev->iobase + MPC624_ADC); 212 outb(insn->chanspec, dev->iobase + MPC624_GNMUXCH); 216 outb(MPC624_ADSCK, dev->iobase + MPC624_ADC); 218 outb(MPC624_ADCS | MPC624_ADSCK, dev->iobase + MPC624_ADC); 220 outb(0, dev->iobase + MPC624_ADC);
|
/linux-master/arch/mips/txx9/generic/ |
H A D | smsc_fdc37m81x.c | 60 outb(index, g_smsc_fdc37m81x_base + SMSC_FDC37M81X_CONFIG_INDEX); 67 outb(index, g_smsc_fdc37m81x_base + SMSC_FDC37M81X_CONFIG_INDEX); 68 outb(data, g_smsc_fdc37m81x_base + SMSC_FDC37M81X_CONFIG_DATA); 74 outb(SMSC_FDC37M81X_CONFIG_ENTER, 82 outb(SMSC_FDC37M81X_CONFIG_EXIT,
|
/linux-master/arch/mips/sgi-ip22/ |
H A D | ip22-eisa.c | 89 outb(0x20, EISA_INT2_CTRL); 90 outb(0x20, EISA_INT1_CTRL); 127 outb(1, EISA_EXT_NMI_RESET_CTRL); 129 outb(0, EISA_EXT_NMI_RESET_CTRL); 130 outb(0, EISA_DMA2_WRITE_SINGLE);
|
/linux-master/drivers/media/radio/ |
H A D | radio-aimslab.c | 35 #include <linux/io.h> /* outb, outb_p */ 124 outb(0xd0, isa->io); /* volume steady + sigstr + off */ 128 outb(0x48, isa->io); /* volume down but still "on" */ 131 outb(0x98, isa->io); /* volume up + sigstr + on */ 135 outb(0x58, isa->io); /* volume down + sigstr + on */ 139 outb(0xd8, isa->io); /* volume steady + sigstr + on */ 148 outb(0x90, isa->io); /* volume up but still "on" */ 150 outb(0xc0, isa->io); /* steady volume, mute card */
|
H A D | radio-cadet.c | 42 #include <linux/io.h> /* outb, outb_p */ 122 outb(7, dev->io); /* Select tuner control */ 137 outb(7, dev->io); /* Select tuner control */ 139 outb(0x00, dev->io + 1); /* Ensure WRITE-ENABLE is LOW */ 148 outb(0x01, dev->io + 1); 150 outb(0x00, dev->io + 1); 157 outb(curvol, dev->io + 1); 194 outb(7, dev->io); /* Select tuner control */ 201 outb(7, dev->io); /* Select tuner control */ 202 outb(tes [all...] |