Lines Matching full:media
44 * media selection.
61 * Driver callbacks for media status and change requests.
67 * In-kernel representation of a single supported media type.
71 int ifm_media; /* description of this media attachment */
78 * It is used to keep general media state.
82 int ifm_media; /* current user-set media word */
83 struct ifmedia_entry *ifm_cur; /* currently selected media */
84 LIST_HEAD(, ifmedia_entry) ifm_list; /* list of all supported media */
85 ifm_change_cb_t ifm_change; /* media change driver callback */
86 ifm_stat_cb_t ifm_status; /* media status driver callback */
99 /* Add an array (of ifmedia_entry) media to a struct ifmedia. */
103 /* Set default media type on initialization. */
106 /* Common ioctl function for getting/setting media, called by driver. */
110 /* Compute baudrate for a given media. */
119 * 0-4 Media variant
120 * 5-7 Media type
164 #define IFM_UNKNOWN 25 /* media types not defined yet */
182 #define IFM_1000_SGMII IFM_X(41) /* 1G media interface */
183 #define IFM_10G_SFI IFM_X(42) /* 10G media interface */
184 #define IFM_40G_XLPPI IFM_X(43) /* 40G media interface */
203 #define IFM_100_SGMII IFM_X(62) /* 100M media interface */
266 * after adding new Ethernet media types.
274 #define IFM_ETH_XTYPE 0x00007800 /* extended media variants */
344 * Shared media sub-types
346 #define IFM_AUTO 0 /* Autoselect best media */
347 #define IFM_MANUAL 1 /* Jumper/dipswitch selects media */
348 #define IFM_NONE 2 /* Deselect all media */
365 #define IFM_TMASK 0x0000001f /* Media sub-type */
392 * Macros to extract various bits of information from the media word.
407 * Macro to create a media word.
579 * Shorthands for common media+option combinations as announced \
746 * Shorthands for common media+option combinations as announced \
775 * Baudrate descriptions for the various media types.
778 int ifmb_word; /* media word */
922 * Status descriptions for the various media types.