Lines Matching refs:desc
440 const struct ifmedia_description *desc;
445 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes;
446 desc->ifmt_string != NULL; desc++, ttos++)
447 if (IFM_TYPE(ifmw) == desc->ifmt_word)
449 if (desc->ifmt_string == NULL) {
453 printf("%s", desc->ifmt_string);
456 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++)
457 if (IFM_MODE(ifmw) == desc->ifmt_word) {
458 if (desc->ifmt_string != NULL)
459 printf(" mode %s", desc->ifmt_string);
467 for (desc = ifm_subtype_shared_descriptions;
468 desc->ifmt_string != NULL; desc++)
469 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word)
472 for (desc = ttos->subtypes; desc->ifmt_string != NULL; desc++)
473 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word)
475 if (desc->ifmt_string == NULL) {
481 printf(" %s", desc->ifmt_string);
486 for (desc = ifm_shared_option_descriptions;
487 desc->ifmt_string != NULL; desc++) {
488 if (ifmw & desc->ifmt_word) {
492 desc->ifmt_string);
499 for (desc = ttos->options; desc->ifmt_string != NULL; desc++) {
500 if (ifmw & desc->ifmt_word) {
504 desc->ifmt_string);