Lines Matching refs:regdb
602 static const struct fwdb_header *regdb; variable
904 const struct fwdb_header *hdr = regdb; in reg_query_regdb_wmm()
907 if (!regdb) in reg_query_regdb_wmm()
910 if (IS_ERR(regdb)) in reg_query_regdb_wmm()
911 return PTR_ERR(regdb); in reg_query_regdb_wmm()
916 return __regdb_query_wmm(regdb, country, freq, rule); in reg_query_regdb_wmm()
983 const struct fwdb_header *hdr = regdb; in query_regdb()
988 if (IS_ERR(regdb)) in query_regdb()
989 return PTR_ERR(regdb); in query_regdb()
994 return regdb_query_country(regdb, country); in query_regdb()
1016 if (regdb && !IS_ERR(regdb)) { in regdb_fw_cb()
1024 regdb = ERR_PTR(set_error); in regdb_fw_cb()
1028 regdb = db; in regdb_fw_cb()
1053 if (regdb) in query_regdb_file()
1093 if (!IS_ERR_OR_NULL(regdb)) in reg_reload_regdb()
1094 kfree(regdb); in reg_reload_regdb()
1095 regdb = db; in reg_reload_regdb()
4371 if (!IS_ERR_OR_NULL(regdb)) in regulatory_exit()
4372 kfree(regdb); in regulatory_exit()