Lines Matching refs:desc
495 struct ifmedia_description *desc;
500 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes;
501 desc->ifmt_string != NULL; desc++, ttos++)
502 if (IFM_TYPE(ifmw) == desc->ifmt_word)
504 if (desc->ifmt_string == NULL) {
508 printf(desc->ifmt_string);
511 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++)
512 if (IFM_MODE(ifmw) == desc->ifmt_word) {
513 if (desc->ifmt_string != NULL)
514 printf(" mode %s", desc->ifmt_string);
522 for (desc = ifm_subtype_shared_descriptions;
523 desc->ifmt_string != NULL; desc++)
524 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word)
527 for (desc = ttos->subtypes; desc->ifmt_string != NULL; desc++)
528 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word)
530 if (desc->ifmt_string == NULL) {
536 printf(" %s", desc->ifmt_string);
541 for (desc = ifm_shared_option_descriptions;
542 desc->ifmt_string != NULL; desc++) {
543 if (ifmw & desc->ifmt_word) {
547 desc->ifmt_string);
554 for (desc = ttos->options; desc->ifmt_string != NULL; desc++) {
555 if (ifmw & desc->ifmt_word) {
559 desc->ifmt_string);