| /dragonfly/lib/libvgl/ |
| HD | simple.c | 310 inb(0x3DA); in VGLRestorePalette() 314 inb(0x84); in VGLRestorePalette() 316 inb(0x84); in VGLRestorePalette() 318 inb(0x84); in VGLRestorePalette() 320 inb(0x3DA); in VGLRestorePalette() 330 inb(0x3DA); in VGLSavePalette() 333 VGLSavePaletteRed[i] = inb(0x3C9); in VGLSavePalette() 334 inb(0x84); in VGLSavePalette() 335 VGLSavePaletteGreen[i] = inb(0x3C9); in VGLSavePalette() 336 inb(0x84); in VGLSavePalette() [all …]
|
| HD | mouse.c | 103 crtcidx = inb(0x3c4); in VGLMousePointerShow() 104 crtcval = inb(0x3c5); in VGLMousePointerShow() 105 gdcidx = inb(0x3ce); in VGLMousePointerShow() 106 gdcval = inb(0x3cf); in VGLMousePointerShow() 129 crtcidx = inb(0x3c4); in VGLMousePointerHide() 130 crtcval = inb(0x3c5); in VGLMousePointerHide() 131 gdcidx = inb(0x3ce); in VGLMousePointerHide() 132 gdcval = inb(0x3cf); in VGLMousePointerHide()
|
| /dragonfly/stand/boot/pc32/libi386/ |
| HD | vidconsole.c | 547 inb(IO_DUMMY); inb(IO_DUMMY); in delay7() 548 inb(IO_DUMMY); inb(IO_DUMMY); in delay7() 549 inb(IO_DUMMY); inb(IO_DUMMY); in delay7() 566 (void)inb(0x84); in delay1ms() 586 while (inb(IO_KBD + KBD_STATUS_PORT) & KBDS_ANY_BUFFER_FULL) { in probe_keyboard() 588 inb(IO_KBD + KBD_DATA_PORT); in probe_keyboard() 594 if (((i = inb(IO_KBD + KBD_STATUS_PORT)) in probe_keyboard() 599 inb(IO_KBD + KBD_DATA_PORT); in probe_keyboard() 611 if (inb(IO_KBD + KBD_STATUS_PORT) & KBDS_ANY_BUFFER_FULL) in probe_keyboard() 619 i = inb(IO_KBD + KBD_DATA_PORT); in probe_keyboard()
|
| HD | comconsole.c | 79 if (inb(COMPORT + com_lsr) == 0xFF) in comc_probe() 84 inb(COMPORT + com_data); in comc_probe() 121 inb(COMPORT + com_data); in comc_init() 132 if (inb(COMPORT + com_lsr) & LSR_TXRDY) { in comc_putchar() 142 return(comc_ischar() ? inb(COMPORT + com_data) : -1); in comc_getchar() 148 return(inb(COMPORT + com_lsr) & LSR_RXRDY); in comc_ischar()
|
| /dragonfly/sys/dev/misc/ppc/ |
| HD | ppc.c | 457 (void)inb(idport); (void)inb(idport); in ppc_pc873xx_detect() 458 (void)inb(idport); (void)inb(idport); in ppc_pc873xx_detect() 469 val = inb(idport + 1); in ppc_pc873xx_detect() 492 inb(idport + 1) & 0xff); in ppc_pc873xx_detect() 501 val = inb(idport + 1); in ppc_pc873xx_detect() 508 val = inb(idport + 1); in ppc_pc873xx_detect() 540 val = inb(idport + 1) & 0x3; in ppc_pc873xx_detect() 553 ptr = inb(idport + 1); in ppc_pc873xx_detect() 592 pcr = inb(idport + 1); in ppc_pc873xx_detect() 615 ptr = inb(idport + 1); in ppc_pc873xx_detect() [all …]
|
| /dragonfly/sys/dev/video/fb/ |
| HD | vga.c | 556 if (inb(CRTC) != 7) in verify_adapter() 772 if (inb(TSREG) & 1) in set_display_start() 792 inb(CRTC + 6); in set_display_start() 795 inb(CRTC + 6); in set_display_start() 1141 outb(TSIDX, 0x02); buf[0] = inb(TSREG); in set_font_mode() 1142 outb(TSIDX, 0x04); buf[1] = inb(TSREG); in set_font_mode() 1143 outb(GDCIDX, 0x04); buf[2] = inb(GDCREG); in set_font_mode() 1144 outb(GDCIDX, 0x05); buf[3] = inb(GDCREG); in set_font_mode() 1145 outb(GDCIDX, 0x06); buf[4] = inb(GDCREG); in set_font_mode() 1146 inb(CRTC + 6); in set_font_mode() [all …]
|
| /dragonfly/sys/libkern/ |
| HD | hexncpy.c | 42 hexncpy(const u_char *inb, int inlen, char *outb, int outlen, const char *sep) in hexncpy() argument 52 KKASSERT((outb != NULL && inb != NULL && outlen >= MIN_OUTBLEN)); in hexncpy() 57 *outb++ = hexdigit[*inb >> 4]; in hexncpy() 58 *outb++ = hexdigit[*inb++ & 0xf]; in hexncpy()
|
| /dragonfly/stand/boot/common/ |
| HD | isapnp.c | 39 #define inb(x) (archsw.arch_isainb((x))) macro 99 bit = inb(isapnp_readport) == 0x55; in isapnp_get_serial() 103 bit = (inb(isapnp_readport) == 0xaa) && bit; in isapnp_get_serial() 133 if ((inb(isapnp_readport)) & 0x1) in isapnp_get_resource_info() 142 temp = inb(isapnp_readport); in isapnp_get_resource_info()
|
| /dragonfly/stand/boot/pc32/boot2/ |
| HD | sio.S | 76 sio_putc.1: inb (%dx),%al # Transmitter buffer empty? 91 inb (%dx),%al # Read character 99 inb (%dx),%al # Received data ready? 105 inb (%dx),%al
|
| HD | boot1.S | 279 inb $0x64,%al # Get status 284 seta20.2: inb $0x64,%al # Get status
|
| /dragonfly/sys/dev/serial/sio/ |
| HD | sio.c | 912 if ((inb(esp_port) & 0xf3) == 0) { in espattach() 925 dips = inb(esp_port + ESP_STATUS1); in espattach() 942 val = inb(esp_port + ESP_STATUS1); /* clear reg 1 */ in espattach() 943 val = inb(esp_port + ESP_STATUS2); in espattach() 1044 com->mcr_image = inb(com->modem_ctl_port); in sioattach() 1115 switch (inb(com->int_id_port) & IIR_FIFO_MASK) { in sioattach() 1247 inb(siocniobase + com_data); in sioattach() 1382 if (!(inb(com->line_status_port) & LSR_RXRDY)) in sioopen() 1386 (void) inb(com->data_port); in sioopen() 1391 (void) inb(com->line_status_port); in sioopen() [all …]
|
| /dragonfly/usr.bin/tcopy/ |
| HD | tcopy.c | 222 char *inb; in verify() local 224 inb = getspace(maxblk); in verify() 227 if ((inn = read(inp, inb, inmaxblk)) == -1) { in verify() 230 inn = read(inp, inb, inmaxblk); in verify() 259 if (bcmp(inb, outb, inn)) { in verify()
|
| /dragonfly/sys/platform/pc64/isa/ |
| HD | clock.c | 297 count = (uint8_t)inb(i8254_walltimer_cntr); /* get countdown */ in i8254_cputimer_count() 298 count |= ((uint8_t)inb(i8254_walltimer_cntr) << 8); in i8254_cputimer_count() 361 count = (uint8_t)inb(TIMER_CNTR0); /* lsb */ in i8254_intr_reload() 362 count |= ((uint8_t)inb(TIMER_CNTR0) << 8); /* msb */ in i8254_intr_reload() 499 outb(IO_PPI, inb(IO_PPI)&0xFC); /* disable counter2 output to speaker */ in sysbeepstop() 518 outb(IO_PPI, inb(IO_PPI) | 3); in sysbeep() 536 inb(0x84); in rtcin() 537 val = inb(IO_RTC + 1); in rtcin() 538 inb(0x84); in rtcin() 547 inb(0x84); in writertc() [all …]
|
| HD | isa_intr.c | 66 int isa_port = inb(0x61); in isa_nmi() 67 int eisa_port = inb(0x461); in isa_nmi()
|
| /dragonfly/sys/dev/netif/sn/ |
| HD | if_sn.c | 417 if (inb(BASE + INTR_STAT_REG_B) & IM_ALLOC_INT) in snstart() 431 mask = inb(BASE + INTR_MASK_REG_B) | IM_ALLOC_INT; in snstart() 445 packet_no = inb(BASE + ALLOC_RESULT_REG_B); in snstart() 507 mask = inb(BASE + INTR_MASK_REG_B) | (IM_TX_INT | IM_TX_EMPTY_INT); in snstart() 619 packet_no = inb(BASE + ALLOC_RESULT_REG_B); in snresume() 699 mask = inb(BASE + INTR_MASK_REG_B) | (IM_TX_INT | IM_TX_EMPTY_INT); in snresume() 752 mask = inb(BASE + INTR_MASK_REG_B); in sn_intr() 759 interrupts = inb(BASE + INTR_STAT_REG_B); in sn_intr() 943 mask |= inb(BASE + INTR_MASK_REG_B); in sn_intr() 1041 *data = inb(BASE + DATA_REG_B); in snread()
|
| /dragonfly/tools/tools/net80211/wesside/wesside/ |
| HD | aircrack-ptw-lib.c | 110 static int compare(const void * ina, const void * inb) { in compare() argument 112 PTW_tableentry * b = (PTW_tableentry * )inb; in compare() 123 static int comparedoublesorthelper(const void * ina, const void * inb) { in comparedoublesorthelper() argument 125 doublesorthelper * b = (doublesorthelper * )inb; in comparedoublesorthelper() 168 static int comparesorthelper(const void * ina, const void * inb) { in comparesorthelper() argument 170 sorthelper * b = (sorthelper * ) inb; in comparesorthelper()
|
| /dragonfly/sys/bus/isa/x86_64/ |
| HD | isa_dma.c | 456 low1 = inb(waport); in isa_dmastatus() 457 high1 = inb(waport); in isa_dmastatus() 459 low2 = inb(waport); in isa_dmastatus() 460 high2 = inb(waport); in isa_dmastatus()
|
| /dragonfly/sys/platform/pc64/icu/ |
| HD | elcr.c | 75 elcr_status = inb(ELCR_PORT) | inb(ELCR_PORT + 1) << 8; in elcr_probe()
|
| HD | icu.c | 153 irr1 = inb(IO_ICU1); in icu_irq_pending() 154 irr2 = inb(IO_ICU2); in icu_irq_pending()
|
| /dragonfly/sys/bus/isa/ |
| HD | pnp.c | 139 return (inb(3 | (pnp_rd_port <<2))); 179 bit = inb((pnp_rd_port << 2) | 0x3) == 0x55; in pnp_get_serial() 183 bit = (inb((pnp_rd_port << 2) | 0x3) == 0xaa) && bit; in pnp_get_serial() 214 if ((inb((pnp_rd_port << 2) | 0x3)) & 0x1) in pnp_get_resource_info() 223 temp = inb((pnp_rd_port << 2) | 0x3); in pnp_get_resource_info()
|
| /dragonfly/test/stress/stress2/misc/ |
| HD | ldt.sh | 221 inb(unsigned int port) 256 inb(port_num); 276 inb(port_num);
|
| /dragonfly/test/testcases/libnvmm/ |
| HD | h_io_assist_asm.S | 56 inb $123 61 inb %dx
|
| /dragonfly/share/examples/drivers/ |
| HD | make_device_driver.sh | 142 val = inb (dev->id_iobase); 153 val = inb (dev->id_iobase) & 0x0f;
|
| /dragonfly/sys/bus/iicbus/pcf/ |
| HD | pcf.c | 252 data = inb(pcf->pcf_base); in PCF_GET_S0() 263 data = inb(pcf->pcf_base+1); in PCF_GET_S1()
|
| /dragonfly/sys/dev/video/fb/bmp/ |
| HD | splash_bmp.c | 593 inb(adp->va_crtc_addr + 6); /* reset flip-flop */ in bmp_Draw() 600 inb(adp->va_crtc_addr + 6); /* reset flip-flop */ in bmp_Draw()
|