regd 115 drivers/net/ethernet/8390/ax88796.c int regd; regd 122 drivers/net/ethernet/8390/ax88796.c regd = ei_inb(ioaddr + 0x0d); regd 128 drivers/net/ethernet/8390/ax88796.c ei_outb(regd, ioaddr + 0x0d); /* Restore the old values. */ regd 314 drivers/net/ethernet/8390/ne.c int regd; regd 316 drivers/net/ethernet/8390/ne.c regd = inb_p(ioaddr + 0x0d); regd 322 drivers/net/ethernet/8390/ne.c outb_p(regd, ioaddr + 0x0d); /* Restore the old values. */ regd 263 drivers/net/ethernet/8390/ne2k-pci.c int regd; regd 265 drivers/net/ethernet/8390/ne2k-pci.c regd = inb(ioaddr + 0x0d); regd 271 drivers/net/ethernet/8390/ne2k-pci.c outb(regd, ioaddr + 0x0d); /* Restore the old values. */ regd 143 drivers/net/ethernet/altera/altera_tse.h u32 regd; regd 219 drivers/net/usb/pegasus.c static int __mii_op(pegasus_t *p, __u8 phy, __u8 indx, __u16 *regd, __u8 cmd) regd 228 drivers/net/usb/pegasus.c *t = cpu_to_le16(*regd); regd 244 drivers/net/usb/pegasus.c *regd = le16_to_cpu(regdi); regd 254 drivers/net/usb/pegasus.c static int read_mii_word(pegasus_t *pegasus, __u8 phy, __u8 indx, __u16 *regd) regd 256 drivers/net/usb/pegasus.c return __mii_op(pegasus, phy, indx, regd, PHY_READ); regd 260 drivers/net/usb/pegasus.c static int write_mii_word(pegasus_t *pegasus, __u8 phy, __u8 indx, __u16 *regd) regd 262 drivers/net/usb/pegasus.c return __mii_op(pegasus, phy, indx, regd, PHY_WRITE); regd 1610 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->regd = __cpu_to_le32(rd); regd 1770 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 regd; regd 198 drivers/net/wireless/ath/regd.c static inline bool is_wwr_sku(u16 regd) regd 200 drivers/net/wireless/ath/regd.c return ((regd & COUNTRY_ERD_FLAG) != COUNTRY_ERD_FLAG) && regd 201 drivers/net/wireless/ath/regd.c (((regd & WORLD_SKU_MASK) == WORLD_SKU_PREFIX) || regd 202 drivers/net/wireless/ath/regd.c (regd == WORLD)); regd 639 drivers/net/wireless/ath/regd.c const struct ieee80211_regdomain *regd; regd 650 drivers/net/wireless/ath/regd.c regd = ath_world_regdomain(reg); regd 658 drivers/net/wireless/ath/regd.c regd = ath_default_world_regdomain(); regd 661 drivers/net/wireless/ath/regd.c wiphy_apply_custom_regulatory(wiphy, regd); regd 203 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c const struct brcms_regd *regd = NULL; regd 208 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c regd = &cntry_locales[i]; regd 213 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c return regd; regd 310 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c const struct brcms_regd *regd) regd 742 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c const struct brcms_regd *regd = wlc->cmi->world_regd; regd 771 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c wiphy_apply_custom_regulatory(wlc->wiphy, regd->regdomain); regd 1125 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c struct ieee80211_regdomain *regd, *copy_rd; regd 1154 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c regd = kzalloc(struct_size(regd, reg_rules, num_of_ch), GFP_KERNEL); regd 1155 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (!regd) regd 1159 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c regd->alpha2[0] = fw_mcc >> 8; regd 1160 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c regd->alpha2[1] = fw_mcc & 0xff; regd 1187 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c rule = ®d->reg_rules[valid_rules - 1]; regd 1216 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c reg_query_regdb_wmm(regd->alpha2, center_freq, rule); regd 1219 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c regd->n_reg_rules = valid_rules; regd 1225 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c copy_rd = kmemdup(regd, struct_size(regd, reg_rules, valid_rules), regd 1230 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c kfree(regd); regd 230 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_regdomain *regd = NULL; regd 253 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regd = iwl_parse_nvm_mcc_info(mvm->trans->dev, mvm->cfg, regd 262 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (IS_ERR_OR_NULL(regd)) { regd 264 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c PTR_ERR_OR_ZERO(regd)); regd 269 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regd->alpha2, regd->alpha2[0], regd->alpha2[1], src_id); regd 274 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c return regd; regd 280 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_regdomain *regd; regd 285 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regd = iwl_mvm_get_current_regdomain(mvm, &changed); regd 286 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!IS_ERR_OR_NULL(regd)) { regd 289 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regulatory_set_wiphy_regd(mvm->hw->wiphy, regd); regd 291 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c kfree(regd); regd 307 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_regdomain *regd; regd 311 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c rtnl_dereference(mvm->hw->wiphy->regd); regd 320 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regd = iwl_mvm_get_current_regdomain(mvm, NULL); regd 321 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!IS_ERR_OR_NULL(regd)) regd 322 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c kfree(regd); regd 326 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, r->alpha2, used_src, regd 328 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (IS_ERR_OR_NULL(regd)) regd 333 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = regulatory_set_wiphy_regd_sync_rtnl(mvm->hw->wiphy, regd); regd 337 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c kfree(regd); regd 565 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c struct ieee80211_regdomain *regd; regd 598 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c regd = iwl_mvm_get_current_regdomain(mvm, NULL); regd 599 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c if (IS_ERR_OR_NULL(regd)) regd 604 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c kfree(regd); regd 605 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, mcc, regd 607 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c if (IS_ERR_OR_NULL(regd)) regd 611 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c retval = regulatory_set_wiphy_regd_sync_rtnl(mvm->hw->wiphy, regd); regd 612 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c kfree(regd); regd 623 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c struct ieee80211_regdomain *regd; regd 644 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, mcc, src, NULL); regd 645 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c if (IS_ERR_OR_NULL(regd)) regd 656 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c regulatory_set_wiphy_regd(mvm->hw->wiphy, regd); regd 657 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c kfree(regd); regd 500 drivers/net/wireless/mac80211_hwsim.c const struct ieee80211_regdomain *regd; regd 2385 drivers/net/wireless/mac80211_hwsim.c const struct ieee80211_regdomain *regd; regd 2431 drivers/net/wireless/mac80211_hwsim.c if (param->regd) { regd 2435 drivers/net/wireless/mac80211_hwsim.c if (hwsim_world_regdom_custom[i] != param->regd) regd 3014 drivers/net/wireless/mac80211_hwsim.c if (param->regd) { regd 3015 drivers/net/wireless/mac80211_hwsim.c data->regd = param->regd; regd 3017 drivers/net/wireless/mac80211_hwsim.c wiphy_apply_custom_regulatory(hw->wiphy, param->regd); regd 3161 drivers/net/wireless/mac80211_hwsim.c param.regd = data->regd; regd 3511 drivers/net/wireless/mac80211_hwsim.c param.regd = hwsim_world_regdom_custom[idx]; regd 3958 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; regd 3961 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; regd 3965 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; regd 3967 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_02; regd 3986 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; regd 3989 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_02; regd 4348 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (adapter->regd) { regd 4352 drivers/net/wireless/marvell/mwifiex/cfg80211.c wiphy_apply_custom_regulatory(wiphy, adapter->regd); regd 4426 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!adapter->regd) { regd 153 drivers/net/wireless/marvell/mwifiex/main.c kfree(adapter->regd); regd 1045 drivers/net/wireless/marvell/mwifiex/main.h struct ieee80211_regdomain *regd; regd 1024 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c struct ieee80211_regdomain *regd; regd 1034 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c regd = kzalloc(struct_size(regd, reg_rules, num_chan), GFP_KERNEL); regd 1035 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c if (!regd) regd 1044 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c kfree(regd); regd 1075 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c rule = ®d->reg_rules[valid_rules - 1]; regd 1098 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c regd->n_reg_rules = valid_rules; regd 1099 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c regd->alpha2[0] = '9'; regd 1100 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c regd->alpha2[1] = '9'; regd 1102 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c return regd; regd 1112 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c struct ieee80211_regdomain *regd; regd 1134 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c regd = mwifiex_create_custom_regdomain(priv, regd 1136 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c if (!IS_ERR(regd)) regd 1137 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c priv->adapter->regd = regd; regd 335 drivers/net/wireless/realtek/rtlwifi/regd.c const struct ieee80211_regdomain *regd; regd 342 drivers/net/wireless/realtek/rtlwifi/regd.c regd = _rtl_regdomain_select(reg); regd 343 drivers/net/wireless/realtek/rtlwifi/regd.c wiphy_apply_custom_regulatory(wiphy, regd); regd 393 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.country_code = regd 398 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->efuse.channel_plan, rtlpriv->regd.country_code); regd 400 drivers/net/wireless/realtek/rtlwifi/regd.c if (rtlpriv->regd.country_code >= COUNTRY_CODE_MAX) { regd 404 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.country_code = COUNTRY_CODE_WORLD_WIDE_13; regd 407 drivers/net/wireless/realtek/rtlwifi/regd.c country = _rtl_regd_find_country(rtlpriv->regd.country_code); regd 410 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[0] = country->iso_name[0]; regd 411 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[1] = country->iso_name[1]; regd 413 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[0] = '0'; regd 414 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[1] = '0'; regd 419 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[0], rtlpriv->regd.alpha2[1]); regd 421 drivers/net/wireless/realtek/rtlwifi/regd.c _rtl_regd_init_wiphy(&rtlpriv->regd, wiphy, reg_notifier); regd 433 drivers/net/wireless/realtek/rtlwifi/regd.c _rtl_reg_notifier_apply(wiphy, request, &rtlpriv->regd); regd 2757 drivers/net/wireless/realtek/rtlwifi/wifi.h struct rtl_regulatory regd; regd 511 drivers/net/wireless/realtek/rtw88/debug.c u8 regd = rtwdev->regd.txpwr_regd; regd 550 drivers/net/wireless/realtek/rtw88/debug.c ch, regd, &pwr_param); regd 1079 drivers/net/wireless/realtek/rtw88/main.c if (efuse->regd == 0xff) regd 1080 drivers/net/wireless/realtek/rtw88/main.c efuse->regd = 0; regd 1266 drivers/net/wireless/realtek/rtw88/main.c if (regulatory_hint(hw->wiphy, rtwdev->regd.alpha2)) regd 1177 drivers/net/wireless/realtek/rtw88/main.h u8 regd; regd 1328 drivers/net/wireless/realtek/rtw88/main.h struct rtw_regulatory regd; regd 1261 drivers/net/wireless/realtek/rtw88/phy.c static void rtw_phy_set_tx_power_limit(struct rtw_dev *rtwdev, u8 regd, u8 band, regd 1273 drivers/net/wireless/realtek/rtw88/phy.c if (regd >= RTW_REGD_MAX || bw >= RTW_CHANNEL_WIDTH_MAX || regd 1277 drivers/net/wireless/realtek/rtw88/phy.c regd, band, bw, rs, ch_idx, pwr_limit); regd 1282 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_2g[regd][bw][rs][ch_idx] = pwr_limit; regd 1287 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs][ch_idx] = pwr_limit; regd 1296 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_5g_txpwr_lmt(struct rtw_dev *rtwdev, u8 regd, regd 1301 drivers/net/wireless/realtek/rtw88/phy.c s8 lmt_ht = hal->tx_pwr_limit_5g[regd][bw][rs_ht][ch_idx]; regd 1302 drivers/net/wireless/realtek/rtw88/phy.c s8 lmt_vht = hal->tx_pwr_limit_5g[regd][bw][rs_vht][ch_idx]; regd 1308 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs_ht][ch_idx] = lmt_vht; regd 1311 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs_vht][ch_idx] = lmt_ht; regd 1316 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_txpwr_lmt_by_rs(struct rtw_dev *rtwdev, u8 regd, u8 bw, u8 ch_idx) regd 1326 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_5g_txpwr_lmt(rtwdev, regd, bw, ch_idx, rs_ht, rs_vht); regd 1332 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_5g_txpwr_lmt_by_ch(struct rtw_dev *rtwdev, u8 regd, u8 bw) regd 1337 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_txpwr_lmt_by_rs(rtwdev, regd, bw, ch_idx); regd 1342 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_txpwr_lmt_by_bw(struct rtw_dev *rtwdev, u8 regd) regd 1347 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_5g_txpwr_lmt_by_ch(rtwdev, regd, bw); regd 1353 drivers/net/wireless/realtek/rtw88/phy.c u8 regd; regd 1355 drivers/net/wireless/realtek/rtw88/phy.c for (regd = 0; regd < RTW_REGD_MAX; regd++) regd 1356 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_txpwr_lmt_by_bw(rtwdev, regd); regd 1366 drivers/net/wireless/realtek/rtw88/phy.c rtw_phy_set_tx_power_limit(rtwdev, p->regd, p->band, regd 1677 drivers/net/wireless/realtek/rtw88/phy.c u8 rate, u8 channel, u8 regd) regd 1687 drivers/net/wireless/realtek/rtw88/phy.c if (regd > RTW_REGD_WW) regd 1722 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_2g[regd][cur_bw][rs][ch_idx] : regd 1723 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][cur_bw][rs][ch_idx]; regd 1737 drivers/net/wireless/realtek/rtw88/phy.c u8 ch, u8 regd, struct rtw_power_params *pwr_param) regd 1765 drivers/net/wireless/realtek/rtw88/phy.c rate, ch, regd); regd 1770 drivers/net/wireless/realtek/rtw88/phy.c enum rtw_bandwidth bandwidth, u8 channel, u8 regd) regd 1777 drivers/net/wireless/realtek/rtw88/phy.c channel, regd, &pwr_param); regd 1797 drivers/net/wireless/realtek/rtw88/phy.c u8 regd = rtwdev->regd.txpwr_regd; regd 1814 drivers/net/wireless/realtek/rtw88/phy.c bw, ch, regd); regd 1905 drivers/net/wireless/realtek/rtw88/phy.c __rtw_phy_tx_power_limit_config(struct rtw_hal *hal, u8 regd, u8 bw, u8 rs) regd 1912 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_2g[regd][bw][rs][ch] -= base; regd 1917 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs][ch] -= base; regd 1923 drivers/net/wireless/realtek/rtw88/phy.c u8 regd, bw, rs; regd 1928 drivers/net/wireless/realtek/rtw88/phy.c for (regd = 0; regd < RTW_REGD_MAX; regd++) regd 1931 drivers/net/wireless/realtek/rtw88/phy.c __rtw_phy_tx_power_limit_config(hal, regd, bw, rs); regd 1935 drivers/net/wireless/realtek/rtw88/phy.c u8 regd, u8 bw, u8 rs) regd 1943 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_2g[regd][bw][rs][ch] = max_power_index; regd 1947 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs][ch] = max_power_index; regd 1953 drivers/net/wireless/realtek/rtw88/phy.c u8 regd, path, rate, rs, bw; regd 1964 drivers/net/wireless/realtek/rtw88/phy.c for (regd = 0; regd < RTW_REGD_MAX; regd++) regd 1967 drivers/net/wireless/realtek/rtw88/phy.c rtw_phy_init_tx_power_limit(rtwdev, regd, bw, regd 49 drivers/net/wireless/realtek/rtw88/phy.h u8 regd; regd 125 drivers/net/wireless/realtek/rtw88/phy.h u8 rate, u8 bw, u8 ch, u8 regd, regd 348 drivers/net/wireless/realtek/rtw88/regd.c rtwdev->regd = rtw_regd_find_reg_by_name(request->alpha2); regd 379 drivers/net/wireless/realtek/rtw88/regd.c rtwdev->regd = rtw_regd_find_reg_by_name(rtwdev->efuse.country_code); regd 380 drivers/net/wireless/realtek/rtw88/regd.c rtw_regd_init_wiphy(&rtwdev->regd, wiphy, reg_notifier); regd 395 drivers/net/wireless/realtek/rtw88/regd.c rtwdev->regd.chplan, rtwdev->regd.txpwr_regd); regd 45 drivers/net/wireless/realtek/rtw88/rtw8822b.c efuse->regd = map->rf_board_option & 0x7; regd 42 drivers/net/wireless/realtek/rtw88/rtw8822c.c efuse->regd = map->rf_board_option & 0x7; regd 127 drivers/staging/rtl8723bs/os_dep/wifi_regd.c const struct ieee80211_regdomain *regd; regd 135 drivers/staging/rtl8723bs/os_dep/wifi_regd.c regd = _rtw_regdomain_select(reg); regd 136 drivers/staging/rtl8723bs/os_dep/wifi_regd.c wiphy_apply_custom_regulatory(wiphy, regd); regd 5111 drivers/video/fbdev/sis/sis_main.c u32 rega, regb, regd; regd 5309 drivers/video/fbdev/sis/sis_main.c pci_read_config_dword(mypdev, 0x94, ®d); regd 5310 drivers/video/fbdev/sis/sis_main.c regd &= 0xfffffeff; regd 5311 drivers/video/fbdev/sis/sis_main.c pci_write_config_dword(mypdev, 0x94, regd); regd 5332 drivers/video/fbdev/sis/sis_main.c regd = bios[0x90 + 3] | (bios[0x90 + 4] << 8); regd 5333 drivers/video/fbdev/sis/sis_main.c if( (!(v1 & 0x02)) && (v2 & 0x30) && (regd < 0xcf) ) regd 5358 drivers/video/fbdev/sis/sis_main.c pci_read_config_dword(pdev, 0x50, ®d); regd 5359 drivers/video/fbdev/sis/sis_main.c regd = (regd >> 20) & 0x0f; regd 5360 drivers/video/fbdev/sis/sis_main.c if(regd == 1) { regd 5426 drivers/video/fbdev/sis/sis_main.c regd = le32_to_cpu(((u32 *)ptr)[regb]); regd 5429 drivers/video/fbdev/sis/sis_main.c regd = le32_to_cpu(((u32 *)ptr2)[regb]); regd 5435 drivers/video/fbdev/sis/sis_main.c if(regd & 0x01) reg |= 0x04; regd 5436 drivers/video/fbdev/sis/sis_main.c if(regd & 0x02) reg |= 0x08; regd 5437 drivers/video/fbdev/sis/sis_main.c regd >>= 2; regd 5456 drivers/video/fbdev/sis/sis_main.c regd = 0; regd 5458 drivers/video/fbdev/sis/sis_main.c regd = le32_to_cpu(((u32 *)ptr)[regb * 8]); regd 5464 drivers/video/fbdev/sis/sis_main.c if(regd & 0x01) reg |= 0x01; regd 5465 drivers/video/fbdev/sis/sis_main.c if(regd & 0x02) reg |= 0x02; regd 5466 drivers/video/fbdev/sis/sis_main.c regd >>= 2; regd 5490 drivers/video/fbdev/sis/sis_main.c regd = le16_to_cpu(((const u16 *)ptr)[regb]); regd 5494 drivers/video/fbdev/sis/sis_main.c if(regd & 0x01) reg |= 0x01; regd 5495 drivers/video/fbdev/sis/sis_main.c if(regd & 0x02) reg |= 0x02; regd 5496 drivers/video/fbdev/sis/sis_main.c regd >>= 2; regd 5751 drivers/video/fbdev/sis/sis_main.c regd = 1 << regb; regd 5752 drivers/video/fbdev/sis/sis_main.c if((v1 & 0x40) && (v2 & regd) && ivideo->haveXGIROM) { regd 4636 include/net/cfg80211.h const struct ieee80211_regdomain __rcu *regd; regd 5525 include/net/cfg80211.h const struct ieee80211_regdomain *regd); regd 144 net/wireless/reg.c return rcu_dereference_rtnl(wiphy->regd); regd 164 net/wireless/reg.c const struct ieee80211_regdomain *regd = NULL; regd 167 net/wireless/reg.c regd = get_cfg80211_regdom(); regd 175 net/wireless/reg.c if (wiphy_regd->dfs_region == regd->dfs_region) regd 181 net/wireless/reg.c reg_dfs_region_str(regd->dfs_region)); regd 184 net/wireless/reg.c return regd->dfs_region; regd 429 net/wireless/reg.c struct ieee80211_regdomain *regd; regd 432 net/wireless/reg.c regd = kzalloc(struct_size(regd, reg_rules, src_regd->n_reg_rules), regd 434 net/wireless/reg.c if (!regd) regd 437 net/wireless/reg.c memcpy(regd, src_regd, sizeof(struct ieee80211_regdomain)); regd 440 net/wireless/reg.c memcpy(®d->reg_rules[i], &src_regd->reg_rules[i], regd 443 net/wireless/reg.c return regd; regd 1140 net/wireless/reg.c wiphy->regd) regd 1577 net/wireless/reg.c const struct ieee80211_regdomain *regd, u32 bw) regd 1583 net/wireless/reg.c if (!regd) regd 1586 net/wireless/reg.c for (i = 0; i < regd->n_reg_rules; i++) { regd 1590 net/wireless/reg.c rr = ®d->reg_rules[i]; regd 1616 net/wireless/reg.c const struct ieee80211_regdomain *regd = reg_get_regdomain(wiphy); regd 1621 net/wireless/reg.c reg_rule = freq_reg_info_regd(center_freq, regd, bw); regd 1654 net/wireless/reg.c static uint32_t reg_rule_to_chan_bw_flags(const struct ieee80211_regdomain *regd, regd 1666 net/wireless/reg.c max_bandwidth_khz = reg_get_max_bandwidth(regd, reg_rule); regd 1705 net/wireless/reg.c const struct ieee80211_regdomain *regd; regd 1742 net/wireless/reg.c regd = reg_get_regdomain(wiphy); regd 1745 net/wireless/reg.c bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); regd 1896 net/wireless/reg.c if (wiphy_strict_alpha2_regd(wiphy) && !wiphy->regd && regd 2028 net/wireless/reg.c const struct ieee80211_regdomain *regd; regd 2051 net/wireless/reg.c regd = get_wiphy_regdom(wiphy); regd 2052 net/wireless/reg.c if (regd) { regd 2055 net/wireless/reg.c regd, MHZ_TO_KHZ(20)); regd 2264 net/wireless/reg.c const struct ieee80211_regdomain *regd, regd 2274 net/wireless/reg.c regd, bw); regd 2292 net/wireless/reg.c bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); regd 2321 net/wireless/reg.c const struct ieee80211_regdomain *regd) regd 2334 net/wireless/reg.c handle_channel_custom(wiphy, &sband->channels[i], regd, regd 2340 net/wireless/reg.c const struct ieee80211_regdomain *regd) regd 2352 net/wireless/reg.c handle_band_custom(wiphy, wiphy->bands[band], regd); regd 2504 net/wireless/reg.c const struct ieee80211_regdomain *regd, *tmp; regd 2516 net/wireless/reg.c regd = reg_copy_regd(get_cfg80211_regdom()); regd 2517 net/wireless/reg.c if (IS_ERR(regd)) regd 2521 net/wireless/reg.c rcu_assign_pointer(wiphy->regd, regd); regd 2646 net/wireless/reg.c wiphy1_regd = rcu_dereference(wiphy1->regd); regd 2650 net/wireless/reg.c wiphy2_regd = rcu_dereference(wiphy2->regd); regd 2857 net/wireless/reg.c const struct ieee80211_regdomain *regd; regd 2865 net/wireless/reg.c regd = rdev->requested_regd; regd 2869 net/wireless/reg.c if (regd == NULL) regd 2873 net/wireless/reg.c rcu_assign_pointer(wiphy->regd, regd); regd 2877 net/wireless/reg.c handle_band_custom(wiphy, wiphy->bands[band], regd); regd 2882 net/wireless/reg.c request.alpha2[0] = regd->alpha2[0]; regd 2883 net/wireless/reg.c request.alpha2[1] = regd->alpha2[1]; regd 3538 net/wireless/reg.c const struct ieee80211_regdomain *regd; regd 3561 net/wireless/reg.c if (request_wiphy->regd) regd 3564 net/wireless/reg.c regd = reg_copy_regd(rd); regd 3565 net/wireless/reg.c if (IS_ERR(regd)) regd 3566 net/wireless/reg.c return PTR_ERR(regd); regd 3568 net/wireless/reg.c rcu_assign_pointer(request_wiphy->regd, regd); regd 3583 net/wireless/reg.c rcu_assign_pointer(request_wiphy->regd, rd); regd 3706 net/wireless/reg.c const struct ieee80211_regdomain *regd; regd 3722 net/wireless/reg.c regd = reg_copy_regd(rd); regd 3723 net/wireless/reg.c if (IS_ERR(regd)) regd 3724 net/wireless/reg.c return PTR_ERR(regd); regd 3730 net/wireless/reg.c rdev->requested_regd = regd; regd 3803 net/wireless/reg.c RCU_INIT_POINTER(wiphy->regd, NULL); regd 3868 net/wireless/reg.c const struct ieee80211_regdomain *regd = NULL; regd 3874 net/wireless/reg.c regd = rcu_dereference(cfg80211_regdomain); regd 3875 net/wireless/reg.c wiphy_regd = rcu_dereference(wiphy->regd); regd 3877 net/wireless/reg.c if (regd->dfs_region == NL80211_DFS_ETSI) regd 3885 net/wireless/reg.c if (regd->dfs_region == wiphy_regd->dfs_region &&