Home
last modified time | relevance | path

Searched refs:dm_gpio_set_value (Results 1 – 25 of 48) sorted by relevance

12

/external/u-boot/board/renesas/ulcb/
Dcpld.c37 dm_gpio_set_value(&priv->mosi, !!(addr & 0x80)); /* MSB first */ in cpld_read()
38 dm_gpio_set_value(&priv->sck, 1); in cpld_read()
40 dm_gpio_set_value(&priv->sck, 0); in cpld_read()
43 dm_gpio_set_value(&priv->mosi, 0); /* READ */ in cpld_read()
44 dm_gpio_set_value(&priv->sstbz, 0); in cpld_read()
45 dm_gpio_set_value(&priv->sck, 1); in cpld_read()
46 dm_gpio_set_value(&priv->sck, 0); in cpld_read()
47 dm_gpio_set_value(&priv->sstbz, 1); in cpld_read()
50 dm_gpio_set_value(&priv->sck, 1); in cpld_read()
53 dm_gpio_set_value(&priv->sck, 0); in cpld_read()
[all …]
/external/u-boot/drivers/spi/
Dsoft_spi.c43 dm_gpio_set_value(&plat->sclk, bit); in soft_spi_scl()
53 dm_gpio_set_value(&plat->mosi, bit); in soft_spi_sda()
63 dm_gpio_set_value(&plat->cs, 0); in soft_spi_cs_activate()
64 dm_gpio_set_value(&plat->sclk, 0); in soft_spi_cs_activate()
65 dm_gpio_set_value(&plat->cs, 1); in soft_spi_cs_activate()
75 dm_gpio_set_value(&plat->cs, 0); in soft_spi_cs_deactivate()
Dmxc_spi.c63 dm_gpio_set_value(&mxcs->ss, 1); in mxc_spi_cs_activate()
73 dm_gpio_set_value(&mxcs->ss, 0); in mxc_spi_cs_deactivate()
511 ret = dm_gpio_set_value(&plat->ss, 0); in mxc_spi_probe()
Datmel_spi.c302 dm_gpio_set_value(&priv->cs_gpios[cs], 0); in atmel_spi_cs_activate()
317 dm_gpio_set_value(&priv->cs_gpios[cs], 1); in atmel_spi_cs_deactivate()
Dpic32_spi.c222 dm_gpio_set_value(&priv->cs_gpio, 1); in spi_cs_activate()
230 dm_gpio_set_value(&priv->cs_gpio, 0); in spi_cs_deactivate()
/external/u-boot/drivers/video/bridge/
Dvideo-bridge-uclass.c112 ret = dm_gpio_set_value(&uc_priv->sleep, !active); in video_bridge_set_active()
116 ret = dm_gpio_set_value(&uc_priv->reset, true); in video_bridge_set_active()
120 ret = dm_gpio_set_value(&uc_priv->reset, false); in video_bridge_set_active()
/external/u-boot/board/dfi/dfi-bt700/
Ddfi-bt700.c47 dm_gpio_set_value(&desc, 0); in board_late_init()
53 dm_gpio_set_value(&desc, 1); in board_late_init()
/external/u-boot/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c30 ret = dm_gpio_set_value(&priv->ap_claim, 0); in i2c_arbitrator_deselect()
51 ret = dm_gpio_set_value(&priv->ap_claim, 1); in i2c_arbitrator_select()
72 ret = dm_gpio_set_value(&priv->ap_claim, 0); in i2c_arbitrator_select()
Di2c-mux-gpio.c46 ret = dm_gpio_set_value(&priv->gpios[i], (channel >> i) & 1); in i2c_mux_gpio_select()
61 ret = dm_gpio_set_value(&priv->gpios[i], (priv->idle >> i) & 1); in i2c_mux_gpio_deselect()
/external/u-boot/board/intel/minnowmax/
Dminnowmax.c48 dm_gpio_set_value(&desc, 1); in misc_init_r()
57 dm_gpio_set_value(&desc, 1); in misc_init_r()
/external/u-boot/board/gdsys/a38x/
Dihs_phys.c259 dm_gpio_set_value(&gpio_mii->mdc_gpio, 1); in mii_mdio_init()
268 dm_gpio_set_value(&gpio_mii->mdc_gpio, gpio_mii->mdio_value); in mii_mdio_active()
287 dm_gpio_set_value(&gpio_mii->mdio_gpio, v); in mii_set_mdio()
307 dm_gpio_set_value(&gpio_mii->mdc_gpio, v); in mii_set_mdc()
Dcontrolcenterdc.c91 dm_gpio_set_value(&gpio, 0); in board_pex_config()
114 dm_gpio_set_value(&gpio, 1); in board_pex_config()
/external/u-boot/board/st/stm32f746-disco/
Dstm32f746-disco.c127 dm_gpio_set_value(&gpio, 0); in board_late_init()
129 dm_gpio_set_value(&gpio, 1); in board_late_init()
/external/u-boot/board/logicpd/imx6/
Dimx6logic.c106 dm_gpio_set_value(&reset, 0); in fixup_enet_clock()
108 dm_gpio_set_value(&reset, 1); in fixup_enet_clock()
/external/u-boot/arch/arm/mach-imx/mx6/
Dopos6ul.c102 dm_gpio_set_value(&rst, 0); in board_eth_init()
104 dm_gpio_set_value(&rst, 1); in board_eth_init()
/external/u-boot/drivers/mmc/
Drockchip_dw_mmc.c184 dm_gpio_set_value(&reset, 1); in rockchip_dwmmc_pwrseq_set_power()
186 dm_gpio_set_value(&reset, 0); in rockchip_dwmmc_pwrseq_set_power()
/external/u-boot/board/samsung/common/
Dboard.c365 dm_gpio_set_value(&gpio, 0); in reset_misc()
367 dm_gpio_set_value(&gpio, 1); in reset_misc()
/external/u-boot/board/freescale/mx6sxsabreauto/
Dmx6sxsabreauto.c307 dm_gpio_set_value(&desc, 1); in board_init()
320 dm_gpio_set_value(&desc, 0); in board_init()
/external/u-boot/drivers/video/
Dbacklight_gpio.c21 dm_gpio_set_value(&priv->gpio, 1); in gpio_backlight_enable()
Dsimple_panel.c26 dm_gpio_set_value(&priv->enable, 1); in simple_panel_enable_backlight()
/external/u-boot/board/armadeus/opos6uldev/
Dboard.c70 dm_gpio_set_value(&backlight, 1); in setup_lcd()
/external/u-boot/drivers/usb/host/
Dehci-tegra.c272 dm_gpio_set_value(&config->vbus_gpio, vbus_value); in set_up_vbus()
608 dm_gpio_set_value(&config->phy_reset_gpio, 1); in init_ulpi_usb_controller()
610 dm_gpio_set_value(&config->phy_reset_gpio, 0); in init_ulpi_usb_controller()
/external/u-boot/drivers/power/regulator/
Dfixed.c115 ret = dm_gpio_set_value(&dev_pdata->gpio, enable); in fixed_regulator_set_enable()
Dgpio-regulator.c109 ret = dm_gpio_set_value(&dev_pdata->gpio, enable); in gpio_regulator_set_value()
/external/u-boot/drivers/led/
Dled_gpio.c40 return dm_gpio_set_value(&priv->gpio, state); in gpio_led_set_state()

12