Lines Matching refs:cfg_file
2167 char cfg_file[32]; member
2198 MPASS(sizeof(o->cfg_file) == sizeof(sc->cfg_file)); in save_caps_and_params()
2199 memcpy(o->cfg_file, sc->cfg_file, sizeof(o->cfg_file)); in save_caps_and_params()
2238 CH_ERR(sc, "config file %s (0x%x) -> %s (0x%x)\n", o->cfg_file, in compare_caps_and_params()
2239 o->cfcsum, sc->cfg_file, sc->cfcsum); in compare_caps_and_params()
5020 snprintf(sc->cfg_file, sizeof(sc->cfg_file), "pf%d", rc); in contact_firmware()
5034 copy_cfg_file_to_card(struct adapter *sc, char *cfg_file, in copy_cfg_file_to_card() argument
5046 if (strncmp(cfg_file, DEFAULT_CF, sizeof(t4_cfg_file)) == 0) { in copy_cfg_file_to_card()
5048 snprintf(cfg_file, sizeof(t4_cfg_file), UWIRE_CF); in copy_cfg_file_to_card()
5050 snprintf(cfg_file, sizeof(t4_cfg_file), FPGA_CF); in copy_cfg_file_to_card()
5053 if (strncmp(cfg_file, DEFAULT_CF, sizeof(t4_cfg_file)) == 0) { in copy_cfg_file_to_card()
5073 snprintf(s, sizeof(s), "%s_%s", fw_info->kld_name, cfg_file); in copy_cfg_file_to_card()
5079 "profile \"%s\".\n", s, cfg_file); in copy_cfg_file_to_card()
5136 apply_cfg_and_initialize(struct adapter *sc, char *cfg_file, in apply_cfg_and_initialize() argument
5152 if (strncmp(cfg_file, BUILTIN_CF, sizeof(t4_cfg_file)) == 0) { in apply_cfg_and_initialize()
5156 } else if (strncmp(cfg_file, FLASH_CF, sizeof(t4_cfg_file)) == 0) { in apply_cfg_and_initialize()
5182 rc = copy_cfg_file_to_card(sc, cfg_file, mtype, moff); in apply_cfg_and_initialize()
5204 snprintf(sc->cfg_file, sizeof(sc->cfg_file), "%s", cfg_file); in apply_cfg_and_initialize()
5266 char cfg_file[sizeof(t4_cfg_file)]; in partition_resources() local
5288 snprintf(cfg_file, sizeof(cfg_file), "%s", t4_cfg_file); in partition_resources()
5290 rc = apply_cfg_and_initialize(sc, cfg_file, &caps_allowed); in partition_resources()
5296 rc, cfg_file); in partition_resources()
5297 snprintf(cfg_file, sizeof(cfg_file), "%s", BUILTIN_CF); in partition_resources()
7594 CTLFLAG_RD, sc->cfg_file, 0, "configuration file"); in t4_sysctls()