Lines Matching refs:desc
438 const struct ifmedia_description *desc; in ifmedia_printword() local
443 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in ifmedia_printword()
444 desc->ifmt_string != NULL; desc++, ttos++) in ifmedia_printword()
445 if (IFM_TYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
447 if (desc->ifmt_string == NULL) { in ifmedia_printword()
451 printf("%s", desc->ifmt_string); in ifmedia_printword()
454 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++) in ifmedia_printword()
455 if (IFM_MODE(ifmw) == desc->ifmt_word) { in ifmedia_printword()
456 if (desc->ifmt_string != NULL) in ifmedia_printword()
457 printf(" mode %s", desc->ifmt_string); in ifmedia_printword()
465 for (desc = ifm_subtype_shared_descriptions; in ifmedia_printword()
466 desc->ifmt_string != NULL; desc++) in ifmedia_printword()
467 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
470 for (desc = ttos->subtypes; desc->ifmt_string != NULL; desc++) in ifmedia_printword()
471 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
473 if (desc->ifmt_string == NULL) { in ifmedia_printword()
479 printf(" %s", desc->ifmt_string); in ifmedia_printword()
484 for (desc = ifm_shared_option_descriptions; in ifmedia_printword()
485 desc->ifmt_string != NULL; desc++) { in ifmedia_printword()
486 if (ifmw & desc->ifmt_word) { in ifmedia_printword()
490 desc->ifmt_string); in ifmedia_printword()
497 for (desc = ttos->options; desc->ifmt_string != NULL; desc++) { in ifmedia_printword()
498 if (ifmw & desc->ifmt_word) { in ifmedia_printword()
502 desc->ifmt_string); in ifmedia_printword()