Home
last modified time | relevance | path

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

1234567

/external/u-boot/drivers/pinctrl/
Dpinctrl-at91.c82 void (*mux_A_periph)(struct at91_port *pio, u32 mask);
83 void (*mux_B_periph)(struct at91_port *pio, u32 mask);
84 void (*mux_C_periph)(struct at91_port *pio, u32 mask);
85 void (*mux_D_periph)(struct at91_port *pio, u32 mask);
86 void (*set_deglitch)(struct at91_port *pio, u32 mask, bool is_on);
87 void (*set_debounce)(struct at91_port *pio, u32 mask, bool is_on,
89 void (*set_pulldown)(struct at91_port *pio, u32 mask, bool is_on);
90 void (*disable_schmitt_trig)(struct at91_port *pio, u32 mask);
91 void (*set_drivestrength)(struct at91_port *pio, u32 pin,
103 static void at91_mux_disable_interrupt(struct at91_port *pio, u32 mask) in at91_mux_disable_interrupt() argument
[all …]
/external/u-boot/board/atmel/at91rm9200ek/
Dled.c25 at91_pio_t *pio = (at91_pio_t *)ATMEL_BASE_PIO; in green_led_on() local
26 writel(GREEN_LED, &pio->piob.codr); in green_led_on()
31 at91_pio_t *pio = (at91_pio_t *)ATMEL_BASE_PIO; in yellow_led_on() local
32 writel(YELLOW_LED, &pio->piob.codr); in yellow_led_on()
37 at91_pio_t *pio = (at91_pio_t *)ATMEL_BASE_PIO; in red_led_on() local
38 writel(RED_LED, &pio->piob.codr); in red_led_on()
43 at91_pio_t *pio = (at91_pio_t *)ATMEL_BASE_PIO; in green_led_off() local
44 writel(GREEN_LED, &pio->piob.sodr); in green_led_off()
49 at91_pio_t *pio = (at91_pio_t *)ATMEL_BASE_PIO; in yellow_led_off() local
50 writel(YELLOW_LED, &pio->piob.sodr); in yellow_led_off()
[all …]
/external/u-boot/arch/arm/mach-sunxi/
Dpinmux.c12 void sunxi_gpio_set_cfgbank(struct sunxi_gpio *pio, int bank_offset, u32 val) in sunxi_gpio_set_cfgbank() argument
17 clrsetbits_le32(&pio->cfg[0] + index, 0xf << offset, val << offset); in sunxi_gpio_set_cfgbank()
23 struct sunxi_gpio *pio = BANK_TO_GPIO(bank); in sunxi_gpio_set_cfgpin() local
25 sunxi_gpio_set_cfgbank(pio, pin, val); in sunxi_gpio_set_cfgpin()
28 int sunxi_gpio_get_cfgbank(struct sunxi_gpio *pio, int bank_offset) in sunxi_gpio_get_cfgbank() argument
34 cfg = readl(&pio->cfg[0] + index); in sunxi_gpio_get_cfgbank()
43 struct sunxi_gpio *pio = BANK_TO_GPIO(bank); in sunxi_gpio_get_cfgpin() local
45 return sunxi_gpio_get_cfgbank(pio, pin); in sunxi_gpio_get_cfgpin()
53 struct sunxi_gpio *pio = BANK_TO_GPIO(bank); in sunxi_gpio_set_drv() local
55 clrsetbits_le32(&pio->drv[0] + index, 0x3 << offset, val << offset); in sunxi_gpio_set_drv()
[all …]
/external/u-boot/arch/arm/dts/
Dsun4i-a10-inet9f-rev03.dts76 gpios = <&pio 0 6 GPIO_ACTIVE_LOW>; /* PA6 */
84 gpios = <&pio 0 5 GPIO_ACTIVE_LOW>; /* PA5 */
92 gpios = <&pio 0 8 GPIO_ACTIVE_LOW>; /* PA8 */
100 gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
108 gpios = <&pio 0 1 GPIO_ACTIVE_LOW>; /* PA1 */
116 gpios = <&pio 0 0 GPIO_ACTIVE_LOW>; /* PA0 */
124 gpios = <&pio 0 3 GPIO_ACTIVE_LOW>; /* PA3 */
132 gpios = <&pio 0 4 GPIO_ACTIVE_LOW>; /* PA4 */
140 gpios = <&pio 7 23 GPIO_ACTIVE_LOW>; /* PH23 */
148 gpios = <&pio 7 24 GPIO_ACTIVE_LOW>; /* PH24 */
[all …]
Dsun7i-a20-olimex-som204-evb.dts40 gpios = <&pio 8 0 GPIO_ACTIVE_HIGH>;
46 gpios = <&pio 8 10 GPIO_ACTIVE_HIGH>;
52 gpios = <&pio 8 11 GPIO_ACTIVE_HIGH>;
59 reset-gpios = <&pio 6 9 GPIO_ACTIVE_LOW>;
91 snps,reset-gpio = <&pio 0 17 GPIO_ACTIVE_HIGH>;
144 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>;
175 &pio {
185 gpio = <&pio 2 3 GPIO_ACTIVE_HIGH>;
224 gpio = <&pio 2 17 GPIO_ACTIVE_HIGH>;
289 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
[all …]
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 */
185 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
202 interrupt-parent = <&pio>;
225 &pio {
277 gpio = <&pio 7 12 GPIO_ACTIVE_HIGH>;
310 gpio = <&pio 7 17 GPIO_ACTIVE_HIGH>;
[all …]
Dsun4i-a10-pov-protab2-ips9.dts67 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
78 allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */
112 interrupt-parent = <&pio>;
127 interrupt-parent = <&pio>;
129 attb-gpio = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* PH21 */
130 enable-gpios = <&pio 0 5 GPIO_ACTIVE_LOW>;
131 wake-gpios = <&pio 1 13 GPIO_ACTIVE_LOW>;
163 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
172 &pio {
273 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
[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>;
167 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
183 &pio {
207 gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>;
258 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
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 */
148 cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
158 cd-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
167 &pio {
249 gpio = <&pio 7 26 GPIO_ACTIVE_HIGH>; /* PH26 */
255 gpio = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */
277 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-dserve-dsrv9703c.dts67 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
89 gpio = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
96 allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */
136 interrupt-parent = <&pio>;
140 reset-gpios = <&pio 1 13 GPIO_ACTIVE_LOW>;
170 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
179 &pio {
276 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
277 usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
Dsun5i-a13-utoo-p66.dts66 gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>, /* PG12, sda */
67 <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10, scl */
79 allwinner,pa-gpios = <&pio 6 3 GPIO_ACTIVE_HIGH>; /* PG3 */
90 interrupt-parent = <&pio>;
94 wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
117 &pio {
135 gpio = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
Dsun5i-a13-olinuxino-micro.dts70 gpios = <&pio 6 9 GPIO_ACTIVE_HIGH>;
103 cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */
116 &pio {
162 gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>;
168 gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>;
186 usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
187 usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
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-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-bananapi-m1-plus.dts70 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
75 gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>;
84 reset-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>; /* PH22 WL-PMU-EN */
96 gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>;
158 cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
178 interrupt-parent = <&pio>;
201 &pio {
269 usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
Dsun7i-a20-wexler-tab7200.dts68 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
79 allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */
123 interrupt-parent = <&pio>;
127 irq-gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* INT (PH21) */
128 reset-gpios = <&pio 1 13 GPIO_ACTIVE_HIGH>; /* RST (PB13) */
157 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
174 &pio {
265 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 {
Dsun4i-a10-inet1.dts67 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
113 interrupt-parent = <&pio>;
126 interrupt-parent = <&pio>;
130 wake-gpios = <&pio 1 13 GPIO_ACTIVE_HIGH>; /* PB13 */
168 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
181 &pio {
268 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
269 usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
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 */
Dsun7i-a20-pcduino3-nano.dts69 gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; /* PH16 */
75 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; /* PH15 */
136 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
153 &pio {
185 gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
219 gpio = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */
237 usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
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-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 */
/external/blktrace/iowatcher/
Dblkparse.c227 struct pending_io *pio; in io_hash_table_insert() local
230 list_for_each_entry(pio, head, hash_list) { in io_hash_table_insert()
231 if (pio->sector == sector && pio->device == dev) in io_hash_table_insert()
242 struct pending_io *pio; in io_hash_table_search() local
245 list_for_each_entry(pio, head, hash_list) { in io_hash_table_search()
246 if (pio->sector == sector && pio->device == dev) in io_hash_table_search()
247 return pio; in io_hash_table_search()
254 struct pending_io *pio; in hash_queued_io() local
257 pio = calloc(1, sizeof(*pio)); in hash_queued_io()
258 pio->sector = io->sector; in hash_queued_io()
[all …]
/external/u-boot/drivers/video/
Dbus_vcxk.c22 at91_pio_t *pio = (at91_pio_t *) AT91_PIO_BASE; variable
25 writel(PIN, &pio->PORT.per); \
26 writel(PIN, &pio->PORT.DDR); \
27 writel(PIN, &pio->PORT.mddr); \
29 writel(PIN, &pio->PORT.puer); \
32 #define VCXK_SET_PIN(PORT, PIN) writel(PIN, &pio->PORT.sodr);
33 #define VCXK_CLR_PIN(PORT, PIN) writel(PIN, &pio->PORT.codr);
36 (!(readl(&pio->CONFIG_SYS_VCXK_ACKNOWLEDGE_PORT.pdsr) & \

1234567