/external/u-boot/drivers/pinctrl/ |
D | pinctrl-at91.c | 82 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/ |
D | led.c | 25 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/ |
D | pinmux.c | 12 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/ |
D | sun4i-a10-inet9f-rev03.dts | 76 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 …]
|
D | sun7i-a20-olimex-som204-evb.dts | 40 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 …]
|
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 */ 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 …]
|
D | sun4i-a10-pov-protab2-ips9.dts | 67 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 …]
|
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>; 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 */
|
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 */ 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 */
|
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-dserve-dsrv9703c.dts | 67 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 */
|
D | sun5i-a13-utoo-p66.dts | 66 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 */
|
D | sun5i-a13-olinuxino-micro.dts | 70 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 */
|
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-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-bananapi-m1-plus.dts | 70 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 */
|
D | sun7i-a20-wexler-tab7200.dts | 68 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 */
|
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 | sun4i-a10-inet1.dts | 67 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 */
|
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 | sun7i-a20-pcduino3-nano.dts | 69 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 */
|
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-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 */
|
/external/blktrace/iowatcher/ |
D | blkparse.c | 227 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/ |
D | bus_vcxk.c | 22 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) & \
|