/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 …]
|
/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/arm/boot/dts/ |
D | sun7i-a20-cubietruck.dts | 72 gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; 77 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 82 gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; 87 gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; 95 reset-gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 WIFI_EN */ 167 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 184 interrupt-parent = <&pio>; 207 &pio { 259 gpio = <&pio 7 12 GPIO_ACTIVE_HIGH>; 292 gpio = <&pio 7 17 GPIO_ACTIVE_HIGH>; [all …]
|
D | sun7i-a20-pcduino3.dts | 72 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; 77 gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; 90 gpios = <&pio 7 17 GPIO_ACTIVE_LOW>; 95 gpios = <&pio 7 18 GPIO_ACTIVE_LOW>; 100 gpios = <&pio 7 19 GPIO_ACTIVE_LOW>; 163 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 180 &pio { 204 gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>; 255 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
|
D | sun5i-a13-utoo-p66.dts | 60 gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>, /* PG12, sda */ 61 <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10, scl */ 95 interrupt-parent = <&pio>; 99 wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */ 136 cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */ 160 &pio { 236 gpio = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */ 248 usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */ 249 usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
|
D | sun7i-a20-orangepi-mini.dts | 72 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; /* PH24 */ 77 gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>; /* PH25 */ 90 gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; /* PH23 */ 144 cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ 154 cd-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ 163 &pio { 245 gpio = <&pio 7 26 GPIO_ACTIVE_HIGH>; /* PH26 */ 251 gpio = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */ 273 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
|
D | sun4i-a10-pcduino.dts | 71 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; 76 gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; 90 gpios = <&pio 7 17 GPIO_ACTIVE_LOW>; 96 gpios = <&pio 7 18 GPIO_ACTIVE_LOW>; 102 gpios = <&pio 7 19 GPIO_ACTIVE_LOW>; 154 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 171 &pio { 235 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
|
D | sun4i-a10-marsboard.dts | 70 gpios = <&pio 1 5 GPIO_ACTIVE_HIGH>; 75 gpios = <&pio 1 6 GPIO_ACTIVE_HIGH>; 80 gpios = <&pio 1 7 GPIO_ACTIVE_HIGH>; 85 gpios = <&pio 1 8 GPIO_ACTIVE_HIGH>; 148 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 165 &pio { 210 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
|
D | sun7i-a20-i12-tvbox.dts | 70 gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; 75 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 87 gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>; 100 gpio = <&pio 7 12 GPIO_ACTIVE_HIGH>; 112 gpio = <&pio 7 21 GPIO_ACTIVE_HIGH>; 164 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 180 interrupt-parent = <&pio>; 199 &pio {
|
D | sun7i-a20-bananapro.dts | 70 gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; 75 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; 88 gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; 99 gpio = <&pio 7 22 GPIO_ACTIVE_HIGH>; 161 cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ 183 &pio { 229 gpio = <&pio 7 0 GPIO_ACTIVE_HIGH>; /* PH0 */ 235 gpio = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
|
D | sun7i-a20-pcduino3-nano.dts | 69 gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; /* PH16 */ 75 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; /* PH15 */ 132 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 149 &pio { 181 gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ 215 gpio = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */ 233 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
|
D | sun5i-a13-olinuxino.dts | 71 gpios = <&pio 6 9 GPIO_ACTIVE_HIGH>; 153 cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */ 166 &pio { 205 gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ 210 gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>; 232 usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */ 233 usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
|
D | sun6i-a31-colombus.dts | 69 gpios = <&pio 0 23 GPIO_ACTIVE_HIGH>, /* PA23, sda */ 70 <&pio 0 24 GPIO_ACTIVE_HIGH>; /* PA24, scl */ 111 interrupt-parent = <&pio>; 121 cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */ 130 &pio { 156 gpio = <&pio 7 24 GPIO_ACTIVE_HIGH>;
|
D | sun7i-a20-olinuxino-lime.dts | 73 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 137 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 154 &pio { 186 gpio = <&pio 2 3 GPIO_ACTIVE_HIGH>; 216 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ 217 usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
|
D | sun6i-a31s-sinovoip-bpi-m2.dts | 67 gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ 72 gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10 */ 77 gpios = <&pio 6 5 GPIO_ACTIVE_HIGH>; /* PG5 */ 98 snps,reset-gpio = <&pio 0 21 GPIO_ACTIVE_HIGH>; /* PA21 */ 119 cd-gpios = <&pio 0 4 GPIO_ACTIVE_HIGH>; /* PA4 */ 154 &pio {
|
D | sun9i-a80-optimus.dts | 74 gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; 81 gpios = <&pio 7 0 GPIO_ACTIVE_HIGH>; 93 gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ 128 &pio { 163 cd-gpios = <&pio 7 18 GPIO_ACTIVE_HIGH>; /* PH8 */ 179 gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
|
D | sun4i-a10-olinuxino-lime.dts | 69 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 152 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 169 &pio { 201 gpio = <&pio 2 3 GPIO_ACTIVE_HIGH>; 231 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ 232 usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
|
D | sun7i-a20-olinuxino-lime2.dts | 70 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 186 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 203 &pio { 242 gpio = <&pio 2 3 GPIO_ACTIVE_HIGH>; 248 gpio = <&pio 2 17 GPIO_ACTIVE_HIGH>; 274 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ 275 usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
|
D | sun7i-a20-orangepi.dts | 72 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; /* PH24 */ 85 gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; /* PH23 */ 139 cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ 148 &pio { 223 gpio = <&pio 7 26 GPIO_ACTIVE_HIGH>; /* PH26 */ 229 gpio = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */ 251 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
|
D | sun7i-a20-hummingbird.dts | 77 gpio = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ 88 gpio = <&pio 7 16 GPIO_ACTIVE_HIGH>; /* PH16 */ 112 snps,reset-gpio = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */ 167 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 189 &pio { 227 gpio = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */ 233 gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
|
D | sun5i-a10s-olinuxino-micro.dts | 74 gpios = <&pio 4 3 GPIO_ACTIVE_HIGH>; 180 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ 190 cd-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */ 203 &pio { 241 gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ 247 gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>; 281 usb0_id_det-gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
|
/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 …]
|
/arch/powerpc/sysdev/qe_lib/ |
D | qe_io.c | 153 struct device_node *pio; in par_io_of_config() local 169 pio = of_find_node_by_phandle(*ph); in par_io_of_config() 171 pio_map = of_get_property(pio, "pio-map", &pio_map_len); in par_io_of_config() 189 of_node_put(pio); in par_io_of_config()
|