Lines Matching refs:cfg_file
2011 char cfg_file[32]; member
2042 MPASS(sizeof(o->cfg_file) == sizeof(sc->cfg_file)); in save_caps_and_params()
2043 memcpy(o->cfg_file, sc->cfg_file, sizeof(o->cfg_file)); in save_caps_and_params()
2082 CH_ERR(sc, "config file %s (0x%x) -> %s (0x%x)\n", o->cfg_file, in compare_caps_and_params()
2083 o->cfcsum, sc->cfg_file, sc->cfcsum); in compare_caps_and_params()
4788 snprintf(sc->cfg_file, sizeof(sc->cfg_file), "pf%d", rc); in contact_firmware()
4802 copy_cfg_file_to_card(struct adapter *sc, char *cfg_file, in copy_cfg_file_to_card() argument
4814 if (strncmp(cfg_file, DEFAULT_CF, sizeof(t4_cfg_file)) == 0) { in copy_cfg_file_to_card()
4816 snprintf(cfg_file, sizeof(t4_cfg_file), UWIRE_CF); in copy_cfg_file_to_card()
4818 snprintf(cfg_file, sizeof(t4_cfg_file), FPGA_CF); in copy_cfg_file_to_card()
4821 if (strncmp(cfg_file, DEFAULT_CF, sizeof(t4_cfg_file)) == 0) { in copy_cfg_file_to_card()
4841 snprintf(s, sizeof(s), "%s_%s", fw_info->kld_name, cfg_file); in copy_cfg_file_to_card()
4847 "profile \"%s\".\n", s, cfg_file); in copy_cfg_file_to_card()
4904 apply_cfg_and_initialize(struct adapter *sc, char *cfg_file, in apply_cfg_and_initialize() argument
4920 if (strncmp(cfg_file, BUILTIN_CF, sizeof(t4_cfg_file)) == 0) { in apply_cfg_and_initialize()
4924 } else if (strncmp(cfg_file, FLASH_CF, sizeof(t4_cfg_file)) == 0) { in apply_cfg_and_initialize()
4950 rc = copy_cfg_file_to_card(sc, cfg_file, mtype, moff); in apply_cfg_and_initialize()
4972 snprintf(sc->cfg_file, sizeof(sc->cfg_file), "%s", cfg_file); in apply_cfg_and_initialize()
5034 char cfg_file[sizeof(t4_cfg_file)]; in partition_resources() local
5056 snprintf(cfg_file, sizeof(cfg_file), "%s", t4_cfg_file); in partition_resources()
5058 rc = apply_cfg_and_initialize(sc, cfg_file, &caps_allowed); in partition_resources()
5063 rc, cfg_file); in partition_resources()
5064 snprintf(cfg_file, sizeof(cfg_file), "%s", BUILTIN_CF); in partition_resources()
7325 CTLFLAG_RD, sc->cfg_file, 0, "configuration file"); in t4_sysctls()