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

12345

/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/pc98/pc98/
H A Dpc98_machdep.c61 outb(0x439, (inb(0x439) & 0xfb)); /* DMA Accsess Control over 1MB */
62 outb(0x29, (0x0c | 0)); /* Bank Mode Reg. 16M mode */
63 outb(0x29, (0x0c | 1)); /* Bank Mode Reg. 16M mode */
64 outb(0x29, (0x0c | 2)); /* Bank Mode Reg. 16M mode */
65 outb(0x29, (0x0c | 3)); /* Bank Mode Reg. 16M mode */
66 outb(0x11, 0x50);
85 outb(0x43f, 0x42);
89 outb(0xc48, 0x49);
90 outb(0xc4c, 0x00);
91 outb(
[all...]
/freebsd-11-stable/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-11-stable/sys/x86/isa/
H A Disa_dma.c216 outb(DMA1_MODE, DMA37MD_CASCADE | chan);
217 outb(DMA1_SMSK, chan);
219 outb(DMA2_MODE, DMA37MD_CASCADE | (chan & 3));
220 outb(DMA2_SMSK, chan & 3);
298 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_WRITE|chan);
300 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_READ|chan);
304 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_WRITE|chan);
306 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_READ|chan);
307 outb(DMA1_FFC, 0);
311 outb(wapor
[all...]
H A Delcr.c123 outb(ELCR_PORT + 1, elcr_status >> 8);
125 outb(ELCR_PORT, elcr_status & 0xff);
133 outb(ELCR_PORT, elcr_status & 0xff);
134 outb(ELCR_PORT + 1, elcr_status >> 8);
/freebsd-11-stable/stand/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-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/dev/ppc/
H A Dppc.c450 outb(idport, PC873_SID);
472 outb(idport, pc873xx_regstab[i]);
482 outb(idport, PC873_FER);
489 outb(idport, PC873_FAR);
514 outb(idport, PC873_FAR);
515 outb(idport + 1, val);
516 outb(idport + 1, val);
521 outb(idport, PC873_FAR);
534 outb(idport, PC873_PTR);
556 outb(idpor
[all...]
/freebsd-11-stable/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...]
H A Dmain.c413 outb(0x3c6, 0xff);
414 outb(0x3ce, 0x01); outb(0x3cf, 0x00); /* set/reset enable */
415 outb(0x3ce, 0x08); outb(0x3cf, 0xff); /* bit mask */
422 outb(0x3c4, 0x02);
423 outb(0x3c5, 0x01<<i);
431 outb(0x3c6, 0xff);
432 outb(0x3ce, 0x01); outb(
[all...]
/freebsd-11-stable/stand/pc98/libpc98/
H A Dpc98_sys.c53 outb(0xa1, 0x00);
54 outb(0xa3, 0x41);
/freebsd-11-stable/contrib/atf/atf-c/detail/
H A Dtest_helpers.c126 atf_process_stream_t outb, errb; local
135 RE(atf_process_stream_init_redirect_path(&outb, &outpath));
137 RE(atf_process_fork(&child, run_h_tc_child, &outb, &errb, &data));
139 atf_process_stream_fini(&outb);
/freebsd-11-stable/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-11-stable/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-11-stable/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
/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-go32.c242 #define outb(p,a,v) outportb((p)->base + (a), (v)) macro
495 outb (port, com_cfcr, 0);
496 outb (port, com_iir, 0);
508 outb (port, com_ier, 0);
511 outb (port, com_fifo,
521 outb (port, com_mcr, MCR_IENABLE);
527 outb (port, com_mcr, 0);
528 outb (port, com_fifo, 0);
546 outb (port, com_cfcr, CFCR_DLAB);
547 outb (por
[all...]

Completed in 244 milliseconds

12345