Searched refs:bin_file (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/tools/arch/x86/intel_sdsi/ |
D | intel_sdsi.c | 231 static int sdsi_provision(struct sdsi_dev *s, char *bin_file, enum command command) in sdsi_provision() argument 239 if (!bin_file) { in sdsi_provision() 245 bin_fd = open(bin_file, O_RDONLY); in sdsi_provision() 247 fprintf(stderr, "Could not open file %s: %s\n", bin_file, strerror(errno)); in sdsi_provision() 284 printf("Provisioned %s file %s successfully\n", prov_file, bin_file); in sdsi_provision() 292 static int sdsi_provision_akc(struct sdsi_dev *s, char *bin_file) in sdsi_provision_akc() argument 319 return sdsi_provision(s, bin_file, CMD_PROV_AKC); in sdsi_provision_akc() 322 static int sdsi_provision_cap(struct sdsi_dev *s, char *bin_file) in sdsi_provision_cap() argument 349 return sdsi_provision(s, bin_file, CMD_PROV_CAP); in sdsi_provision_cap() 462 char bin_file[PATH_MAX], *dev_no = NULL; in main() local [all …]
|