Searched refs:is_high (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/media/cec/platform/cec-gpio/ |
| H A D | cec-gpio.c | 68 bool is_high = val > 0; in cec_gpio_5v_irq_handler_thread() local 70 if (val < 0 || is_high == cec->v5_is_high) in cec_gpio_5v_irq_handler_thread() 73 cec->v5_is_high = is_high; in cec_gpio_5v_irq_handler_thread() 90 bool is_high = val > 0; in cec_gpio_hpd_irq_handler_thread() local 92 if (val < 0 || is_high == cec->hpd_is_high) in cec_gpio_hpd_irq_handler_thread() 95 cec->hpd_is_high = is_high; in cec_gpio_hpd_irq_handler_thread()
|
| /linux/drivers/spi/ |
| H A D | spi-ch341.c | 42 static void ch341_set_cs(struct spi_device *spi, bool is_high) in ch341_set_cs() argument 50 ch341->tx_buf[1] = CH341A_CMD_UIO_STM_OUT | (is_high ? 0x36 : 0x37); in ch341_set_cs() 52 if (is_high) { in ch341_set_cs() 60 (is_high ? 4 : 3), NULL, CH341_DEFAULT_TIMEOUT); in ch341_set_cs()
|
| H A D | spi-altera-core.c | 73 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 D | spi-cadence.c | 192 static void cdns_spi_chipselect(struct spi_device *spi, bool is_high) in cdns_spi_chipselect() argument 199 if (is_high) { in cdns_spi_chipselect()
|
| H A D | spi-zynqmp-gqspi.c | 459 static void zynqmp_qspi_chipselect(struct spi_device *qspi, bool is_high) in zynqmp_qspi_chipselect() argument 467 if (!is_high) { in zynqmp_qspi_chipselect()
|
| H A D | spi-axiado.c | 107 static void ax_spi_chipselect(struct spi_device *spi, bool is_high) in ax_spi_chipselect() argument
|
| /linux/include/media/ |
| H A D | cec.h | 426 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, 437 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts); 447 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
|
| /linux/drivers/media/cec/core/ |
| H A D | cec-adap.c | 151 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, in cec_queue_pin_cec_event() argument 155 .event = is_high ? CEC_EVENT_PIN_CEC_HIGH : in cec_queue_pin_cec_event() 171 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_hpd_event() argument 174 .event = is_high ? CEC_EVENT_PIN_HPD_HIGH : in cec_queue_pin_hpd_event() 187 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_5v_event() argument 190 .event = is_high ? CEC_EVENT_PIN_5V_HIGH : in cec_queue_pin_5v_event()
|
| /linux/drivers/iio/adc/ |
| H A D | ad7606.c | 603 bool is_high; in ad7606_set_sampling_freq() local 610 is_high = cnvst_pwm_state.duty_cycle == cnvst_pwm_state.period; in ad7606_set_sampling_freq() 614 if (is_high) in ad7606_set_sampling_freq()
|
| /linux/sound/soc/codecs/ |
| H A D | nau8821.c | 1018 bool active_high, is_high; in nau8821_is_jack_inserted() 1024 is_high = status & NAU8821_GPIO2_IN; 1028 return active_high == is_high; in nau8821_irq_status_clear() 1012 bool active_high, is_high; nau8821_is_jack_inserted() local
|
| H A D | nau8825.c | 1578 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()
|