Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/cec/platform/cec-gpio/
Dcec-gpio.c75 bool is_high = val > 0; in cec_5v_gpio_irq_handler() local
77 if (val < 0 || is_high == cec->v5_is_high) in cec_5v_gpio_irq_handler()
80 cec->v5_is_high = is_high; in cec_5v_gpio_irq_handler()
96 bool is_high = val > 0; in cec_hpd_gpio_irq_handler() local
98 if (val < 0 || 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-5.19.10/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-core.c73 static void altera_spi_set_cs(struct spi_device *spi, bool is_high) in altera_spi_set_cs() argument
77 if (is_high) { in altera_spi_set_cs()
Dspi-cadence.c174 static void cdns_spi_chipselect(struct spi_device *spi, bool is_high) in cdns_spi_chipselect() argument
181 if (is_high) { in cdns_spi_chipselect()
Dspi-zynqmp-gqspi.c357 static void zynqmp_qspi_chipselect(struct spi_device *qspi, bool is_high) in zynqmp_qspi_chipselect() argument
365 if (!is_high) { in zynqmp_qspi_chipselect()
/linux-5.19.10/include/media/
Dcec.h373 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
384 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
394 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
/linux-5.19.10/drivers/media/cec/core/
Dcec-adap.c150 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, in cec_queue_pin_cec_event() argument
154 .event = is_high ? CEC_EVENT_PIN_CEC_HIGH : in cec_queue_pin_cec_event()
170 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_hpd_event() argument
173 .event = is_high ? CEC_EVENT_PIN_HPD_HIGH : in cec_queue_pin_hpd_event()
186 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_5v_event() argument
189 .event = is_high ? CEC_EVENT_PIN_5V_HIGH : in cec_queue_pin_5v_event()
/linux-5.19.10/sound/soc/codecs/
Dnau8821.c846 bool active_high, is_high; in nau8821_is_jack_inserted() local
852 is_high = status & NAU8821_GPIO2_IN; in nau8821_is_jack_inserted()
856 return active_high == is_high; in nau8821_is_jack_inserted()
Dnau8825.c1488 bool active_high, is_high; in nau8825_is_jack_inserted() local
1494 is_high = status & NAU8825_GPIO2JD1; in nau8825_is_jack_inserted()
1498 return active_high == is_high; in nau8825_is_jack_inserted()