Home
last modified time | relevance | path

Searched refs:writew (Results 1 – 23 of 23) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/
Dvia-velocity.h44 #define WORD_REG_BITS_ON(x,p) do { writew(readw((p))|(x),(p));} while (0)
52 #define WORD_REG_BITS_OFF(x,p) do { writew(readw((p)) & (~(x)),(p));} while (0)
56 #define WORD_REG_BITS_SET(x,m,p) do { writew( (readw((p)) & (~(m))) |(x),(p));} while (0)
1248 writew(TRDCSR_RUN<<((n)*4),&((regs)->TDCSRSet));\
1252 writew(TRDCSR_WAK<<(n*4),&((regs)->TDCSRSet));\
1368 writew(*((u16 *) addr), &regs->MARCAM[0]); in mac_set_cam()
1452 writew(0xFFFF, &regs->WOLCRClr); in mac_wol_reset()
1454 writew(0xFFFF, &regs->WOLSRClr); in mac_wol_reset()
1923 writew(0xFFFF, &regs->tx_pause_timer); in init_flow_control_register()
1926 writew(vptr->options.numrx, &regs->RBRDU); in init_flow_control_register()
Damd8111e.c198 writew(MIB_CLEAR, mmio + MIB_ADDR); in amd8111e_init_hw_default()
227 writew(0x8100 | lp->ext_phy_addr, mmio + AUTOPOLL0); in amd8111e_start()
243 writew(NUM_TX_SLOTS, mmio + XMT_RING_LEN0); in amd8111e_start()
244 writew(NUM_RX_SLOTS, mmio + RCV_RING_LEN0); in amd8111e_start()
247 writew(DEFAULT_IPG, mmio + IPG); in amd8111e_start()
248 writew(DEFAULT_IPG - IFS1_DELTA, mmio + IFS1); in amd8111e_start()
Dvia-velocity.c436 writew(vptr->rd_filled & 0xfffc, &regs->RBRDU); in velocity_give_many_rx_descs()
616 writew(0xFFFF, &regs->TDCSRClr); in velocity_disable()
959 writew(RX_DESC_DEF, &regs->RBRDU); in velocity_rx_reset()
961 writew(0, &regs->RDIdx); in velocity_rx_reset()
962 writew(RX_DESC_DEF - 1, &regs->RDCSize); in velocity_rx_reset()
1060 writew(vptr->options.numrx - 1, &regs->RDCSize); in velocity_init_registers()
1064 writew(vptr->options.numtx - 1, &regs->TDCSize); in velocity_init_registers()
1485 writew(data, &regs->MIIDATA); in velocity_mii_write()
Ddepca.c485 writew(-RX_BUFF_SZ, &lp.rx_ring[i].buf_length);
636 writew(0x0000, &lp.tx_ring[entry].misc);
638 writew(-len, &lp.tx_ring[entry].length);
Dsis190.h60 #define SIS_W16(reg, val) writew ((val), ioaddr + (reg))
Dw89c840.c152 #undef writew
158 #define writew outw macro
Dr8169.h92 #define RTL_W16(reg, val16) writew ((val16), ioaddr + (reg))
Datl1e.h255 writew((value), ((a)->hw_addr + reg))
Dprism2.c190 writew ( val, hw->membase + reg ); in hfa384x_setreg()
Dsky2.h2118 writew(val, hw->regs + reg); in sky2_write16()
Dhfa384x.h2985 writew(__cpu_to_le16(val), hw->membase + reg); in __hfa384x_setreg()
3036 writew(val, hw->membase + reg); in __hfa384x_setreg_noswap()
Dskge.h2542 writew(val, hw->regs + reg); in skge_write16()
Dbnx2.h4198 writew(val, bp->regview + offset)
Dtg3.c112 #define tw16(reg,val) writew(((val) & 0xffff), tg3.regs + (reg))
/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_osdep.h100 writew((value), ((a)->hw_addr + \
128 writew((value), ((a)->flash_address + reg))
/external/syslinux/gpxe/src/include/gpxe/
Dio.h270 void writew ( uint16_t data, volatile uint16_t *io_addr );
271 #define writew( data, io_addr ) \ macro
272 IOAPI_WRITE ( writew, uint16_t, data, io_addr, "MEM", 4 )
/external/syslinux/gpxe/src/arch/i386/core/
Dx86_io.c80 PROVIDE_IOAPI_INLINE ( x86, writew );
/external/syslinux/gpxe/src/arch/i386/include/gpxe/
Dx86_io.h82 X86_WRITEX ( writew, uint16_t );
/external/syslinux/gpxe/src/interface/efi/
Defi_io.c189 PROVIDE_IOAPI_INLINE ( efi, writew );
/external/syslinux/gpxe/src/include/gpxe/efi/
Defi_io.h93 IOAPI_INLINE ( efi, writew ) ( uint16_t data, volatile uint16_t *io_addr ) { in IOAPI_INLINE() argument
/external/syslinux/com32/lib/
DMakefile43 pci/writeb.o pci/writew.o pci/writel.o
/external/syslinux/mk/
Dlib.mk106 pci/writeb.o pci/writew.o pci/writel.o \
/external/libpcap/
Dpcap-dos.c1370 writew ("-\\|/"[fan_idx++] | (15 << 8), /* white on black colour */ in get_rxbuf()