Home
last modified time | relevance | path

Searched refs:readl (Results 1 – 25 of 28) sorted by relevance

12

/external/syslinux/gpxe/src/drivers/net/
Dns83820.c412 cfg = readl(ns->base + CFG) ^ SPDSTS_POLARITY; in phy_intr()
415 tbisr = readl(ns->base + TBISR); in phy_intr()
416 tanar = readl(ns->base + TANAR); in phy_intr()
417 tanlpar = readl(ns->base + TANLPAR); in phy_intr()
425 writel(readl(ns->base + TXCFG) in phy_intr()
428 writel(readl(ns->base + RXCFG) | RXCFG_RX_FD, in phy_intr()
431 writel(readl(ns->base + GPIOR) | GPIOR_GP1_OUT, in phy_intr()
442 writel((readl(ns->base + TXCFG) in phy_intr()
445 writel(readl(ns->base + RXCFG) & ~RXCFG_RX_FD, in phy_intr()
448 writel(readl(ns->base + GPIOR) & ~GPIOR_GP1_OUT, in phy_intr()
[all …]
Damd8111e.c170 reg_val = readl(mmio + INT0); in amd8111e_init_hw_default()
205 reg_val = readl(mmio + SRAM_SIZE); in amd8111e_init_hw_default()
211 readl(mmio + CMD2); in amd8111e_init_hw_default()
234 reg_val = readl(mmio + CTRL1); in amd8111e_start()
264 readl(mmio + CMD0); in amd8111e_start()
277 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy()
279 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy()
284 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy()
307 reg_val = readl(mmio + PHY_ACCESS);
309 reg_val = readl(mmio + PHY_ACCESS);
[all …]
Dforcedeth.c433 readl(base); in pci_push()
456 } while ((readl(base + offset) & mask) != target); in reg_delay()
475 reg = readl(base + NvRegMIIControl); in mii_rw()
499 } else if (readl(base + NvRegMIIStatus) & NVREG_MIISTAT_ERROR) { in mii_rw()
504 retval = readl(base + NvRegMIIData); in mii_rw()
554 phyinterface = readl(base + NvRegPhyInterface); in phy_init()
627 if (readl(base + NvRegReceiverControl) & NVREG_RCVCTL_START) { in start_rx()
815 phyreg = readl(base + NvRegRandomSeed); in update_linkspeed()
826 phyreg = readl(base + NvRegPhyInterface); in update_linkspeed()
995 writel(readl(base + NvRegTransmitterStatus), in forcedeth_reset()
[all …]
Dw89c840.c150 #undef readl
156 #define readl inl macro
384 u32 intr_status = readl(ioaddr + IntrStatus); in w89c840_poll()
731 #define eeprom_delay(ee_addr) readl(ee_addr)
764 retval = (retval << 1) | ((readl(ee_addr) & EE_DataIn) ? 1 : 0); in eeprom_read()
781 #define mdio_delay(mdio_addr) readl(mdio_addr)
828 retval = (retval << 1) | ((readl(mdio_addr) & MDIO_DataIn) ? 1 : 0); in mdio_read()
Dvia-velocity.h45 #define DWORD_REG_BITS_ON(x,p) do { writel(readl((p))|(x),(p));} while (0)
49 #define DWORD_REG_BITS_IS_ON(x,p) (readl((p)) & (x))
53 #define DWORD_REG_BITS_OFF(x,p) do { writel(readl((p)) & (~(x)),(p));} while (0)
57 #define DWORD_REG_BITS_SET(x,m,p) do { writel( (readl((p)) & (~(m)))|(x),(p));} while (0)
1215 #define mac_read_isr(regs) readl(&((regs)->ISR))
1227 (MIBs)[i]=readl(&((regs)->MIBData));\
1899 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs()
Ddepca.c595 if ((status = readl(&lp.rx_ring[entry].base) & R_OWN))
634 writel(readl(&lp.tx_ring[entry].base) & ~T_FLAGS, &lp.tx_ring[entry].base);
640 writel(readl(&lp.tx_ring[entry].base) | (T_STP|T_ENP|T_OWN), &lp.tx_ring[entry].base);
Datl1e.h243 readl((a)->hw_addr)
246 readl((a)->hw_addr + reg)
264 readl(((a)->hw_addr + reg) + ((offset) << 2))
Dsis190.h64 #define SIS_R32(reg) readl (ioaddr + (reg))
Dmtnic.c454 status = be32_to_cpu(readl(&hcr->status_go_opcode)); in cmdif_go_bit()
527 *((u32 *)out_imm) = readl(&hcr->out_param_h); in mtnic_cmd()
528 *((u32 *)out_imm + 1) = readl(&hcr->out_param_l); in mtnic_cmd()
531 status = be32_to_cpu((u32)readl(&hcr->status_go_opcode)) >> 24; in mtnic_cmd()
Dr8169.h96 #define RTL_R32(reg) ((unsigned long) readl (ioaddr + (reg)))
Db44.c61 return readl(bp->regs + reg); in br32()
73 readl(bp->regs + reg); in bflush()
Dsky2.h2098 return readl(hw->regs + reg); in sky2_read32()
Dskge.h2522 return readl(hw->regs + reg); in skge_read32()
/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_osdep.h83 readl((a)->hw_addr + \
92 readl((a)->hw_addr + \
125 readl((a)->flash_address + reg)
/external/syslinux/gpxe/src/include/gpxe/
Dio.h242 uint32_t readl ( volatile uint32_t *io_addr );
243 #define readl( io_addr ) IOAPI_READ ( readl, uint32_t, io_addr, "MEM", 8 ) macro
/external/syslinux/gpxe/src/arch/i386/core/
Dx86_io.c77 PROVIDE_IOAPI_INLINE ( x86, readl );
/external/syslinux/gpxe/src/arch/i386/include/gpxe/
Dx86_io.h73 X86_READX ( readl, uint32_t );
/external/syslinux/gpxe/src/interface/efi/
Defi_io.c186 PROVIDE_IOAPI_INLINE ( efi, readl );
/external/syslinux/gpxe/src/include/gpxe/efi/
Defi_io.h78 IOAPI_INLINE ( efi, readl ) ( volatile uint32_t *io_addr ) { in IOAPI_INLINE() argument
/external/syslinux/com32/lib/
DMakefile42 pci/readb.o pci/readw.o pci/readl.o \
/external/syslinux/gpxe/src/drivers/net/phantom/
Dphantom.c220 verify_window = readl ( phantom->bar0 + UNM_128M_CRB_WINDOW ); in phantom_crb_access_128m()
249 verify_window = readl ( phantom->bar0 + UNM_32M_CRB_WINDOW ); in phantom_crb_access_32m()
303 verify_window = readl ( phantom->bar0 + in phantom_crb_access_2m()
330 return readl ( phantom->bar0 + offset ); in phantom_readl()
/external/syslinux/mk/
Dlib.mk105 pci/readb.o pci/readw.o pci/readl.o \
/external/syslinux/gpxe/src/drivers/infiniband/
Darbel.c116 readl ( arbel->config + ARBEL_HCR_REG ( 6 ) ); in arbel_cmd_wait()
213 hcr.u.dwords[3] = readl ( arbel->config + ARBEL_HCR_REG ( 3 ) ); in arbel_cmd()
214 hcr.u.dwords[4] = readl ( arbel->config + ARBEL_HCR_REG ( 4 ) ); in arbel_cmd()
Dhermon.c134 readl ( hermon->config + HERMON_HCR_REG ( 6 ) ); in hermon_cmd_wait()
245 hcr.u.dwords[3] = readl ( hermon->config + HERMON_HCR_REG ( 3 ) ); in hermon_cmd()
246 hcr.u.dwords[4] = readl ( hermon->config + HERMON_HCR_REG ( 4 ) ); in hermon_cmd()
/external/syslinux/gpxe/src/drivers/net/ath5k/
Dath5k.h1218 return readl(ah->ah_iobase + reg); in ath5k_hw_reg_read()

12