Home
last modified time | relevance | path

Searched refs:reset_pin (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/board/xilinx/microblaze-generic/
Dmicroblaze-generic.c22 static int reset_pin = -1; variable
65 if (reset_pin != -1) in do_reset()
66 gpio_direction_output(reset_pin, 1); in do_reset()
83 reset_pin = gpio_alloc(CONFIG_SYS_GPIO_0_ADDR, "reset", 1); in gpio_init()
84 if (reset_pin != -1) in gpio_init()
85 gpio_request(reset_pin, "reset_pin"); in gpio_init()
/external/u-boot/drivers/video/
Dssd2828.c186 gpio_set_value(cfg->reset_pin, 0); in ssd2828_reset()
188 gpio_set_value(cfg->reset_pin, 1); in ssd2828_reset()
209 if (gpio_request(cfg->reset_pin, "ssd2828_reset")) { in ssd2828_enable_gpio()
220 gpio_free(cfg->reset_pin); in ssd2828_enable_gpio()
224 gpio_direction_output(cfg->reset_pin, 0); in ssd2828_enable_gpio()
239 gpio_free(cfg->reset_pin); in ssd2828_free_gpio()
Dssd2828.h42 int reset_pin; member
/external/u-boot/drivers/video/sunxi/
Dsunxi_display.c548 int pin, reset_pin; in sunxi_lcdc_panel_enable() local
566 reset_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_RESET); in sunxi_lcdc_panel_enable()
567 if (reset_pin >= 0) { in sunxi_lcdc_panel_enable()
568 gpio_request(reset_pin, "lcd_reset"); in sunxi_lcdc_panel_enable()
569 gpio_direction_output(reset_pin, 0); /* Assert reset */ in sunxi_lcdc_panel_enable()
580 if (reset_pin >= 0) in sunxi_lcdc_panel_enable()
581 gpio_direction_output(reset_pin, 1); /* De-assert reset */ in sunxi_lcdc_panel_enable()
889 .reset_pin = name_to_gpio(CONFIG_VIDEO_LCD_SSD2828_RESET),
906 if (cfg.reset_pin == -1) {