Lines Matching +full:firmware +full:- +full:initialized

1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
59 "Application not initialized",
73 "Specified application doesn't have host-resident code",
92 "SAS Config - Invalid action",
93 "SAS Config - Invalid data",
94 "SAS Config - Invalid page",
95 "SAS Config - Invalid type",
100 "Firmware time is not set",
101 "Wrong firmware or drive state",
133 return ("RAID-0"); in mfi_raid_level()
136 return ("RAID-10"); in mfi_raid_level()
138 return ("RAID-1"); in mfi_raid_level()
140 return ("RAID-1E"); in mfi_raid_level()
142 return ("RAID-3"); in mfi_raid_level()
145 return ("RAID-50"); in mfi_raid_level()
147 return ("RAID-5"); in mfi_raid_level()
149 return ("RAID-5E"); in mfi_raid_level()
151 return ("RAID-5EE"); in mfi_raid_level()
154 return ("RAID-60"); in mfi_raid_level()
156 return ("RAID-6"); in mfi_raid_level()
172 info->array_id = target_id; in mfi_query_disk()
174 return (-1); in mfi_query_disk()
175 if (!info->present) { in mfi_query_disk()
177 return (-1); in mfi_query_disk()
249 return (-1); in mfi_lookup_volume()
261 return (-1); in mfi_lookup_volume()
275 return (-1); in mfi_dcmd_command()
281 bcopy(mbox, dcmd->mbox, mboxlen); in mfi_dcmd_command()
282 dcmd->header.cmd = MFI_CMD_DCMD; in mfi_dcmd_command()
283 dcmd->header.timeout = 0; in mfi_dcmd_command()
284 dcmd->header.flags = 0; in mfi_dcmd_command()
285 dcmd->header.data_len = bufsize; in mfi_dcmd_command()
286 dcmd->opcode = opcode; in mfi_dcmd_command()
295 *statusp = dcmd->header.cmd_status; in mfi_dcmd_command()
296 else if (dcmd->header.cmd_status != MFI_STAT_OK) { in mfi_dcmd_command()
298 mfi_status(dcmd->header.cmd_status)); in mfi_dcmd_command()
300 return (-1); in mfi_dcmd_command()
345 (float)prog->progress * 100 / 0xffff); in mfi_display_progress()
346 print_time_humanized(prog->elapsed_seconds); in mfi_display_progress()
347 if (prog->progress != 0 && prog->elapsed_seconds > 10) { in mfi_display_progress()
349 seconds = (0x10000 * (uint32_t)prog->elapsed_seconds) / in mfi_display_progress()
350 prog->progress - prog->elapsed_seconds; in mfi_display_progress()
363 warnx("The %s command requires a sub-command.", av[0]); in mfi_table_handler()
367 if (strcmp((*cmd)->name, av[1]) == 0) in mfi_table_handler()
368 return ((*cmd)->handler(ac - 1, av + 1)); in mfi_table_handler()
371 warnx("%s is not a valid sub-command of %s.", av[1], av[0]); in mfi_table_handler()