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

1234

/freebsd-12-stable/sys/i386/include/
H A Dppireg.h46 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR)
47 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
H A Diodev.h39 #define iodev_write_1 outb
/freebsd-12-stable/sys/amd64/include/
H A Dppireg.h46 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR)
47 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
H A Diodev.h39 #define iodev_write_1 outb
/freebsd-12-stable/sys/dev/ep/
H A Delink.c62 outb(ELINK_ID_PORT, ELINK_RESET);
64 outb(ELINK_ID_PORT, 0x00);
65 outb(ELINK_ID_PORT, 0x00);
82 outb(ELINK_ID_PORT, c);
H A Dif_ep_isa.c122 outb(id_port, EEPROM_CMD_RD | offset);
167 outb(ELINK_ID_PORT, 0);
168 outb(ELINK_ID_PORT, 0);
176 outb(ELINK_ID_PORT, 0);
177 outb(ELINK_ID_PORT, 0);
186 outb(ELINK_ID_PORT, 0xd0);
188 outb(ELINK_ID_PORT, 0xd8);
230 outb(ELINK_ID_PORT, tag--);
248 outb(ELINK_ID_PORT, tag--);
253 outb(ELINK_ID_POR
[all...]
/freebsd-12-stable/sys/x86/isa/
H A Disa_dma.c218 outb(DMA1_MODE, DMA37MD_CASCADE | chan);
219 outb(DMA1_SMSK, chan);
221 outb(DMA2_MODE, DMA37MD_CASCADE | (chan & 3));
222 outb(DMA2_SMSK, chan & 3);
300 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_WRITE|chan);
302 outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_READ|chan);
306 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_WRITE|chan);
308 outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_READ|chan);
309 outb(DMA1_FFC, 0);
313 outb(wapor
[all...]
H A Delcr.c125 outb(ELCR_PORT + 1, elcr_status >> 8);
127 outb(ELCR_PORT, elcr_status & 0xff);
135 outb(ELCR_PORT, elcr_status & 0xff);
136 outb(ELCR_PORT + 1, elcr_status >> 8);
H A Dclock.c174 outb(TIMER_MODE, TIMER_SEL2 | (mode & 0x3f));
187 outb(TIMER_MODE, TIMER_SEL2 | TIMER_SQWAVE | TIMER_16BIT);
199 outb(TIMER_CNTR2, freq & 0xff);
200 outb(TIMER_CNTR2, freq >> 8);
212 outb(TIMER_MODE, TIMER_SEL0 | TIMER_LATCH);
345 outb(TIMER_MODE, new_mode);
346 outb(TIMER_CNTR0, 0);
347 outb(TIMER_CNTR0, 0);
351 outb(TIMER_MODE, new_mode);
352 outb(TIMER_CNTR
[all...]
H A Datpic.c184 outb(atpics[MASTER].at_ioaddr, OCW2_EOI);
199 outb(atpics[SLAVE].at_ioaddr, OCW2_EOI);
201 outb(atpics[MASTER].at_ioaddr, OCW2_EOI);
251 outb(ap->at_ioaddr + ICU_IMR_OFFSET, ap->at_imen);
265 outb(ap->at_ioaddr + ICU_IMR_OFFSET, ap->at_imen);
416 outb(pic->at_ioaddr, ICW1_RESET | ICW1_IC4);
420 outb(imr_addr, pic->at_intbase);
428 outb(imr_addr, ICU_SLAVEID);
430 outb(imr_addr, IRQ_MASK(ICU_SLAVEID));
434 outb(imr_add
[all...]
/freebsd-12-stable/sys/dev/ppc/
H A Dppc.c448 outb(idport, PC873_SID);
470 outb(idport, pc873xx_regstab[i]);
480 outb(idport, PC873_FER);
487 outb(idport, PC873_FAR);
512 outb(idport, PC873_FAR);
513 outb(idport + 1, val);
514 outb(idport + 1, val);
519 outb(idport, PC873_FAR);
532 outb(idport, PC873_PTR);
554 outb(idpor
[all...]
/freebsd-12-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-12-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-12-stable/sys/dev/fb/
H A Dvga.c806 outb(adp->va_crtc_addr, 7);
1077 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 12);
1078 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0);
1079 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 13);
1080 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0);
1314 outb(adp->va_crtc_addr, 0x13);
1315 outb(adp->va_crtc_addr + 1, count);
1338 outb(TSIDX, 1);
1356 outb(adp->va_crtc_addr, 0xc); /* high */
1357 outb(ad
[all...]
/freebsd-12-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-12-stable/lib/libvgl/
H A Dsimple.c125 outb(0x3c4, 0x02);
126 outb(0x3c5, 0x01 << (x&0x3));
135 outb(0x3c4, 0x02); outb(0x3c5, 0x0f);
136 outb(0x3ce, 0x00); outb(0x3cf, (byte)color & 0x0f); /* set/reset */
137 outb(0x3ce, 0x01); outb(0x3cf, 0x0f); /* set/reset enable */
138 outb(0x3ce, 0x08); outb(
[all...]
H A Dmain.c415 outb(0x3c6, 0xff);
416 outb(0x3ce, 0x01); outb(0x3cf, 0x00); /* set/reset enable */
417 outb(0x3ce, 0x08); outb(0x3cf, 0xff); /* bit mask */
424 outb(0x3c4, 0x02);
425 outb(0x3c5, 0x01<<i);
433 outb(0x3c6, 0xff);
434 outb(0x3ce, 0x01); outb(
[all...]
/freebsd-12-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-12-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...]
/freebsd-12-stable/stand/i386/libi386/
H A Drelocater_tramp.S170 outb %al,$0x20 # master,
171 outb %al,$0xa0 # slave
173 outb %al,$0x21 # master
175 outb %al,$0xa1 # slave
177 outb %al,$0x21 # master
179 outb %al,$0xa1 # slave
181 outb %al,$0x21 # master,
182 outb %al,$0xa1 # slave
184 outb %al,$0xa1 # IMR
186 outb
[all...]
/freebsd-12-stable/sys/i386/acpica/
H A Dacpi_wakecode.S74 outb %al, $TIMER_MODE
79 outb %al, $IO_PPI
83 outb %al, $TIMER_CNTR2
85 outb %al, $TIMER_CNTR2
/freebsd-12-stable/stand/i386/boot2/
H A Dsio.S32 outb %al,(%dx) # and DLAB
38 outb %al,(%dx) # DLAB
41 outb %al,(%dx) # DTR
67 outb %al,(%dx) # Write character
/freebsd-12-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mad.c33 int mlx5_core_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, argument
61 memcpy(outb, resp,

Completed in 289 milliseconds

1234