Searched refs:active_val (Results 1 – 2 of 2) sorted by relevance
23 rt_uint8_t active_val; member38 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()
99 rt_uint8_t active_val = param->enable_active_high ? PIN_LOW : PIN_HIGH; in regulator_gpio_is_enabled() local102 return rt_pin_read(rg->enable_pin) == active_val; in regulator_gpio_is_enabled()
Completed in 3 milliseconds