Home
last modified time | relevance | path

Searched refs:IF_Mbps (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/net/
H A Dif_media.h783 { IFM_ETHER | IFM_10_T, IF_Mbps(10) }, \
784 { IFM_ETHER | IFM_10_2, IF_Mbps(10) }, \
785 { IFM_ETHER | IFM_10_5, IF_Mbps(10) }, \
786 { IFM_ETHER | IFM_100_TX, IF_Mbps(100) }, \
787 { IFM_ETHER | IFM_100_FX, IF_Mbps(100) }, \
788 { IFM_ETHER | IFM_100_T4, IF_Mbps(100) }, \
789 { IFM_ETHER | IFM_100_VG, IF_Mbps(100) }, \
790 { IFM_ETHER | IFM_100_T2, IF_Mbps(100) }, \
791 { IFM_ETHER | IFM_100_BX, IF_Mbps(100) }, \
792 { IFM_ETHER | IFM_1000_SX, IF_Mbps(1000) }, \
[all …]
H A Dif.h193 #define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */ macro
194 #define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */
H A Dif_ethersubr.c998 ifp->if_baudrate = IF_Mbps(10); /* just a default */ in ether_ifattach()
/freebsd/sys/dev/ixgbe/
H A Dixgbe_osdep.c98 baudrate = IF_Mbps(2500); in ixgbe_link_speed_to_baudrate()
104 baudrate = IF_Mbps(100); in ixgbe_link_speed_to_baudrate()
107 baudrate = IF_Mbps(10); in ixgbe_link_speed_to_baudrate()
/freebsd/sys/dev/sfxge/
H A Dsfxge_port.c299 [EFX_LINK_10HDX] = IF_Mbps(10),
300 [EFX_LINK_10FDX] = IF_Mbps(10),
301 [EFX_LINK_100HDX] = IF_Mbps(100),
302 [EFX_LINK_100FDX] = IF_Mbps(100),
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII.c388 if (mibif_maxspeed <= IF_Mbps(10)) { in mibif_reset_hc_timer()
391 } else if (mibif_maxspeed <= IF_Mbps(100)) { in mibif_reset_hc_timer()
394 } else if (mibif_maxspeed < IF_Mbps(622)) { in mibif_reset_hc_timer()
397 } else if (mibif_maxspeed <= IF_Mbps(1000)) { in mibif_reset_hc_timer()
/freebsd/sys/dev/ixl/
H A Dixl_txrx.c835 return IF_Mbps(100); in ixl_max_vc_speed_to_value()
838 return IF_Mbps(100); in ixl_max_vc_speed_to_value()
H A Dixl_pf_main.c2980 return IF_Mbps(2500); in ixl_max_aq_speed_to_value()
2984 return IF_Mbps(100); in ixl_max_aq_speed_to_value()
2987 return IF_Mbps(100); in ixl_max_aq_speed_to_value()
/freebsd/sys/dev/iavf/
H A Diavf_lib.c1060 return IF_Mbps(100); in iavf_max_vc_speed_to_value()
1063 return IF_Mbps(100); in iavf_max_vc_speed_to_value()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c64 .baudrate = IF_Mbps(1000ULL),
68 .baudrate = IF_Mbps(1000ULL),
136 .baudrate = IF_Mbps(100ULL),
140 .baudrate = IF_Mbps(1000ULL),
177 .baudrate = IF_Mbps(100),
183 .baudrate = IF_Mbps(1000),
187 .baudrate = IF_Mbps(1000),
193 .baudrate = IF_Mbps(5000),
197 .baudrate = IF_Mbps(5000),
/freebsd/sys/dev/le/
H A Dlance.c123 if_setbaudrate(ifp, IF_Mbps(10)); in lance_config()
/freebsd/sys/dev/usb/net/
H A Dif_ure.c1301 if_setbaudrate(ifp, IF_Mbps(2500)); in ure_ifmedia_upd()
1310 if_setbaudrate(ifp, IF_Mbps(100)); in ure_ifmedia_upd()
1314 if_setbaudrate(ifp, IF_Mbps(10)); in ure_ifmedia_upd()
/freebsd/sys/dev/bce/
H A Dif_bce.c1392 if_setbaudrate(ifp, IF_Mbps(2500ULL)); in bce_attach()
1394 if_setbaudrate(ifp, IF_Mbps(1000)); in bce_attach()
6215 if_setbaudrate(ifp, IF_Mbps(10UL)); in bce_ifmedia_sts_rphy()
6219 if_setbaudrate(ifp, IF_Mbps(10UL)); in bce_ifmedia_sts_rphy()
6223 if_setbaudrate(ifp, IF_Mbps(100UL)); in bce_ifmedia_sts_rphy()
6227 if_setbaudrate(ifp, IF_Mbps(100UL)); in bce_ifmedia_sts_rphy()
6234 if_setbaudrate(ifp, IF_Mbps(1000UL)); in bce_ifmedia_sts_rphy()
6241 if_setbaudrate(ifp, IF_Mbps(1000UL)); in bce_ifmedia_sts_rphy()
6249 if_setbaudrate(ifp, IF_Mbps(2500UL)); in bce_ifmedia_sts_rphy()
6257 if_setbaudrate(ifp, IF_Mbps(2500UL)); in bce_ifmedia_sts_rphy()
/freebsd/sys/dev/ice/
H A Dice_lib.c902 return IF_Mbps(2500); in ice_aq_speed_to_str()
904 return IF_Mbps(1000); in ice_aq_speed_to_str()
906 return IF_Mbps(100); in ice_aq_speed_to_str()
908 return IF_Mbps(10); in ice_aq_speed_to_str()
1171 IF_Mbps(100), in ice_phy_types_to_max_rate()
1172 IF_Mbps(100), in ice_phy_types_to_max_rate()
1178 IF_Mbps(2500ULL), in ice_phy_types_to_max_rate()
1179 IF_Mbps(2500ULL), in ice_phy_types_to_max_rate()
1180 IF_Mbps(2500ULL), in ice_phy_types_to_max_rate()
/freebsd/sys/dev/axgbe/
H A Dif_axgbe_pci.c2308 IF_Mbps(100)); in axgbe_if_update_admin_status()
2311 IF_Mbps(10)); in axgbe_if_update_admin_status()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dif_bnxt.c4738 return IF_Mbps(100); in bnxt_get_baudrate()
4744 return IF_Mbps(2500); in bnxt_get_baudrate()
4758 return IF_Mbps(10); in bnxt_get_baudrate()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c1030 IF_Mbps(priv->port_state.link_speed)); in mlx4_en_do_set_rx_mode()
1251 IF_Mbps(priv->port_state.link_speed)); in mlx4_en_linkstate()
/freebsd/sys/net80211/
H A Dieee80211.c722 ifp->if_baudrate = IF_Mbps(maxrate); in ieee80211_vap_attach()
/freebsd/sys/dev/igc/
H A Dif_igc.c1419 IF_Mbps(sc->link_speed)); in igc_if_update_admin_status()
/freebsd/sys/dev/ti/
H A Dif_ti.c936 if_setbaudrate(sc->ti_ifp, IF_Mbps(100)); in ti_handle_events()
/freebsd/sys/dev/cxgb/
H A Dcxgb_main.c1189 if_setbaudrate(ifp, IF_Mbps(speed)); in t3_os_link_changed()
/freebsd/sys/dev/virtio/network/
H A Dif_vtnet.c3940 if_setbaudrate(ifp, IF_Mbps(speed)); in vtnet_update_speed_duplex()
/freebsd/sys/dev/e1000/
H A Dif_em.c2325 IF_Mbps(sc->link_speed)); in em_if_update_admin_status()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c12290 if_setbaudrate(ifp, IF_Mbps(lc->speed)); in t4_os_link_changed()