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

12

/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dhercules.c40 outb (unsigned short port, unsigned char value) function
42 asm volatile ("outb %b0, %w1" : : "a" (value), "Nd" (port));
50 outb (HERCULES_INDEX_REG, 0x0f);
51 outb (0x80, 0);
52 outb (HERCULES_DATA_REG, offset & 0xFF);
53 outb (0x80, 0);
55 outb (HERCULES_INDEX_REG, 0x0e);
56 outb (0x80, 0);
57 outb (HERCULES_DATA_REG, offset >> 8);
58 outb (
[all...]
H A Dserial.c71 asm volatile ("outb %%al, $0x80" : : );
78 outb (unsigned short port, unsigned char value)
80 asm volatile ("outb %b0, %w1" : : "a" (value), "Nd" (port));
81 asm volatile ("outb %%al, $0x80" : : );
108 outb (serial_hw_port + UART_TX, c);
114 outb (0x80, 0);
143 outb (port + UART_IER, 0);
146 outb (port + UART_LCR, UART_DLAB);
159 outb (port + UART_DLL, div & 0xFF);
160 outb (por
77 outb (unsigned short port, unsigned char value) function
[all...]
H A Dsmp-imps.c82 outb (unsigned short port, unsigned char val) function
84 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port));
91 outb (0x70, loc);
92 outb (0x71, val);
98 outb (0x70, loc);
H A Dgraphics.c114 static inline void outb(unsigned short port, unsigned char val) function
116 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port));
120 outb(0x3c4, 2);
121 outb(0x3c5, value);
126 outb(0x3ce, 8);
127 outb(0x3cf, value);
/osnet-11/usr/src/grub/grub2/grub-core/tests/boot/
H A Dlinux.init-i386.S49 outb %al, %dx
51 outb %al, %dx
53 outb %al, %dx
55 outb %al, %dx
57 outb %al, %dx
59 outb %al, %dx
61 outb %al, %dx
63 outb %al, %dx
H A Dlinux.init-x86_64.S48 outb %al, %dx
50 outb %al, %dx
52 outb %al, %dx
54 outb %al, %dx
56 outb %al, %dx
58 outb %al, %dx
60 outb %al, %dx
62 outb %al, %dx
H A Dkbsd.init-i386.S77 outb %al, %dx
79 outb %al, %dx
81 outb %al, %dx
83 outb %al, %dx
85 outb %al, %dx
87 outb %al, %dx
89 outb %al, %dx
91 outb %al, %dx
H A Dkbsd.init-x86_64.S66 outb %al, %dx
68 outb %al, %dx
70 outb %al, %dx
72 outb %al, %dx
74 outb %al, %dx
76 outb %al, %dx
78 outb %al, %dx
80 outb %al, %dx
H A Dkfreebsd.init-i386.S77 outb %al, %dx
79 outb %al, %dx
81 outb %al, %dx
83 outb %al, %dx
85 outb %al, %dx
87 outb %al, %dx
89 outb %al, %dx
91 outb %al, %dx
H A Dkfreebsd.init-x86_64.S64 outb %al, %dx
66 outb %al, %dx
68 outb %al, %dx
70 outb %al, %dx
72 outb %al, %dx
74 outb %al, %dx
76 outb %al, %dx
78 outb %al, %dx
H A Dkernel-8086.S17 outb %al, %dx
36 outb %al, %dx
H A Dkernel-i386.S47 outb %al, %dx
66 outb %al, %dx
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dns8390.c120 outb(src & 0xff, eth_asic_base + WD_GP2);
121 outb(src >> 8, eth_asic_base + WD_GP2);
123 outb(D8390_COMMAND_RD2 |
125 outb(cnt, eth_nic_base + D8390_P0_RBCR0);
126 outb(cnt>>8, eth_nic_base + D8390_P0_RBCR1);
127 outb(src, eth_nic_base + D8390_P0_RSAR0);
128 outb(src>>8, eth_nic_base + D8390_P0_RSAR1);
129 outb(D8390_COMMAND_RD0 |
133 outb(src & 0xff, eth_asic_base + _3COM_DALSB);
134 outb(sr
[all...]
H A Di386_timer.c29 outb((inb(PPC_PORTB) & ~PPCB_SPKR) | PPCB_T2GATE, PPC_PORTB);
31 outb(TIMER2_SEL|WORD_ACCESS|MODE0|BINARY_COUNT, TIMER_MODE_PORT);
33 outb(ticks & 0xFF, TIMER2_PORT);
35 outb(ticks >> 8, TIMER2_PORT);
H A Drtl8139.c206 outb(0x00, nic->ioaddr + Config1);
263 outb(EE_ENB & ~EE_CS, ee_addr);
264 outb(EE_ENB, ee_addr);
270 outb(EE_ENB | dataval, ee_addr);
272 outb(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr);
275 outb(EE_ENB, ee_addr);
279 outb(EE_ENB | EE_SHIFT_CLK, ee_addr);
282 outb(EE_ENB, ee_addr);
287 outb(~EE_CS, ee_addr);
314 outb(CmdRese
[all...]
H A Dvia-rhine.c748 outb (byMIICRbak & 0x7f, byMIICR);
751 outb (byMIIIndex, byMIIAD);
754 outb (inb (byMIICR) | 0x40, byMIICR);
768 outb (byMIIAdrbak, byMIIAD);
769 outb (byMIICRbak, byMIICR);
789 outb (byMIICRbak & 0x7f, byMIICR);
791 outb (byMIISetByte, byMIIAD);
794 outb (inb (byMIICR) | 0x40, byMIICR);
824 outb (inb (byMIICR) | 0x20, byMIICR);
835 outb (byMIIAdrba
[all...]
H A Dpic8259.h50 #define enable_irq(x) outb ( inb( IMR_REG(x) ) & ~IMR_BIT(x), IMR_REG(x) )
51 #define disable_irq(x) outb ( inb( IMR_REG(x) ) | IMR_BIT(x), IMR_REG(x) )
H A Dpic8259.c83 outb ( ICR_EOI_SPECIFIC | ICR_VALUE(irq), ICR_REG(irq) );
85 outb ( ICR_EOI_SPECIFIC | ICR_VALUE(CHAINED_IRQ),
H A D3c595.c108 outb(nic->node_addr[i], BASE + VX_W2_ADDR_0 + i);
198 outb(0x0, BASE + VX_W1_TX_STATUS);
214 outb(*(p+s - 1), BASE + VX_W1_TX_PIO_WR_1);
217 outb(0, BASE + VX_W1_TX_PIO_WR_1); /* Padding */
H A D3c90x.c437 outb(0x01, INF_3C90X.IOAddr + regTxFreeThresh_b);
543 outb(0x00, INF_3C90X.IOAddr + regTxStatus_b);
560 outb(0x00, INF_3C90X.IOAddr + regTxStatus_b);
923 outb(0x01, INF_3C90X.IOAddr + regTxFreeThresh_b);
H A Dsis900.c258 outb(0x09 + i, 0x70);
465 outb(EECS, ee_addr);
558 outb(dataval, mdio_addr);
560 outb(dataval | MDC, mdio_addr);
577 outb(0, mdio_addr);
579 outb(MDC, mdio_addr);
/osnet-11/usr/src/grub/grub2/grub-core/boot/i386/pc/
H A Dstartup_raw.S247 6: outb $0x92
277 outb $0x64
287 5: outb $0x60
292 outb $0x64
329 outb %al, $0x80
330 outb %al, $0x80
/osnet-11/usr/src/grub/grub2/grub-core/lib/i386/
H A Drelocator16.S124 outb $0x92
163 outb %al, $0x80
164 outb %al, $0x80
/osnet-11/usr/src/lib/libpp/common/
H A Dppbuiltin.c283 number = pp.outbuf != pp.outb;
285 p = pp.outb;
H A Dpp.h78 #define ppcheckout() do{if(pp.outp>pp.oute){PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcpy(pp.outbuf,pp.oute,pp.outp-pp.oute);pp.oute-=PPBUFSIZ;pp.outp-=2*PPBUFSIZ;}}}while(0)
408 char* outb; /* output buffer base */ member in struct:ppglobals

Completed in 98 milliseconds

12