Searched refs:outb (Results 76 - 100 of 524) sorted by relevance

1234567891011>>

/linux-master/drivers/hwmon/
H A Dsch56xx-common.c73 outb(reg, base);
85 outb(SIO_UNLOCK_KEY, base);
92 outb(SIO_REG_LDSEL, base);
93 outb(ld, base + 1);
98 outb(SIO_LOCK_KEY, base);
118 outb(val, addr + 1);
121 outb(0x00, addr + 2);
122 outb(0x80, addr + 3);
125 outb(cmd, addr + 4); /* VREG Access Type read:0x02 write:0x03 */
126 outb(
[all...]
/linux-master/drivers/staging/olpc_dcon/
H A Dolpc_dcon_xo_1_5.c73 outb(BIT_GPIO12, VX855_GPI_STATUS_CHG);
112 outb(inb(VX855_GPI_SCI_SMI) | BIT_GPIO12, VX855_GPI_SCI_SMI);
136 outb(port, 0x3c4);
151 outb(port, 0x3c4);
152 outb(tmp, 0x3c5);
177 outb(inb(VX855_GPI_SCI_SMI) | BIT_GPIO12, VX855_GPI_SCI_SMI);
/linux-master/include/linux/
H A Dvia-core.h190 outb(index, port);
196 outb(index, port);
197 outb(data, port + 1);
204 outb(index, port);
206 outb((data & mask) | (old & ~mask), port + 1);
215 outb((data & mask) | (old & ~mask), VIA_MISC_REG_WRITE);
/linux-master/drivers/isdn/hardware/mISDN/
H A Diohelper.h32 outb(val, hw->ap.port + off); \
46 outb(off, hw->ap.ale); \
51 outb(off, hw->ap.ale); \
52 outb(val, hw->ap.port); \
56 outb(off, hw->ap.ale); \
61 outb(off, hw->ap.ale); \
/linux-master/drivers/comedi/drivers/
H A Dquatech_daqp_cs.c189 outb(DAQP_CMD_STOP, dev->iobase + DAQP_CMD_REG);
190 outb(0, dev->iobase + DAQP_CTRL_REG);
277 outb(val & 0xff, dev->iobase + DAQP_SCANLIST_REG);
278 outb((val >> 8) & 0xff, dev->iobase + DAQP_SCANLIST_REG);
306 outb(0, dev->iobase + DAQP_AUX_REG);
309 outb(DAQP_CMD_RSTQ, dev->iobase + DAQP_CMD_REG);
315 outb(DAQP_CMD_RSTF, dev->iobase + DAQP_CMD_REG);
318 outb(DAQP_CTRL_PACER_CLK_100KHZ, dev->iobase + DAQP_CTRL_REG);
326 outb(DAQP_CMD_ARM | DAQP_CMD_FIFO_DATA,
340 outb(DAQP_CMD_STO
[all...]
H A Drti802.c50 outb(chan, dev->iobase + RTI802_SELECT);
61 outb(val & 0xff, dev->iobase + RTI802_DATALOW);
62 outb((val >> 8) & 0xff, dev->iobase + RTI802_DATAHIGH);
H A Dpcmda12.c71 outb(val & 0xff, ioreg);
72 outb((val >> 8) & 0xff, ioreg + 1);
109 outb(0, dev->iobase + (i * 2));
110 outb(0, dev->iobase + (i * 2) + 1);
H A Dfl512.c58 outb(chan, dev->iobase + FL512_AI_MUX_REG);
61 outb(0, dev->iobase + FL512_AI_START_CONV_REG);
89 outb(val & 0x0ff, dev->iobase + FL512_AO_DATA_REG(chan));
90 outb((val >> 8) & 0xf, dev->iobase + FL512_AO_DATA_REG(chan));
H A Dpcmmio.c194 outb(val & 0xff, iobase + PCMMIO_PORT_REG(port + 0));
195 outb((val >> 8) & 0xff, iobase + PCMMIO_PORT_REG(port + 1));
196 outb((val >> 16) & 0xff, iobase + PCMMIO_PORT_REG(port + 2));
198 outb(PCMMIO_PAGE(page), iobase + PCMMIO_PAGE_LOCK_REG);
199 outb(val & 0xff, iobase + PCMMIO_PAGE_REG(0));
200 outb((val >> 8) & 0xff, iobase + PCMMIO_PAGE_REG(1));
201 outb((val >> 16) & 0xff, iobase + PCMMIO_PAGE_REG(2));
221 outb(PCMMIO_PAGE(page), iobase + PCMMIO_PAGE_LOCK_REG);
570 outb(cmd, iobase + PCMMIO_AI_CMD_REG);
580 outb(cm
[all...]
/linux-master/drivers/input/mouse/
H A Dpc110pad.c45 outb(handshake | 1, pc110pad_io + 2);
47 outb(handshake & ~1, pc110pad_io + 2);
70 outb(PC110PAD_OFF, pc110pad_io + 2);
78 outb(PC110PAD_ON, pc110pad_io + 2);
103 outb(PC110PAD_OFF, pc110pad_io + 2);
153 outb(PC110PAD_OFF, pc110pad_io + 2);
/linux-master/drivers/parport/
H A Dparport_pc.c124 outb(new, ECONTROL(pb));
218 outb(r | 0x01, STATUS(pb)); /* Some reset by writing 1 */
219 outb(r & 0xfe, STATUS(pb)); /* Others by writing 0 */
259 outb(c, CONTROL(p));
361 outb(*((char *)buf), EPPDATA(port));
412 outb(*((char *)buf), EPPADDR(port));
573 outb(byte, fifo);
774 outb(0, FIFO(port));
869 outb(0, FIFO(port));
978 outb(ke
[all...]
/linux-master/arch/sparc/include/asm/
H A Dns87303.h104 outb(index, port);
108 outb(value, port + 1);
109 outb(value, port + 1);
/linux-master/arch/mips/loongson2ef/lemote-2f/
H A Dpm.c60 outb((0xff & ~(1 << I8042_KBD_IRQ)), PIC_MASTER_IMR);
67 outb(irq_mask & ~(1 << PIC_CASCADE_IR), PIC_MASTER_IMR);
69 outb(0xff & ~(1 << (SCI_IRQ_NUM - 8)), PIC_SLAVE_IMR);
/linux-master/drivers/platform/chrome/
H A Dcros_ec_lpc_mec.c29 outb((addr & 0xfc) | access_type, MEC_EMI_EC_ADDRESS_B0(mec_emi_base));
30 outb((addr >> 8) & 0x7f, MEC_EMI_EC_ADDRESS_B1(mec_emi_base));
107 outb(buf[i], io_addr++);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_vga.c38 outb(0x01, VGA_SEQ_I);
40 outb(sr1 | VGA_SR01_SCREEN_OFF, VGA_SEQ_D);
96 outb(inb(VGA_MIS_R), VGA_MIS_W);
/linux-master/arch/sh/boards/mach-hp6xx/
H A Dpm.c106 outb(0, HD64461_PCC1CSCIER);
110 outb(scr, HD64461_PCC1SCR);
138 outb(0x4c, HD64461_PCC1CSCIER);
139 outb(0x00, HD64461_PCC1CSCR);
/linux-master/drivers/watchdog/
H A Debc-c384_wdt.c48 outb(t, PET_ADDR);
55 outb(0x00, PET_ADDR);
68 outb(0x00, CFG_ADDR);
73 outb(0x80, CFG_ADDR);
H A Dexar_wdt.c88 outb(key, config_port);
89 outb(key, config_port);
96 outb(EXAR_EXIT_KEY, config_port);
103 outb(reg, config_port);
110 outb(reg, config_port);
111 outb(val, config_port + 1);
135 outb(priv->timeout, rt_base + WDT_VAL);
136 outb(priv->timeout, rt_base + WDT_VAL);
149 outb(0xFF, rt_base + WDT_VAL);
150 outb(
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-via.c43 outb(state ? inb(I2C_DIR) & ~I2C_SCL : inb(I2C_DIR) | I2C_SCL, I2C_DIR);
48 outb(state ? inb(I2C_DIR) & ~I2C_SDA : inb(I2C_DIR) | I2C_SDA, I2C_DIR);
121 outb(inb(I2C_DIR) & ~(I2C_SDA | I2C_SCL), I2C_DIR);
122 outb(inb(I2C_OUT) & ~(I2C_SDA | I2C_SCL), I2C_OUT);
/linux-master/drivers/media/rc/
H A Dite-cir.c536 outb(val, dev->cir_addr + IT87_RCR);
539 outb((carrier_freq_bits << IT87_CFQ_SHIFT) | pulse_width_bits,
573 outb(value, dev->cir_addr + IT87_DR);
581 outb(inb(dev->cir_addr + IT87_RCR) | IT87_RXACT,
585 outb(inb(dev->cir_addr + IT87_TCR1) | IT87_FIFOCLR,
593 outb(inb(dev->cir_addr + IT87_IER) & ~(IT87_RDAIE | IT87_RFOIE),
597 outb(inb(dev->cir_addr + IT87_RCR) & ~IT87_RXEN,
601 * in the previous outb() call) */
609 outb(inb(dev->cir_addr + IT87_RCR) | IT87_RXEN,
616 outb(in
[all...]
/linux-master/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c173 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */
174 outb(divisor, DLL(dev->base_addr));
175 outb(divisor >> 8, DLM(dev->base_addr));
176 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */
182 outb(0x00, THR(dev->base_addr));
282 outb(0x00, THR(dev->base_addr));
290 outb(0x0e | (!!bc->modem.ser12.tx_bit), MCR(dev->base_addr));
292 outb(0x0d, MCR(dev->base_addr)); /* transmitter off */
349 outb(b1 | 0x10, MCR(iobase)); /* loopback mode */
351 outb(
[all...]
H A Dbaycom_ser_hdx.c158 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */
159 outb(divisor, DLL(dev->base_addr));
160 outb(0, DLM(dev->base_addr));
161 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */
167 outb(0x00, THR(dev->base_addr));
193 outb(0x0e | (!!bc->modem.ser12.tx_bit), MCR(dev->base_addr));
339 outb(0x0d, MCR(dev->base_addr)); /* transmitter off */
394 outb(0x00, THR(dev->base_addr));
431 outb(b1 | 0x10, MCR(iobase)); /* loopback mode */
433 outb(
[all...]
/linux-master/drivers/platform/x86/
H A Dhdaps.c114 outb(0x11, 0x1610);
115 outb(0x01, 0x161f);
213 outb(0x13, 0x1610);
214 outb(0x01, 0x161f);
234 outb(0x17, 0x1610);
235 outb(0x81, 0x1611);
236 outb(0x01, 0x161f);
245 outb(0x14, 0x1610);
246 outb(0x01, 0x1611);
247 outb(
[all...]
/linux-master/drivers/char/
H A Dtoshiba.c108 outb(0x8e, 0xe4);
135 outb(0xbe, 0xe4);
144 outb(0xbe, 0xe4);
146 outb(0xbe, 0xe4);
147 outb (al | 0x01, 0xe5);
155 outb(0xbe, 0xe4);
157 outb(0xbe, 0xe4);
158 outb(al & 0xfe, 0xe5);
171 outb(0xe0, 0xe4);
180 outb(
[all...]
/linux-master/arch/x86/kernel/
H A Dreboot_fixups_32.c44 outb(1, 0x92);
52 outb(0x2, 0xcf9);

Completed in 292 milliseconds

1234567891011>>