Home
last modified time | relevance | path

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

/drivers/media/cec/platform/cec-gpio/
A Dcec-gpio.c68 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()
/drivers/spi/
A Dspi-ch341.c42 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()
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()
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()
A Dspi-cs42l43.c176 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()
A Dspi-apple.c189 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()
A Dspi-cadence.c183 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()
A Dspi-zynqmp-gqspi.c459 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()
/drivers/media/cec/core/
A Dcec-adap.c151 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()
/drivers/iio/adc/
A Dad7606.c603 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()

Completed in 32 milliseconds