Searched refs:outb (Results 26 - 50 of 524) sorted by relevance

1234567891011>>

/linux-master/arch/x86/boot/
H A Dio.h10 #undef outb macro
38 #define outb pio_ops.f_outb macro
H A Da20.c102 outb(0xd1, 0x64); /* Command write */
105 outb(0xdf, 0x60); /* A20 on */
108 outb(0xff, 0x64); /* Null command, but UHCI wants it */
119 outb(port_a, 0x92);
/linux-master/drivers/media/radio/
H A Dradio-terratec.c29 #include <linux/io.h> /* outb, outb_p */
71 outb(0x80, isa->io + 1);
73 outb(0x00, isa->io + 1);
109 outb(WRT_EN | DATA, isa->io);
110 outb(WRT_EN | DATA | CLK_ON, isa->io);
111 outb(WRT_EN | DATA, isa->io);
113 outb(WRT_EN | 0x00, isa->io);
114 outb(WRT_EN | 0x00 | CLK_ON, isa->io);
117 outb(0x00, isa->io);
/linux-master/drivers/i2c/busses/
H A Di2c-isch.c81 outb(temp, SMBHSTSTS);
91 outb(inb(SMBHSTCNT) | 0x10, SMBHSTCNT);
113 outb(temp, SMBHSTSTS);
167 outb((addr << 1) | read_write, SMBHSTADD);
171 outb((addr << 1) | read_write, SMBHSTADD);
173 outb(command, SMBHSTCMD);
177 outb((addr << 1) | read_write, SMBHSTADD);
178 outb(command, SMBHSTCMD);
180 outb(data->byte, SMBHSTDAT0);
184 outb((add
[all...]
H A Dscx200_acb.c123 outb(inb(ACBCTL1) | ACBCTL1_STOP, ACBCTL1);
124 outb(ACBST_STASTR | ACBST_NEGACK, ACBST);
127 outb(0, ACBST);
138 outb(iface->address_byte & ~1, ACBSDA);
144 outb(iface->command, ACBSDA);
153 outb(inb(ACBCTL1) | ACBCTL1_START, ACBCTL1);
159 outb(inb(ACBCTL1) | ACBCTL1_ACK, ACBCTL1);
161 outb(inb(ACBCTL1) & ~ACBCTL1_ACK, ACBCTL1);
162 outb(iface->address_byte, ACBSDA);
166 outb(ifac
[all...]
/linux-master/drivers/net/ethernet/8390/
H A Dapne.c214 outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET);
222 outb(0xff, ioaddr + NE_EN0_ISR); /* Ack all intr. */
248 outb(program_seq[i].value, ioaddr + program_seq[i].offset);
270 outb(0x49, ioaddr + NE_EN0_DCFG);
297 outb(0x49, ioaddr + NE_EN0_DCFG);
358 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
369 outb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */
394 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD);
395 outb(ENISR_RDC, nic_base + NE_EN0_ISR);
396 outb(sizeo
[all...]
H A Dne2k-pci.c267 outb(E8390_NODMA + E8390_PAGE1 + E8390_STOP, ioaddr + E8390_CMD);
269 outb(0xff, ioaddr + 0x0d);
270 outb(E8390_NODMA + E8390_PAGE0, ioaddr + E8390_CMD);
274 outb(reg0, ioaddr);
276 outb(regd, ioaddr + 0x0d);
297 outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET);
310 outb(0xff, ioaddr + EN0_ISR);
343 outb(program_seq[i].value,
359 outb(0x49, ioaddr + EN0_DCFG);
421 outb(
[all...]
/linux-master/drivers/scsi/
H A Dinitio.c281 outb(SE2CS | SE2DO, base + TUL_NVRAM); /* cs+start bit */
283 outb(SE2CS | SE2CLK | SE2DO, base + TUL_NVRAM); /* +CLK */
291 outb(b, base + TUL_NVRAM);
293 outb(b | SE2CLK, base + TUL_NVRAM); /* +CLK */
297 outb(SE2CS, base + TUL_NVRAM); /* -CLK */
311 outb(0, base + TUL_NVRAM); /* -CS */
325 outb(0, base + TUL_NVRAM); /* -CS */
347 outb(SE2CS | SE2CLK, base + TUL_NVRAM); /* +CLK */
349 outb(SE2CS, base + TUL_NVRAM); /* -CLK */
358 outb(
[all...]
H A Dqlogicfas408.c90 outb(3, qbase + 3); /* reset SCSI */
91 outb(2, qbase + 3); /* reset chip */
171 outb(*request++, qbase + 4);
231 outb(2, qbase + 3); /* reset chip */
233 outb(1, qbase + 3); /* clear fifo */
236 outb(1, qbase + 8); /* set for PIO pseudo DMA */
237 outb(0, qbase + 0xb); /* disable ints */
240 outb(0x40, qbase + 0xb); /* enable features */
243 outb(qlcfgc, qbase + 0xc);
245 outb(
[all...]
H A Dqlogicfas408.h91 #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd ))
92 #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | int_type, qbase + 0xd ))
H A Dfdomain.c125 outb(0, fd->base + REG_BCTL);
126 outb(0, fd->base + REG_MCTL);
129 outb(ACTL_RESET | ACTL_CLRFIRQ | PARITY_MASK,
132 outb(ACTL_RESET | PARITY_MASK, fd->base + REG_ACTL);
149 outb(CFG2_32BIT, port + REG_CFG2);
151 outb(0, port + REG_CFG2);
164 outb(i, base + REG_LOOPBACK);
174 outb(BCTL_RST, base + REG_BCTL);
176 outb(0, base + REG_BCTL);
178 outb(
[all...]
/linux-master/drivers/input/mouse/
H A Dlogibm.c63 outb(LOGIBM_READ_X_LOW, LOGIBM_CONTROL_PORT);
65 outb(LOGIBM_READ_X_HIGH, LOGIBM_CONTROL_PORT);
67 outb(LOGIBM_READ_Y_LOW, LOGIBM_CONTROL_PORT);
69 outb(LOGIBM_READ_Y_HIGH, LOGIBM_CONTROL_PORT);
81 outb(LOGIBM_ENABLE_IRQ, LOGIBM_CONTROL_PORT);
91 outb(LOGIBM_ENABLE_IRQ, LOGIBM_CONTROL_PORT);
97 outb(LOGIBM_DISABLE_IRQ, LOGIBM_CONTROL_PORT);
110 outb(LOGIBM_CONFIG_BYTE, LOGIBM_CONFIG_PORT);
111 outb(LOGIBM_SIGNATURE_BYTE, LOGIBM_SIGNATURE_PORT);
120 outb(LOGIBM_DEFAULT_MOD
[all...]
/linux-master/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c124 #define REG0(x) (outb(C4_IMG, (x) + CONFIG4))
126 #define REG1(x) outb(C7_IMG, (x) + CONFIG7); outb(C5_IMG, (x) + CONFIG5)
141 outb(count & 0xff, (x) + TC_LSB); \
142 outb((count >> 8) & 0xff, (x) + TC_MSB); \
143 outb((count >> 16) & 0xff, (x) + TC_HIGH);
217 outb(0x01, io_port + PIO_STATUS);
218 outb(0x00, io_port + PIO_FLAG);
220 outb(C4_IMG, io_port + CONFIG4); /* REG0(io_port); */
221 outb(C3_IM
[all...]
/linux-master/arch/mips/loongson64/
H A Dpm.c31 outb(0xff, PIC_SLAVE_IMR);
33 outb(0xff, PIC_MASTER_IMR);
48 outb(cached_slave_mask, PIC_SLAVE_IMR);
49 outb(cached_master_mask, PIC_MASTER_IMR);
/linux-master/arch/mips/loongson2ef/common/
H A Dpm.c31 outb(0xff, PIC_SLAVE_IMR);
33 outb(0xff, PIC_MASTER_IMR);
48 outb(cached_slave_mask, PIC_SLAVE_IMR);
49 outb(cached_master_mask, PIC_MASTER_IMR);
/linux-master/arch/alpha/kernel/
H A Dpc873xx.c28 outb(reg, base);
37 outb(reg, base);
38 outb(data, base + 1);
39 outb(data, base + 1); /* Must be written twice */
/linux-master/arch/arm/mach-footbridge/
H A Dnetwinder-hw.c37 outb(0x87, 0x370);
38 outb(0x87, 0x370);
43 outb(0xaa, 0x370);
48 outb(reg, 0x370);
49 outb(val, 0x371);
54 outb(reg, 0x370);
55 outb(val >> 8, 0x371);
56 outb(reg + 1, 0x370);
57 outb(val & 255, 0x371);
83 outb(new_gpi
[all...]
/linux-master/drivers/parisc/
H A Dsuperio.c100 outb (OCW3_POLL,IC_PIC1+0);
129 outb(OCW3_ISR,IC_PIC1+0);
143 outb((OCW2_SEOI|local_irq),IC_PIC1 + 0);
244 outb (0x11,IC_PIC1+0); /* ICW1: ICW4 write req | ICW1 */
245 outb (0x00,IC_PIC1+1); /* ICW2: interrupt vector table - not used */
246 outb (0x04,IC_PIC1+1); /* ICW3: Cascade */
247 outb (0x01,IC_PIC1+1); /* ICW4: x86 mode */
250 outb (0xff,IC_PIC1+1); /* OCW1: Mask all interrupts */
251 outb (0xc2,IC_PIC1+0); /* OCW2: priority (3-7,0-2) */
254 outb (
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dvia_utility.c155 outb(0, LUT_INDEX_WRITE);
157 outb(gamma_table[i] >> 16, LUT_DATA);
158 outb(gamma_table[i] >> 8 & 0xFF, LUT_DATA);
159 outb(gamma_table[i] & 0xFF, LUT_DATA);
173 outb(0, LUT_INDEX_WRITE);
175 outb(gamma_table[i] >> 16, LUT_DATA);
176 outb(gamma_table[i] >> 8 & 0xFF, LUT_DATA);
177 outb(gamma_table[i] & 0xFF, LUT_DATA);
210 outb(0, LUT_INDEX_READ);
/linux-master/drivers/comedi/drivers/
H A Ddt2817.c65 outb(oe, dev->iobase + DT2817_CR);
82 outb(s->state & 0xff, iobase + 0);
84 outb((s->state >> 8) & 0xff, iobase + 1);
86 outb((s->state >> 16) & 0xff, iobase + 2);
88 outb((s->state >> 24) & 0xff, iobase + 3);
125 outb(0, dev->iobase + DT2817_CR);
H A Dni_daq_700.c84 outb(s->state & 0xff, dev->iobase + DIO_W);
148 outb(r3_bits | (range & 0x03), dev->iobase + CMD_R3);
152 outb(chan | 0x80, dev->iobase + CMD_R1);
159 outb(0x00, dev->iobase + CMD_R2); /* enable ADC conversions */
160 outb(0x30, dev->iobase + CMO_R); /* mode 0 out0 L, from H */
161 outb(0x00, dev->iobase + ADCLEAR_R); /* clear the ADC FIFO */
165 outb(0x32, dev->iobase + CMO_R);
199 outb(0x80, iobase + CMD_R1); /* disable scanning, ADC to chan 0 */
200 outb(0x00, iobase + CMD_R2); /* clear all bits */
201 outb(
[all...]
/linux-master/drivers/watchdog/
H A Dit8712f_wdt.c94 outb(reg, REG);
100 outb(reg, REG);
101 outb(val, VAL);
107 outb(reg++, REG);
109 outb(reg, REG);
116 outb(LDN, REG);
117 outb(ldn, VAL);
128 outb(0x87, REG);
129 outb(0x01, REG);
130 outb(
[all...]
H A Dit87_wdt.c115 outb(0x87, REG);
116 outb(0x01, REG);
117 outb(0x55, REG);
118 outb(0x55, REG);
124 outb(0x02, REG);
125 outb(0x02, VAL);
131 outb(LDNREG, REG);
132 outb(ldn, VAL);
137 outb(reg, REG);
143 outb(re
[all...]
/linux-master/drivers/accessibility/speakup/
H A Dserialio.c89 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */
90 outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */
91 outb(quot >> 8, ser->port + UART_DLM); /* MS of divisor */
92 outb(cval, ser->port + UART_LCR); /* reset DLAB */
95 outb(0, ser->port + UART_IER);
96 outb(UART_MCR_DTR | UART_MCR_RTS, ser->port + UART_MCR);
141 outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2,
144 outb(UART_IER_MSI | UART_IER_RLSI | UART_IER_RDI,
150 outb(1, speakup_info.port_tts + UART_FCR); /* Turn FIFO On */
162 outb(c
[all...]
/linux-master/drivers/net/ethernet/fujitsu/
H A Dfmvj18x_cs.c445 outb(CONFIG0_RST, ioaddr + CONFIG_0);
447 outb(CONFIG0_RST_1, ioaddr + CONFIG_0);
451 outb(BANK_0, ioaddr + CONFIG_1);
453 outb(BANK_0U, ioaddr + CONFIG_1);
735 outb(tx_stat, ioaddr + TX_STATUS);
736 outb(rx_stat, ioaddr + RX_STATUS);
749 outb(DO_TX | lp->tx_queue, ioaddr + TX_START);
762 outb(D_TX_INTR, ioaddr + TX_INTR);
763 outb(D_RX_INTR, ioaddr + RX_INTR);
849 outb(DO_T
[all...]

Completed in 242 milliseconds

1234567891011>>