Searched refs:inw (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A D3c90x.c268 while (inw(ioaddr + regCommandIntStatus_w) & INT_CMDINPROGRESS);
302 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
306 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
307 val = inw(ioaddr + regEepromData_0_w);
326 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
330 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
334 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
339 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
343 while((1<<15) & inw(ioaddr + regEepromCommand_0_w));
410 while (inw(INF_3C90
[all...]
H A D3c595.c201 while (inw(BASE + VX_W1_FREE_TX) < len + pad + 4) {
220 while((inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS) != 0)
234 cst=inw(BASE + VX_STATUS);
249 status = inw(BASE + VX_W1_RX_STATUS);
275 status = inw(BASE + VX_W1_RX_STATUS);
301 while (inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS);
349 return (inw(BASE + VX_W0_EEPROM_DATA));
358 vx_connectors = inw(BASE + VX_W3_RESET_OPT) & 0x7f;
H A Deepro100.c346 retval = (retval << 1) | ((inw(ee_addr) & EE_DATA_READ) ? 1 : 0);
397 status = inw(ioaddr + SCBStatus);
403 t, s, status, inw (ioaddr + SCBCmd));
432 s1 = inw (ioaddr + SCBStatus);
436 s2 = inw (ioaddr + SCBStatus);
485 status = inw(ioaddr + SCBStatus);
558 intr_status = inw(ioaddr + SCBStatus);
561 inw(ioaddr + SCBStatus);
H A Dsundance.c324 outw(inw(BASE + MACCtrl0) | EnbFullDuplex,
337 outw(inw(BASE + MACCtrl0) | duplex ? 0x20 : 0,
441 (int) inw(BASE + TxStatus), (int) inl(BASE + MACCtrl0),
442 (int) inw(BASE + MACCtrl1), (int) inw(BASE + MACCtrl0)));
454 intr_status = inw(nic->ioaddr + IntrStatus);
485 intr_status = inw(nic->ioaddr + IntrStatus);
734 outw(inw(BASE + MulticastFilter1 + 2) | 0x0200,
736 outw(inw(BASE + MACCtrl0) | EnbFlowCtrl, BASE + MACCtrl0);
759 if (!(inw(ioadd
[all...]
H A Drtl8139.c213 fullduplex = inw(nic->ioaddr + MII_BMCR) & BMCRDuplex;
398 status = inw(nic->ioaddr + IntrStatus);
436 status = inw(nic->ioaddr + IntrStatus);
495 mask = inw(nic->ioaddr + IntrMask);
H A D3c595.h296 #define VX_BUSY_WAIT while (inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS)
425 #define is_eeprom_busy(b) (inw((b)+VX_W0_EEPROM_COMMAND)&EEPROM_BUSY)
H A Dpnic.c67 status = inw ( nic->ioaddr + PNIC_REG_STAT );
69 _output_length = inw ( nic->ioaddr + PNIC_REG_LEN );
H A Dpcnet32.c295 return inw(addr + PCNET32_WIO_RDP);
307 return inw(addr + PCNET32_WIO_BDP);
318 return inw(addr + PCNET32_WIO_RAP);
328 inw(addr + PCNET32_WIO_RESET);
334 return (inw(addr + PCNET32_WIO_RAP) == 88);
H A Dvia-rhine.c766 ReturnMII = inw (wMIIDATA);
806 ReadMIItmp = inw (wMIIDATA);
895 intr_status = inw(nic->ioaddr + IntrStatus);
1183 CRbak = inw (byCR0);
1206 intr_status = inw(nic->ioaddr + IntrStatus);
H A Dtlan.c540 u16 host_int = inw(BASE + TLAN_HOST_INT);
583 printf("AC: 0x%hX\n", inw(BASE + TLAN_CH_PARM));
584 host_int = inw(BASE + TLAN_HOST_INT);
626 u16 host_int = inw(BASE + TLAN_HOST_INT);
692 host_int = inw(BASE + TLAN_HOST_INT);
719 host_int = inw(BASE + TLAN_HOST_INT);
H A Depic100.c179 *ap++ = inw(lan0 + i*4);
504 return inw(mmdata);
H A Dpci_io.c40 *value = inw(0xCFC + (where&2));
H A Dio.h43 * inb/inw/inl/outb/outw/outl and the "string versions" of the same
209 #define inw(port) \ macro
/illumos-gate/usr/src/uts/i86pc/ml/
H A Damd64.il131 .inline inw,4
134 inw (%dx)
H A Dia32.il118 .inline inw,4
121 inw (%dx)
/illumos-gate/usr/src/uts/intel/asm/
H A Dsunddi.h55 inw(int port) function
61 "inw (%1)" /* value in %ax */
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/
H A Dkmdb_asmutil.s141 2: inw (%dx)
/illumos-gate/usr/src/cmd/mdb/intel/ia32/kmdb/
H A Dkmdb_asmutil.s151 2: inw (%dx)
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpci_mech1.c75 val = inw(PCI_CONFDATA | (reg & 0x2));
H A Dpci_mech2.c98 val = inw(PCI_CADDR2(device, reg));
H A Dpci_mech1_amd.c123 val = inw(PCI_CONFDATA | (reg & 0x2));
/illumos-gate/usr/src/uts/intel/sys/
H A Darchsystm.h104 extern uint16_t inw(int port);
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c508 return (ddi_swap16(inw((uintptr_t)addr)));
634 *h++ = ddi_swap16(inw(port));
637 *h++ = ddi_swap16(inw(port));
1015 val = inw((uintptr_t)addr);
1060 val = ddi_swap16(inw((uintptr_t)addr));
1268 if ((*h++ = inw(port)) == 0xffff)
1272 if ((*h++ = inw(port)) == 0xffff)
1400 if ((*h++ = ddi_swap16(inw(port))) == 0xffff)
1404 if ((*h++ = ddi_swap16(inw(port))) == 0xffff)
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Dddi_i86_asm.s346 inw (%dx)
376 inw (%dx)
1069 inw (%dx)
1078 inw (%dx)
1406 inw (%dx)
1438 inw (%dx)
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dcpufunc.h261 inw(u_int port) function
265 __asm __volatile("inw %w1, %0" : "=a" (data) : "Nd" (port));
736 u_short inw(u_int port);

Completed in 128 milliseconds

12