Home
last modified time | relevance | path

Searched refs:in_le16 (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/u-boot/arch/m68k/cpu/mcf547x_8x/
H A Dpci.c40 PCI_OP(read, word, u16 *, in_le16, 2)
54 *val = (u32) in_le16((u16 *) (hose->cfg_data + (offset & mask))); in pci_read_cfg_dword()
62 tmpv = (u32) in_le16((u16 *) (hose->cfg_data + (offset & mask))); in pci_read_cfg_dword()
/openbmc/u-boot/board/gdsys/common/
H A Dfpga.c21 *data = in_le16(reg); in fpga_get_reg()
H A Dihs_mdio.c34 return in_le16((u16 *)(ptr + base + addr)); in read_reg()
/openbmc/u-boot/arch/xtensa/include/asm/
H A Dio.h90 # define in_le16(addr) _swapw(*(u16 *)(addr)) macro
97 # define in_le16(addr) (*(u16 *)(addr)) macro
/openbmc/linux/arch/m68k/include/asm/
H A Dio_mm.h202 #define isa_inw(port) (ISA_SEX ? in_be16(isa_itw(port)) : in_le16(isa_itw(port)))
211 : in_le16(isa_mtw((unsigned long)(p))))
347 #define inw(port) ((port) < 1024 ? isa_rom_inw(port) : in_le16(port))
348 #define inw_p(port) ((port) < 1024 ? isa_rom_inw_p(port) : in_le16(port))
368 #define readw(addr) in_le16(addr)
H A Draw_io.h25 #define in_le16(addr) \ macro
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dio.h31 #define readw(addr) in_le16((volatile u16 *)(addr))
58 #define inw(port) in_le16((u16 *)((port)+_IO_BASE))
66 #define inw_p(port) in_le16((u16 *)((port)+_IO_BASE))
185 static inline u16 in_le16(const volatile unsigned short __iomem *addr) in in_le16() function
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dpcie.c100 PCIE_OP(read, word, u16 *, in_le16) in PCIE_OP()
287 reg16 = in_le16(hose_cfg_base + PCI_COMMAND); in mpc83xx_pcie_init_bus()
303 reg16 = in_le16(hose_cfg_base + PCI_LTSSM); in mpc83xx_pcie_init_bus()
/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pci.c135 value = in_le16(((u16 __iomem *)hose->cfg_data) + in mpc52xx_pci_read_config()
140 value = in_le16((u16 __iomem *)hose->cfg_data) | in mpc52xx_pci_read_config()
141 (in_le16(((u16 __iomem *)hose->cfg_data) + 1) << 16); in mpc52xx_pci_read_config()
/openbmc/u-boot/include/
H A Dfsl_sec_mon.h17 #define sec_mon_in16(a) in_le16(a)
H A Dfsl_sfp.h22 #define sfp_in16(a) in_le16(a)
H A Dfsl_sec.h17 #define sec_in16(a) in_le16(a)
/openbmc/linux/arch/powerpc/boot/
H A Dio.h27 static inline unsigned in_le16(const volatile u16 *addr) in in_le16() function
/openbmc/linux/arch/microblaze/include/asm/
H A Dio.h52 #define in_le16(a) __le16_to_cpu(__raw_readw(a)) macro
/openbmc/linux/arch/powerpc/platforms/maple/
H A Dpci.c139 *val = in_le16(addr); in u3_agp_read_config()
283 *val = in_le16(addr); in u3_ht_read_config()
394 *val = in_le16(addr); in u4_pcie_read_config()
/openbmc/u-boot/drivers/pci/
H A Dpci_indirect.c51 INDIRECT_PCI_OP(read, word, u16 *, in_le16, 2)
/openbmc/u-boot/arch/m68k/include/asm/
H A Dio.h61 #define inw(port) in_le16((u16 *)((port)+_IO_BASE))
171 static inline int in_le16(volatile u16 * addr) in in_le16() function
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dio.h72 #define in_le16(a) in_arch(w,le16,a) macro
128 #define in_le16(a) in_arch(w,le16,a) macro
/openbmc/linux/arch/powerpc/sysdev/
H A Dindirect_pci.c66 *val = in_le16(cfg_data); in __indirect_read_config()
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/
H A Dpci.c38 PCI_OP(read, word, u16 *, in_le16, 2)
/openbmc/linux/arch/powerpc/platforms/pasemi/
H A Dpci.c185 *val = in_le16(addr); in pa_pxp_read_config()
/openbmc/linux/arch/powerpc/include/asm/
H A Dio.h172 DEF_MMIO_IN_X(in_le16, 16, lhbrx);
182 DEF_MMIO_IN_D(in_le16, 16, lhz);
572 #define __do_readw(addr) in_le16(PCI_FIX_ADDR(addr))
/openbmc/u-boot/arch/nios2/include/asm/
H A Dio.h128 #define in_le16(a) in_arch(w,le16,a) macro
/openbmc/u-boot/arch/arc/include/asm/
H A Dio.h232 #define in_le16(a) in_arch(w, le16, a) macro
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dpci.c52 *val = in_le16(cfg_data); in gg2_read_config()

12