Lines Matching refs:ttos
102 struct ifmedia_type_to_subtype *ttos);
480 struct ifmedia_type_to_subtype *ttos; in get_media_subtype() local
484 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in get_media_subtype()
485 desc->ifmt_string != NULL; desc++, ttos++) in get_media_subtype()
491 for (i = 0; ttos->subtypes[i].desc != NULL; i++) { in get_media_subtype()
492 rval = lookup_media_word(ttos->subtypes[i].desc, val); in get_media_subtype()
504 struct ifmedia_type_to_subtype *ttos; in get_media_mode() local
508 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in get_media_mode()
509 desc->ifmt_string != NULL; desc++, ttos++) in get_media_mode()
515 for (i = 0; ttos->modes[i].desc != NULL; i++) { in get_media_mode()
516 rval = lookup_media_word(ttos->modes[i].desc, val); in get_media_mode()
527 struct ifmedia_type_to_subtype *ttos; in get_media_options() local
537 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in get_media_options()
538 desc->ifmt_string != NULL; desc++, ttos++) in get_media_options()
550 for (i = 0; ttos->options[i].desc != NULL; i++) { in get_media_options()
551 option = lookup_media_word(ttos->options[i].desc, optptr); in get_media_options()
589 struct ifmedia_type_to_subtype *ttos; in get_toptype_ttos() local
591 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in get_toptype_ttos()
592 desc->ifmt_string != NULL; desc++, ttos++) in get_toptype_ttos()
596 return ttos; in get_toptype_ttos()
600 struct ifmedia_type_to_subtype *ttos) in get_subtype_desc() argument
605 for (i = 0; ttos->subtypes[i].desc != NULL; i++) { in get_subtype_desc()
606 if (ttos->subtypes[i].alias) in get_subtype_desc()
608 for (desc = ttos->subtypes[i].desc; in get_subtype_desc()
619 struct ifmedia_type_to_subtype *ttos) in get_mode_desc() argument
624 for (i = 0; ttos->modes[i].desc != NULL; i++) { in get_mode_desc()
625 if (ttos->modes[i].alias) in get_mode_desc()
627 for (desc = ttos->modes[i].desc; in get_mode_desc()
641 struct ifmedia_type_to_subtype *ttos; in print_media_word() local
646 ttos = get_toptype_ttos(ifmw); in print_media_word()
660 desc = get_subtype_desc(ifmw, ttos); in print_media_word()
672 desc = get_mode_desc(ifmw, ttos); in print_media_word()
678 for (i = 0; ttos->options[i].desc != NULL; i++) { in print_media_word()
679 if (ttos->options[i].alias) in print_media_word()
681 for (desc = ttos->options[i].desc; in print_media_word()
701 struct ifmedia_type_to_subtype *ttos; in print_media_word_ifconfig() local
706 ttos = get_toptype_ttos(ifmw); in print_media_word_ifconfig()
718 desc = get_subtype_desc(ifmw, ttos); in print_media_word_ifconfig()
726 desc = get_mode_desc(ifmw, ttos); in print_media_word_ifconfig()
731 for (i = 0; ttos->options[i].desc != NULL; i++) { in print_media_word_ifconfig()
732 if (ttos->options[i].alias) in print_media_word_ifconfig()
734 for (desc = ttos->options[i].desc; in print_media_word_ifconfig()