Home
last modified time | relevance | path

Searched refs:pio (Results 1 – 25 of 111) sorted by relevance

12345

/arch/avr32/mach-at32ap/
Dpio.c40 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/
Dgpio.c57 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/
Dnandflash.c61 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/
Dio-defs.h22 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/
Dsun7i-a20-cubietruck.dts72 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 …]
Dsun7i-a20-pcduino3.dts72 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 */
Dsun5i-a13-utoo-p66.dts60 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 */
Dsun7i-a20-orangepi-mini.dts72 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 */
Dsun4i-a10-pcduino.dts71 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 */
Dsun4i-a10-marsboard.dts70 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 */
Dsun7i-a20-i12-tvbox.dts70 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 {
Dsun7i-a20-bananapro.dts70 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 */
Dsun7i-a20-pcduino3-nano.dts69 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 */
Dsun5i-a13-olinuxino.dts71 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 */
Dsun6i-a31-colombus.dts69 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>;
Dsun7i-a20-olinuxino-lime.dts73 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 */
Dsun6i-a31s-sinovoip-bpi-m2.dts67 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 {
Dsun9i-a80-optimus.dts74 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 */
Dsun4i-a10-olinuxino-lime.dts69 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 */
Dsun7i-a20-olinuxino-lime2.dts70 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 */
Dsun7i-a20-orangepi.dts72 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 */
Dsun7i-a20-hummingbird.dts77 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 */
Dsun5i-a10s-olinuxino-micro.dts74 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/
Dkmeter1.dts150 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/
Dqe_io.c153 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()

12345