Home
last modified time | relevance | path

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

/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()
/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()
/drivers/media/cec/core/
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()
191 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_hpd_event() argument
194 .event = is_high ? CEC_EVENT_PIN_HPD_HIGH : in cec_queue_pin_hpd_event()
207 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_5v_event() argument
210 .event = is_high ? CEC_EVENT_PIN_5V_HIGH : in cec_queue_pin_5v_event()