Home
last modified time | relevance | path

Searched refs:active_val (Results 1 – 2 of 2) sorted by relevance

/components/drivers/led/
A Dled-gpio.c23 rt_uint8_t active_val; member
38 rt_pin_write(gled->pin, !gled->active_val); in gpio_led_set_state()
42 rt_pin_write(gled->pin, gled->active_val); in gpio_led_set_state()
100 gled->pin = rt_ofw_get_named_pin(np, RT_NULL, 0, RT_NULL, &gled->active_val); in ofw_append_gpio_led()
/components/drivers/regulator/
A Dregulator-gpio.c99 rt_uint8_t active_val = param->enable_active_high ? PIN_LOW : PIN_HIGH; in regulator_gpio_is_enabled() local
102 return rt_pin_read(rg->enable_pin) == active_val; in regulator_gpio_is_enabled()

Completed in 3 milliseconds