/arch/avr32/mach-at32ap/ |
D | pio.c | 40 struct pio_device *pio; in gpio_to_pio() local 46 pio = &pio_dev[index]; in gpio_to_pio() 47 if (!pio->regs) in gpio_to_pio() 50 return pio; in gpio_to_pio() 59 struct pio_device *pio; in at32_select_periph() local 62 pio = gpio_to_pio(port); in at32_select_periph() 63 if (unlikely(!pio)) { in at32_select_periph() 70 if (unlikely(pio->pinmux_mask & pin_mask)) { in at32_select_periph() 72 pio->name, pin_mask, pio->pinmux_mask & pin_mask); in at32_select_periph() 77 pio->pinmux_mask |= pin_mask; in at32_select_periph() [all …]
|
D | Makefile | 1 obj-y += pdc.o clock.o intc.o extint.o pio.o hsmc.o
|
D | at32ap700x.c | 791 DEFINE_DEV(pio, 0); 798 DEFINE_DEV(pio, 1); 805 DEFINE_DEV(pio, 2); 812 DEFINE_DEV(pio, 3); 819 DEFINE_DEV(pio, 4);
|
/arch/arm/mach-at91/ |
D | gpio.c | 103 static char peripheral_function(void __iomem *pio, unsigned mask) in peripheral_function() argument 108 if (pio) { in peripheral_function() 110 select = !!(__raw_readl(pio + PIO_ABCDSR1) & mask); in peripheral_function() 111 select |= (!!(__raw_readl(pio + PIO_ABCDSR2) & mask) << 1); in peripheral_function() 114 ret = __raw_readl(pio + PIO_ABSR) & mask ? in peripheral_function() 143 void __iomem *pio = pin_to_controller(pin); in at91_set_GPIO_periph() local 146 if (!pio) in at91_set_GPIO_periph() 148 __raw_writel(mask, pio + PIO_IDR); in at91_set_GPIO_periph() 149 __raw_writel(mask, pio + (use_pullup ? PIO_PUER : PIO_PUDR)); in at91_set_GPIO_periph() 150 __raw_writel(mask, pio + PIO_PER); in at91_set_GPIO_periph() [all …]
|
/arch/arm/mach-w90x900/ |
D | gpio.c | 57 void __iomem *pio = nuc900_gpio->regbase + GPIO_IN; in nuc900_gpio_get() local 60 regval = __raw_readl(pio); in nuc900_gpio_get() 69 void __iomem *pio = nuc900_gpio->regbase + GPIO_OUT; in nuc900_gpio_set() local 75 regval = __raw_readl(pio); in nuc900_gpio_set() 82 __raw_writel(regval, pio); in nuc900_gpio_set() 90 void __iomem *pio = nuc900_gpio->regbase + GPIO_DIR; in nuc900_dir_input() local 96 regval = __raw_readl(pio); in nuc900_dir_input() 98 __raw_writel(regval, pio); in nuc900_dir_input() 109 void __iomem *pio = nuc900_gpio->regbase + GPIO_DIR; in nuc900_dir_output() local 115 regval = __raw_readl(pio); in nuc900_dir_output() [all …]
|
/arch/cris/arch-v32/drivers/mach-a3/ |
D | nandflash.c | 61 dout = REG_RD(pio, regi_pio, rw_dout); in crisv32_hwcontrol() 67 this->IO_ADDR_W = (void __iomem *)REG_ADDR(pio, in crisv32_hwcontrol() 71 this->IO_ADDR_W = (void __iomem *)REG_ADDR(pio, in crisv32_hwcontrol() 75 this->IO_ADDR_W = (void __iomem *)REG_ADDR(pio, in crisv32_hwcontrol() 83 REG_WR(pio, regi_pio, rw_dout, dout); in crisv32_hwcontrol() 98 reg_pio_r_din din = REG_RD(pio, regi_pio, r_din); in crisv32_device_ready() 133 REG_WR(pio, regi_pio, rw_man_ctrl, man_ctrl); in crisv32_nand_flash_probe() 134 REG_WR(pio, regi_pio, rw_dout, dout); in crisv32_nand_flash_probe() 135 REG_WR(pio, regi_pio, rw_oe, oe); in crisv32_nand_flash_probe() 146 read_cs = write_cs = (void __iomem *)REG_ADDR(pio, regi_pio, in crisv32_nand_flash_probe()
|
/arch/powerpc/include/asm/ |
D | io-defs.h | 22 DEF_PCI_AC_RET(inb, u8, (unsigned long port), (port), pio, port) 23 DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port) 24 DEF_PCI_AC_RET(inl, u32, (unsigned long port), (port), pio, port) 25 DEF_PCI_AC_NORET(outb, (u8 val, unsigned long port), (val, port), pio, port) 26 DEF_PCI_AC_NORET(outw, (u16 val, unsigned long port), (val, port), pio, port) 27 DEF_PCI_AC_NORET(outl, (u32 val, unsigned long port), (val, port), pio, port) 43 (p, b, c), pio, p) 45 (p, b, c), pio, p) 47 (p, b, c), pio, p) 49 (p, b, c), pio, p) [all …]
|
/arch/powerpc/boot/dts/ |
D | kmeter1.dts | 150 pio-map = < 176 pio-map = < 202 pio-map = < 222 pio-map = < 240 pio-map = < 258 pio-map = < 276 pio-map = < 331 pio-handle = <&pio_ucc1>; 347 pio-handle = <&pio_ucc2>; 363 pio-handle = <&pio_ucc4>; [all …]
|
D | mpc8569mds.dts | 144 pio-map = < 164 pio-map = < 184 pio-map = < 204 pio-map = < 262 pio-handle = <&pio1>; 339 pio-handle = <&pio3>; 362 pio-handle = <&pio2>; 385 pio-handle = <&pio4>;
|
D | mpc832x_mds.dts | 190 pio-map = < 212 pio-map = < 232 pio-map = < 313 pio-handle = <&pio3>; 327 pio-handle = <&pio4>; 345 pio-handle = < &pio5 >;
|
D | mpc832x_rdb.dts | 179 pio-map = < 201 pio-map = < 290 pio-handle = <&ucc2pio>; 304 pio-handle = <&ucc3pio>;
|
D | p1021mds.dts | 206 pio-map = < 229 pio-map = < 288 pio-handle = <&pio1>; 318 pio-handle = <&pio2>;
|
D | mpc8568mds.dts | 134 pio-map = < 162 pio-map = < 211 pio-handle = <&pio1>; 222 pio-handle = <&pio2>;
|
D | p1025rdb_32b.dts | 98 pio-handle = <&pio1>; 127 pio-handle = <&pio2>;
|
D | mpc836x_mds.dts | 232 pio-map = < 259 pio-map = < 372 pio-handle = <&pio1>; 387 pio-handle = <&pio2>;
|
D | p1025rdb.dtsi | 249 pio-map = < 272 pio-map = <
|
D | mpc8349emitx.dts | 421 pio-mode = <6>;
|
/arch/powerpc/sysdev/qe_lib/ |
D | qe_io.c | 154 struct device_node *pio; in par_io_of_config() local 170 pio = of_find_node_by_phandle(*ph); in par_io_of_config() 172 pio_map = of_get_property(pio, "pio-map", &pio_map_len); in par_io_of_config() 190 of_node_put(pio); in par_io_of_config()
|
/arch/cris/include/arch-v32/mach-a3/mach/hwregs/ |
D | intr_vect_defs.h | 254 unsigned int pio : 1; member 267 unsigned int pio : 1; member 279 unsigned int pio : 1; member 291 unsigned int pio : 1; member
|
D | pinmux_defs.h | 103 unsigned int pio : 1; member
|
/arch/cris/include/arch-v32/mach-a3/mach/ |
D | startup.inc | 74 move.d REG_ADDR(pio, regi_pio, rw_ce0_cfg), $r0 77 move.d REG_ADDR(pio, regi_pio, rw_ce1_cfg), $r0 80 move.d REG_ADDR(pio, regi_pio, rw_ce2_cfg), $r0
|
/arch/ia64/sn/kernel/ |
D | setup.c | 669 u64 *pio; in sn_cpu_init() local 670 pio = is_shub1() ? pio1 : pio2; in sn_cpu_init() 672 (volatile unsigned long *)GLOBAL_MMR_ADDR(nasid, pio[slice]); in sn_cpu_init()
|
/arch/x86/kvm/ |
D | x86.c | 3955 if (vcpu->arch.pio.in) in kernel_pio() 3956 r = kvm_io_bus_read(vcpu->kvm, KVM_PIO_BUS, vcpu->arch.pio.port, in kernel_pio() 3957 vcpu->arch.pio.size, pd); in kernel_pio() 3960 vcpu->arch.pio.port, vcpu->arch.pio.size, in kernel_pio() 3971 vcpu->arch.pio.port = port; in emulator_pio_in_out() 3972 vcpu->arch.pio.in = in; in emulator_pio_in_out() 3973 vcpu->arch.pio.count = count; in emulator_pio_in_out() 3974 vcpu->arch.pio.size = size; in emulator_pio_in_out() 3977 vcpu->arch.pio.count = 0; in emulator_pio_in_out() 3998 if (vcpu->arch.pio.count) in emulator_pio_in_emulated() [all …]
|
/arch/cris/arch-v32/mach-a3/ |
D | pinmux.c | 155 hwprot.pio = regk_pinmux_yes; in crisv32_pinmux_alloc_fixed()
|
/arch/x86/include/asm/ |
D | kvm_host.h | 378 struct kvm_pio_request pio; member
|