Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dti-ads7950.c64 (TI_ADS7950_GPIO_CMD(st->gpio_cmd_settings_bitmask))
102 unsigned int gpio_cmd_settings_bitmask; member
432 if (st->gpio_cmd_settings_bitmask & BIT(offset)) { in ti_ads7950_get()
465 return !(st->gpio_cmd_settings_bitmask & BIT(offset)); in ti_ads7950_get_direction()
477 if (input && (st->gpio_cmd_settings_bitmask & BIT(offset))) in _ti_ads7950_set_direction()
478 st->gpio_cmd_settings_bitmask &= ~BIT(offset); in _ti_ads7950_set_direction()
479 else if (!input && !(st->gpio_cmd_settings_bitmask & BIT(offset))) in _ti_ads7950_set_direction()
480 st->gpio_cmd_settings_bitmask |= BIT(offset); in _ti_ads7950_set_direction()
522 st->gpio_cmd_settings_bitmask = 0x0; in ti_ads7950_init_hw()