Searched refs:inb (Results 26 - 50 of 67) sorted by relevance

123

/freebsd-current/sys/powerpc/include/
H A Dpio.h160 #define inb(a) (__inb((volatile u_int8_t *)(a))) macro
161 #define in8(a) inb(a)
174 #define in8rb(a) inb(a)
/freebsd-current/tools/tools/bhyve/
H A Dfwctl_fetch.c36 buf[i] = inb(FWCTL_IN);
/freebsd-current/sys/i386/acpica/
H A Dacpi_wakecode.S75 inb $IO_PPI, %al
H A Dacpi_wakeup.c154 mpbiosreason = inb(CMOS_DATA);
/freebsd-current/stand/i386/gptboot/
H A Dgptldr.S123 inb $0x64,%al # Get status
128 seta20.2: inb $0x64,%al # Get status
/freebsd-current/sys/i386/i386/
H A Dgeode.c287 inb(cba + 0x3c), inb(cba + 0x3d));
H A Dmp_machdep.c106 #define CHECK_READ(A) (outb(CMOS_REG, (A)), inb(CMOS_DATA))
382 mpbiosreason = inb(CMOS_DATA);
/freebsd-current/stand/i386/libi386/
H A Dvbe.c157 return (inb(reg + index));
165 (void) inb(reg + VGA_GEN_INPUT_STAT_1);
167 ret = inb(reg + VGA_AC_READ);
169 (void) inb(reg + VGA_GEN_INPUT_STAT_1);
177 (void) inb(reg + VGA_GEN_INPUT_STAT_1);
181 (void) inb(reg + VGA_GEN_INPUT_STAT_1);
195 return (inb(reg + datareg));
H A Drelocater_tramp.S210 inb $0x92
/freebsd-current/sys/dev/powermac_nvram/
H A Dpowermac_nvram.c381 if ((inb(bank) ^ inb(bank)) == 0)
458 if (inb(bank) & SM_FLASH_STATUS_DONE)
/freebsd-current/sys/amd64/acpica/
H A Dacpi_wakecode.S80 inb $IO_PPI, %al
/freebsd-current/sys/isa/
H A Dpnp.c145 bit = inb((pnp_rd_port << 2) | 0x3) == 0x55;
149 bit = (inb((pnp_rd_port << 2) | 0x3) == 0xaa) && bit;
178 if ((inb((pnp_rd_port << 2) | 0x3)) & 0x1)
187 temp = inb((pnp_rd_port << 2) | 0x3);
/freebsd-current/sys/i386/pci/
H A Dpci_cfgreg.c309 data = inb(port);
377 header = inb(port);
441 oldval2 = inb(CONF2_ENABLE_PORT);
453 mode2res = inb(CONF2_ENABLE_PORT);
/freebsd-current/sys/x86/include/
H A Dbus.h219 return (inb(handle + offset));
360 1: inb %w2,%%al \n\
851 outb(addr2, inb(addr1));
856 outb(addr2, inb(addr1));
974 #undef inb macro
976 #define inb(a) compiler_error macro
/freebsd-current/stand/i386/zfsboot/
H A Dzfsldr.S160 inb $0x64,%al # Get status
165 seta20.2: inb $0x64,%al # Get status
/freebsd-current/sys/dev/fb/
H A Dsplash_bmp.c580 inb(adp->va_crtc_addr + 6); /* reset flip-flop */
587 inb(adp->va_crtc_addr + 6); /* reset flip-flop */
/freebsd-current/sys/x86/isa/
H A Datpic.c328 return (inb(ap->at_ioaddr) & IMEN_MASK(ai));
546 isr = inb(port);
/freebsd-current/sys/i386/include/
H A Dcpufunc.h179 inb(u_int port) function
183 __asm __volatile("inb %w1, %0" : "=a" (data) : "Nd" (port));
669 return inb(0x23);
/freebsd-current/contrib/bsnmp/lib/
H A Dsnmpagent.c335 do_getnext(struct context *context, const struct snmp_value *inb, argument
341 if ((tp = next_node(inb, &next)) == NULL)
349 outb->var = inb->var;
384 outb->var = inb->var;
/freebsd-current/sys/dev/hptrr/
H A Dhptrr_os_bsd.c38 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
/freebsd-current/stand/i386/loader/
H A Dmain.c424 return (inb(port));
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c1287 struct mlx5_cmd_msg *inb; local
1305 inb = alloc_msg(dev, in_size, gfp);
1306 if (IS_ERR(inb)) {
1307 err = PTR_ERR(inb);
1311 err = mlx5_copy_to_msg(inb, in, in_size);
1323 err = mlx5_cmd_invoke(dev, inb, in_size, outb, out, out_size, callback,
1346 free_msg(dev, inb);
/freebsd-current/stand/i386/boot2/
H A Dboot1.S206 inb $0x64,%al # Get status
211 seta20.2: inb $0x64,%al # Get status
/freebsd-current/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c38 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
/freebsd-current/sys/dev/hptnr/
H A Dhptnr_os_bsd.c37 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }

Completed in 693 milliseconds

123