Home
last modified time | relevance | path

Searched refs:gpio_set_value (Results 1 – 25 of 114) sorted by relevance

12345

/external/u-boot/board/renesas/stout/
Dcpld.c33 gpio_set_value(MOSI, addr & 0x80); /* MSB first */ in cpld_read()
34 gpio_set_value(SCLK, 1); in cpld_read()
36 gpio_set_value(SCLK, 0); in cpld_read()
39 gpio_set_value(MOSI, 0); /* READ */ in cpld_read()
40 gpio_set_value(SSTBZ, 0); in cpld_read()
41 gpio_set_value(SCLK, 1); in cpld_read()
42 gpio_set_value(SCLK, 0); in cpld_read()
43 gpio_set_value(SSTBZ, 1); in cpld_read()
46 gpio_set_value(SCLK, 1); in cpld_read()
49 gpio_set_value(SCLK, 0); in cpld_read()
[all …]
/external/u-boot/board/bosch/shc/
Dboard.c192 gpio_set_value(LED_PWR_BL_GPIO, 0); in leds_set_failure()
193 gpio_set_value(LED_PWR_GN_GPIO, 0); in leds_set_failure()
194 gpio_set_value(LED_CONN_BL_GPIO, 0); in leds_set_failure()
195 gpio_set_value(LED_CONN_GN_GPIO, 0); in leds_set_failure()
198 gpio_set_value(LED_PWR_RD_GPIO, state); in leds_set_failure()
199 gpio_set_value(LED_CONN_RD_GPIO, state); in leds_set_failure()
206 gpio_set_value(LED_PWR_BL_GPIO, 0); in leds_set_failure()
207 gpio_set_value(LED_LAN_BL_GPIO, 0); in leds_set_failure()
208 gpio_set_value(LED_CLOUD_BL_GPIO, 0); in leds_set_failure()
211 gpio_set_value(LED_PWR_RD_GPIO, state); in leds_set_failure()
[all …]
/external/u-boot/board/armadeus/apf27/
Dfpga.c60 gpio_set_value(ACFG_FPGA_PWR, 1); in fpga_pre_fn()
68 gpio_set_value(ACFG_FPGA_RESET, 1); in fpga_pre_fn()
71 gpio_set_value(ACFG_FPGA_PRG, 1); in fpga_pre_fn()
72 gpio_set_value(ACFG_FPGA_CLK, 1); in fpga_pre_fn()
73 gpio_set_value(ACFG_FPGA_RW, 1); in fpga_pre_fn()
74 gpio_set_value(ACFG_FPGA_CS, 1); in fpga_pre_fn()
75 gpio_set_value(ACFG_FPGA_SUSPEND, 0); in fpga_pre_fn()
76 gpio_set_value(ACFG_FPGA_PWR, 0); in fpga_pre_fn()
89 gpio_set_value(ACFG_FPGA_PRG, !assert); in fpga_pgm_fn()
100 gpio_set_value(ACFG_FPGA_CLK, !assert_clk); in fpga_clk_fn()
[all …]
/external/u-boot/arch/arm/mach-at91/arm926ejs/
Dled.c16 gpio_set_value(CONFIG_RED_LED, 1); in red_led_on()
21 gpio_set_value(CONFIG_RED_LED, 0); in red_led_off()
28 gpio_set_value(CONFIG_GREEN_LED, 0); in green_led_on()
33 gpio_set_value(CONFIG_GREEN_LED, 1); in green_led_off()
40 gpio_set_value(CONFIG_YELLOW_LED, 0); in yellow_led_on()
45 gpio_set_value(CONFIG_YELLOW_LED, 1); in yellow_led_off()
/external/u-boot/board/st/stm32f429-discovery/
Dled.c18 gpio_set_value(CONFIG_RED_LED, 0); in red_led_off()
23 gpio_set_value(CONFIG_GREEN_LED, 0); in green_led_off()
28 gpio_set_value(CONFIG_RED_LED, 1); in red_led_on()
33 gpio_set_value(CONFIG_GREEN_LED, 1); in green_led_on()
/external/u-boot/board/beckhoff/mx53cx9020/
Dmx53cx9020.c109 gpio_set_value(GPIO_LED_PWR_R, in setup_gpio_sups()
114 gpio_set_value(GPIO_LED_PWR_R, 1); in setup_gpio_sups()
252 gpio_set_value(GPIO_C3_CONFIG, 0); in ccat_config_fn()
254 gpio_set_value(GPIO_C3_CONFIG, 1); in ccat_config_fn()
298 gpio_set_value(GPIO_LED_PWR_R, 1); in ccat_post_fn()
299 gpio_set_value(GPIO_LED_PWR_G, 1); in ccat_post_fn()
300 gpio_set_value(GPIO_LED_PWR_B, 0); in ccat_post_fn()
/external/u-boot/board/gumstix/duovero/
Dduovero.c77 gpio_set_value(WIFI_EN, 1); in misc_init_r()
79 gpio_set_value(WIFI_EN, 0); in misc_init_r()
81 gpio_set_value(WIFI_EN, 1); in misc_init_r()
191 gpio_set_value(SMSC_NRESET, 1); in setup_net_chip()
193 gpio_set_value(SMSC_NRESET, 0); in setup_net_chip()
195 gpio_set_value(SMSC_NRESET, 1); in setup_net_chip()
/external/u-boot/board/work-microwave/work_92105/
Dwork_92105_display.c93 gpio_set_value(GPO_15, 0); in max6957aax_write()
96 gpio_set_value(GPO_15, 1); in max6957aax_write()
116 gpio_set_value(GPO_15, 0); in max6957aax_read()
120 gpio_set_value(GPO_15, 1); in max6957aax_read()
124 gpio_set_value(GPO_15, 0); in max6957aax_read()
128 gpio_set_value(GPO_15, 1); in max6957aax_read()
/external/u-boot/board/teejet/mt_ventoux/
Dmt_ventoux.c119 gpio_set_value(FPGA_RESET, !nassert); in fpga_reset()
126 gpio_set_value(FPGA_PROG, !nassert); in fpga_pgm_fn()
160 gpio_set_value(FPGA_RESET, 1); in fpga_pre_config_fn()
161 gpio_set_value(FPGA_PROG, 1); in fpga_pre_config_fn()
180 gpio_set_value(FPGA_DIN, nassert_write); in fpga_wr_fn()
187 gpio_set_value(FPGA_CCLK, assert_clk); in fpga_clk_fn()
/external/u-boot/board/overo/
Dovero.c95 gpio_set_value(130, 0); in get_sdio2_config()
97 gpio_set_value(130, 1); in get_sdio2_config()
335 gpio_set_value(64, 1); in reset_net_chip()
337 gpio_set_value(64, 0); in reset_net_chip()
339 gpio_set_value(64, 1); in reset_net_chip()
414 gpio_set_value(GUMSTIX_GPIO_USBH_CPEN, 0); in ehci_hcd_stop()
/external/u-boot/board/ronetix/pm9261/
Dled.c22 gpio_set_value(CONFIG_RED_LED, 0); in coloured_LED_init()
23 gpio_set_value(CONFIG_GREEN_LED, 1); in coloured_LED_init()
24 gpio_set_value(CONFIG_YELLOW_LED, 1); in coloured_LED_init()
/external/u-boot/board/tqc/tqma6/
Dtqma6_wru4.c180 gpio_set_value(ENET_PHY_RESET_GPIO, 1); in setup_iomuxc_enet()
275 gpio_set_value(GPIO_UART1_PWRON, 1); in tqma6_bb_board_init()
277 gpio_set_value(GPIO_UART2_PWRON, 1); in tqma6_bb_board_init()
279 gpio_set_value(GPIO_UART3_PWRON, 1); in tqma6_bb_board_init()
330 gpio_set_value(WRU4_USB_OTG_PWR, on); in board_ehci_power()
332 gpio_set_value(WRU4_USB_H1_PWR, on); in board_ehci_power()
/external/u-boot/drivers/video/
Dssd2828.c133 gpio_set_value(drv->csx_pin, 0); in soft_spi_xfer_24bit_3wire()
136 gpio_set_value(drv->sck_pin, 0); in soft_spi_xfer_24bit_3wire()
137 gpio_set_value(drv->sdi_pin, (dout & (1 << j)) != 0); in soft_spi_xfer_24bit_3wire()
141 gpio_set_value(drv->sck_pin, 1); in soft_spi_xfer_24bit_3wire()
145 gpio_set_value(drv->csx_pin, 1); in soft_spi_xfer_24bit_3wire()
186 gpio_set_value(cfg->reset_pin, 0); in ssd2828_reset()
188 gpio_set_value(cfg->reset_pin, 1); in ssd2828_reset()
/external/u-boot/board/barco/platinum/
Dplatinum_picon.c144 gpio_set_value(phy_reset, 1); in platinum_setup_enet()
217 gpio_set_value(GPIO_IP_NCONFIG, 1); in platinum_init_gpio()
218 gpio_set_value(GPIO_HK_NCONFIG, 1); in platinum_init_gpio()
219 gpio_set_value(GPIO_LS_NCONFIG, 1); in platinum_init_gpio()
231 gpio_set_value(GPIO_USB_RESET, 1); in platinum_init_usb()
/external/u-boot/board/toradex/apalis-tk1/
Dapalis-tk1.c195 gpio_set_value(LAN_DEV_OFF_N, 1); in tegra_pcie_board_port_reset()
217 gpio_set_value(LAN_RESET_N, 1); in tegra_pcie_board_port_reset()
232 gpio_set_value(PEX_PERST_N, 1); in tegra_pcie_board_port_reset()
238 gpio_set_value(RESET_MOCI_CTRL, 1); in tegra_pcie_board_port_reset()
/external/u-boot/drivers/gpio/
Dspear_gpio.c34 int gpio_set_value(unsigned gpio, int value) in gpio_set_value() function
71 gpio_set_value(gpio, !gpio_get_value(gpio)); in gpio_toggle_value()
86 gpio_set_value(gpio, value); in gpio_direction_output()
Dmvgpio.c60 gpio_set_value(gpio, value); in gpio_direction_output()
80 int gpio_set_value(unsigned gpio, int value) in gpio_set_value() function
/external/u-boot/board/corscience/tricorder/
Dled.c47 gpio_set_value(toggle_gpio, !state); in __led_toggle()
57 gpio_set_value(TRICORDER_STATUS_LED_GREEN, state); in __led_set()
64 gpio_set_value(TRICORDER_STATUS_LED_YELLOW, state); in __led_set()
/external/u-boot/board/Barix/ipam390/
Dipam390.c281 gpio_set_value(red, LED_ON); in show_boot_progress()
282 gpio_set_value(green, LED_OFF); in show_boot_progress()
290 gpio_set_value(red, LED_ON); in show_boot_progress()
291 gpio_set_value(green, LED_ON); in show_boot_progress()
/external/u-boot/board/syteco/zmx25/
Dzmx25.c143 gpio_set_value(IMX_GPIO_NR(3, 16), 1); in board_late_init()
155 gpio_set_value(IMX_GPIO_NR(1, 29), 0); in board_late_init()
156 gpio_set_value(IMX_GPIO_NR(4, 21), 0); in board_late_init()
/external/u-boot/board/ronetix/pm9263/
Dled.c21 gpio_set_value(CONFIG_RED_LED, 0); in coloured_LED_init()
22 gpio_set_value(CONFIG_GREEN_LED, 1); in coloured_LED_init()
/external/u-boot/board/compulab/common/
Domap3_smc911x.c63 gpio_set_value(gpio, 0); in cl_omap3_smc911x_reset_net_chip()
65 gpio_set_value(gpio, 1); in cl_omap3_smc911x_reset_net_chip()
/external/u-boot/board/ti/evm/
Devm.c292 gpio_set_value(rst_gpio, 1); in reset_net_chip()
294 gpio_set_value(rst_gpio, 0); in reset_net_chip()
296 gpio_set_value(rst_gpio, 1); in reset_net_chip()
/external/u-boot/drivers/misc/
Dgpio_led.c47 gpio_set_value(mask, gpio_value); in __led_set()
52 gpio_set_value(mask, !gpio_get_value(mask)); in __led_toggle()
/external/u-boot/board/congatec/cgtqmx6eval/
Dcgtqmx6eval.c268 gpio_set_value(IMX_GPIO_NR(3, 23), 1); in board_eth_init()
291 gpio_set_value(IMX_GPIO_NR(3, 23), 0); in board_eth_init()
292 gpio_set_value(IMX_GPIO_NR(6, 30), (phydev->addr >> 2)); in board_eth_init()
293 gpio_set_value(IMX_GPIO_NR(6, 25), 1); in board_eth_init()
294 gpio_set_value(IMX_GPIO_NR(6, 27), 1); in board_eth_init()
295 gpio_set_value(IMX_GPIO_NR(6, 28), 1); in board_eth_init()
296 gpio_set_value(IMX_GPIO_NR(6, 29), 1); in board_eth_init()
298 gpio_set_value(IMX_GPIO_NR(6, 24), 1); in board_eth_init()
300 gpio_set_value(IMX_GPIO_NR(3, 23), 1); in board_eth_init()

12345