Lines Matching refs:fmt
786 static void print_format(cistpl_format_t *fmt)
788 if (fmt->type == CISTPL_FORMAT_DISK)
790 else if (fmt->type == CISTPL_FORMAT_MEM)
793 printf("%s [type 0x%02x]\n", indent, fmt->type);
794 if (fmt->edc == CISTPL_EDC_NONE)
796 else if (fmt->edc == CISTPL_EDC_CKSUM)
798 else if (fmt->edc == CISTPL_EDC_CRC)
800 else if (fmt->edc == CISTPL_EDC_PCC)
803 printf(" [edc 0x%02x]", fmt->edc);
804 printf(" offset 0x%04x length ", fmt->offset);
805 print_size(fmt->length);