| /freebsd-13.1/sys/dev/netfpga10g/nf10bmac/ |
| H A D | if_nf10bmac.c | 545 if (ifp->if_capenable & IFCAP_POLLING) { in nf10bmac_init_locked() 623 if (ifp->if_capenable & IFCAP_POLLING) { in nf10bmac_intr() 736 if ((mask & IFCAP_POLLING) != 0 && in nf10bmac_ioctl() 737 (IFCAP_POLLING & ifp->if_capabilities) != 0) { in nf10bmac_ioctl() 738 ifp->if_capenable ^= IFCAP_POLLING; in nf10bmac_ioctl() 739 if ((IFCAP_POLLING & ifp->if_capenable) != 0) { in nf10bmac_ioctl() 758 ifp->if_capenable ^= IFCAP_POLLING; in nf10bmac_ioctl() 827 ifp->if_capabilities |= IFCAP_POLLING; in nf10bmac_attach() 851 if ((ifp->if_capenable & IFCAP_POLLING) != 0 || in nf10bmac_attach() 856 ifp->if_capenable |= IFCAP_POLLING; in nf10bmac_attach() [all …]
|
| /freebsd-13.1/sys/dev/firewire/ |
| H A D | if_fwe.c | 202 ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_POLLING; in fwe_attach() 259 if (ifp->if_capenable & IFCAP_POLLING) in fwe_detach() 390 if (ifr->ifr_reqcap & IFCAP_POLLING && in fwe_ioctl() 391 !(ifp->if_capenable & IFCAP_POLLING)) { in fwe_ioctl() 397 ifp->if_capenable |= IFCAP_POLLING; in fwe_ioctl() 400 if (!(ifr->ifr_reqcap & IFCAP_POLLING) && in fwe_ioctl() 401 ifp->if_capenable & IFCAP_POLLING) { in fwe_ioctl() 405 ifp->if_capenable &= ~IFCAP_POLLING; in fwe_ioctl()
|
| H A D | if_fwip.c | 195 ifp->if_capabilities |= IFCAP_POLLING; in fwip_attach() 263 if (ifp->if_capenable & IFCAP_POLLING) in fwip_detach() 406 if (ifr->ifr_reqcap & IFCAP_POLLING && in fwip_ioctl() 407 !(ifp->if_capenable & IFCAP_POLLING)) { in fwip_ioctl() 413 ifp->if_capenable |= IFCAP_POLLING; in fwip_ioctl() 416 if (!(ifr->ifr_reqcap & IFCAP_POLLING) && in fwip_ioctl() 417 ifp->if_capenable & IFCAP_POLLING) { in fwip_ioctl() 421 ifp->if_capenable &= ~IFCAP_POLLING; in fwip_ioctl()
|
| /freebsd-13.1/sys/dev/smc/ |
| H A D | if_smc.c | 393 ifp->if_capabilities |= IFCAP_POLLING; in smc_attach() 442 if (sc->smc_ifp->if_capenable & IFCAP_POLLING) in smc_detach() 582 if ((ifp->if_capenable & IFCAP_POLLING) == 0) in smc_start_locked() 669 if ((ifp->if_capenable & IFCAP_POLLING) == 0) in smc_task_tx() 794 if ((ifp->if_capenable & IFCAP_POLLING) == 0) in smc_task_rx() 968 if ((ifp->if_capenable & IFCAP_POLLING) == 0) in smc_task_intr() 1216 if ((ifp->if_capenable & IFCAP_POLLING) != 0) in smc_enable() 1240 sc->smc_ifp->if_capenable &= ~IFCAP_POLLING; in smc_stop() 1299 ifp->if_capenable |= IFCAP_POLLING; in smc_init_locked()
|
| /freebsd-13.1/sys/dev/rl/ |
| H A D | if_rl.c | 836 ifp->if_capabilities |= IFCAP_POLLING; in rl_attach() 881 if (ifp->if_capenable & IFCAP_POLLING) in rl_detach() 1148 if (ifp->if_capenable & IFCAP_POLLING) { in rl_rxeof() 1502 if (ifp->if_capenable & IFCAP_POLLING) in rl_intr() 1750 if (ifp->if_capenable & IFCAP_POLLING) in rl_init_locked() 1850 if (ifr->ifr_reqcap & IFCAP_POLLING && in rl_ioctl() 1851 !(ifp->if_capenable & IFCAP_POLLING)) { in rl_ioctl() 1858 ifp->if_capenable |= IFCAP_POLLING; in rl_ioctl() 1863 if (!(ifr->ifr_reqcap & IFCAP_POLLING) && in rl_ioctl() 1864 ifp->if_capenable & IFCAP_POLLING) { in rl_ioctl() [all …]
|
| /freebsd-13.1/sys/dev/tsec/ |
| H A D | if_tsec.c | 270 ifp->if_capabilities |= IFCAP_POLLING; in tsec_attach() 299 if (sc->tsec_ifp->if_capenable & IFCAP_POLLING) in tsec_detach() 462 if (ifp->if_capenable & IFCAP_POLLING ) in tsec_init_locked() 986 if (mask & IFCAP_POLLING) { in tsec_ioctl() 987 if (ifr->ifr_reqcap & IFCAP_POLLING) { in tsec_ioctl() 995 ifp->if_capenable |= IFCAP_POLLING; in tsec_ioctl() 1002 ifp->if_capenable &= ~IFCAP_POLLING; in tsec_ioctl() 1419 if (sc->tsec_ifp->if_capenable & IFCAP_POLLING) { in tsec_receive_intr() 1500 if (sc->tsec_ifp->if_capenable & IFCAP_POLLING) { in tsec_transmit_intr()
|
| /freebsd-13.1/sys/dev/mge/ |
| H A D | if_mge.c | 873 ifp->if_capabilities |= IFCAP_POLLING; in mge_attach() 1207 if (sc->ifp->if_capenable & IFCAP_POLLING) in mge_init_locked() 1233 if (sc->ifp->if_capenable & IFCAP_POLLING) { in mge_intr_rxtx() 1290 if (sc->ifp->if_capenable & IFCAP_POLLING) { in mge_intr_rx() 1412 if (sc->ifp->if_capenable & IFCAP_POLLING) { in mge_intr_tx() 1534 if (mask & IFCAP_POLLING) { in mge_ioctl() 1535 if (ifr->ifr_reqcap & IFCAP_POLLING) { in mge_ioctl() 1542 ifp->if_capenable |= IFCAP_POLLING; in mge_ioctl() 1548 ifp->if_capenable &= ~IFCAP_POLLING; in mge_ioctl() 1636 if (sc->ifp->if_capenable & IFCAP_POLLING) in mge_shutdown()
|
| /freebsd-13.1/sys/dev/ste/ |
| H A D | if_ste.c | 519 if (ifp->if_capenable & IFCAP_POLLING) { in ste_intr() 614 if (ifp->if_capenable & IFCAP_POLLING) { in ste_rxeof() 1037 ifp->if_capabilities |= IFCAP_POLLING; in ste_attach() 1075 if (ifp->if_capenable & IFCAP_POLLING) in ste_detach() 1604 if (ifp->if_capenable & IFCAP_POLLING) in ste_init_locked() 1784 if ((mask & IFCAP_POLLING) != 0 && in ste_ioctl() 1785 (IFCAP_POLLING & ifp->if_capabilities) != 0) { in ste_ioctl() 1786 ifp->if_capenable ^= IFCAP_POLLING; in ste_ioctl() 1787 if ((IFCAP_POLLING & ifp->if_capenable) != 0) { in ste_ioctl()
|
| /freebsd-13.1/sys/dev/sis/ |
| H A D | if_sis.c | 1108 ifp->if_capabilities |= IFCAP_POLLING; in sis_attach() 1146 if (ifp->if_capenable & IFCAP_POLLING) in sis_detach() 1506 if (ifp->if_capenable & IFCAP_POLLING) { in sis_rxeof() 1707 if (ifp->if_capenable & IFCAP_POLLING) { in sis_intr() 2065 if (ifp->if_capenable & IFCAP_POLLING) in sis_initl() 2164 if ((mask & IFCAP_POLLING) != 0 && in sis_ioctl() 2165 (IFCAP_POLLING & ifp->if_capabilities) != 0) { in sis_ioctl() 2166 ifp->if_capenable ^= IFCAP_POLLING; in sis_ioctl() 2167 if ((IFCAP_POLLING & ifp->if_capenable) != 0) { in sis_ioctl()
|
| /freebsd-13.1/sys/dev/stge/ |
| H A D | if_stge.c | 619 ifp->if_capabilities |= IFCAP_POLLING; in stge_attach() 672 if (ifp && ifp->if_capenable & IFCAP_POLLING) in stge_detach() 1311 if ((mask & IFCAP_POLLING) != 0) { in stge_ioctl() 1312 if ((ifr->ifr_reqcap & IFCAP_POLLING) != 0) { in stge_ioctl() 1318 ifp->if_capenable |= IFCAP_POLLING; in stge_ioctl() 1327 ifp->if_capenable &= ~IFCAP_POLLING; in stge_ioctl() 1467 if ((ifp->if_capenable & IFCAP_POLLING) != 0) in stge_intr() 1660 if (ifp->if_capenable & IFCAP_POLLING) { in stge_rxeof() 2095 if ((ifp->if_capenable & IFCAP_POLLING) != 0) in stge_init_locked()
|
| /freebsd-13.1/sys/dev/vr/ |
| H A D | if_vr.c | 709 ifp->if_capabilities |= IFCAP_POLLING; in vr_attach() 837 if (ifp != NULL && ifp->if_capenable & IFCAP_POLLING) in vr_detach() 1316 if (ifp->if_capenable & IFCAP_POLLING) { in vr_rxeof() 1711 if ((ifp->if_capenable & IFCAP_POLLING) != 0) in vr_int_task() 2158 if (ifp->if_capenable & IFCAP_POLLING) in vr_init_locked() 2268 if (mask & IFCAP_POLLING) { in vr_ioctl() 2269 if (ifr->ifr_reqcap & IFCAP_POLLING) { in vr_ioctl() 2276 ifp->if_capenable |= IFCAP_POLLING; in vr_ioctl() 2283 ifp->if_capenable &= ~IFCAP_POLLING; in vr_ioctl()
|
| /freebsd-13.1/sys/dev/nge/ |
| H A D | if_nge.c | 963 ifp->if_capabilities |= IFCAP_POLLING; in nge_attach() 998 if (ifp != NULL && ifp->if_capenable & IFCAP_POLLING) in nge_detach() 1464 if (ifp->if_capenable & IFCAP_POLLING) { in nge_rxeof() 1826 if ((ifp->if_capenable & IFCAP_POLLING) != 0) in nge_intr() 2211 if ((ifp->if_capenable & IFCAP_POLLING) != 0) in nge_init_locked() 2333 if ((mask & IFCAP_POLLING) != 0 && in nge_ioctl() 2334 (IFCAP_POLLING & ifp->if_capabilities) != 0) { in nge_ioctl() 2335 ifp->if_capenable ^= IFCAP_POLLING; in nge_ioctl() 2336 if ((IFCAP_POLLING & ifp->if_capenable) != 0) { in nge_ioctl()
|
| /freebsd-13.1/sys/dev/xl/ |
| H A D | if_xl.c | 1358 ifp->if_capabilities |= IFCAP_POLLING; in xl_attach() 1567 if (ifp && ifp->if_capenable & IFCAP_POLLING) in xl_detach() 1844 if (ifp->if_capenable & IFCAP_POLLING) { in xl_rxeof() 2160 if (ifp->if_capenable & IFCAP_POLLING) { in xl_intr() 2849 if (ifp->if_capenable & IFCAP_POLLING) in xl_init_locked() 3046 if ((mask & IFCAP_POLLING) != 0 && in xl_ioctl() 3047 (ifp->if_capabilities & IFCAP_POLLING) != 0) { in xl_ioctl() 3048 ifp->if_capenable ^= IFCAP_POLLING; in xl_ioctl() 3049 if ((ifp->if_capenable & IFCAP_POLLING) != 0) { in xl_ioctl() 3056 ifp->if_capenable |= IFCAP_POLLING; in xl_ioctl()
|
| /freebsd-13.1/sys/arm/allwinner/ |
| H A D | if_awg.c | 562 if ((if_getcapenable(sc->ifp) & IFCAP_POLLING) == 0) in awg_init_dma() 1150 if (mask & IFCAP_POLLING) { in awg_ioctl() 1151 if ((ifr->ifr_reqcap & IFCAP_POLLING) != 0) { in awg_ioctl() 1157 if_setcapenablebit(ifp, IFCAP_POLLING, 0); in awg_ioctl() 1163 if_setcapenablebit(ifp, 0, IFCAP_POLLING); in awg_ioctl() 1981 if_setcapabilitiesbit(sc->ifp, IFCAP_POLLING, 0); in awg_attach()
|
| /freebsd-13.1/sys/dev/netmap/ |
| H A D | if_ptnet.c | 462 ifp->if_capabilities |= IFCAP_POLLING; in ptnet_attach() 528 if (sc->ifp->if_capenable & IFCAP_POLLING) { in ptnet_detach() 791 if (mask & IFCAP_POLLING) { in ptnet_ioctl() 795 if (ifr->ifr_reqcap & IFCAP_POLLING) { in ptnet_ioctl() 1211 (!(ifp->if_capenable & IFCAP_POLLING) in ptnet_nm_register() 1622 if (ifp->if_capenable & IFCAP_POLLING) { in ptnet_transmit()
|
| /freebsd-13.1/sys/dev/dc/ |
| H A D | if_dc.c | 2493 ifp->if_capabilities |= IFCAP_POLLING; in dc_attach() 2540 if (ifp != NULL && ifp->if_capenable & IFCAP_POLLING) in dc_detach() 2880 if (ifp->if_capenable & IFCAP_POLLING) { in dc_rxeof() 3310 if (ifp->if_capenable & IFCAP_POLLING) { in dc_intr() 3729 if (ifp->if_capenable & IFCAP_POLLING) in dc_init_locked() 3900 if (ifr->ifr_reqcap & IFCAP_POLLING && in dc_ioctl() 3901 !(ifp->if_capenable & IFCAP_POLLING)) { in dc_ioctl() 3908 ifp->if_capenable |= IFCAP_POLLING; in dc_ioctl() 3912 if (!(ifr->ifr_reqcap & IFCAP_POLLING) && in dc_ioctl() 3913 ifp->if_capenable & IFCAP_POLLING) { in dc_ioctl() [all …]
|
| /freebsd-13.1/sys/dev/vge/ |
| H A D | if_vge.c | 1129 ifp->if_capabilities |= IFCAP_POLLING; in vge_attach() 1179 if (ifp->if_capenable & IFCAP_POLLING) in vge_detach() 1770 if (ifp->if_capenable & IFCAP_POLLING) { in vge_intr() 2139 if (ifp->if_capenable & IFCAP_POLLING) { in vge_init_locked() 2312 if (mask & IFCAP_POLLING) { in vge_ioctl() 2313 if (ifr->ifr_reqcap & IFCAP_POLLING) { in vge_ioctl() 2322 ifp->if_capenable |= IFCAP_POLLING; in vge_ioctl() 2331 ifp->if_capenable &= ~IFCAP_POLLING; in vge_ioctl()
|
| /freebsd-13.1/sys/dev/fxp/ |
| H A D | if_fxp.c | 872 if_setcapabilitiesbit(ifp, IFCAP_POLLING, 0); in fxp_attach() 1012 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in fxp_detach() 1729 if (if_getcapenable(ifp) & IFCAP_POLLING) { in fxp_intr() 2566 if (if_getcapenable(ifp) & IFCAP_POLLING ) in fxp_init_body() 2890 if (mask & IFCAP_POLLING) { in fxp_ioctl() 2891 if (ifr->ifr_reqcap & IFCAP_POLLING) { in fxp_ioctl() 2898 if_setcapenablebit(ifp, IFCAP_POLLING, 0); in fxp_ioctl() 2905 if_setcapenablebit(ifp, 0, IFCAP_POLLING); in fxp_ioctl()
|
| /freebsd-13.1/sys/mips/atheros/ |
| H A D | if_arge.c | 876 ifp->if_capabilities |= IFCAP_POLLING; in arge_attach() 1037 if (ifp->if_capenable & IFCAP_POLLING) in arge_detach() 1836 if (mask & IFCAP_POLLING) { in arge_ioctl() 1837 if (ifr->ifr_reqcap & IFCAP_POLLING) { in arge_ioctl() 1843 ifp->if_capenable |= IFCAP_POLLING; in arge_ioctl() 1849 ifp->if_capenable &= ~IFCAP_POLLING; in arge_ioctl()
|
| /freebsd-13.1/sys/dev/re/ |
| H A D | if_re.c | 1701 ifp->if_capabilities |= IFCAP_POLLING; in re_attach() 1781 if (ifp->if_capenable & IFCAP_POLLING) in re_detach() 2601 if (ifp->if_capenable & IFCAP_POLLING) { in re_int_task() 2660 if (ifp->if_capenable & IFCAP_POLLING) { in re_intr_msi() 3271 if (ifp->if_capenable & IFCAP_POLLING) in re_init_locked() 3477 if (mask & IFCAP_POLLING) { in re_ioctl() 3478 if (ifr->ifr_reqcap & IFCAP_POLLING) { in re_ioctl() 3485 ifp->if_capenable |= IFCAP_POLLING; in re_ioctl() 3492 ifp->if_capenable &= ~IFCAP_POLLING; in re_ioctl()
|
| /freebsd-13.1/sys/dev/nfe/ |
| H A D | if_nfe.c | 632 if_setcapabilitiesbit(ifp, IFCAP_POLLING, 0); in nfe_attach() 700 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in nfe_detach() 1761 if ((mask & IFCAP_POLLING) != 0) { in nfe_ioctl() 1762 if ((ifr->ifr_reqcap & IFCAP_POLLING) != 0) { in nfe_ioctl() 1768 if_setcapenablebit(ifp, IFCAP_POLLING, 0); in nfe_ioctl() 1775 if_setcapenablebit(ifp, 0, IFCAP_POLLING); in nfe_ioctl() 1878 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task() 2829 if (if_getcapenable(ifp) & IFCAP_POLLING) in nfe_init_locked()
|
| /freebsd-13.1/sys/net/ |
| H A D | if.h | 228 #define IFCAP_POLLING 0x00040 /* driver supports polling */ macro
|
| /freebsd-13.1/sys/dev/bge/ |
| H A D | if_bge.c | 3745 if_setcapabilitiesbit(ifp, IFCAP_POLLING, 0); in bge_attach() 3948 if (if_getcapenable(ifp) & IFCAP_POLLING) in bge_detach() 4334 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_rxeof() 4669 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_intr() 4793 if (!(if_getcapenable(sc->bge_ifp) & IFCAP_POLLING)) in bge_tick() 5570 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_init_locked() 5825 if (mask & IFCAP_POLLING) { in bge_ioctl() 5826 if (ifr->ifr_reqcap & IFCAP_POLLING) { in bge_ioctl() 5834 if_setcapenablebit(ifp, IFCAP_POLLING, 0); in bge_ioctl() 5843 if_setcapenablebit(ifp, 0, IFCAP_POLLING); in bge_ioctl()
|
| /freebsd-13.1/sys/dev/al_eth/ |
| H A D | al_eth.c | 3355 if ((ifp->if_capenable & IFCAP_POLLING) == 0) in al_ioctl() 3375 if ((mask & IFCAP_POLLING) != 0) { in al_ioctl() 3376 if ((ifr->ifr_reqcap & IFCAP_POLLING) != 0) { in al_ioctl() 3379 ifp->if_capenable |= IFCAP_POLLING; in al_ioctl() 3383 ifp->if_capenable &= ~IFCAP_POLLING; in al_ioctl()
|
| /freebsd-13.1/sbin/ifconfig/ |
| H A D | ifconfig.c | 1683 DEF_CMD("polling", IFCAP_POLLING, setifcap), 1684 DEF_CMD("-polling", -IFCAP_POLLING, setifcap),
|