Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dif.h279 #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 Dif_ste.c1024 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 Dif_sis.c1073 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 Dif_xl.c1343 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 Dif_fxp.c856 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 Dif_vr.c693 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 Dif_nfe.c612 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 Dif_stge.c579 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 Dif_rl.c1870 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 Dif_ale.c624 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 Dif_jme.c820 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 Dif_age.c605 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 Dif_vge.c2343 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 Dif_alc.c1598 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 Dif_nge.c2359 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 Difconfig.c2157 DEF_CMD("wol_magic", IFCAP_WOL_MAGIC, setifcap),
2158 DEF_CMD("-wol_magic", IFCAP_WOL_MAGIC, clearifcap),
/freebsd/sys/dev/re/
H A Dif_re.c3541 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 Dif_igc.c659 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 Dif_bnxt.c2298 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 Dmlx4_en_netdev.c2061 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 Dif_ae.c340 if_setcapabilitiesbit(ifp, IFCAP_WOL_MAGIC, 0); in ae_attach()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c3584 if (mask & IFCAP_WOL_MAGIC) in mlx5e_ioctl()
3585 if_togglecapenable(ifp, IFCAP_WOL_MAGIC); in mlx5e_ioctl()
/freebsd/sys/dev/e1000/
H A Dif_em.c1198 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 Dbxe.c13018 IFCAP_WOL_MAGIC); in bxe_init_ifnet()