Home
last modified time | relevance | path

Searched refs:io_addr (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ioperm/
Dioperm01.c76 unsigned long io_addr; /*kernel version dependant io start address */ variable
105 TEST(ioperm(io_addr, NUM_BYTES, TURN_ON)); in main()
109 "%lu, errno=%d : %s", io_addr, in main()
114 io_addr, TEST_RETURN); in main()
139 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup()
142 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup()
159 if ((ioperm(io_addr, NUM_BYTES, TURN_OFF)) == -1) { in cleanup()
/external/u-boot/drivers/mtd/nand/
Dfsl_upm.c32 void __iomem *io_addr, u32 mar) in fsl_upm_run_pattern() argument
38 out_8(io_addr, 0x0); in fsl_upm_run_pattern()
41 out_be16(io_addr, 0x0); in fsl_upm_run_pattern()
44 out_be32(io_addr, 0x0); in fsl_upm_run_pattern()
72 fun->upm.io_addr + fun->chip_offset * chip_nr; in fun_select_chip()
83 void __iomem *io_addr; in fun_cmd_ctrl() local
103 io_addr = fun->upm.io_addr; in fun_cmd_ctrl()
106 io_addr += fun->chip_offset * fun->chip_nr; in fun_cmd_ctrl()
111 fsl_upm_run_pattern(&fun->upm, fun->width, io_addr, mar); in fun_cmd_ctrl()
/external/u-boot/test/dm/
Dpci.c38 ulong io_addr, mem_addr; in dm_test_pci_swapcase() local
47 io_addr = dm_pci_read_bar32(swap, 0); in dm_test_pci_swapcase()
48 outb(2, io_addr); in dm_test_pci_swapcase()
49 ut_asserteq(2, inb(io_addr)); in dm_test_pci_swapcase()
/external/u-boot/arch/nds32/include/asm/
Dio.h382 check_signature(unsigned long io_addr, const unsigned char *signature, in check_signature() argument
387 if (readb(io_addr) != *signature) in check_signature()
389 io_addr++; in check_signature()
419 isa_check_signature(unsigned long io_addr, const unsigned char *signature, in isa_check_signature() argument
424 if (isa_readb(io_addr) != *signature) in isa_check_signature()
426 io_addr++; in isa_check_signature()
/external/u-boot/arch/riscv/include/asm/
Dio.h418 static inline int check_signature(ulong io_addr, const uchar *s, int len) in check_signature() argument
423 if (readb(io_addr) != *s) in check_signature()
425 io_addr++; in check_signature()
455 isa_check_signature(ulong io_addr, const uchar *s, int len) in isa_check_signature() argument
460 if (isa_readb(io_addr) != *s) in isa_check_signature()
462 io_addr++; in isa_check_signature()
/external/u-boot/arch/arm/include/asm/
Dio.h307 check_signature(unsigned long io_addr, const unsigned char *signature, in check_signature() argument
312 if (readb(io_addr) != *signature) in check_signature()
314 io_addr++; in check_signature()
364 isa_check_signature(unsigned long io_addr, const unsigned char *signature, in isa_check_signature() argument
369 if (isa_readb(io_addr) != *signature) in isa_check_signature()
371 io_addr++; in isa_check_signature()
/external/u-boot/arch/sh/include/asm/
Dio.h164 check_signature(unsigned long io_addr, const unsigned char *signature, in check_signature() argument
169 if (readb(io_addr) != *signature) in check_signature()
171 io_addr++; in check_signature()
/external/u-boot/include/linux/mtd/
Dfsl_upm.h22 void __iomem *io_addr; member