| /u-boot/test/dm/ |
| A D | gpio.c | 120 ut_asserteq(1, dm_gpio_get_value(desc)); in dm_test_gpio() 124 ut_asserteq(0, dm_gpio_get_value(desc)); in dm_test_gpio() 128 ut_asserteq(0, dm_gpio_get_value(desc)); in dm_test_gpio() 130 ut_asserteq(1, dm_gpio_get_value(desc)); in dm_test_gpio() 134 ut_asserteq(1, dm_gpio_get_value(desc)); in dm_test_gpio() 136 ut_asserteq(0, dm_gpio_get_value(desc)); in dm_test_gpio() 542 ut_asserteq(1, dm_gpio_get_value(desc1)); in dm_test_gpio_devm() 744 ut_asserteq(1, dm_gpio_get_value(desc)); in dm_test_gpio_get_values_as_int_base3() 748 ut_asserteq(0, dm_gpio_get_value(desc)); in dm_test_gpio_get_values_as_int_base3() 752 ut_asserteq(1, dm_gpio_get_value(desc)); in dm_test_gpio_get_values_as_int_base3() [all …]
|
| /u-boot/doc/ |
| A D | README.gpio | 37 if (dm_gpio_get_value(desc) == 1) 39 else if (dm_gpio_get_value(desc) == 0)
|
| /u-boot/arch/arm/mach-snapdragon/ |
| A D | init_sdm845.c | 56 if (dm_gpio_get_value(&resin)) { in misc_init_r() 74 if (dm_gpio_get_value(&resin)) { in misc_init_r()
|
| /u-boot/drivers/w1/ |
| A D | w1-gpio.c | 45 val = dm_gpio_get_value(&pdata->gpio); in w1_gpio_read_bit() 102 val = dm_gpio_get_value(&pdata->gpio); in w1_gpio_reset() 113 val = dm_gpio_get_value(&pdata->gpio); in w1_gpio_reset()
|
| /u-boot/drivers/led/ |
| A D | led_gpio.c | 32 ret = dm_gpio_get_value(&priv->gpio); in gpio_led_set_state() 51 ret = dm_gpio_get_value(&priv->gpio); in gpio_led_get_state()
|
| /u-boot/board/liebherr/xea/ |
| A D | xea.c | 112 boot_tiva0 = dm_gpio_get_value(&btiva0); in spl_board_init() 113 boot_tiva1 = dm_gpio_get_value(&btiva1); in spl_board_init()
|
| /u-boot/board/aristainetos/ |
| A D | aristainetos.c | 280 if (dm_gpio_get_value(desc)) { in aristainetos_bootmode_settings() 329 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 0; in aristainetos_bootmode_settings() 332 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 1; in aristainetos_bootmode_settings() 335 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 2; in aristainetos_bootmode_settings() 348 if (dm_gpio_get_value(desc)) { in aristainetos_bootmode_settings()
|
| /u-boot/board/dhelectronics/dh_imx8mp/ |
| A D | common.c | 32 memcfg |= !!dm_gpio_get_value(&(gpio[i])) << i; in dh_get_memcfg()
|
| /u-boot/board/dhelectronics/dh_stm32mp1/ |
| A D | board.c | 212 somcode |= !!dm_gpio_get_value(&(gpio[i])) << i; in board_get_coding_straps() 220 ddr3code |= !!dm_gpio_get_value(&(gpio[i])) << i; in board_get_coding_straps() 228 brdcode |= !!dm_gpio_get_value(&(gpio[i])) << i; in board_get_coding_straps() 306 if (dm_gpio_get_value(&gpio)) { in board_key_check() 320 if (dm_gpio_get_value(&gpio)) { in board_key_check()
|
| /u-boot/board/gdsys/a38x/ |
| A D | controlcenterdc.c | 122 if (dm_gpio_get_value(&gpio)) { in spl_board_init() 139 if (!dm_gpio_get_value(&gpio)) in spl_board_init()
|
| A D | ihs_phys.c | 85 if (dm_gpio_get_value(&gpio)) in calculate_octo_phy_mask() 99 if (dm_gpio_get_value(&gpio) == 0) in calculate_octo_phy_mask() 298 *v = (dm_gpio_get_value(&gpio_mii->mdio_gpio)); in mii_get_mdio()
|
| /u-boot/drivers/sysinfo/ |
| A D | gazerbeam.c | 102 sc = dm_gpio_get_value(&priv->var_gpios[SC_GPIO_NO]); in _read_sysinfo_variant_data() 117 con = dm_gpio_get_value(&priv->var_gpios[CON_GPIO_NO]); in _read_sysinfo_variant_data()
|
| /u-boot/board/gateworks/venice/ |
| A D | spl.c | 265 if (dm_gpio_get_value(scl_gpio) && in board_init_f() 266 dm_gpio_get_value(sda_gpio)) in board_init_f()
|
| /u-boot/drivers/power/regulator/ |
| A D | regulator_common.c | 58 return dm_gpio_get_value(&dev_pdata->gpio); in regulator_common_get_enable()
|
| /u-boot/board/st/stm32f746-disco/ |
| A D | stm32f746-disco.c | 107 if (dm_gpio_get_value(&gpio)) in board_late_init()
|
| /u-boot/drivers/i2c/ |
| A D | i2c-gpio.c | 45 return dm_gpio_get_value(sda); in i2c_gpio_sda_get() 67 while (!dm_gpio_get_value(scl) && count++ < 100000) in i2c_gpio_scl_set() 70 if (!dm_gpio_get_value(scl)) in i2c_gpio_scl_set()
|
| /u-boot/board/siemens/iot2050/ |
| A D | board.c | 134 return dm_gpio_get_value(&gpio); in get_pinvalue() 397 if (dm_gpio_get_value(&gpio) == 1) in user_button_pressed() 407 while (dm_gpio_get_value(&gpio) == 0 && count++ < 10000) in user_button_pressed()
|
| /u-boot/drivers/button/ |
| A D | button-gpio.c | 26 ret = dm_gpio_get_value(&priv->gpio); in button_gpio_get_state()
|
| /u-boot/board/qualcomm/dragonboard410c/ |
| A D | dragonboard410c.c | 134 if (dm_gpio_get_value(&resin)) { in misc_init_r()
|
| /u-boot/board/data_modul/common/ |
| A D | common.c | 51 memcfg |= !!dm_gpio_get_value(&(gpio[i])) << i; in dmo_get_memcfg()
|
| /u-boot/board/qualcomm/dragonboard820c/ |
| A D | dragonboard820c.c | 161 if (dm_gpio_get_value(&resin)) { in misc_init_r()
|
| /u-boot/drivers/video/bridge/ |
| A D | video-bridge-uclass.c | 44 ret = dm_gpio_get_value(&uc_priv->hotplug); in video_bridge_check_attached()
|
| /u-boot/drivers/i2c/muxes/ |
| A D | i2c-arb-gpio-challenge.c | 63 ret = dm_gpio_get_value(&priv->ec_claim); in i2c_arbitrator_select()
|
| /u-boot/board/bosch/guardian/ |
| A D | board.c | 216 ret = dm_gpio_get_value(&boot_mode_desc); in set_bootmode_env()
|
| /u-boot/board/ti/j721e/ |
| A D | evm.c | 121 if (dm_gpio_get_value(&desc)) { in detect_enable_hyperflash() 521 ret = dm_gpio_get_value(&desc); in detect_SW3_1_state()
|