Home
last modified time | relevance | path

Searched refs:if_getdrvflags (Results 1 – 25 of 141) sorted by relevance

123456

/freebsd/sys/dev/dwc/
H A Dif_dwc.c145 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in dwc_txstart_locked()
168 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in dwc_init_locked()
232 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in dwc_ioctl()
241 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in dwc_ioctl()
249 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in dwc_ioctl()
275 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in dwc_ioctl()
327 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in dwc_tick()
/freebsd/sys/dev/qlxgbe/
H A Dql_os.c988 ql_sp_log(ha, 12, 4, if_getdrvflags(ifp), in qla_set_multi()
989 (if_getdrvflags(ifp) & IFF_DRV_RUNNING), in qla_set_multi()
992 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_set_multi()
1040 ql_sp_log(ha, 8, 3, if_getdrvflags(ifp), in qla_ioctl()
1041 (if_getdrvflags(ifp) & IFF_DRV_RUNNING), in qla_ioctl()
1044 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl()
1078 ql_sp_log(ha, 9, 4, if_getdrvflags(ifp), in qla_ioctl()
1079 (if_getdrvflags(ifp) & IFF_DRV_RUNNING), in qla_ioctl()
1082 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_ioctl()
1107 ql_sp_log(ha, 10, 4, if_getdrvflags(ifp), in qla_ioctl()
[all …]
/freebsd/sys/dev/usb/net/
H A Dusb_ethernet.c376 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_start_task()
409 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_start()
476 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_watchdog()
494 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_tick_task()
512 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in uether_ioctl()
H A Dif_usie.c940 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in usie_if_tx_callback()
1174 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in usie_if_start()
1244 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in usie_if_init()
1283 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in usie_if_ioctl()
1286 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in usie_if_ioctl()
1292 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in usie_if_ioctl()
/freebsd/sys/arm/allwinner/
H A Dif_emac.c319 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; count--) { in emac_rxeof()
508 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in emac_init_locked()
618 if (if_getdrvflags(ifp) & IFF_DRV_OACTIVE) in emac_start_locked()
748 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in emac_ioctl()
755 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in emac_ioctl()
764 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in emac_ioctl()
851 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in emac_suspend()
1058 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in emac_miibus_statchg()
H A Dif_awg.c299 if ((if_getdrvflags(sc->ifp) & IFF_DRV_RUNNING) == 0) in awg_miibus_statchg()
971 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in awg_start_locked()
1022 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in awg_init_locked()
1119 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in awg_ioctl()
1126 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in awg_ioctl()
1134 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in awg_ioctl()
1355 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in awg_poll()
1891 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in awg_tick()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c153 if ((if_getdrvflags(cpriv->dev) & IFF_DRV_RUNNING) == 0) in ipoib_open()
178 if ((if_getdrvflags(dev) & IFF_DRV_RUNNING) == 0) in ipoib_init()
204 if ((if_getdrvflags(cpriv->dev) & IFF_DRV_RUNNING) != 0) in ipoib_stop()
290 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ipoib_ioctl()
293 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ipoib_ioctl()
298 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ipoib_ioctl()
743 (if_getdrvflags(dev) & IFF_DRV_OACTIVE) == 0) { in ipoib_start_locked()
756 if ((if_getdrvflags(dev) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in _ipoib_start()
1334 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ipoib_config_vlan()
/freebsd/sys/dev/qlxge/
H A Dqls_os.c868 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qls_ioctl()
913 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qls_ioctl()
927 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in qls_ioctl()
939 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qls_ioctl()
948 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qls_ioctl()
977 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in qls_ioctl()
1054 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) == in qls_start()
1064 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in qls_start()
1436 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qls_tx_done()
/freebsd/sys/dev/xilinx/
H A Dif_xae.c319 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in xae_transmit()
422 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in xae_tick()
446 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in xae_init_locked()
601 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in xae_ioctl()
610 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in xae_ioctl()
618 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in xae_ioctl()
/freebsd/sys/dev/sge/
H A Dif_sge.c387 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_miibus_statchg()
720 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sge_suspend()
1150 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_rxeof()
1350 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_intr()
1367 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in sge_intr()
1565 (if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in sge_start_locked()
1624 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sge_init_locked()
1757 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in sge_ioctl()
1763 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sge_ioctl()
1809 if (reinit > 0 && (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in sge_ioctl()
[all …]
/freebsd/sys/dev/qlxgb/
H A Dqla_os.c794 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl()
825 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl()
842 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl()
861 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in qla_ioctl()
872 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_ioctl()
881 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_ioctl()
910 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in qla_ioctl()
986 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in qla_start()
/freebsd/sys/dev/ste/
H A Dif_ste.c262 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ste_miibus_statchg()
466 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ste_poll()
522 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in ste_intr()
549 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in ste_intr()
562 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in ste_intr()
616 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ste_rxeof()
1506 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in ste_init_locked()
1745 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in ste_ioctl()
1751 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in ste_ioctl()
1759 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in ste_ioctl()
[all …]
/freebsd/sys/dev/liquidio/
H A Dlio_ioctl.c115 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in lio_ioctl()
125 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in lio_ioctl()
132 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in lio_ioctl()
H A Dlio_rxtx.c236 if (((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) || in lio_mq_start_locked()
253 if (((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) || in lio_mq_start_locked()
/freebsd/sys/dev/rl/
H A Dif_rl.c486 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in rl_miibus_statchg()
1433 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in rl_poll()
1493 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in rl_intr()
1504 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in rl_intr()
1526 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in rl_intr()
1620 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in rl_start_locked()
1682 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in rl_init_locked()
1812 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING && in rl_ioctl()
1818 } else if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in rl_ioctl()
/freebsd/sys/dev/ena/
H A Dena_datapath.c92 if (unlikely(((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) || in ena_cleanup()
105 if (unlikely(((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) || in ena_cleanup()
128 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in ena_deferred_mq_start()
146 if (unlikely((if_getdrvflags(adapter->ifp) & IFF_DRV_RUNNING) == 0)) in ena_mq_start()
1110 if (unlikely((if_getdrvflags(adapter->ifp) & IFF_DRV_RUNNING) == 0)) in ena_start_xmit()
1141 if (unlikely((if_getdrvflags(adapter->ifp) & IFF_DRV_RUNNING) == 0)) in ena_start_xmit()
/freebsd/sys/dev/vte/
H A Dif_vte.c226 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in vte_miibus_statchg()
938 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_suspend()
1108 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in vte_start_locked()
1186 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in vte_ioctl()
1192 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_ioctl()
1200 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_ioctl()
1346 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in vte_intr()
1363 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in vte_intr()
1496 for (prog = 0; (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; prog++, in vte_rxeof()
1645 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_init_locked()
/freebsd/sys/dev/vnic/
H A Dnicvf_main.c440 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in nicvf_if_ioctl()
468 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in nicvf_if_ioctl()
485 } else if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in nicvf_if_ioctl()
494 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in nicvf_if_ioctl()
528 if ((if_getdrvflags(nic->ifp) & IFF_DRV_RUNNING) != 0) { in nicvf_if_ioctl()
567 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in nicvf_if_init_locked()
666 if (((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in nicvf_if_transmit()
/freebsd/sys/dev/et/
H A Dif_et.c506 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in et_miibus_statchg()
1175 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in et_intr()
1199 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in et_intr()
1217 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in et_init_locked()
1288 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in et_ioctl()
1296 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in et_ioctl()
1311 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in et_ioctl()
1335 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in et_ioctl()
1377 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in et_start_locked()
2057 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in et_rxeof()
[all …]
/freebsd/sys/dev/re/
H A Dif_re.c627 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in re_miibus_statchg()
2191 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in re_rxeof()
2511 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in re_poll()
2592 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in re_int_task()
2664 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in re_intr_msi()
2682 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in re_intr_msi()
2718 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in re_intr_msi()
2957 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in re_start_locked()
3100 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in re_init_locked()
3421 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in re_ioctl()
[all …]
/freebsd/sys/dev/sis/
H A Dif_sis.c588 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sis_miibus_statchg()
1492 for (prog = 0; (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; in sis_rxeof()
1643 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in sis_poll()
1714 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sis_intr()
1740 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in sis_intr()
1884 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in sis_startl()
1943 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sis_initl()
2126 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in sis_ioctl()
2132 } else if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in sis_ioctl()
2140 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sis_ioctl()
/freebsd/sys/dev/iicbus/
H A Dif_ic.c214 (if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in icioctl()
225 (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING))) { in icioctl()
/freebsd/sys/dev/fxp/
H A Dif_fxp.c1327 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in fxp_start_body()
1657 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in fxp_poll()
1722 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in fxp_intr()
1985 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in fxp_intr_body()
2124 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in fxp_tick()
2259 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in fxp_init_body()
2784 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0 || in fxp_miibus_statchg()
2822 if (((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) && in fxp_ioctl()
2827 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in fxp_ioctl()
2830 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in fxp_ioctl()
[all …]
/freebsd/sys/arm64/broadcom/genet/
H A Dif_genet.c878 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in gen_init_locked()
1016 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in gen_start_locked()
1555 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in gen_ioctl()
1562 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in gen_ioctl()
1571 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in gen_ioctl()
1599 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in gen_ioctl()
1624 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in gen_tick()
1703 if ((if_getdrvflags(sc->ifp) & IFF_DRV_RUNNING) == 0) in gen_update_link_locked()
/freebsd/sys/dev/ffec/
H A Dif_ffec.c564 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in ffec_tick()
662 if (if_getdrvflags(ifp) & IFF_DRV_OACTIVE) in ffec_txstart_locked()
1128 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ffec_init_locked()
1343 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in ffec_ioctl()
1352 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ffec_ioctl()
1361 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in ffec_ioctl()

123456