Home
last modified time | relevance | path

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

/freebsd/sys/arm/mv/
H A Dgpio.c602 uint8_t raw_read; in mv_gpio_double_edge_init() local
608 raw_read = (mv_gpio_value_get(dev, pin, 1) ? 1 : 0); in mv_gpio_double_edge_init()
610 if (raw_read) in mv_gpio_double_edge_init()
662 uint8_t raw_read; in mv_gpio_debounce_init() local
671 raw_read = (mv_gpio_value_get(dev, pin, 1) ? 1 : 0); in mv_gpio_debounce_init()
672 if (raw_read) { in mv_gpio_debounce_init()
680 mv_gpio_debounced_state_set(dev, pin, raw_read); in mv_gpio_debounce_init()
722 uint8_t raw_read, last_state; in mv_gpio_debounce() local
736 raw_read = (mv_gpio_value_get(dev, pin, 1) ? 1 : 0); in mv_gpio_debounce()
740 if (raw_read == last_state) { in mv_gpio_debounce()
[all …]