/kernel/linux/linux-5.10/drivers/media/cec/platform/cec-gpio/ |
H A D | cec-gpio.c | 75 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 D | cec-gpio.c | 75 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 D | cec.h | 347 * @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 D | cec.h | 371 * @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 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.c | 104 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 D | spi-cadence.c | 172 * @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 D | spi-zynqmp-gqspi.c | 355 * @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 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 | 147 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 D | spi-cadence.c | 178 * @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 D | spi-zynqmp-gqspi.c | 458 * @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 D | cec-adap.c | 171 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 D | cec-adap.c | 150 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 D | nau8825.c | 1450 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 D | nau8821.c | 1020 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 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()
|