Home
last modified time | relevance | path

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

12

/u-boot/arch/x86/cpu/broadwell/
A Dpower_state.c68 ps->pm1_sts = inw(ACPI_BASE_ADDRESS + PM1_STS); in power_state_get()
69 ps->pm1_en = inw(ACPI_BASE_ADDRESS + PM1_EN); in power_state_get()
71 ps->tco1_sts = inw(ACPI_BASE_ADDRESS + TCO1_STS); in power_state_get()
72 ps->tco2_sts = inw(ACPI_BASE_ADDRESS + TCO2_STS); in power_state_get()
/u-boot/drivers/power/acpi_pmc/
A Dsandbox.c39 upriv->tco1_sts = inw(upriv->acpi_base + TCO1_STS); in sandbox_pmc_fill_power_state()
40 upriv->tco2_sts = inw(upriv->acpi_base + TCO2_STS); in sandbox_pmc_fill_power_state()
A Dacpi-pmc-uclass.c91 upriv->pm1_sts = inw(upriv->acpi_base + PM1_STS); in pmc_fill_pm_reg_info()
92 upriv->pm1_en = inw(upriv->acpi_base + PM1_EN); in pmc_fill_pm_reg_info()
93 upriv->pm1_cnt = inw(upriv->acpi_base + PM1_CNT); in pmc_fill_pm_reg_info()
/u-boot/board/renesas/r2dplus/
A Dr2dplus.c44 outw(inw(FPGA_CFPOW)|CFPOW_ON, FPGA_CFPOW); /* Power OM */ in ide_set_reset()
/u-boot/arch/microblaze/include/asm/
A Dio.h47 #define inw(addr) readw(addr) macro
74 #define inw_p(port) inw((port))
101 *p++ = inw(port); in io_insw()
/u-boot/arch/xtensa/include/asm/
A Dio.h61 #define inw(port) readw((u16 *)((port))) macro
68 #define inw_p(port) inw((port))
/u-boot/drivers/pci/
A Dpci_sh7751.c205 p4_out(inw(SH7751_BCR2), SH7751_PCIBCR2); in sh7751_pci_probe()
206 p4_out(inw(SH7751_BCR3), SH7751_PCIBCR3); in sh7751_pci_probe()
/u-boot/arch/x86/lib/
A Dacpi.c92 u16 val = inw(pm1_cnt); in enter_acpi_mode()
/u-boot/arch/x86/cpu/apollolake/
A Dpmc.c61 upriv->tco1_sts = inw(upriv->acpi_base + TCO1_STS); in apl_pmc_fill_power_state()
62 upriv->tco2_sts = inw(upriv->acpi_base + TCO2_STS); in apl_pmc_fill_power_state()
/u-boot/arch/sh/include/asm/
A Dio.h89 #define inw(p) ({ unsigned int __v = __le16_to_cpu(__raw_readw(p)); __v; }) macro
104 #define inw_p(port) inw((port))
119 #define in_le16(port) inw(port)
/u-boot/arch/x86/cpu/
A Dpci.c29 *valuep = inw(PCI_REG_DATA + (offset & 2)); in pci_x86_read_config()
/u-boot/cmd/
A Dio.c77 *(u16 *)ptr = inw(addr + i); in do_io_iod()
/u-boot/include/
A Dusbdevice.h57 #ifndef inw
58 #define inw(p) (*(volatile u16*)(p)) macro
90 *(__b2 + __i) = inw(r); \
/u-boot/arch/nios2/include/asm/
A Dio.h76 #define inw(addr) readw(addr) macro
90 while (count--) *p++ = inw (port); in insw()
/u-boot/drivers/bios_emulator/include/
A Dx86emu.h91 u16(X86APIP inw) (X86EMU_pioAddr addr);
/u-boot/arch/x86/cpu/ivybridge/
A Dcpu.c156 pm1_sts = inw(DEFAULT_PMBASE + PM1_STS); in checkcpu()
/u-boot/arch/m68k/include/asm/
A Dio.h56 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) macro
61 #define inw(port) in_le16((u16 *)((port)+_IO_BASE)) macro
/u-boot/drivers/bios_emulator/
A Dbiosemui.h132 #define PM_inpw(port) inw(port+VIDEO_IO_OFFSET)
/u-boot/drivers/bios_emulator/x86emu/
A Dsys.c269 sys_inw = funcs->inw; in X86EMU_setupPioFuncs()
/u-boot/arch/x86/include/asm/
A Dio.h191 #define inw(port) _inw((uintptr_t)(port)) macro
285 IO_COND(addr, return inw(port), return readw(addr)); in ioread16()
/u-boot/arch/powerpc/include/asm/
A Dio.h56 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) macro
61 #define inw(port) in_le16((u16 *)((port)+_IO_BASE)) macro
/u-boot/arch/x86/cpu/baytrail/
A Dacpi.c185 pm1_sts = inw(ACPI_BASE_ADDRESS + PM1_STS); in chipset_prev_sleep_state()
/u-boot/arch/nds32/include/asm/
A Dio.h248 #define inw(p) ({ unsigned int __v = le16_to_cpu(__raw_readw(__io(p))); __v; }) macro
327 #define inw_p(port) inw((port))
/u-boot/arch/riscv/include/asm/
A Dio.h235 #define inw(p) ({ unsigned int __v = le16_to_cpu(__raw_readw(__io(p))); __v; }) macro
341 #define inw_p(port) inw((port))
/u-boot/drivers/net/
A Drtl8139.c400 status = inw(priv->ioaddr + RTL_REG_INTRSTATUS); in rtl8139_send_common()
449 priv->rxstatus = inw(priv->ioaddr + RTL_REG_INTRSTATUS); in rtl8139_recv_common()

Completed in 32 milliseconds

12