| /openbsd/src/sys/net/ |
| D | if_media.h | 801 { IFM_ETHER|IFM_10_T, IF_Mbps(10) }, \ 802 { IFM_ETHER|IFM_10_2, IF_Mbps(10) }, \ 803 { IFM_ETHER|IFM_10_5, IF_Mbps(10) }, \ 804 { IFM_ETHER|IFM_100_TX, IF_Mbps(100) }, \ 805 { IFM_ETHER|IFM_100_FX, IF_Mbps(100) }, \ 806 { IFM_ETHER|IFM_100_T4, IF_Mbps(100) }, \ 807 { IFM_ETHER|IFM_100_VG, IF_Mbps(100) }, \ 808 { IFM_ETHER|IFM_100_T2, IF_Mbps(100) }, \ 809 { IFM_ETHER|IFM_1000_SX, IF_Mbps(1000) }, \ 810 { IFM_ETHER|IFM_10_STP, IF_Mbps(10) }, \ [all …]
|
| D | if.h | 243 #define IF_Mbps(x) (IF_Kbps((x) * 1000ULL)) /* megabits/sec. */ macro 244 #define IF_Gbps(x) (IF_Mbps((x) * 1000ULL)) /* gigabits/sec. */
|
| D | trunklacp.c | 1008 else if (speed <= IF_Mbps(1)) in lacp_compose_key() 1010 else if (speed <= IF_Mbps(10)) in lacp_compose_key() 1012 else if (speed <= IF_Mbps(100)) in lacp_compose_key()
|
| /openbsd/src/sys/dev/fdt/ |
| D | if_dwqe_fdt.c | 204 ifp->if_baudrate = IF_Mbps(OF_getpropint(node, "speed", 0)); in dwqe_fdt_attach() 422 case IF_Mbps(10): in dwqe_mii_statchg_jh7110_task() 425 case IF_Mbps(100): in dwqe_mii_statchg_jh7110_task() 428 case IF_Mbps(1000): in dwqe_mii_statchg_jh7110_task() 509 case IF_Mbps(10): in dwqe_mii_statchg_rk3568_task() 512 case IF_Mbps(100): in dwqe_mii_statchg_rk3568_task() 515 case IF_Mbps(1000): in dwqe_mii_statchg_rk3568_task() 624 case IF_Mbps(10): in dwqe_mii_statchg_rk3588() 627 case IF_Mbps(100): in dwqe_mii_statchg_rk3588() 630 case IF_Mbps(1000): in dwqe_mii_statchg_rk3588()
|
| D | if_dwge.c | 468 ifp->if_baudrate = IF_Mbps(OF_getpropint(node, "speed", 0)); in dwge_attach()
|
| /openbsd/src/sys/arch/octeon/dev/ |
| D | cn30xxgmx.c | 888 case IF_Mbps(10): in cn30xxgmx_agl_speed() 895 case IF_Mbps(100): in cn30xxgmx_agl_speed() 985 baudrate = IF_Mbps(10); in cn30xxgmx_rgmii_speed() 988 baudrate = IF_Mbps(100); in cn30xxgmx_rgmii_speed() 1393 case IF_Mbps(10): in cn30xxgmx_sgmii_speed() 1401 case IF_Mbps(100): in cn30xxgmx_sgmii_speed()
|
| D | if_ogx.c | 1546 case IF_Mbps(10): in ogx_sgmii_link_change() 1554 case IF_Mbps(100): in ogx_sgmii_link_change()
|
| /openbsd/src/usr.sbin/ripctl/ |
| D | ripctl.c | 530 else if (baudrate > IF_Mbps(1)) in print_baudrate() 531 printf("%llu MBit/s", baudrate / IF_Mbps(1)); in print_baudrate()
|
| /openbsd/src/usr.sbin/ospfctl/ |
| D | ospfctl.c | 569 else if (baudrate > IF_Mbps(1)) in print_baudrate() 570 snprintf(buf, sizeof(buf), "%llu MBit/s", baudrate / IF_Mbps(1)); in print_baudrate()
|
| /openbsd/src/usr.sbin/ldpctl/ |
| D | ldpctl.c | 678 else if (baudrate > IF_Mbps(1)) in print_baudrate() 679 printf("%llu MBit/s", baudrate / IF_Mbps(1)); in print_baudrate()
|
| /openbsd/src/usr.sbin/eigrpctl/ |
| D | eigrpctl.c | 777 else if (baudrate > IF_Mbps(1)) in print_baudrate() 778 printf("%llu MBit/s", baudrate / IF_Mbps(1)); in print_baudrate()
|
| /openbsd/src/sys/dev/pci/ |
| D | if_bnxt.c | 1785 case IF_Mbps(2500): in bnxt_get_media_type() 1796 case IF_Mbps(10): in bnxt_get_media_type() 1798 case IF_Mbps(100): in bnxt_get_media_type() 1802 case IF_Mbps(2500): in bnxt_get_media_type() 1844 case IF_Mbps(2500): in bnxt_add_media_type() 1879 IF_Gbps(1), IF_Gbps(2), IF_Mbps(2500), IF_Gbps(10), IF_Gbps(20), in bnxt_hwrm_port_phy_qcfg() 1909 ifp->if_baudrate = IF_Mbps(10); in bnxt_hwrm_port_phy_qcfg() 1912 ifp->if_baudrate = IF_Mbps(100); in bnxt_hwrm_port_phy_qcfg() 1921 ifp->if_baudrate = IF_Mbps(2500); in bnxt_hwrm_port_phy_qcfg()
|
| D | if_rge.c | 946 ifp->if_baudrate = IF_Mbps(2500); in rge_ifmedia_upd() 957 ifp->if_baudrate = IF_Mbps(100); in rge_ifmedia_upd() 964 ifp->if_baudrate = IF_Mbps(10); in rge_ifmedia_upd()
|
| D | if_iavf.c | 196 { IF_Mbps(100), IFM_100_TX }, 197 { IF_Mbps(1000), IFM_1000_T },
|
| D | if_oce.c | 960 ifp->if_baudrate = IF_Mbps(10); in oce_link_status() 963 ifp->if_baudrate = IF_Mbps(100); in oce_link_status()
|
| D | if_vmx.c | 882 ifp->if_baudrate = IF_Mbps(speed); in vmxnet3_link_state()
|
| D | if_txp.c | 214 ifp->if_baudrate = IF_Mbps(10); in txp_attachhook()
|
| /openbsd/src/sys/dev/ic/ |
| D | xl.c | 683 ifp->if_baudrate = IF_Mbps(10); in xl_setmode() 695 ifp->if_baudrate = IF_Mbps(100); in xl_setmode() 706 ifp->if_baudrate = IF_Mbps(10); in xl_setmode() 715 ifp->if_baudrate = IF_Mbps(10); in xl_setmode() 727 ifp->if_baudrate = IF_Mbps(10); in xl_setmode()
|
| D | dwqe.c | 567 case IF_Mbps(1000): in dwqe_mii_statchg() 570 case IF_Mbps(100): in dwqe_mii_statchg() 574 case IF_Mbps(10): in dwqe_mii_statchg()
|
| D | lance.c | 182 ifp->if_baudrate = IF_Mbps(10); in lance_config()
|
| /openbsd/src/usr.sbin/ospf6ctl/ |
| D | ospf6ctl.c | 1364 else if (baudrate > IF_Mbps(1)) in print_baudrate() 1365 printf("%llu MBit/s", baudrate / IF_Mbps(1)); in print_baudrate()
|
| /openbsd/src/sys/dev/usb/ |
| D | if_uaq.c | 1051 baudrate = IF_Mbps(2500); in uaq_intr() 1057 baudrate = IF_Mbps(100); in uaq_intr()
|
| D | if_ure.c | 552 ifp->if_baudrate = IF_Mbps(2500); in ure_ifmedia_upd() 561 ifp->if_baudrate = IF_Mbps(100); in ure_ifmedia_upd() 565 ifp->if_baudrate = IF_Mbps(10); in ure_ifmedia_upd()
|
| D | if_upl.c | 265 ifp->if_baudrate = IF_Mbps(12); in upl_attach()
|
| /openbsd/src/sys/net80211/ |
| D | ieee80211.c | 485 ifp->if_baudrate = IF_Mbps(maxrate); in ieee80211_media_init()
|