Searched refs:config_bits (Results 1 – 2 of 2) sorted by relevance
168 int config_bits; /* config register bits */ member217 printk("config bits 0x%x\n", devpriv->config_bits); in ni_dump_regs()447 devpriv->config_bits = 0; in a2150_attach()448 outw(devpriv->config_bits, dev->iobase + CONFIG_REG); in a2150_attach()460 devpriv->config_bits |= ENABLE0_BIT | ENABLE1_BIT; in a2150_attach()461 outw(devpriv->config_bits, dev->iobase + CONFIG_REG); in a2150_attach()637 unsigned int old_config_bits = devpriv->config_bits; in a2150_ai_cmd()660 devpriv->config_bits |= AC0_BIT; in a2150_ai_cmd()662 devpriv->config_bits &= ~AC0_BIT; in a2150_ai_cmd()664 devpriv->config_bits |= AC1_BIT; in a2150_ai_cmd()[all …]
1937 unsigned config_bits = 0; in ni_m_series_load_channelgain_list() local1947 config_bits |= in ni_m_series_load_channelgain_list()1951 config_bits |= in ni_m_series_load_channelgain_list()1955 config_bits |= in ni_m_series_load_channelgain_list()1961 config_bits |= MSeries_AI_Config_Channel_Bits(chan); in ni_m_series_load_channelgain_list()1962 config_bits |= in ni_m_series_load_channelgain_list()1964 config_bits |= MSeries_AI_Config_Gain_Bits(range_code); in ni_m_series_load_channelgain_list()1966 config_bits |= MSeries_AI_Config_Last_Channel_Bit; in ni_m_series_load_channelgain_list()1968 config_bits |= MSeries_AI_Config_Dither_Bit; in ni_m_series_load_channelgain_list()1970 config_bits |= MSeries_AI_Config_Polarity_Bit; in ni_m_series_load_channelgain_list()[all …]