/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_config.c | 67 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 85 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT_HIGH | GPIO_INPUT); in ZTEST() 95 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 101 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT_LOW | GPIO_INPUT); in ZTEST() 111 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 119 ret = gpio_pin_configure(port, TEST_PIN, GPIO_INPUT); in ZTEST() 191 ret = gpio_pin_configure(port, TEST_PIN, GPIO_INPUT | cfg_flag); in ZTEST() 218 GPIO_OPEN_DRAIN | GPIO_INPUT | GPIO_PULL_UP); in ZTEST() 242 GPIO_OPEN_SOURCE | GPIO_INPUT | GPIO_PULL_UP); in ZTEST() 265 GPIO_OPEN_SOURCE | GPIO_INPUT | GPIO_PULL_DOWN); in ZTEST() [all …]
|
D | test_port.c | 122 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 171 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 211 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 252 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST() 303 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST() 347 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 388 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 429 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 466 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST()
|
D | test_pin.c | 71 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 152 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 189 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT); in ZTEST() 226 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST() 276 ret = gpio_pin_configure(port, TEST_PIN, GPIO_OUTPUT | GPIO_INPUT | in ZTEST()
|
D | test_pin_interrupt.c | 63 ret = gpio_pin_configure(port, TEST_PIN, GPIO_INPUT | GPIO_OUTPUT); in test_gpio_pin_interrupt_edge() 76 ret = gpio_pin_configure(port, TEST_PIN, GPIO_INPUT | cfg_out_flag | in test_gpio_pin_interrupt_edge() 137 ret = gpio_pin_configure(port, TEST_PIN, GPIO_INPUT | GPIO_OUTPUT); in test_gpio_pin_interrupt_level() 155 ret = gpio_pin_configure(port, TEST_PIN, GPIO_INPUT | cfg_out_flag | in test_gpio_pin_interrupt_level()
|
/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_ite_it8xxx2_v2/src/ |
D | main.c | 100 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_HIGH)); in ZTEST() 114 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_LOW)); in ZTEST() 128 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_HIGH)); in ZTEST() 152 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_HIGH)); in ZTEST() 194 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_HIGH)); in ZTEST() 218 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_HIGH)); in ZTEST() 248 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_HIGH)); in ZTEST() 275 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_ACTIVE_HIGH)); in ZTEST() 398 zassert_ok(gpio_pin_configure(gpio_dev, TEST_PIN, GPIO_INPUT | GPIO_PULL_UP)); in ZTEST() 406 zexpect_equal(flags, GPIO_INPUT | GPIO_PULL_UP, "flags=%x", flags); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_basic_api/src/ |
D | gpio_emul_callback.c | 46 if ((output_flags & GPIO_OUTPUT) && (input_flags & GPIO_INPUT)) { in gpio_emul_callback_handler() 56 if ((output_flags == GPIO_DISCONNECTED) && (input_flags & GPIO_INPUT)) { in gpio_emul_callback_handler()
|
D | test_gpio_port.c | 78 rc = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT); in setup() 104 rc = gpio_pin_configure(dev, PIN_OUT, GPIO_INPUT); in setup() 399 rc = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT); in check_input_levels() 414 rc = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT | GPIO_ACTIVE_LOW); in check_input_levels() 449 rc = gpio_pin_configure(dev, PIN_OUT, GPIO_INPUT); in check_pulls() 454 rc = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT | GPIO_PULL_UP); in check_pulls() 466 rc = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT | GPIO_PULL_DOWN); in check_pulls() 479 rc = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT | GPIO_ACTIVE_LOW | GPIO_PULL_UP); in check_pulls() 493 rc = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT | GPIO_ACTIVE_LOW | GPIO_PULL_DOWN); in check_pulls()
|
D | test_config_trigger.c | 34 ret = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT); in ZTEST() 86 ret = gpio_pin_configure(dev, PIN_IN, GPIO_INPUT); in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/lora/ |
D | sx126x_standalone.c | 74 gpio_pin_configure_dt(&sx126x_gpio_busy, GPIO_INPUT) || in sx126x_variant_init() 75 gpio_pin_configure_dt(&sx126x_gpio_dio1, GPIO_INPUT)) { in sx126x_variant_init()
|
/Zephyr-Core-3.7.0/samples/boards/bbc_microbit/line_follower_robot/src/ |
D | main.c | 112 gpio_pin_configure_dt(&left_gpio, GPIO_INPUT); in main() 113 gpio_pin_configure_dt(&right_gpio, GPIO_INPUT); in main()
|
/Zephyr-Core-3.7.0/samples/boards/bbc_microbit/sound/src/ |
D | main.c | 101 gpio_pin_configure_dt(&sw0_gpio, GPIO_INPUT); in main() 102 gpio_pin_configure_dt(&sw1_gpio, GPIO_INPUT); in main()
|
/Zephyr-Core-3.7.0/drivers/gpio/ |
D | gpio_efinix_sapphire.c | 23 (GPIO_INPUT | GPIO_OUTPUT | GPIO_OUTPUT_INIT_LOW | GPIO_OUTPUT_INIT_HIGH | \ 62 if (type == GPIO_INPUT) { in cfg_output_enable_bit() 114 cfg_output_enable_bit(config, BIT(pin), GPIO_INPUT); in gpio_efinix_sapphire_config()
|
D | gpio_ads114s0x.c | 41 if ((flags & (GPIO_INPUT | GPIO_OUTPUT)) == GPIO_DISCONNECTED) { in gpio_ads114s0x_config() 59 case GPIO_INPUT: in gpio_ads114s0x_config()
|
D | gpio_axp192.c | 113 } else if ((flags & GPIO_INPUT) != 0) { in gpio_axp192_configure() 193 *out_flags |= GPIO_INPUT; in gpio_axp192_get_config() 253 } else if (0 != (flags & GPIO_INPUT)) { in gpio_axp192_port_get_direction()
|
D | gpio_creg_gpio.c | 123 io_flags = flags & (GPIO_INPUT | GPIO_OUTPUT); in pin_config() 125 || (io_flags == (GPIO_INPUT | GPIO_OUTPUT))) { in pin_config()
|
D | gpio_rv32m1.c | 91 if ((flags & GPIO_INT_ENABLE) && ((flags & GPIO_INPUT) == 0)) { in gpio_rv32m1_configure() 95 if (((flags & GPIO_INPUT) != 0) && ((flags & GPIO_OUTPUT) != 0)) { in gpio_rv32m1_configure() 117 case GPIO_INPUT: in gpio_rv32m1_configure()
|
/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_get_direction/src/ |
D | main.c | 73 fixture->flags = GPIO_INPUT; in ZTEST_F() 111 fixture->flags = GPIO_INPUT | GPIO_OUTPUT | GPIO_OUTPUT_INIT_LOW; in ZTEST_F()
|
/Zephyr-Core-3.7.0/drivers/sensor/ti/ina23x/ |
D | ina23x_trigger.c | 32 ret = gpio_pin_configure_dt(alert_gpio, GPIO_INPUT); in ina23x_trigger_mode_init()
|
/Zephyr-Core-3.7.0/samples/boards/nrf/dynamic_pinctrl/src/ |
D | remap.c | 42 ret = gpio_pin_configure_dt(&button, GPIO_INPUT); in remap_pins()
|
/Zephyr-Core-3.7.0/samples/bluetooth/st_ble_sensor/src/ |
D | button_svc.c | 37 ret = gpio_pin_configure_dt(&button, GPIO_INPUT); in button_init()
|
/Zephyr-Core-3.7.0/samples/boards/ti/cc13x2_cc26x2/system_off/src/ |
D | main.c | 40 gpio_pin_configure_dt(&sw0_gpio, GPIO_INPUT); in main()
|
D | ext_flash.c | 98 gpio_pin_configure(dev, DIO8_PIN, GPIO_INPUT | GPIO_PULL_DOWN); in CC1352R1_LAUNCHXL_shutDownExtFlash()
|
/Zephyr-Core-3.7.0/drivers/sensor/ti/bq274xx/ |
D | bq274xx_trigger.c | 95 ret = gpio_pin_configure_dt(&config->int_gpios, GPIO_INPUT); in bq274xx_trigger_mode_init() 137 ret = gpio_pin_configure_dt(&config->int_gpios, GPIO_INPUT); in bq274xx_trigger_set()
|
/Zephyr-Core-3.7.0/samples/boards/nrf/system_off/src/ |
D | main.c | 49 rc = gpio_pin_configure_dt(&sw0, GPIO_INPUT); in main()
|
/Zephyr-Core-3.7.0/drivers/mdio/ |
D | mdio_gpio.c | 41 gpio_pin_configure_dt(&dev_cfg->mdio_gpio, dir ? GPIO_OUTPUT_ACTIVE : GPIO_INPUT); in mdio_gpio_dir() 151 rc = gpio_pin_configure_dt(&dev_cfg->mdio_gpio, GPIO_INPUT); in mdio_gpio_initialize()
|