Home
last modified time | relevance | path

Searched refs:dev_state (Results 1 – 17 of 17) sorted by relevance

/freebsd-13.1/sys/dev/axgbe/
H A Dxgbe-mdio.c1193 set_bit(XGBE_LINK_INIT, &pdata->dev_state); in __xgbe_phy_config_aneg()
1272 set_bit(XGBE_LINK_ERR, &pdata->dev_state); in __xgbe_phy_config_aneg()
1274 clear_bit(XGBE_LINK_ERR, &pdata->dev_state); in __xgbe_phy_config_aneg()
1366 if (test_bit(XGBE_LINK_ERR, &pdata->dev_state)) { in xgbe_phy_status()
1400 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) in xgbe_phy_status()
1401 clear_bit(XGBE_LINK_INIT, &pdata->dev_state); in xgbe_phy_status()
1405 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) { in xgbe_phy_status()
H A Dif_axgbe_pci.c1435 set_bit(XGBE_DOWN, &pdata->dev_state); in axgbe_if_attach_post()
1535 if (!__predict_false((test_bit(XGBE_DOWN, &pdata->dev_state)))) { in axgbe_pci_init()
1556 clear_bit(XGBE_DOWN, &pdata->dev_state); in axgbe_pci_init()
1584 if (__predict_false(test_bit(XGBE_DOWN, &pdata->dev_state))) { in axgbe_pci_stop()
1601 set_bit(XGBE_DOWN, &pdata->dev_state); in axgbe_pci_stop()
H A Dif_axgbe.c559 set_bit(XGBE_DOWN, &sc->prv.dev_state); in axgbe_attach()
H A Dxgbe-sysctl.c844 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) in sysctl_pauseparam_handler()
969 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) in sysctl_link_ksettings_handler()
H A Dxgbe.h1054 unsigned long dev_state; member
H A Dxgbe-txrx.c575 if (__predict_false(test_bit(XGBE_DOWN, &pdata->dev_state))) { in axgbe_isc_rxd_available()
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dblkdev.shlib366 dev_state="/sys/block/$disk/device/state"
368 log_must eval "echo 'offline' > ${dev_state}"
/freebsd-13.1/sys/dev/cxgbe/common/
H A Dcommon.h56 enum dev_state { DEV_STATE_UNINIT, DEV_STATE_INIT, DEV_STATE_ERR }; enum
776 enum dev_master master, enum dev_state *state);
H A Dt4_hw.c7484 enum dev_master master, enum dev_state *state) in t4_fw_hello()
/freebsd-13.1/sys/dev/usb/
H A Dusb_device.c1418 uaa->dev_state = UAA_DEV_READY; in usb_init_attach_arg()
1472 uaa.dev_state = UAA_DEV_EJECTING; in usb_probe_and_attach()
1477 if (uaa.dev_state != UAA_DEV_READY) { in usb_probe_and_attach()
H A Dusbdi.h433 uint8_t dev_state; member
/freebsd-13.1/sys/dev/usb/net/
H A Dif_usie.c243 if (uaa->dev_state != UAA_DEV_READY) in usie_autoinst()
274 uaa->dev_state = UAA_DEV_EJECTING; in usie_autoinst()
H A Dif_cdce.c517 if (uaa->dev_state != UAA_DEV_READY) in cdce_test_autoinst()
531 uaa->dev_state = UAA_DEV_EJECTING; in cdce_test_autoinst()
H A Duhso.c734 if (uaa->dev_state != UAA_DEV_READY || !uhso_autoswitch) in uhso_test_autoinst()
748 uaa->dev_state = UAA_DEV_EJECTING; in uhso_test_autoinst()
/freebsd-13.1/sys/dev/usb/serial/
H A Du3g.c775 if (uaa->dev_state != UAA_DEV_READY) in u3g_test_autoinst()
857 uaa->dev_state = UAA_DEV_EJECTING; in u3g_test_autoinst()
/freebsd-13.1/sys/dev/usb/wlan/
H A Dif_run.c734 if (uaa->dev_state != UAA_DEV_READY) in run_autoinst()
747 uaa->dev_state = UAA_DEV_EJECTING; in run_autoinst()
/freebsd-13.1/sys/dev/cxgbe/
H A Dt4_main.c4714 enum dev_state state; in contact_firmware()