| /rk3399_rockchip-uboot/board/renesas/ecovec/ |
| H A D | ecovec.c | 39 outw(inw(PLCR) & ~0xFFF0, PLCR); in board_late_init() 40 outw(inw(PNCR) & ~0x000F, PNCR); in board_late_init() 41 outw(inw(PXCR) & ~0x0FC0, PXCR); in board_late_init() 42 outw((inw(PSELB) & ~0x030F) | 0x020A, PSELB); in board_late_init() 43 outw((inw(PSELC) & ~0x0307) | 0x0207, PSELC); in board_late_init() 44 outw((inw(PSELE) & ~0x00c0) | 0x0080, PSELE); in board_late_init() 69 outw((inw(PGCR) & ~0xFF) | 0x55, PGCR); in board_init() 70 outw((inw(HIZCRA) & ~0x02), HIZCRA); in board_init() 75 outw(inw(PFCR) & ~0x30, PFCR); in board_init() 76 outw(inw(PMCR) & ~0x0C, PMCR); in board_init() [all …]
|
| /rk3399_rockchip-uboot/drivers/pcmcia/ |
| H A D | marubun_pcmcia.c | 49 if ((inw(MRSHPC_CSR) & 0x000c) == 0){ /* if card detect is true */ in pcmcia_on() 50 if ((inw(MRSHPC_CSR) & 0x0080) == 0){ in pcmcia_on() 65 if ((inw(MRSHPC_CSR) & 0x4000) != 0) in pcmcia_on() 72 if ((inw(MRSHPC_CSR) & 0x4000) != 0) in pcmcia_on() 80 if ((inw(MRSHPC_CSR) & 0x4000) != 0) in pcmcia_on()
|
| /rk3399_rockchip-uboot/arch/x86/cpu/broadwell/ |
| H A D | power_state.c | 69 ps->pm1_sts = inw(ACPI_BASE_ADDRESS + PM1_STS); in power_state_get() 70 ps->pm1_en = inw(ACPI_BASE_ADDRESS + PM1_EN); in power_state_get() 72 ps->tco1_sts = inw(ACPI_BASE_ADDRESS + TCO1_STS); in power_state_get() 73 ps->tco2_sts = inw(ACPI_BASE_ADDRESS + TCO2_STS); in power_state_get()
|
| /rk3399_rockchip-uboot/board/renesas/sh7763rdp/ |
| H A D | sh7763rdp.c | 40 writew(inw(CPU_CMDREG)|0x0001, CPU_CMDREG); in board_init() 43 dat = inw(PSEL1); in board_init()
|
| /rk3399_rockchip-uboot/board/renesas/r7780mp/ |
| H A D | r7780mp.c | 45 writew(inw(FPGA_CFPOW)|0x01, FPGA_CFPOW); in ide_set_reset() 47 writew(inw(FPGA_CFPOW)|0x02, FPGA_CFPOW); in ide_set_reset()
|
| /rk3399_rockchip-uboot/arch/microblaze/include/asm/ |
| H A D | io.h | 42 #define inw(addr) readw (addr) macro 60 #define inw_p(port) inw((port)) 84 *p++ = inw (port); in io_insw()
|
| /rk3399_rockchip-uboot/board/ms7722se/ |
| H A D | ms7722se.c | 29 outw(inw(PXCR) & ~0xf000, PXCR); in board_init()
|
| /rk3399_rockchip-uboot/board/renesas/r2dplus/ |
| H A D | r2dplus.c | 44 outw(inw(FPGA_CFPOW)|CFPOW_ON, FPGA_CFPOW); /* Power OM */ in ide_set_reset()
|
| /rk3399_rockchip-uboot/drivers/pci/ |
| H A D | pci_sh7751.c | 172 p4_out(inw(SH7751_BCR2), SH7751_PCIBCR2); in pci_sh7751_init() 173 p4_out(inw(SH7751_BCR3), SH7751_PCIBCR3); in pci_sh7751_init()
|
| /rk3399_rockchip-uboot/arch/xtensa/include/asm/ |
| H A D | io.h | 62 #define inw(port) readw((u16 *)((port))) macro 69 #define inw_p(port) inw((port))
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | io.c | 40 printf("%04x\n", inw(addr)); in do_io_iod()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | pcnet.c | 99 return inw(dev->iobase + PCNET_RDP); in pcnet_read_csr() 111 return inw(dev->iobase + PCNET_BDP); in pcnet_read_bcr() 122 inw(dev->iobase + PCNET_RESET); in pcnet_reset() 128 return inw(dev->iobase + PCNET_RAP) == 88; in pcnet_check()
|
| H A D | rtl8139.c | 435 status = inw(ioaddr + IntrStatus); in rtl_transmit() 479 status = inw(ioaddr + IntrStatus); in rtl_poll()
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ |
| H A D | pci.c | 31 *valuep = inw(PCI_REG_DATA + (offset & 2)); in pci_x86_read_config()
|
| /rk3399_rockchip-uboot/arch/sh/include/asm/ |
| H A D | io.h | 89 #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)
|
| /rk3399_rockchip-uboot/arch/nios2/include/asm/ |
| H A D | io.h | 76 #define inw(addr) readw(addr) macro 90 while (count--) *p++ = inw (port); in insw()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usbdevice.h | 58 #ifndef inw 59 #define inw(p) (*(volatile u16*)(p)) macro 91 *(__b2 + __i) = inw(r); \
|
| /rk3399_rockchip-uboot/arch/sandbox/lib/ |
| H A D | pci_io.c | 105 int inw(unsigned int addr) in inw() function
|
| /rk3399_rockchip-uboot/drivers/bios_emulator/include/ |
| H A D | x86emu.h | 91 u16(X86APIP inw) (X86EMU_pioAddr addr);
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ivybridge/ |
| H A D | cpu.c | 153 pm1_sts = inw(DEFAULT_PMBASE + PM1_STS); in checkcpu()
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/ |
| H A D | io.h | 57 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) macro 62 #define inw(port) in_le16((u16 *)((port)+_IO_BASE)) macro
|
| /rk3399_rockchip-uboot/drivers/bios_emulator/ |
| H A D | biosemui.h | 132 #define PM_inpw(port) inw(port+VIDEO_IO_OFFSET)
|
| /rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/ |
| H A D | sys.c | 269 sys_inw = funcs->inw; in X86EMU_setupPioFuncs()
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | io.h | 53 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) macro 58 #define inw(port) in_le16((u16 *)((port)+_IO_BASE)) macro
|
| /rk3399_rockchip-uboot/arch/sandbox/include/asm/ |
| H A D | io.h | 52 int inw(unsigned int addr);
|