Lines Matching refs:name_ptr

455 	char *name_ptr;  in dhd_conf_set_fw_name_by_mac()  local
474 name_ptr = &fw_path[i]; in dhd_conf_set_fw_name_by_mac()
476 if (strstr(name_ptr, "_apsta")) in dhd_conf_set_fw_name_by_mac()
478 else if (strstr(name_ptr, "_p2p")) in dhd_conf_set_fw_name_by_mac()
480 else if (strstr(name_ptr, "_mesh")) in dhd_conf_set_fw_name_by_mac()
482 else if (strstr(name_ptr, "_ezmesh")) in dhd_conf_set_fw_name_by_mac()
484 else if (strstr(name_ptr, "_es")) in dhd_conf_set_fw_name_by_mac()
486 else if (strstr(name_ptr, "_mfg")) in dhd_conf_set_fw_name_by_mac()
515 strcpy(name_ptr, mac_list[i].name); in dhd_conf_set_fw_name_by_mac()
891 char *name_ptr, *chip_name = NULL; in dhd_conf_set_fw_name_by_chip() local
918 name_ptr = &fw_path[i]; in dhd_conf_set_fw_name_by_chip()
922 ag_type = strstr(name_ptr, "_ag") ? FW_TYPE_AG : FW_TYPE_G; in dhd_conf_set_fw_name_by_chip()
924 if (strstr(name_ptr, "_apsta")) in dhd_conf_set_fw_name_by_chip()
926 else if (strstr(name_ptr, "_p2p")) in dhd_conf_set_fw_name_by_chip()
928 else if (strstr(name_ptr, "_mesh")) in dhd_conf_set_fw_name_by_chip()
930 else if (strstr(name_ptr, "_ezmesh")) in dhd_conf_set_fw_name_by_chip()
932 else if (strstr(name_ptr, "_es")) in dhd_conf_set_fw_name_by_chip()
934 else if (strstr(name_ptr, "_mfg")) in dhd_conf_set_fw_name_by_chip()
936 else if (strstr(name_ptr, "_minime")) in dhd_conf_set_fw_name_by_chip()
947 strcpy(name_ptr, "fw_"); in dhd_conf_set_fw_name_by_chip()
948 strcat(name_ptr, chip_name); in dhd_conf_set_fw_name_by_chip()
950 strcat(name_ptr, "_cusb"); in dhd_conf_set_fw_name_by_chip()
953 strcat(name_ptr, "_apsta.bin"); in dhd_conf_set_fw_name_by_chip()
955 strcat(name_ptr, "_p2p.bin"); in dhd_conf_set_fw_name_by_chip()
957 strcat(name_ptr, "_mesh.bin"); in dhd_conf_set_fw_name_by_chip()
959 strcat(name_ptr, "_ezmesh.bin"); in dhd_conf_set_fw_name_by_chip()
961 strcat(name_ptr, "_es.bin"); in dhd_conf_set_fw_name_by_chip()
963 strcat(name_ptr, "_mfg.bin"); in dhd_conf_set_fw_name_by_chip()
965 strcat(name_ptr, "_minime.bin"); in dhd_conf_set_fw_name_by_chip()
967 strcat(name_ptr, ".bin"); in dhd_conf_set_fw_name_by_chip()
984 char *name_ptr, *chip_name = NULL; in dhd_conf_set_clm_name_by_chip() local
1002 name_ptr = &clm_path[i]; in dhd_conf_set_clm_name_by_chip()
1006 strcpy(name_ptr, "clm_"); in dhd_conf_set_clm_name_by_chip()
1007 strcat(name_ptr, chip_name); in dhd_conf_set_clm_name_by_chip()
1008 strcat(name_ptr, ".blob"); in dhd_conf_set_clm_name_by_chip()
1018 char *name_ptr, *module_name = NULL, nv_name[32]; in dhd_conf_set_nv_name_by_chip() local
1044 name_ptr = &nv_path[i]; in dhd_conf_set_nv_name_by_chip()
1048 strcpy(name_ptr, "nvram_"); in dhd_conf_set_nv_name_by_chip()
1049 strcat(name_ptr, module_name); in dhd_conf_set_nv_name_by_chip()
1051 strcat(name_ptr, "_cusb"); in dhd_conf_set_nv_name_by_chip()
1053 strcat(name_ptr, ".txt"); in dhd_conf_set_nv_name_by_chip()
1055 strcpy(nv_name, name_ptr); in dhd_conf_set_nv_name_by_chip()
1059 strcpy(name_ptr, "nvram_"); in dhd_conf_set_nv_name_by_chip()
1060 strcat(name_ptr, dhd->conf->module_name); in dhd_conf_set_nv_name_by_chip()
1061 strcat(name_ptr, ".txt"); in dhd_conf_set_nv_name_by_chip()
1068 strcpy(name_ptr, nv_name); in dhd_conf_set_nv_name_by_chip()
1080 strcpy(name_ptr, dhd->conf->nv_by_chip.m_chip_nv_path_head[i].name); in dhd_conf_set_nv_name_by_chip()
1117 char *name_ptr, *chip_name = NULL; in dhd_conf_set_conf_name_by_chip() local
1135 name_ptr = &conf_path[i]; in dhd_conf_set_conf_name_by_chip()
1139 strcpy(name_ptr, "config_"); in dhd_conf_set_conf_name_by_chip()
1140 strcat(name_ptr, chip_name); in dhd_conf_set_conf_name_by_chip()
1141 strcat(name_ptr, ".txt"); in dhd_conf_set_conf_name_by_chip()
1348 char *name_ptr, *module_name = NULL; in dhd_conf_add_filepath() local
1351 name_ptr = path; in dhd_conf_add_filepath()
1352 strcpy(name_ptr, ""); in dhd_conf_add_filepath()
1354 strcat(name_ptr, "/"); in dhd_conf_add_filepath()
1355 strcat(name_ptr, FW_AMPAK_PATH); in dhd_conf_add_filepath()
1368 strcat(name_ptr, "/"); in dhd_conf_add_filepath()
1369 strcat(name_ptr, module_name); in dhd_conf_add_filepath()
1371 strcat(name_ptr, "/"); in dhd_conf_add_filepath()
1372 strcat(name_ptr, pFilename); in dhd_conf_add_filepath()