Home
last modified time | relevance | path

Searched refs:active_high (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/iio/imu/smi330/
H A Dsmi330_core.c662 bool active_high, bool open_drain, in smi330_set_int_pin_config() argument
667 val = active_high ? SMI330_IO_INT_CTRL_LVL : 0; in smi330_set_int_pin_config()
700 bool open_drain, active_high, latch; in smi330_setup_irq() local
712 active_high = true; in smi330_setup_irq()
716 active_high = true; in smi330_setup_irq()
720 active_high = false; in smi330_setup_irq()
724 active_high = false; in smi330_setup_irq()
732 ret = smi330_set_int_pin_config(data, irq_num, active_high, open_drain, in smi330_setup_irq()
/linux/drivers/gpio/
H A Dgpio-adp5585.c276 bool active_high; in adp5585_gpio_key_event() local
284 active_high = test_bit(off, &adp5585_gpio->irq_active_high); in adp5585_gpio_key_event()
297 off, key_press, active_high); in adp5585_gpio_key_event()
299 if (!active_high) in adp5585_gpio_key_event()
325 bool active_high = test_bit(hwirq, &adp5585_gpio->irq_active_high); in adp5585_irq_bus_sync_unlock() local
337 active_high ? bit : 0); in adp5585_irq_bus_sync_unlock()
/linux/drivers/iio/imu/bmi270/
H A Dbmi270_core.c1341 bool active_high, bool open_drain, bool latch) in bmi270_int_pin_config() argument
1363 field_value = FIELD_PREP(BMI270_INT_IO_CTRL_LVL_MSK, active_high) | in bmi270_int_pin_config()
1373 bool open_drain, active_high, latch; in bmi270_trigger_probe() local
1397 active_high = true; in bmi270_trigger_probe()
1401 active_high = true; in bmi270_trigger_probe()
1405 active_high = false; in bmi270_trigger_probe()
1409 active_high = false; in bmi270_trigger_probe()
1419 ret = bmi270_int_pin_config(data, irq_pin, active_high, open_drain, in bmi270_trigger_probe()
/linux/drivers/hwmon/
H A Dtsc1641.c666 bool active_high; in tsc1641_init() local
686 active_high = device_property_read_bool(dev, "st,alert-polarity-active-high"); in tsc1641_init()
689 FIELD_PREP(TSC1641_ALERT_POL_MASK, active_high)); in tsc1641_init()
H A Dina2xx.c895 bool active_high = device_property_read_bool(dev, "ti,alert-polarity-active-high"); in ina2xx_init() local
900 FIELD_PREP(INA226_ALERT_POLARITY, active_high)); in ina2xx_init()
/linux/drivers/iio/imu/bmi323/
H A Dbmi323_core.c1843 bool active_high, bool open_drain, bool latch) in bmi323_int_pin_config() argument
1864 field_value = FIELD_PREP(BMI323_IO_INT1_LVL_MSK, active_high) | in bmi323_int_pin_config()
1871 field_value = FIELD_PREP(BMI323_IO_INT2_LVL_MSK, active_high) | in bmi323_int_pin_config()
1886 bool open_drain, active_high, latch; in bmi323_trigger_probe() local
1910 active_high = true; in bmi323_trigger_probe()
1914 active_high = true; in bmi323_trigger_probe()
1918 active_high = false; in bmi323_trigger_probe()
1922 active_high = false; in bmi323_trigger_probe()
1932 ret = bmi323_int_pin_config(data, irq_pin, active_high, open_drain, in bmi323_trigger_probe()
/linux/drivers/bluetooth/
H A Dbtmtk.h108 u8 active_high; member
H A Dbtmtksdio.c1323 .active_high = 0x1, in btmtksdio_sdio_wakeup()
/linux/sound/soc/codecs/
H A Dnau8821.c1018 bool active_high, is_high; in nau8821_is_jack_inserted()
1022 active_high = jkdet & NAU8821_JACK_POLARITY; in nau8821_is_jack_inserted()
1028 return active_high == is_high; in nau8821_irq_status_clear()
1012 bool active_high, is_high; nau8821_is_jack_inserted() local
H A Dnau8825.c1578 bool active_high, is_high; in nau8825_is_jack_inserted() local
1582 active_high = jkdet & NAU8825_JACK_POLARITY; in nau8825_is_jack_inserted()
1588 return active_high == is_high; in nau8825_is_jack_inserted()
/linux/drivers/gpu/drm/radeon/
H A Drs600.c239 if (voltage->active_high) in rs600_pm_misc()
248 if (voltage->active_high) in rs600_pm_misc()
H A Dradeon_atombios.c2156 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_atombios_parse_power_table_1_3()
2159 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_atombios_parse_power_table_1_3()
2192 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_atombios_parse_power_table_1_3()
2195 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_atombios_parse_power_table_1_3()
2228 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_atombios_parse_power_table_1_3()
2231 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_atombios_parse_power_table_1_3()
H A Dradeon_combios.c2732 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_combios_get_power_modes()
2735 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_combios_get_power_modes()
H A Dr100.c372 if (voltage->active_high) in r100_pm_misc()
381 if (voltage->active_high) in r100_pm_misc()
H A Dradeon.h1259 bool active_high; /* voltage drop is active when bit is high */ member