| /linux-6.15/drivers/media/cec/platform/cec-gpio/ |
| H A D | cec-gpio.c | 76 bool is_high = val > 0; in cec_5v_gpio_irq_handler() local 78 if (val < 0 || is_high == cec->v5_is_high) in cec_5v_gpio_irq_handler() 81 cec->v5_is_high = is_high; in cec_5v_gpio_irq_handler() 97 bool is_high = val > 0; in cec_hpd_gpio_irq_handler() local 99 if (val < 0 || is_high == cec->hpd_is_high) in cec_hpd_gpio_irq_handler() 102 cec->hpd_is_high = is_high; in cec_hpd_gpio_irq_handler()
|
| /linux-6.15/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-sifive.c | 153 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 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-cs42l43.c | 176 static void cs42l43_set_cs(struct spi_device *spi, bool is_high) in cs42l43_set_cs() argument 180 regmap_write(priv->regmap, CS42L43_SPI_CONFIG2, !is_high); in cs42l43_set_cs()
|
| H A D | spi-apple.c | 189 static void apple_spi_set_cs(struct spi_device *device, bool is_high) in apple_spi_set_cs() argument 193 reg_mask(spi, APPLE_SPI_PIN, APPLE_SPI_PIN_CS, is_high ? APPLE_SPI_PIN_CS : 0); in apple_spi_set_cs()
|
| H A D | spi-cadence.c | 183 static void cdns_spi_chipselect(struct spi_device *spi, bool is_high) in cdns_spi_chipselect() argument 190 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()
|
| /linux-6.15/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-6.15/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-6.15/drivers/iio/adc/ |
| H A D | ad7606.c | 641 bool is_high; in ad7606_set_sampling_freq() local 648 is_high = cnvst_pwm_state.duty_cycle == cnvst_pwm_state.period; in ad7606_set_sampling_freq() 652 if (is_high) in ad7606_set_sampling_freq()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | nau8821.c | 1011 bool active_high, is_high; in nau8821_is_jack_inserted() local 1017 is_high = status & NAU8821_GPIO2_IN; in nau8821_is_jack_inserted() 1021 return active_high == is_high; in nau8821_is_jack_inserted()
|
| 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()
|