Searched refs:config_bits (Results 1 – 2 of 2) sorted by relevance
128 int config_bits; /* config register bits */ member305 devpriv->config_bits &= ~CLOCK_MASK; in a2150_get_timing()307 devpriv->config_bits |= in a2150_get_timing()311 devpriv->config_bits |= in a2150_get_timing()328 devpriv->config_bits &= ~CHANNEL_MASK; in a2150_set_chanlist()332 devpriv->config_bits |= CHANNEL_BITS(0x4 | start_channel); in a2150_set_chanlist()336 devpriv->config_bits |= CHANNEL_BITS(0x2); in a2150_set_chanlist()338 devpriv->config_bits |= CHANNEL_BITS(0x3); in a2150_set_chanlist()343 devpriv->config_bits |= CHANNEL_BITS(0x1); in a2150_set_chanlist()471 unsigned int old_config_bits = devpriv->config_bits; in a2150_ai_cmd()[all …]
1639 unsigned int config_bits = 0; in ni_m_series_load_channelgain_list() local1650 config_bits |= NI_M_AI_CFG_CHAN_TYPE_DIFF; in ni_m_series_load_channelgain_list()1653 config_bits |= NI_M_AI_CFG_CHAN_TYPE_COMMON; in ni_m_series_load_channelgain_list()1656 config_bits |= NI_M_AI_CFG_CHAN_TYPE_GROUND; in ni_m_series_load_channelgain_list()1661 config_bits |= NI_M_AI_CFG_CHAN_SEL(chan); in ni_m_series_load_channelgain_list()1662 config_bits |= NI_M_AI_CFG_BANK_SEL(chan); in ni_m_series_load_channelgain_list()1663 config_bits |= NI_M_AI_CFG_GAIN(range_code); in ni_m_series_load_channelgain_list()1665 config_bits |= NI_M_AI_CFG_LAST_CHAN; in ni_m_series_load_channelgain_list()1667 config_bits |= NI_M_AI_CFG_DITHER; in ni_m_series_load_channelgain_list()1669 config_bits |= NI_M_AI_CFG_POLARITY; in ni_m_series_load_channelgain_list()[all …]