Searched refs:scan_ch (Results 1 – 4 of 4) sorted by relevance
456 struct iwl_scan_channel *scan_ch) in iwl_get_channel_for_reset_scan() argument469 scan_ch->channel = cpu_to_le16(channel); in iwl_get_channel_for_reset_scan()470 scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE; in iwl_get_channel_for_reset_scan()471 scan_ch->active_dwell = in iwl_get_channel_for_reset_scan()473 scan_ch->passive_dwell = in iwl_get_channel_for_reset_scan()476 scan_ch->dsp_atten = 110; in iwl_get_channel_for_reset_scan()478 scan_ch->tx_gain = ((1 << 5) | (3 << 3)) | 3; in iwl_get_channel_for_reset_scan()480 scan_ch->tx_gain = ((1 << 5) | (5 << 3)); in iwl_get_channel_for_reset_scan()492 struct iwl_scan_channel *scan_ch) in iwl_get_channels_for_scan() argument518 scan_ch->channel = cpu_to_le16(channel); in iwl_get_channels_for_scan()[all …]
1520 struct il3945_scan_channel *scan_ch, in il3945_get_channels_for_scan() argument1546 scan_ch->channel = chan->hw_value; in il3945_get_channels_for_scan()1548 ch_info = il_get_channel_info(il, band, scan_ch->channel); in il3945_get_channels_for_scan()1551 scan_ch->channel); in il3945_get_channels_for_scan()1555 scan_ch->active_dwell = cpu_to_le16(active_dwell); in il3945_get_channels_for_scan()1556 scan_ch->passive_dwell = cpu_to_le16(passive_dwell); in il3945_get_channels_for_scan()1562 scan_ch->type = 0; /* passive */ in il3945_get_channels_for_scan()1564 scan_ch->active_dwell = in il3945_get_channels_for_scan()1567 scan_ch->type = 1; /* active */ in il3945_get_channels_for_scan()1576 scan_ch->type |= IL39_SCAN_PROBE_MASK(n_probes); in il3945_get_channels_for_scan()[all …]
758 u8 n_probes, struct il_scan_channel *scan_ch) in il4965_get_channels_for_scan() argument785 scan_ch->channel = cpu_to_le16(channel); in il4965_get_channels_for_scan()796 scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE; in il4965_get_channels_for_scan()798 scan_ch->type = SCAN_CHANNEL_TYPE_ACTIVE; in il4965_get_channels_for_scan()801 scan_ch->type |= IL_SCAN_PROBE_MASK(n_probes); in il4965_get_channels_for_scan()803 scan_ch->active_dwell = cpu_to_le16(active_dwell); in il4965_get_channels_for_scan()804 scan_ch->passive_dwell = cpu_to_le16(passive_dwell); in il4965_get_channels_for_scan()807 scan_ch->dsp_atten = 110; in il4965_get_channels_for_scan()814 scan_ch->tx_gain = ((1 << 5) | (3 << 3)) | 3; in il4965_get_channels_for_scan()816 scan_ch->tx_gain = ((1 << 5) | (5 << 3)); in il4965_get_channels_for_scan()[all …]
647 int scan_ch, ret; in max11410_buffer_postenable() local649 scan_ch = ffs(*indio_dev->active_scan_mask) - 1; in max11410_buffer_postenable()651 ret = max11410_configure_channel(st, &indio_dev->channels[scan_ch]); in max11410_buffer_postenable()