Home
last modified time | relevance | path

Searched refs:is_high (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/cec/platform/cec-gpio/
H A 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()
/kernel/linux/linux-6.6/drivers/media/cec/platform/cec-gpio/
H A 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()
/kernel/linux/linux-5.10/include/media/
H A Dcec.h347 * @is_high: when true the CEC pin is high, otherwise it is low
352 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
359 * @is_high: when true the HPD pin is high, otherwise it is low
363 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
369 * @is_high: when true the 5V pin is high, otherwise it is low
373 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
/kernel/linux/linux-6.6/include/media/
H A Dcec.h371 * @is_high: when true the CEC pin is high, otherwise it is low
376 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
383 * @is_high: when true the HPD pin is high, otherwise it is low
387 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
393 * @is_high: when true the 5V pin is high, otherwise it is low
397 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
/kernel/linux/linux-5.10/drivers/spi/
H A 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()
H A Dspi-altera.c104 static void altera_spi_set_cs(struct spi_device *spi, bool is_high) in altera_spi_set_cs() argument
108 if (is_high) { in altera_spi_set_cs()
H A Dspi-cadence.c172 * @is_high: Select(0) or deselect (1) the chip select line
174 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()
H A Dspi-zynqmp-gqspi.c355 * @is_high: Select(0) or deselect (1) the chip select line
357 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()
/kernel/linux/linux-6.6/drivers/spi/
H A 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()
H A 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()
H A Dspi-cs42l43.c147 static void cs42l43_set_cs(struct spi_device *spi, bool is_high) in cs42l43_set_cs() argument
152 regmap_write(priv->regmap, CS42L43_SPI_CONFIG2, !is_high); in cs42l43_set_cs()
H A Dspi-cadence.c178 * @is_high: Select(0) or deselect (1) the chip select line
180 static void cdns_spi_chipselect(struct spi_device *spi, bool is_high) in cdns_spi_chipselect() argument
187 if (is_high) { in cdns_spi_chipselect()
H A Dspi-zynqmp-gqspi.c458 * @is_high: Select(0) or deselect (1) the chip select line
460 static void zynqmp_qspi_chipselect(struct spi_device *qspi, bool is_high) in zynqmp_qspi_chipselect() argument
468 if (!is_high) { in zynqmp_qspi_chipselect()
/kernel/linux/linux-5.10/drivers/media/cec/core/
H A 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()
/kernel/linux/linux-6.6/drivers/media/cec/core/
H A 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()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A 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()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dnau8821.c1020 bool active_high, is_high; in nau8821_is_jack_inserted() local
1026 is_high = status & NAU8821_GPIO2_IN; in nau8821_is_jack_inserted()
1030 return active_high == is_high; in nau8821_is_jack_inserted()
H A Dnau8825.c1578 bool active_high, is_high; in nau8825_is_jack_inserted() local
1584 is_high = status & NAU8825_GPIO2JD1; in nau8825_is_jack_inserted()
1588 return active_high == is_high; in nau8825_is_jack_inserted()

Completed in 24 milliseconds