Lines Matching refs:fw_path
20 static char *fw_path = NULL;
29 if (fw_path)
30 unlink(fw_path);
48 static void setup_fw(const char *fw_path)
53 fd = open(fw_path, O_WRONLY | O_CREAT, 0600);
128 if (asprintf(&fw_path, "/lib/firmware/%s", fw_name) < 0)
129 die("error: failed to build full fw_path\n");
131 setup_fw(fw_path);
144 unlink(fw_path);
145 free(fw_path);