Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/cec-gpio/
Dcec-gpio.c76 bool is_high = gpiod_get_value(cec->v5_gpio); in cec_5v_gpio_irq_handler() local
78 if (is_high == cec->v5_is_high) in cec_5v_gpio_irq_handler()
81 cec->v5_is_high = is_high; in cec_5v_gpio_irq_handler()
96 bool is_high = gpiod_get_value(cec->hpd_gpio); in cec_hpd_gpio_irq_handler() local
98 if (is_high == cec->hpd_is_high) in cec_hpd_gpio_irq_handler()
101 cec->hpd_is_high = is_high; in cec_hpd_gpio_irq_handler()
/Linux-v4.19/include/media/
Dcec.h298 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
309 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
319 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
/Linux-v4.19/drivers/spi/
Dspi-altera.c64 static void altera_spi_set_cs(struct spi_device *spi, bool is_high) in altera_spi_set_cs() argument
68 if (is_high) { in altera_spi_set_cs()
Dspi-cadence.c181 static void cdns_spi_chipselect(struct spi_device *spi, bool is_high) in cdns_spi_chipselect() argument
188 if (is_high) { in cdns_spi_chipselect()
Dspi-zynqmp-gqspi.c388 static void zynqmp_qspi_chipselect(struct spi_device *qspi, bool is_high) in zynqmp_qspi_chipselect() argument
397 if (!is_high) { in zynqmp_qspi_chipselect()
/Linux-v4.19/drivers/media/cec/
Dcec-adap.c145 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, in cec_queue_pin_cec_event() argument
149 .event = is_high ? CEC_EVENT_PIN_CEC_HIGH : in cec_queue_pin_cec_event()
164 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_hpd_event() argument
167 .event = is_high ? CEC_EVENT_PIN_HPD_HIGH : in cec_queue_pin_hpd_event()
180 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_5v_event() argument
183 .event = is_high ? CEC_EVENT_PIN_5V_HIGH : in cec_queue_pin_5v_event()
/Linux-v4.19/sound/soc/codecs/
Dnau8825.c1452 bool active_high, is_high; in nau8825_is_jack_inserted() local
1458 is_high = status & NAU8825_GPIO2JD1; in nau8825_is_jack_inserted()
1462 return active_high == is_high; in nau8825_is_jack_inserted()