Home
last modified time | relevance | path

Searched refs:inw (Results 1 – 25 of 53) sorted by relevance

123

/external/syslinux/gpxe/src/drivers/net/
Dsmc9000.c134 oldBank = inw( ioaddr+BANK_SELECT ); in smc_read_phy_register()
140 mii_reg = inw( ioaddr+MII_REG ); in smc_read_phy_register()
156 bits[i] |= inw( ioaddr+MII_REG ) & MII_MDI; in smc_read_phy_register()
258 oldBank = inw( ioaddr+BANK_SELECT ); in smc_write_phy_register()
264 mii_reg = inw( ioaddr+MII_REG ); in smc_write_phy_register()
280 bits[i] |= inw( ioaddr+MII_REG ) & MII_MDI; in smc_write_phy_register()
567 bank = inw(ioaddr + BANK_SELECT); in smc9000_probe_addr()
574 bank = inw(ioaddr + BANK_SELECT); in smc9000_probe_addr()
583 base_address_register = inw(ioaddr + BASE); in smc9000_probe_addr()
599 revision_register = inw(ioaddr + REVISION); in smc9000_probe_addr()
[all …]
D3c515.c327 if (!(inw(nic->ioaddr + EL3_STATUS) & CmdInProgress)) in t515_reset()
333 if (!(inw(nic->ioaddr + EL3_STATUS) & CmdInProgress)) in t515_reset()
342 9, inw(nic->ioaddr + Wn4_Media) ); in t515_reset()
356 outw((inw(nic->ioaddr + Wn4_Media) & ~(Media_10TP | Media_SQE)) | in t515_reset()
364 inw(nic->ioaddr + 10); in t515_reset()
365 inw(nic->ioaddr + 12); in t515_reset()
422 cst = inw(nic->ioaddr + EL3_STATUS); in t515_poll()
434 status = inw(nic->ioaddr + RxStatus); in t515_poll()
455 status = inw(nic->ioaddr + RxStatus); in t515_poll()
477 while (inw(nic->ioaddr + EL3_STATUS) & CmdInProgress); in t515_poll()
[all …]
D3c5x9.c44 while (inw(nic->ioaddr + EP_STATUS) & S_COMMAND_IN_PROGRESS) in t5x9_disable()
59 while (inw(nic->ioaddr + EP_STATUS) & S_COMMAND_IN_PROGRESS) in t5x9_disable()
174 while (inw(nic->ioaddr + EP_W1_FREE_TX) < (unsigned short)len + pad + 4) in t509_transmit()
192 while((inw(nic->ioaddr + EP_STATUS) & S_COMMAND_IN_PROGRESS) != 0) in t509_transmit()
206 cst=inw(nic->ioaddr + EP_STATUS); in t509_poll()
221 status = inw(nic->ioaddr + EP_W1_RX_STATUS); in t509_poll()
247 status = inw(nic->ioaddr + EP_W1_RX_STATUS); in t509_poll()
271 while (inw(nic->ioaddr + EP_STATUS) & S_COMMAND_IN_PROGRESS) in t509_poll()
329 return (inw(ioaddr + EP_W0_EEPROM_DATA)); in get_e()
358 i = inw(nic->ioaddr + EP_W0_CONFIG_CTRL); in t5x9_probe()
[all …]
D3c595.c205 while (inw(BASE + VX_W1_FREE_TX) < len + pad + 4) { in t595_transmit()
224 while((inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS) != 0) in t595_transmit()
238 cst=inw(BASE + VX_STATUS); in t595_poll()
253 status = inw(BASE + VX_W1_RX_STATUS); in t595_poll()
279 status = inw(BASE + VX_W1_RX_STATUS); in t595_poll()
305 while (inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS); in t595_poll()
353 return (inw(BASE + VX_W0_EEPROM_DATA));
362 vx_connectors = inw(BASE + VX_W3_RESET_OPT) & 0x7f; in vxgetlink()
Deepro100.c269 intr_status = inw ( ioaddr + SCBStatus ); in ifec_net_close()
271 inw ( ioaddr + SCBStatus ); in ifec_net_close()
409 intr_status = inw ( priv->ioaddr + SCBStatus ); in ifec_net_poll()
411 inw ( priv->ioaddr + SCBStatus ); in ifec_net_poll()
458 iob_len ( iobuf ), tcb->status, inw ( ioaddr + SCBCmd ) ); in ifec_net_transmit()
503 ret = inw (ee_addr); in ifec_spi_read_bit()
528 val = inw ( ee_addr ); in ifec_spi_write_bit()
719 inw ( ioaddr + SCBStatus ); in ifec_reset()
724 inw ( ioaddr + SCBStatus ); in ifec_reset()
825 ( inw ( priv->ioaddr + SCBStatus ) >> 2 ) & 0xf ); in ifec_check_ru_status()
[all …]
Dsundance.c299 outw(inw(BASE + MACCtrl0) | EnbFullDuplex, in check_duplex()
312 outw(inw(BASE + MACCtrl0) | duplex ? 0x20 : 0, in check_duplex()
416 (int) inw(BASE + TxStatus), (int) inl(BASE + MACCtrl0), in sundance_reset()
417 (int) inw(BASE + MACCtrl1), (int) inw(BASE + MACCtrl0) ); in sundance_reset()
429 intr_status = inw(nic->ioaddr + IntrStatus); in sundance_irq()
460 intr_status = inw(nic->ioaddr + IntrStatus); in sundance_poll()
732 outw(inw(BASE + MulticastFilter1 + 2) | 0x0200, in sundance_probe()
734 outw(inw(BASE + MACCtrl0) | EnbFlowCtrl, BASE + MACCtrl0); in sundance_probe()
755 if (!(inw(ioaddr + EECtrl) & 0x8000)) { in eeprom_read()
756 return inw(ioaddr + EEData); in eeprom_read()
Dcs89x0.c113 return inw(eth_nic_base + DATA_PORT); in readreg()
453 status = inw(eth_nic_base + RX_FRAME_PORT); in cs89x0_poll()
454 nic->packetlen = inw(eth_nic_base + RX_FRAME_PORT); in cs89x0_poll()
457 nic->packet[nic->packetlen-1] = inw(eth_nic_base + RX_FRAME_PORT); in cs89x0_poll()
490 if ((inw(ioaddr + ADD_PORT) & ADD_MASK) != ADD_SIG) in cs89x0_probe_addr()
495 if (inw(ioaddr + DATA_PORT) != CHIP_EISA_ID_SIG) in cs89x0_probe_addr()
Dsmc9000.h422 #define SMC_DELAY(x) { inw( x + RCR );\
423 inw( x + RCR );\
424 inw( x + RCR ); }
Deepro.c360 rcv_event = inw(nic->ioaddr + IO_PORT); in eepro_poll()
369 rcv_status = inw(nic->ioaddr + IO_PORT); in eepro_poll()
370 rcv_next_frame = inw(nic->ioaddr + IO_PORT); in eepro_poll()
371 rcv_size = inw(nic->ioaddr + IO_PORT); in eepro_poll()
442 status = inw(nic->ioaddr + IO_PORT); in eepro_transmit()
452 if (((status = inw(nic->ioaddr + IO_PORT)) & TX_DONE_BIT) == 0) { in eepro_transmit()
Drtl8139.c280 ee9356 = ( inw ( rtl->ioaddr + RxConfig ) & Eeprom9356 ); in rtl_init_eeprom()
291 vpd = ( inw ( rtl->ioaddr + Config1 ) & VPDEnable ); in rtl_init_eeprom()
418 status = inw ( rtl->ioaddr + IntrStatus ); in rtl_poll()
424 tsad = inw ( rtl->ioaddr + TxSummary ); in rtl_poll()
435 while ( ! ( inw ( rtl->ioaddr + ChipCmd ) & RxBufEmpty ) ) { in rtl_poll()
D3c90x.c82 if (inw(ioaddr + regCommandIntStatus_w) & INT_CMDINPROGRESS) { in a3c90x_internal_IssueCommand()
120 while (eepromBusy & inw(inf_3c90x->IOAddr + regEepromCommand_0_w)) { in a3c90x_internal_WaitForEeprom()
164 *dest = inw(inf_3c90x->IOAddr + regEepromData_0_w); in a3c90x_internal_ReadEeprom()
579 raw_status = inw(p->IOAddr + regCommandIntStatus_w); in a3c90x_poll()
672 tmp = inw(inf_3c90x->IOAddr + regResetOptions_2_w); in a3c90x_hw_start()
692 mopt = inw(inf_3c90x->IOAddr + regResetMediaOptions_3_w); in a3c90x_hw_start()
D3c595.h298 #define VX_BUSY_WAIT while (inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS)
427 #define is_eeprom_busy(b) (inw((b)+VX_W0_EEPROM_COMMAND)&EEPROM_BUSY)
Dpnic.c61 status = inw ( pnic->ioaddr + PNIC_REG_STAT ); in pnic_command_quiet()
63 _output_length = inw ( pnic->ioaddr + PNIC_REG_LEN ); in pnic_command_quiet()
Dvia-rhine.c810 ReturnMII = inw (wMIIDATA); in ReadMII()
852 ReadMIItmp = inw (wMIIDATA); in WriteMII()
942 intr_status = inw(nic->ioaddr + IntrStatus); in rhine_irq()
1047 if ((inw(byCR0) & CR_SFRST) == 0) in rhine_probe1()
1278 CRbak = inw (byCR0); in rhine_reset()
1301 intr_status = inw(nic->ioaddr + IntrStatus); in rhine_poll()
Dpcnet32.c269 return inw(addr + PCNET32_WIO_RDP); in pcnet32_wio_read_csr()
281 return inw(addr + PCNET32_WIO_BDP); in pcnet32_wio_read_bcr()
292 return inw(addr + PCNET32_WIO_RAP); in pcnet32_wio_read_rap()
302 inw(addr + PCNET32_WIO_RESET); in pcnet32_wio_reset()
308 return (inw(addr + PCNET32_WIO_RAP) == 88); in pcnet32_wio_check()
Ddepca.c522 for (i = 0; i < 100 && !(inw(nic->ioaddr + DEPCA_DATA) & IDON); i++)
546 if (inw(nic->ioaddr + DEPCA_DATA) != STOP)
721 if (inw(ioaddr + DEPCA_DATA) != STOP)
Dtlan.c502 u16 host_int = inw(BASE + TLAN_HOST_INT); in tlan_poll()
542 DBG ( "AC: 0x%hX\n", inw(BASE + TLAN_CH_PARM) ); in tlan_poll()
543 DBG ( "PI-2: 0x%hX\n", inw(BASE + TLAN_HOST_INT) ); in tlan_poll()
581 u16 host_int = inw(BASE + TLAN_HOST_INT); in tlan_transmit()
644 DBG ( "INT1-0x%hX\n", inw(BASE + TLAN_HOST_INT) ); in tlan_transmit()
664 DBG ( "INT2-0x%hX\n", inw(BASE + TLAN_HOST_INT) ); in tlan_transmit()
D3c509.h74 #define is_eeprom_busy(b) (inw((b)+EP_W0_EEPROM_COMMAND)&EEPROM_BUSY)
/external/syslinux/gpxe/src/include/gpxe/
Dio.h309 uint16_t inw ( volatile uint16_t *io_addr );
310 #define inw( io_addr ) IOAPI_READ ( inw, uint16_t, io_addr, "IO", 4 ) macro
452 #define inw_p( io_addr ) INX_P ( inw, uint16_t, io_addr )
/external/syslinux/gpxe/src/drivers/bus/
Deisa.c118 le16_to_cpu ( inw ( eisa->ioaddr + EISA_VENDOR_ID ) ); in eisabus_probe()
120 le16_to_cpu ( inw ( eisa->ioaddr + EISA_PROD_ID ) ); in eisabus_probe()
Dvirtio-pci.c31 num = inw(ioaddr + VIRTIO_PCI_QUEUE_NUM); in vp_find_vq()
/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_mips.c58 const int32_t* inw = (int32_t*)in; in WebRtcSpl_DownsampleBy2() local
76 [diff1] "=&r" (diff1), [diff2] "=r" (diff2), [inw] "+r" (inw) in WebRtcSpl_DownsampleBy2()
/external/syslinux/com32/include/sys/
Dio.h13 static inline uint16_t inw(uint16_t p) in inw() function
/external/syslinux/gpxe/src/arch/i386/core/
Dx86_io.c84 PROVIDE_IOAPI_INLINE ( x86, inw );
/external/syslinux/gpxe/src/arch/x86/include/gpxe/
Dpcidirect.h69 *value = inw ( PCIDIRECT_CONFIG_DATA + ( where & 2 ) ); in PCIAPI_INLINE()

123