Lines Matching full:bios
51 bool bios = false; in flash_save() local
55 warnx("missing argument: expecting 'firmware' or bios'"); in flash_save()
59 if (strcmp(argv[1], "bios") == 0) { in flash_save()
60 bios = true; in flash_save()
62 warnx("Invalid argument '%s', expecting 'firmware' or 'bios'", in flash_save()
83 if ((size = mps_firmware_get(fd, &firmware_buffer, bios)) < 0) { in flash_save()
115 MPS_COMMAND(flash, save, flash_save, "[firmware|bios] [file]",
116 "Save firmware/bios into a file");
124 bool bios = false; in flash_update() local
129 warnx("missing argument: expecting 'firmware' or bios'"); in flash_update()
133 if (strcmp(argv[1], "bios") == 0) { in flash_update()
134 bios = true; in flash_update()
136 warnx("Invalid argument '%s', expecting 'firmware' or 'bios'", in flash_update()
187 if (bios) { in flash_update()
190 warnx("Invalid bios: no boot record magic number"); in flash_update()
197 warnx("Invalid bios: size not a multiple of 512"); in flash_update()
228 if (mps_firmware_send(fd, mem, st.st_size, bios) < 0) { in flash_update()
243 MPS_COMMAND(flash, update, flash_update, "[firmware|bios] file",
244 "Update firmware/bios");