Lines Matching defs:cfg_file
2285 char cfg_file[32];
2317 MPASS(sizeof(o->cfg_file) == sizeof(sc->cfg_file));
2318 memcpy(o->cfg_file, sc->cfg_file, sizeof(o->cfg_file));
2358 CH_ERR(sc, "config file %s (0x%x) -> %s (0x%x)\n", o->cfg_file,
2359 o->cfcsum, sc->cfg_file, sc->cfcsum);
5192 snprintf(sc->cfg_file, sizeof(sc->cfg_file), "pf%d", rc);
5206 copy_cfg_file_to_card(struct adapter *sc, char *cfg_file,
5218 if (strncmp(cfg_file, DEFAULT_CF, sizeof(t4_cfg_file)) == 0) {
5220 snprintf(cfg_file, sizeof(t4_cfg_file), UWIRE_CF);
5222 snprintf(cfg_file, sizeof(t4_cfg_file), FPGA_CF);
5225 if (strncmp(cfg_file, DEFAULT_CF, sizeof(t4_cfg_file)) == 0) {
5245 snprintf(s, sizeof(s), "%s_%s", fw_info->kld_name, cfg_file);
5251 "profile \"%s\".\n", s, cfg_file);
5309 apply_cfg_and_initialize(struct adapter *sc, char *cfg_file,
5327 if (strncmp(cfg_file, BUILTIN_CF, sizeof(t4_cfg_file)) == 0) {
5331 } else if (strncmp(cfg_file, FLASH_CF, sizeof(t4_cfg_file)) == 0) {
5357 rc = copy_cfg_file_to_card(sc, cfg_file, mtype, moff, maxlen);
5379 snprintf(sc->cfg_file, sizeof(sc->cfg_file), "%s", cfg_file);
5442 char cfg_file[sizeof(t4_cfg_file)];
5465 snprintf(cfg_file, sizeof(cfg_file), "%s", t4_cfg_file);
5467 rc = apply_cfg_and_initialize(sc, cfg_file, &caps_allowed);
5473 rc, cfg_file);
5474 snprintf(cfg_file, sizeof(cfg_file), "%s", BUILTIN_CF);
7935 CTLFLAG_RD, sc->cfg_file, 0, "configuration file");