Lines Matching refs:desc
439 const struct ifmedia_description *desc;
444 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes;
445 desc->ifmt_string != NULL; desc++, ttos++)
446 if (IFM_TYPE(ifmw) == desc->ifmt_word)
448 if (desc->ifmt_string == NULL) {
452 printf("%s", desc->ifmt_string);
455 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++)
456 if (IFM_MODE(ifmw) == desc->ifmt_word) {
457 if (desc->ifmt_string != NULL)
458 printf(" mode %s", desc->ifmt_string);
466 for (desc = ifm_subtype_shared_descriptions;
467 desc->ifmt_string != NULL; desc++)
468 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word)
471 for (desc = ttos->subtypes; desc->ifmt_string != NULL; desc++)
472 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word)
474 if (desc->ifmt_string == NULL) {
480 printf(" %s", desc->ifmt_string);
485 for (desc = ifm_shared_option_descriptions;
486 desc->ifmt_string != NULL; desc++) {
487 if (ifmw & desc->ifmt_word) {
491 desc->ifmt_string);
498 for (desc = ttos->options; desc->ifmt_string != NULL; desc++) {
499 if (ifmw & desc->ifmt_word) {
503 desc->ifmt_string);