Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/cec-gpio/
Dcec-gpio.c72 bool is_high = gpiod_get_value(cec->v5_gpio); in cec_5v_gpio_irq_handler() local
74 if (is_high == cec->v5_is_high) in cec_5v_gpio_irq_handler()
77 cec->v5_is_high = is_high; in cec_5v_gpio_irq_handler()
92 bool is_high = gpiod_get_value(cec->hpd_gpio); in cec_hpd_gpio_irq_handler() local
94 if (is_high == cec->hpd_is_high) in cec_hpd_gpio_irq_handler()
97 cec->hpd_is_high = is_high; in cec_hpd_gpio_irq_handler()
/Linux-v5.4/drivers/spi/
Dspi-sifive.c153 static void sifive_spi_set_cs(struct spi_device *device, bool is_high) in sifive_spi_set_cs() argument
159 is_high = !is_high; in sifive_spi_set_cs()
161 sifive_spi_write(spi, SIFIVE_SPI_REG_CSMODE, is_high ? in sifive_spi_set_cs()
Dspi-altera.c61 static void altera_spi_set_cs(struct spi_device *spi, bool is_high) in altera_spi_set_cs() argument
65 if (is_high) { in altera_spi_set_cs()
Dspi-zynqmp-gqspi.c386 static void zynqmp_qspi_chipselect(struct spi_device *qspi, bool is_high) in zynqmp_qspi_chipselect() argument
395 if (!is_high) { in zynqmp_qspi_chipselect()
/Linux-v5.4/include/media/
Dcec.h332 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
343 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
353 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
/Linux-v5.4/drivers/media/cec/
Dcec-adap.c171 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, in cec_queue_pin_cec_event() argument
175 .event = is_high ? CEC_EVENT_PIN_CEC_HIGH : in cec_queue_pin_cec_event()
190 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_hpd_event() argument
193 .event = is_high ? CEC_EVENT_PIN_HPD_HIGH : in cec_queue_pin_hpd_event()
206 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_5v_event() argument
209 .event = is_high ? CEC_EVENT_PIN_5V_HIGH : in cec_queue_pin_5v_event()
/Linux-v5.4/sound/soc/codecs/
Dnau8825.c1450 bool active_high, is_high; in nau8825_is_jack_inserted() local
1456 is_high = status & NAU8825_GPIO2JD1; in nau8825_is_jack_inserted()
1460 return active_high == is_high; in nau8825_is_jack_inserted()