Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_creg_gpio.c28 uint32_t pin_val; member
55 *value = drv_data->pin_val = val; in port_get()
67 uint32_t *pin_val = &drv_data->pin_val; in port_write() local
71 *pin_val = ((*pin_val & ~mask) | (value & mask)) ^ toggle; in port_write()
74 tmp = (*pin_val & 1 << i) ? cfg->on_val : cfg->off_val; in port_write()
Dgpio_ifx_cat1.c72 bool pin_val = false; in gpio_cat1_configure() local
82 pin_val = true; in gpio_cat1_configure()
95 pin_val = true; in gpio_cat1_configure()
98 pin_val = false; in gpio_cat1_configure()
102 pin_val = (flags & GPIO_OUTPUT_INIT_HIGH) ? true : false; in gpio_cat1_configure()
116 status = cyhal_gpio_init(gpio_pin, gpio_dir, gpio_mode, pin_val); in gpio_cat1_configure()
123 status = cyhal_gpio_init(gpio_pin, gpio_dir, gpio_mode, pin_val); in gpio_cat1_configure()
Dgpio_psoc6.c47 uint32_t pin_val; in gpio_psoc6_config() local
55 pin_val = (flags & GPIO_LINE_OPEN_DRAIN) ? 1 : 0; in gpio_psoc6_config()
59 pin_val = (flags & GPIO_OUTPUT_INIT_HIGH) ? 1 : 0; in gpio_psoc6_config()
72 pin_val = (flags & GPIO_PULL_UP) ? 1 : 0; in gpio_psoc6_config()
80 Cy_GPIO_Pin_FastInit(port, pin, drv_mode, pin_val, HSIOM_SEL_GPIO); in gpio_psoc6_config()
86 (unsigned int) port, pin, drv_mode, pin_val); in gpio_psoc6_config()
/Zephyr-Core-3.6.0/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_config.c166 int pin_val; in ZTEST() local
184 pin_val = 1; in ZTEST()
187 pin_val = 0; in ZTEST()
204 if (pin_val != pin_in_val) { in ZTEST()
210 if (pin_val == 1) { in ZTEST()