Searched refs:inb (Results 1 - 25 of 60) sorted by relevance

123

/external/syslinux/com32/libupload/
H A Dserial.c78 sif->old.lcr = inb(port + LCR);
79 sif->old.mcr = inb(port + MCR);
80 sif->old.iir = inb(port + IIR);
84 sif->old.dll = inb(port + DLL);
85 sif->old.dlm = inb(port + DLM);
88 (void)inb(port + IER); /* Synchronize */
90 dll = inb(port + DLL);
91 dlm = inb(port + DLM);
92 lcr = inb(port + LCR);
94 (void)inb(por
[all...]
/external/syslinux/com32/lib/
H A Dvdprintf.c39 while ((inb(debug_base + LSR) & 0x20) == 0)
75 (void)inb(debug_base + IER); /* Synchronize */
76 dll = inb(debug_base + DLL);
77 dlm = inb(debug_base + DLM);
78 lcr = inb(debug_base + LCR);
81 (void)inb(debug_base + IER); /* Synchronize */
84 (void)inb(debug_base + IER); /* Synchronize */
94 (void)inb(debug_base + IER); /* Synchronize */
95 if (inb(debug_base + IIR) < 0xc0) {
97 (void)inb(debug_bas
[all...]
/external/llvm/test/MC/X86/
H A Dvalidate-inst-att.s14 inb $65535, %al
16 # CHECK: inb $65535, %al
/external/syslinux/com32/lib/pci/
H A Dcfgtype.c38 oldcf8 = inb(0xcf8);
40 oldcfa = inb(0xcfa);
43 cf8 = inb(0xcf8);
44 cfa = inb(0xcfa);
H A Dreadx.c33 oldcf8 = inb(0xcf8);
34 oldcfa = inb(0xcfa);
H A Dwritex.c31 oldcf8 = inb(0xcf8);
32 oldcfa = inb(0xcfa);
/external/syslinux/gpxe/src/core/
H A Dpc_kbd.c44 if ((inb(0x64) & 1) == 0)
46 scan = inb(0x60);
/external/syslinux/gpxe/src/arch/i386/include/
H A Dpic8259.h51 #define irq_enabled(x) ( ( inb ( IMR_REG(x) ) & IMR_BIT(x) ) == 0 )
52 #define enable_irq(x) outb ( inb( IMR_REG(x) ) & ~IMR_BIT(x), IMR_REG(x) )
53 #define disable_irq(x) outb ( inb( IMR_REG(x) ) | IMR_BIT(x), IMR_REG(x) )
H A Dvga.h31 #define write_att(data,addr) inb(IS1_RC); inb(0x80); outb(addr,ATT_IW); inb(0x80); outb(data,ATT_IW); inb(0x80)
/external/syslinux/gpxe/src/include/gpxe/
H A Dvirtio-pci.h57 ptr[i] = inb(ioaddr + VIRTIO_PCI_CONFIG + offset + i);
62 return inb(ioaddr + VIRTIO_PCI_STATUS);
76 (void)inb(ioaddr + VIRTIO_PCI_ISR);
/external/syslinux/core/
H A Dserirq.c50 val = inb(SerialPort + 5);
55 *dst++ = inb(SerialPort);
57 val = inb(SerialPort + 5);
155 val = inb(0xA1);
156 val2 = inb(0x21);
H A Dconio.c86 ch = inb(SerialPort + 5); /* LSR */
93 ch = inb(SerialPort + 6);
170 data = inb(SerialPort + 5) & 1;
173 data = inb(SerialPort + 6);
231 data = inb(SerialPort + 5) & 1;
236 data = inb(SerialPort + 6);
243 data = inb(SerialPort);
/external/syslinux/gpxe/src/drivers/net/
H A Dns8390.c158 while((inb(eth_asic_base + _3COM_STREG) & _3COM_STREG_DPRDY) == 0)
167 *(dst++) = inb(eth_asic_base + ASIC_PIO);
211 while((inb(eth_asic_base + _3COM_STREG) & _3COM_STREG_DPRDY) == 0)
229 (inb(eth_nic_base + D8390_P0_ISR) & D8390_ISR_RDC)
236 while((inb(eth_nic_base + D8390_P0_ISR) & D8390_ISR_RDC)
262 if(inb(eth_nic_base + 8 + i)!=mcfilter[i])
428 inb(0x84);
434 inb(0x84);
436 inb(0x84);
446 inb(
[all...]
H A Dvia-rhine.c708 if (! (inb(byEECSR) & 0x20))
789 byMIIAdrbak = inb (byMIIAD);
790 byMIICRbak = inb (byMIICR);
797 outb (inb (byMIICR) | 0x40, byMIICR);
799 byMIItemp = inb (byMIICR);
805 byMIItemp = inb (byMIICR);
831 byMIIAdrbak = inb (byMIIAD);
833 byMIICRbak = inb (byMIICR);
839 outb (inb (byMIICR) | 0x40, byMIICR);
841 byMIItemp = inb (byMIIC
[all...]
H A Ddepca.c543 nicsr = inb(nic->ioaddr + DEPCA_NICSR);
701 data = inb(ioaddr + DEPCA_PROM); /* clear counter on DEPCA */
702 data = inb(ioaddr + DEPCA_PROM); /* read data */
704 nicsr = inb(ioaddr + DEPCA_NICSR);
709 data = inb(ioaddr + DEPCA_PROM);
719 nicsr = ((inb(ioaddr + DEPCA_NICSR) & ~SHE & ~RBE & ~IEN) | IM);
753 sum += (u8)(nic->node_addr[i++] = inb(nic->ioaddr + DEPCA_PROM));
754 sum += (u16)((nic->node_addr[i++] = inb(nic->ioaddr + DEPCA_PROM)) << 8);
760 chksum = (u8)inb(nic->ioaddr + DEPCA_PROM);
761 chksum |= (u16)(inb(ni
[all...]
H A Dne2k_isa.c62 *(dst++) = inb(eth_asic_base + ASIC_PIO);
103 if (inb(eth_nic_base + 8 + i) != mcfilter[i])
119 state = inb(ioaddr);
121 regd = inb(ioaddr + D8390_P0_TCR);
123 if (inb(ioaddr + D8390_P0_TCR)) {
162 c = inb(eth_asic_base + NE_RESET);
164 (void) inb(0x84);
280 rstat = inb(eth_nic_base+D8390_P0_RSR);
282 next = inb(eth_nic_base+D8390_P0_BOUND)+1;
285 curr = inb(eth_nic_bas
[all...]
H A Deepro.c48 #define SLOW_DOWN inb(0x80);
306 temp_reg = inb(nic->ioaddr + eeprom_reg);
312 temp_reg = inb(nic->ioaddr + REG1);
316 temp_reg = inb(nic->ioaddr + REG2); /* match broadcast */
318 temp_reg = inb(nic->ioaddr + REG3);
355 if ((inb(nic->ioaddr + STATUS_REG) & 0x40) == 0)
374 inb(nic->ioaddr + STATUS_REG));
518 retval = (retval << 1) | ((inb(ee_addr) & EEDO) ? 1 : 0);
535 id = inb(ioaddr + ID_REG);
539 if (((id = inb(ioadd
[all...]
/external/dtc/
H A Dflattree.c584 static void inbuf_init(struct inbuf *inb, void *base, void *limit) argument
586 inb->base = base;
587 inb->limit = limit;
588 inb->ptr = inb->base;
591 static void flat_read_chunk(struct inbuf *inb, void *p, int len) argument
593 if ((inb->ptr + len) > inb->limit)
596 memcpy(p, inb->ptr, len);
598 inb
601 flat_read_word(struct inbuf *inb) argument
612 flat_realign(struct inbuf *inb, int align) argument
621 flat_read_string(struct inbuf *inb) argument
642 flat_read_data(struct inbuf *inb, int len) argument
659 flat_read_stringtable(struct inbuf *inb, int offset) argument
699 flat_read_mem_reserve(struct inbuf *inb) argument
[all...]
/external/syslinux/com32/include/sys/
H A Dio.h6 static inline uint8_t inb(uint16_t p) function
9 asm volatile ("inb %1,%0":"=a" (v):"Nd"(p));
/external/syslinux/gpxe/src/arch/i386/core/
H A Dtimer2.c69 outb((inb(PPC_PORTB) & ~PPCB_SPKR) | PPCB_T2GATE, PPC_PORTB);
79 return ((inb(PPC_PORTB) & PPCB_T2OUT) == 0);
H A Dx86_io.c83 PROVIDE_IOAPI_INLINE ( x86, inb );
/external/syslinux/core/fs/pxe/
H A Disr.c61 mask = inb(0x21);
64 mask = inb(0xa1);
68 mask = inb(0x21);
/external/syslinux/gpxe/src/arch/i386/firmware/pcbios/
H A DgateA20.c52 while ( ( inb ( K_CMD ) & ( K_IBUF_FUL | K_OBUF_FUL ) ) &&
148 scp_a = inb ( SCP_A );
/external/syslinux/com32/include/hw/
H A Dvga.h101 return 0x3b0 + ((inb(VGA_MISC_OUTPUT_READ) & 1) << 5);
/external/syslinux/gpxe/src/arch/x86/include/gpxe/
H A Dpcidirect.h52 *value = inb ( PCIDIRECT_CONFIG_DATA + ( where & 3 ) );

Completed in 1348 milliseconds

123