/freebsd/sys/net/ |
H A D | if.h | 279 #define IFCAP_WOL_MAGIC IFCAP_BIT(IFCAP_B_WOL_MAGIC) macro 310 #define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC)
|
/freebsd/sys/dev/ste/ |
H A D | if_ste.c | 1024 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in ste_attach() 1792 if ((mask & IFCAP_WOL_MAGIC) != 0 && in ste_ioctl() 1793 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_ioctl() 1794 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in ste_ioctl() 2117 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol() 2123 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol()
|
/freebsd/sys/dev/sis/ |
H A D | if_sis.c | 1073 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in sis_attach() 2179 if ((mask & IFCAP_WOL_MAGIC) != 0) in sis_ioctl() 2180 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in sis_ioctl() 2334 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in sis_wol() 2347 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in sis_wol() 2354 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in sis_wol()
|
/freebsd/sys/dev/xl/ |
H A D | if_xl.c | 1343 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in xl_attach() 3072 if ((mask & IFCAP_WOL_MAGIC) != 0 && in xl_ioctl() 3073 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_ioctl() 3074 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in xl_ioctl() 3271 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol() 3275 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol() 3280 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol()
|
/freebsd/sys/dev/fxp/ |
H A D | if_fxp.c | 856 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in fxp_attach() 857 if_setcapenablebit(ifp, IFCAP_WOL_MAGIC, 0); in fxp_attach() 1068 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in fxp_suspend() 2921 if ((mask & IFCAP_WOL_MAGIC) != 0 && in fxp_ioctl() 2922 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in fxp_ioctl() 2923 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in fxp_ioctl()
|
/freebsd/sys/dev/vr/ |
H A D | if_vr.c | 693 if_setcapabilitiesbit(ifp, IFCAP_WOL_UCAST | IFCAP_WOL_MAGIC, 0); in vr_attach() 2292 if ((mask & IFCAP_WOL_MAGIC) != 0 && in vr_ioctl() 2293 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in vr_ioctl() 2294 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in vr_ioctl() 2556 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vr_setwol()
|
/freebsd/sys/dev/nfe/ |
H A D | if_nfe.c | 612 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in nfe_attach() 1767 if ((mask & IFCAP_WOL_MAGIC) != 0 && in nfe_ioctl() 1768 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in nfe_ioctl() 1769 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in nfe_ioctl() 3322 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in nfe_set_wol() 3327 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in nfe_set_wol()
|
/freebsd/sys/dev/stge/ |
H A D | if_stge.c | 579 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in stge_attach() 987 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in stge_setwol() 1333 if ((mask & IFCAP_WOL_MAGIC) != 0) in stge_ioctl() 1334 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in stge_ioctl()
|
/freebsd/sys/dev/rl/ |
H A D | if_rl.c | 1870 if ((mask & IFCAP_WOL_MAGIC) != 0) in rl_ioctl() 1871 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in rl_ioctl() 2066 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in rl_setwol()
|
/freebsd/sys/dev/ale/ |
H A D | if_ale.c | 624 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC | IFCAP_WOL_MCAST, 0); in ale_attach() 1501 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ale_setwol() 2027 if ((mask & IFCAP_WOL_MAGIC) != 0 && in ale_ioctl() 2028 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in ale_ioctl() 2029 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in ale_ioctl()
|
/freebsd/sys/dev/jme/ |
H A D | if_jme.c | 820 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in jme_attach() 1592 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in jme_setwol() 2061 if ((mask & IFCAP_WOL_MAGIC) != 0 && in jme_ioctl() 2062 (IFCAP_WOL_MAGIC & if_getcapabilities(ifp)) != 0) in jme_ioctl() 2063 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in jme_ioctl()
|
/freebsd/sys/dev/age/ |
H A D | if_age.c | 605 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC | IFCAP_WOL_MCAST, 0); in age_attach() 1407 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in age_setwol() 1886 if ((mask & IFCAP_WOL_MAGIC) != 0 && in age_ioctl() 1887 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in age_ioctl() 1888 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in age_ioctl()
|
/freebsd/sys/dev/vge/ |
H A D | if_vge.c | 2343 if ((mask & IFCAP_WOL_MAGIC) != 0 && in vge_ioctl() 2344 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in vge_ioctl() 2345 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in vge_ioctl() 2867 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vge_setwol()
|
/freebsd/sys/dev/alc/ |
H A D | if_alc.c | 1598 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC | IFCAP_WOL_MCAST, 0); in alc_attach() 2564 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in alc_setwol_813x() 2622 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in alc_setwol_816x() 3130 if ((mask & IFCAP_WOL_MAGIC) != 0 && in alc_ioctl() 3131 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in alc_ioctl() 3132 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in alc_ioctl()
|
/freebsd/sys/dev/nge/ |
H A D | if_nge.c | 2359 if ((mask & IFCAP_WOL_MAGIC) != 0) in nge_ioctl() 2360 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in nge_ioctl() 2552 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in nge_wol()
|
/freebsd/sbin/ifconfig/ |
H A D | ifconfig.c | 2157 DEF_CMD("wol_magic", IFCAP_WOL_MAGIC, setifcap), 2158 DEF_CMD("-wol_magic", IFCAP_WOL_MAGIC, clearifcap),
|
/freebsd/sys/dev/re/ |
H A D | if_re.c | 3541 if ((mask & IFCAP_WOL_MAGIC) != 0) in re_ioctl() 3542 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in re_ioctl() 3904 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in re_setwol()
|
/freebsd/sys/dev/igc/ |
H A D | if_igc.c | 659 scctx->isc_capenable |= IFCAP_WOL_MAGIC; in igc_if_attach_pre() 2419 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0) in igc_enable_wakeup()
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | if_bnxt.c | 2298 scctx->isc_capabilities |= IFCAP_WOL_MAGIC; in bnxt_attach_pre() 2301 scctx->isc_capenable |= IFCAP_WOL_MAGIC; in bnxt_attach_pre() 3531 if (if_getcapenable(ifp) & IFCAP_WOL_MAGIC) { in bnxt_wol_config()
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 2061 if (mask & IFCAP_WOL_MAGIC) in mlx4_en_ioctl() 2062 if_togglecapenable(dev, IFCAP_WOL_MAGIC); in mlx4_en_ioctl()
|
/freebsd/sys/dev/ae/ |
H A D | if_ae.c | 340 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in ae_attach()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 3584 if (mask & IFCAP_WOL_MAGIC) in mlx5e_ioctl() 3585 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in mlx5e_ioctl()
|
/freebsd/sys/dev/e1000/ |
H A D | if_em.c | 1198 scctx->isc_capenable |= IFCAP_WOL_MAGIC; in em_if_attach_pre() 4325 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0) in em_enable_wakeup()
|
/freebsd/sys/dev/bxe/ |
H A D | bxe.c | 13018 IFCAP_WOL_MAGIC); in bxe_init_ifnet()
|