Searched refs:channel_config (Results 1 – 5 of 5) sorted by relevance
96 struct ads131e08_channel_config *channel_config; member415 st->channel_config[i].pga_gain); in ads131e08_initial_config()420 st->channel_config[i].mux); in ads131e08_initial_config()530 *value /= st->channel_config[channel->address].pga_gain; in ads131e08_read_raw()694 struct ads131e08_channel_config *channel_config; in ads131e08_alloc_channels() local733 channel_config = devm_kcalloc(&st->spi->dev, num_channels, in ads131e08_alloc_channels()734 sizeof(*channel_config), GFP_KERNEL); in ads131e08_alloc_channels()735 if (!channel_config) in ads131e08_alloc_channels()746 channel_config[i].pga_gain = ADS131E08_DEFAULT_PGA_GAIN; in ads131e08_alloc_channels()752 channel_config[i].pga_gain = tmp; in ads131e08_alloc_channels()[all …]
65 struct most_channel_config *channel_config) in configure_channel() argument73 if (channel_config->data_type != MOST_CH_CONTROL) { in configure_channel()78 if (channel_config->direction != dev->capabilities[ch_idx].direction) { in configure_channel()83 if (channel_config->direction == MOST_CH_RX) { in configure_channel()
497 u32 channel_config[4]; member1919 info->config = data->channel_config; in lm90_probe()1921 data->channel_config[0] = HWMON_T_INPUT | HWMON_T_MIN | HWMON_T_MAX | in lm90_probe()1923 data->channel_config[1] = HWMON_T_INPUT | HWMON_T_MIN | HWMON_T_MAX | in lm90_probe()1927 data->channel_config[0] |= HWMON_T_CRIT | HWMON_T_CRIT_ALARM | HWMON_T_CRIT_HYST; in lm90_probe()1928 data->channel_config[1] |= HWMON_T_CRIT | HWMON_T_CRIT_ALARM | HWMON_T_CRIT_HYST; in lm90_probe()1932 data->channel_config[1] |= HWMON_T_OFFSET; in lm90_probe()1935 data->channel_config[0] |= HWMON_T_EMERGENCY | in lm90_probe()1937 data->channel_config[1] |= HWMON_T_EMERGENCY | in lm90_probe()1942 data->channel_config[0] |= HWMON_T_EMERGENCY_ALARM; in lm90_probe()[all …]
920 struct iwl_scan_channel_cfg_umac channel_config[SCAN_MAX_NUM_CHANS_V3]; member940 struct iwl_scan_channel_cfg_umac channel_config[SCAN_MAX_NUM_CHANS_V3]; member
1622 &cp->channel_config[i]; in iwl_mvm_umac_scan_cfg_channels_v4()1648 struct iwl_scan_channel_cfg_umac *cfg = &cp->channel_config[i]; in iwl_mvm_umac_scan_cfg_channels_v6()1743 struct iwl_scan_channel_cfg_umac *channel_cfg = cp->channel_config; in iwl_mvm_umac_scan_cfg_channels_v6_6g()1750 &cp->channel_config[i]; in iwl_mvm_umac_scan_cfg_channels_v6_6g()2315 &cp->channel_config[cp->count]; in iwl_mvm_scan_umac_fill_ch_p_v6()