Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/ !
D3945.c1327 struct il_channel_info *ch_info, int band_idx) in il3945_hw_reg_set_scan_power() argument
1333 scan_power_info = &ch_info->scan_pwr_info[scan_tbl_idx]; in il3945_hw_reg_set_scan_power()
1338 power = min(ch_info->scan_power, clip_pwrs[RATE_6M_IDX_TBL]); in il3945_hw_reg_set_scan_power()
1349 ch_info->power_info[rate_idx].power_table_idx - (power - in il3945_hw_reg_set_scan_power()
1350 ch_info-> in il3945_hw_reg_set_scan_power()
1385 const struct il_channel_info *ch_info = NULL; in il3945_send_tx_power() local
1399 ch_info = il_get_channel_info(il, il->band, chan); in il3945_send_tx_power()
1400 if (!ch_info) { in il3945_send_tx_power()
1406 if (!il_is_channel_valid(ch_info)) { in il3945_send_tx_power()
1416 txpower.power[i].tpc = ch_info->power_info[i].tpc; in il3945_send_tx_power()
[all …]
Dcommon.c849 struct il_channel_info *ch_info; in il_mod_ht40_chan_info() local
851 ch_info = in il_mod_ht40_chan_info()
854 if (!il_is_channel_valid(ch_info)) in il_mod_ht40_chan_info()
858 " Ad-Hoc %ssupported\n", ch_info->channel, in il_mod_ht40_chan_info()
859 il_is_channel_a_band(ch_info) ? "5.2" : "2.4", in il_mod_ht40_chan_info()
867 ch_info->ht40_eeprom = *eeprom_ch; in il_mod_ht40_chan_info()
868 ch_info->ht40_max_power_avg = eeprom_ch->max_power_avg; in il_mod_ht40_chan_info()
869 ch_info->ht40_flags = eeprom_ch->flags; in il_mod_ht40_chan_info()
871 ch_info->ht40_extension_channel &= in il_mod_ht40_chan_info()
890 struct il_channel_info *ch_info; in il_init_channel_map() local
[all …]
D4965.c1017 const struct il_channel_info *ch_info = NULL; in il4965_fill_txpower_tbl() local
1038 ch_info = il_get_channel_info(il, il->band, channel); in il4965_fill_txpower_tbl()
1040 if (!il_is_channel_valid(ch_info)) in il4965_fill_txpower_tbl()
1079 reg_limit = ch_info->ht40_max_power_avg * 2; in il4965_fill_txpower_tbl()
1081 reg_limit = ch_info->max_power_avg * 2; in il4965_fill_txpower_tbl()
1462 const struct il_channel_info *ch_info; in il4965_hw_channel_switch() local
1512 ch_info = il_get_channel_info(il, il->band, ch); in il4965_hw_channel_switch()
1513 if (ch_info) in il4965_hw_channel_switch()
1514 cmd.expect_beacon = il_is_channel_radar(ch_info); in il4965_hw_channel_switch()
Dcommon.h1449 il_is_channel_valid(const struct il_channel_info *ch_info) in il_is_channel_valid() argument
1451 if (ch_info == NULL) in il_is_channel_valid()
1453 return (ch_info->flags & EEPROM_CHANNEL_VALID) ? 1 : 0; in il_is_channel_valid()
1457 il_is_channel_radar(const struct il_channel_info *ch_info) in il_is_channel_radar() argument
1459 return (ch_info->flags & EEPROM_CHANNEL_RADAR) ? 1 : 0; in il_is_channel_radar()
1463 il_is_channel_a_band(const struct il_channel_info *ch_info) in il_is_channel_a_band() argument
1465 return ch_info->band == NL80211_BAND_5GHZ; in il_is_channel_a_band()
D3945-mac.c1531 const struct il_channel_info *ch_info; in il3945_get_channels_for_scan() local
1554 ch_info = il_get_channel_info(il, band, scan_ch->channel); in il3945_get_channels_for_scan()
1555 if (!il_is_channel_valid(ch_info)) { in il3945_get_channels_for_scan()
1566 if (!is_active || il_is_channel_passive(ch_info) || in il3945_get_channels_for_scan()
D4965-mac.c762 const struct il_channel_info *ch_info; in il4965_get_channels_for_scan() local
787 ch_info = il_get_channel_info(il, band, channel); in il4965_get_channels_for_scan()
788 if (!il_is_channel_valid(ch_info)) { in il4965_get_channels_for_scan()
794 if (!is_active || il_is_channel_passive(ch_info) || in il4965_get_channels_for_scan()
6051 const struct il_channel_info *ch_info; in il4965_mac_channel_switch() local
6079 ch_info = il_get_channel_info(il, channel->band, ch); in il4965_mac_channel_switch()
6080 if (!il_is_channel_valid(ch_info)) { in il4965_mac_channel_switch()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ !
Dfw.c2043 struct rtw89_mac_chinfo *ch_info; in rtw89_fw_h2c_scan_list_offload() local
2061 list_for_each_entry(ch_info, chan_list, list) { in rtw89_fw_h2c_scan_list_offload()
2064 RTW89_SET_FWCMD_CHINFO_PERIOD(cmd, ch_info->period); in rtw89_fw_h2c_scan_list_offload()
2065 RTW89_SET_FWCMD_CHINFO_DWELL(cmd, ch_info->dwell_time); in rtw89_fw_h2c_scan_list_offload()
2066 RTW89_SET_FWCMD_CHINFO_CENTER_CH(cmd, ch_info->central_ch); in rtw89_fw_h2c_scan_list_offload()
2067 RTW89_SET_FWCMD_CHINFO_PRI_CH(cmd, ch_info->pri_ch); in rtw89_fw_h2c_scan_list_offload()
2068 RTW89_SET_FWCMD_CHINFO_BW(cmd, ch_info->bw); in rtw89_fw_h2c_scan_list_offload()
2069 RTW89_SET_FWCMD_CHINFO_ACTION(cmd, ch_info->notify_action); in rtw89_fw_h2c_scan_list_offload()
2070 RTW89_SET_FWCMD_CHINFO_NUM_PKT(cmd, ch_info->num_pkt); in rtw89_fw_h2c_scan_list_offload()
2071 RTW89_SET_FWCMD_CHINFO_TX(cmd, ch_info->tx_pkt); in rtw89_fw_h2c_scan_list_offload()
[all …]
Dphy.c2615 struct rtw89_phy_ch_info *ch_info; member
2625 struct rtw89_phy_ch_info *ch_info = rssi_data->ch_info; in rtw89_phy_stat_rssi_update_iter() local
2630 if (rssi_curr < ch_info->rssi_min) { in rtw89_phy_stat_rssi_update_iter()
2631 ch_info->rssi_min = rssi_curr; in rtw89_phy_stat_rssi_update_iter()
2632 ch_info->rssi_min_macid = rtwsta->mac_id; in rtw89_phy_stat_rssi_update_iter()
2648 rssi_data.ch_info = &rtwdev->ch_info; in rtw89_phy_stat_rssi_update()
2649 rssi_data.ch_info->rssi_min = U8_MAX; in rtw89_phy_stat_rssi_update()
3329 struct rtw89_phy_ch_info *ch_info = &rtwdev->ch_info; in rtw89_phy_dig_update_rssi_info() local
3334 dig->igi_rssi = ch_info->rssi_min >> 1; in rtw89_phy_dig_update_rssi_info()
Dmac.c561 memset(&param->ch_info, 0, sizeof(param->ch_info)); in hfc_reset_param()
647 struct rtw89_hfc_ch_info *info = param->ch_info; in hfc_upd_ch_info()
Dcore.h2438 struct rtw89_hfc_ch_info ch_info[RTW89_DMA_CH_NUM]; member
3495 struct rtw89_phy_ch_info ch_info; member
/linux-6.1.9/sound/soc/codecs/ !
Dwcd938x-sdw.c256 wcd->ch_info = &wcd938x_sdw_tx_ch_info[0]; in wcd9380_probe()
261 wcd->ch_info = &wcd938x_sdw_rx_ch_info[0]; in wcd9380_probe()
Dwcd938x.c1417 static int wcd938x_sdw_connect_port(struct wcd938x_sdw_ch_info *ch_info, in wcd938x_sdw_connect_port() argument
1423 port_num = ch_info->port_num; in wcd938x_sdw_connect_port()
1424 ch_mask = ch_info->ch_mask; in wcd938x_sdw_connect_port()
1438 return wcd938x_sdw_connect_port(&wcd->ch_info[ch_id], in wcd938x_connect_port()
2613 portidx = wcd->ch_info[mc->reg].port_num; in wcd938x_set_compander()
2901 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_get_swr_port()
2923 portidx = wcd->ch_info[ch_idx].port_num; in wcd938x_set_swr_port()
Dwcd938x.h659 struct wcd938x_sdw_ch_info *ch_info; member
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ !
Dfw.c1975 struct rtw_chan_info ch_info = {0}; in rtw_add_chan_list() local
1978 ch_info.channel = channel->hw_value; in rtw_add_chan_list()
1979 ch_info.bw = RTW_SCAN_WIDTH; in rtw_add_chan_list()
1980 ch_info.pri_ch_idx = RTW_PRI_CH_IDX; in rtw_add_chan_list()
1981 ch_info.timeout = req->duration_mandatory ? in rtw_add_chan_list()
1985 ch_info.action_id = RTW_CHANNEL_RADAR; in rtw_add_chan_list()
1986 ch_info.extra_info = 1; in rtw_add_chan_list()
1988 ch_info.timeout = ch_info.timeout > RTW_PASS_CHAN_TIME ? in rtw_add_chan_list()
1989 ch_info.timeout : RTW_PASS_CHAN_TIME; in rtw_add_chan_list()
1991 ch_info.action_id = RTW_CHANNEL_ACTIVE; in rtw_add_chan_list()
[all …]
/linux-6.1.9/drivers/net/ethernet/toshiba/ !
Dps3_gelic_wireless.h263 u16 ch_info; /* available channels. bit0 = ch1 */ member
Dps3_gelic_wireless.c287 wl->ch_info = 0x07ff;/* 11 ch */ in gelic_wl_get_ch_info()
290 wl->ch_info = ch_info_raw >> 48; in gelic_wl_get_ch_info()
316 if (wl->ch_info & (1 << i)) { in gelic_wl_get_range()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ !
Diwl-eeprom-parse.c422 const struct iwl_eeprom_channel **ch_info, in iwl_init_band_reference() argument
429 *ch_info = (void *)iwl_eeprom_query_addr(eeprom, eeprom_size, offset); in iwl_init_band_reference()
/linux-6.1.9/drivers/staging/ks7010/ !
Dks_hostif.h311 u8 ch_info; /* +15 */ member
Dks_hostif.c267 ap->channel = ap_info->ch_info; in get_ap_information()
/linux-6.1.9/sound/soc/atmel/ !
Dmchp-pdmc.c219 struct mchp_pdmc_chmap *ch_info) in mchp_pdmc_chmap_get() argument
223 for (map = ch_info->chmap; map->channels; map++) { in mchp_pdmc_chmap_get()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ !
Diavf.h180 struct virtchnl_channel_info ch_info[IAVF_MAX_TRAFFIC_CLASS]; member
Diavf_virtchnl.c1497 vti->list[i].count = adapter->ch_config.ch_info[i].count; in iavf_enable_channels()
1498 vti->list[i].offset = adapter->ch_config.ch_info[i].offset; in iavf_enable_channels()
1501 adapter->ch_config.ch_info[i].max_tx_rate; in iavf_enable_channels()
Diavf_main.c3641 adapter->ch_config.ch_info[i].count = in __iavf_setup_tc()
3643 adapter->ch_config.ch_info[i].offset = in __iavf_setup_tc()
3650 adapter->ch_config.ch_info[i].max_tx_rate = in __iavf_setup_tc()
3653 adapter->ch_config.ch_info[i].count = 1; in __iavf_setup_tc()
3654 adapter->ch_config.ch_info[i].offset = 0; in __iavf_setup_tc()