Searched refs:outb (Results 1 - 25 of 131) sorted by relevance

123456

/freebsd-9.3-release/sys/amd64/include/
H A Dppireg.h44 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR)
45 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
H A Diodev.h37 #define iodev_write_1 outb
/freebsd-9.3-release/sys/i386/include/
H A Dppireg.h44 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR)
45 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
H A Diodev.h37 #define iodev_write_1 outb
/freebsd-9.3-release/sys/mips/include/
H A Dppireg.h44 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR)
45 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
H A Dtimerreg.h59 outb(TIMER_CNTR2, (pitch) & 0xff); \
60 outb(TIMER_CNTR2, (pitch) >> 8); \
/freebsd-9.3-release/sys/pc98/include/
H A Dppireg.h43 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
44 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR)
/freebsd-9.3-release/sys/ia64/isa/
H A Disa_dma.c86 outb(DMA1_RESET, 0);
87 outb(DMA2_RESET, 0);
191 outb(DMA1_MODE, DMA37MD_CASCADE | chan);
192 outb(DMA1_SMSK, chan);
194 outb(DMA2_MODE, DMA37MD_CASCADE | (chan & 3));
195 outb(DMA2_SMSK, chan & 3);
247 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_WRITE|chan);
249 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_READ|chan);
253 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_WRITE|chan);
255 outb(DMA1_MOD
[all...]
/freebsd-9.3-release/sys/pc98/pc98/
H A Dpc98_machdep.c62 outb(0x439, (inb(0x439) & 0xfb)); /* DMA Accsess Control over 1MB */
63 outb(0x29, (0x0c | 0)); /* Bank Mode Reg. 16M mode */
64 outb(0x29, (0x0c | 1)); /* Bank Mode Reg. 16M mode */
65 outb(0x29, (0x0c | 2)); /* Bank Mode Reg. 16M mode */
66 outb(0x29, (0x0c | 3)); /* Bank Mode Reg. 16M mode */
67 outb(0x11, 0x50);
86 outb(0x43f, 0x42);
90 outb(0xc48, 0x49);
91 outb(0xc4c, 0x00);
92 outb(
[all...]
/freebsd-9.3-release/sys/i386/isa/
H A Delink.c58 outb(ELINK_ID_PORT, ELINK_RESET);
60 outb(ELINK_ID_PORT, 0);
61 outb(ELINK_ID_PORT, 0);
78 outb(ELINK_ID_PORT, c);
/freebsd-9.3-release/sys/x86/isa/
H A Disa_dma.c219 outb(DMA1_MODE, DMA37MD_CASCADE | chan);
220 outb(DMA1_SMSK, chan);
222 outb(DMA2_MODE, DMA37MD_CASCADE | (chan & 3));
223 outb(DMA2_SMSK, chan & 3);
301 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_WRITE|chan);
303 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_READ|chan);
307 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_WRITE|chan);
309 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_READ|chan);
310 outb(DMA1_FFC, 0);
314 outb(wapor
[all...]
H A Delcr.c124 outb(ELCR_PORT + 1, elcr_status >> 8);
126 outb(ELCR_PORT, elcr_status & 0xff);
134 outb(ELCR_PORT, elcr_status & 0xff);
135 outb(ELCR_PORT + 1, elcr_status >> 8);
/freebsd-9.3-release/sys/dev/ppc/
H A Dppc.c434 outb(idport, PC873_SID);
456 outb(idport, pc873xx_regstab[i]);
466 outb(idport, PC873_FER);
473 outb(idport, PC873_FAR);
498 outb(idport, PC873_FAR);
499 outb(idport + 1, val);
500 outb(idport + 1, val);
505 outb(idport, PC873_FAR);
518 outb(idport, PC873_PTR);
540 outb(idpor
[all...]
/freebsd-9.3-release/sys/boot/common/
H A Disapnp.c41 #define outb(x,y) (archsw.arch_isaoutb((x),(y))) macro
63 outb (_PNP_ADDRESS, d);
64 outb (_PNP_WRITE_DATA, r);
77 outb(_PNP_ADDRESS, 0);
78 outb(_PNP_ADDRESS, 0); /* yes, we do need it twice! */
81 outb(_PNP_ADDRESS, cur);
85 outb(_PNP_ADDRESS, cur);
98 outb(_PNP_ADDRESS, SERIAL_ISOLATION);
132 outb(_PNP_ADDRESS, STATUS);
142 outb(_PNP_ADDRES
[all...]
/freebsd-9.3-release/sys/dev/ctau/
H A Dctau.c91 outb (BCR1(port), cr1);
93 outb (BCR0(port), BCR0_TCK);
94 outb (BCR0(port), 0);
144 #define nconfig_set(b) outb (bcr1_port, (bcr1 &= ~BCR1_NCONFIGI))
145 #define nconfig_clr(b) outb (bcr1_port, (bcr1 |= BCR1_NCONFIGI))
147 #define dclk_tick(b) outb (BCR3(b), 0)
151 outb (bcr1_port, bcr1); \
265 outb (BCR0(port), 0);
301 outb (BCR0(port), 0);
316 outb (
[all...]
/freebsd-9.3-release/sys/dev/fb/
H A Dvga.c804 outb(adp->va_crtc_addr, 7);
1072 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 12);
1073 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0);
1074 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 13);
1075 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0);
1267 outb(adp->va_crtc_addr, 0x13);
1268 outb(adp->va_crtc_addr + 1, count);
1291 outb(TSIDX, 1);
1309 outb(adp->va_crtc_addr, 0xc); /* high */
1310 outb(ad
[all...]
/freebsd-9.3-release/sys/dev/cx/
H A Dmachdep.h29 # define outb(port,b) outportb(port,b) macro
41 # define outb(port,b) outp((unsigned short)(port),b) macro
54 # include <asm/io.h> /* should swap outb() arguments */
58 { outb (byte, port); }
61 # undef outb macro
63 # define outb(port,val) __ddk_outb(port, val) macro
H A Dcxddk.c102 outb (BCR0(b->port), 0);
104 outb (BCR0(b->port+0x10), 0);
132 outb (CAR(c->port), c->num & 3);
166 outb (CMR(c->port), mode | (c->mode == M_ASYNC ? CMR_ASYNC : CMR_HDLC));
185 outb (IER(c->port), ier);
200 outb (CAR(c->port), c->num & 3);
203 outb (IER(c->port), ier & ~ (IER_RXD | IER_RET));
207 outb (CAR(c->port), c->num & 3);
210 outb (IER(c->port), ier | (IER_RXD | IER_RET));
212 outb (IE
[all...]
H A Dcsigma.c82 outb (port, cmd);
129 outb (BCR2(port), cr2);
131 outb (BCR0(port), BCR0800_TCK);
132 outb (BCR0(port), 0);
207 outb (BCR0(port), 0);
208 outb (BCR1(port), 0);
209 outb (BCR2(port), 0);
280 outb (BCR0(port), BCR0_NORESET);
282 outb (BCR0(port + 0x10), BCR0_NORESET);
296 outb (BCR
[all...]
/freebsd-9.3-release/lib/libvgl/
H A Dsimple.c123 outb(0x3c4, 0x02);
124 outb(0x3c5, 0x01 << (x&0x3));
133 outb(0x3c4, 0x02); outb(0x3c5, 0x0f);
134 outb(0x3ce, 0x00); outb(0x3cf, (byte)color & 0x0f); /* set/reset */
135 outb(0x3ce, 0x01); outb(0x3cf, 0x0f); /* set/reset enable */
136 outb(0x3ce, 0x08); outb(
[all...]
/freebsd-9.3-release/sys/boot/pc98/libpc98/
H A Dpc98_sys.c53 outb(0xa1, 0x00);
54 outb(0xa3, 0x41);
/freebsd-9.3-release/sys/pc98/cbus/
H A Dcbus_dma.c257 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_WRITE|chan);
259 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_READ|chan);
262 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_WRITE|chan);
264 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_READ|chan);
266 outb(DMA1_FFC, 0);
270 outb(waport, phys);
271 outb(waport, phys>>8);
272 outb(dmapageport[chan], phys>>16);
275 outb(waport + 2, --nbytes);
276 outb(wapor
[all...]
H A Dpcrtc.c57 outb(IO_RTC, ((i&0x01)<<5)|0x07);
59 outb(IO_RTC, ((i&0x01)<<5)|0x17);
61 outb(IO_RTC, ((i&0x01)<<5)|0x07);
72 outb(IO_RTC, 0x07);
74 outb(IO_RTC, 0x0f);
76 outb(IO_RTC, 0x07);
88 outb(IO_RTC, sa); /* set DI & CLK 0 */
90 outb(IO_RTC, sa | 0x10); /* CLK 1 */
93 outb(IO_RTC, sa & 0xef); /* CLK 0 */
104 outb(IO_RT
[all...]
/freebsd-9.3-release/sys/dev/ep/
H A Dif_ep_isa.c128 outb(id_port, EEPROM_CMD_RD | offset);
173 outb(ELINK_ID_PORT, 0);
174 outb(ELINK_ID_PORT, 0);
182 outb(ELINK_ID_PORT, 0);
183 outb(ELINK_ID_PORT, 0);
192 outb(ELINK_ID_PORT, 0xd0);
194 outb(ELINK_ID_PORT, 0xd8);
241 outb(ELINK_ID_PORT, tag--);
259 outb(ELINK_ID_PORT, tag--);
264 outb(ELINK_ID_POR
[all...]
/freebsd-9.3-release/sys/i386/xbox/
H A Dpic16l.s57 outb %al,%dx
60 outb %al,%dx
71 outb %al,%dx
141 outb %al,%dx
145 outb %al,%dx
149 outb %al,%dx
157 outb %al,%dx

Completed in 309 milliseconds

123456