| /freebsd-14.2/sys/net/ |
| H A D | if_media.h | 779 { IFM_ETHER | IFM_10_T, IF_Mbps(10) }, \ 780 { IFM_ETHER | IFM_10_2, IF_Mbps(10) }, \ 781 { IFM_ETHER | IFM_10_5, IF_Mbps(10) }, \ 782 { IFM_ETHER | IFM_100_TX, IF_Mbps(100) }, \ 783 { IFM_ETHER | IFM_100_FX, IF_Mbps(100) }, \ 784 { IFM_ETHER | IFM_100_T4, IF_Mbps(100) }, \ 785 { IFM_ETHER | IFM_100_VG, IF_Mbps(100) }, \ 786 { IFM_ETHER | IFM_100_T2, IF_Mbps(100) }, \ 788 { IFM_ETHER | IFM_10_STP, IF_Mbps(10) }, \ 789 { IFM_ETHER | IFM_10_FL, IF_Mbps(10) }, \ [all …]
|
| H A D | if.h | 195 #define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */ macro 196 #define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */
|
| H A D | if_ethersubr.c | 1010 ifp->if_baudrate = IF_Mbps(10); /* just a default */ in ether_ifattach()
|
| /freebsd-14.2/sys/dev/ixgbe/ |
| H A D | ixgbe_osdep.c | 92 baudrate = IF_Mbps(2500); in ixgbe_link_speed_to_baudrate() 98 baudrate = IF_Mbps(100); in ixgbe_link_speed_to_baudrate() 101 baudrate = IF_Mbps(10); in ixgbe_link_speed_to_baudrate()
|
| /freebsd-14.2/sys/dev/sfxge/ |
| H A D | sfxge_port.c | 300 [EFX_LINK_10HDX] = IF_Mbps(10), 301 [EFX_LINK_10FDX] = IF_Mbps(10), 302 [EFX_LINK_100HDX] = IF_Mbps(100), 303 [EFX_LINK_100FDX] = IF_Mbps(100),
|
| /freebsd-14.2/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII.c | 388 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-14.2/sys/dev/ixl/ |
| H A D | ixl_txrx.c | 835 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 D | ixl_pf_main.c | 3032 return IF_Mbps(2500); in ixl_max_aq_speed_to_value() 3036 return IF_Mbps(100); in ixl_max_aq_speed_to_value() 3039 return IF_Mbps(100); in ixl_max_aq_speed_to_value()
|
| /freebsd-14.2/sys/dev/iavf/ |
| H A D | iavf_lib.c | 1060 return IF_Mbps(100); in iavf_max_vc_speed_to_value() 1063 return IF_Mbps(100); in iavf_max_vc_speed_to_value()
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_main.c | 59 .baudrate = IF_Mbps(1000ULL), 63 .baudrate = IF_Mbps(1000ULL), 131 .baudrate = IF_Mbps(100ULL), 135 .baudrate = IF_Mbps(1000ULL), 172 .baudrate = IF_Mbps(100), 178 .baudrate = IF_Mbps(1000), 182 .baudrate = IF_Mbps(1000), 188 .baudrate = IF_Mbps(5000), 192 .baudrate = IF_Mbps(5000),
|
| /freebsd-14.2/sys/dev/le/ |
| H A D | lance.c | 126 if_setbaudrate(ifp, IF_Mbps(10)); in lance_config()
|
| /freebsd-14.2/sys/dev/usb/net/ |
| H A D | if_ure.c | 1302 if_setbaudrate(ifp, IF_Mbps(2500)); in ure_ifmedia_upd() 1311 if_setbaudrate(ifp, IF_Mbps(100)); in ure_ifmedia_upd() 1315 if_setbaudrate(ifp, IF_Mbps(10)); in ure_ifmedia_upd()
|
| /freebsd-14.2/sys/dev/bce/ |
| H A D | if_bce.c | 1392 if_setbaudrate(ifp, IF_Mbps(2500ULL)); in bce_attach() 1394 if_setbaudrate(ifp, IF_Mbps(1000)); in bce_attach() 6216 if_setbaudrate(ifp, IF_Mbps(10UL)); in bce_ifmedia_sts_rphy() 6220 if_setbaudrate(ifp, IF_Mbps(10UL)); in bce_ifmedia_sts_rphy() 6224 if_setbaudrate(ifp, IF_Mbps(100UL)); in bce_ifmedia_sts_rphy() 6228 if_setbaudrate(ifp, IF_Mbps(100UL)); in bce_ifmedia_sts_rphy() 6235 if_setbaudrate(ifp, IF_Mbps(1000UL)); in bce_ifmedia_sts_rphy() 6242 if_setbaudrate(ifp, IF_Mbps(1000UL)); in bce_ifmedia_sts_rphy() 6250 if_setbaudrate(ifp, IF_Mbps(2500UL)); in bce_ifmedia_sts_rphy() 6258 if_setbaudrate(ifp, IF_Mbps(2500UL)); in bce_ifmedia_sts_rphy()
|
| /freebsd-14.2/sys/dev/ice/ |
| H A D | ice_lib.c | 902 return IF_Mbps(2500); in ice_aq_speed_to_rate() 904 return IF_Mbps(1000); in ice_aq_speed_to_rate() 906 return IF_Mbps(100); in ice_aq_speed_to_rate() 908 return IF_Mbps(10); in ice_aq_speed_to_rate() 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-14.2/sys/dev/axgbe/ |
| H A D | if_axgbe_pci.c | 2263 IF_Mbps(100)); in axgbe_if_update_admin_status() 2266 IF_Mbps(10)); in axgbe_if_update_admin_status()
|
| /freebsd-14.2/sys/dev/bnxt/bnxt_en/ |
| H A D | if_bnxt.c | 4737 return IF_Mbps(100); in bnxt_get_baudrate() 4743 return IF_Mbps(2500); in bnxt_get_baudrate() 4757 return IF_Mbps(10); in bnxt_get_baudrate()
|
| /freebsd-14.2/sys/dev/mlx4/mlx4_en/ |
| H A D | mlx4_en_netdev.c | 1030 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-14.2/sys/net80211/ |
| H A D | ieee80211.c | 688 ifp->if_baudrate = IF_Mbps(maxrate); in ieee80211_vap_attach()
|
| /freebsd-14.2/sys/dev/igc/ |
| H A D | if_igc.c | 1364 IF_Mbps(sc->link_speed)); in igc_if_update_admin_status()
|
| /freebsd-14.2/sys/dev/ti/ |
| H A D | if_ti.c | 936 if_setbaudrate(sc->ti_ifp, IF_Mbps(100)); in ti_handle_events()
|
| /freebsd-14.2/sys/dev/cxgb/ |
| H A D | cxgb_main.c | 1235 if_setbaudrate(ifp, IF_Mbps(speed)); in t3_os_link_changed()
|
| /freebsd-14.2/sys/dev/virtio/network/ |
| H A D | if_vtnet.c | 3949 if_setbaudrate(ifp, IF_Mbps(speed)); in vtnet_update_speed_duplex()
|
| /freebsd-14.2/sys/dev/e1000/ |
| H A D | if_em.c | 2114 IF_Mbps(sc->link_speed)); in em_if_update_admin_status()
|
| /freebsd-14.2/sys/dev/cxgbe/ |
| H A D | t4_main.c | 12335 if_setbaudrate(ifp, IF_Mbps(lc->speed)); in t4_os_link_changed()
|