Home
last modified time | relevance | path

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

/freebsd/sys/dev/axgbe/
H A Dxgbe-mdio.c1186 set_bit(XGBE_LINK_INIT, &pdata->dev_state); in __xgbe_phy_config_aneg()
1265 set_bit(XGBE_LINK_ERR, &pdata->dev_state); in __xgbe_phy_config_aneg()
1267 clear_bit(XGBE_LINK_ERR, &pdata->dev_state); in __xgbe_phy_config_aneg()
1359 if (test_bit(XGBE_LINK_ERR, &pdata->dev_state)) { in xgbe_phy_status()
1362 clear_bit(XGBE_LINK_ERR, &pdata->dev_state); in xgbe_phy_status()
1394 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) in xgbe_phy_status()
1395 clear_bit(XGBE_LINK_INIT, &pdata->dev_state); in xgbe_phy_status()
1399 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) { in xgbe_phy_status()
H A Dif_axgbe_pci.c1498 set_bit(XGBE_DOWN, &pdata->dev_state); in axgbe_if_attach_post()
1595 if (!__predict_false((test_bit(XGBE_DOWN, &pdata->dev_state)))) { in axgbe_pci_init()
1616 clear_bit(XGBE_DOWN, &pdata->dev_state); in axgbe_pci_init()
1643 if (__predict_false(test_bit(XGBE_DOWN, &pdata->dev_state))) { in axgbe_pci_stop()
1658 set_bit(XGBE_DOWN, &pdata->dev_state); in axgbe_pci_stop()
H A Dif_axgbe.c551 set_bit(XGBE_DOWN, &sc->prv.dev_state); in axgbe_attach()
H A Dxgbe-sysctl.c825 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) in sysctl_pauseparam_handler()
950 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) in sysctl_link_ksettings_handler()
H A Dxgbe.h1052 unsigned long dev_state; member
H A Dxgbe-txrx.c573 if (__predict_false(test_bit(XGBE_DOWN, &pdata->dev_state))) { in axgbe_isc_rxd_available()
/freebsd/sys/dev/qat/qat_common/
H A Dadf_freebsd_dev_processes.c410 state->state.dev_state = event; in adf_state_set()
420 state->state.dev_state = ADF_EVENT_SHUTDOWN; in adf_state_set()
/freebsd/sys/dev/qat/include/common/
H A Dadf_common_drv.h57 enum adf_event dev_state; member
H A Dadf_accel_devices.h130 enum dev_state { DEV_DOWN = 0, DEV_UP }; enum
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dblkdev.shlib343 dev_state="/sys/block/$disk/device/state"
345 log_must eval "echo 'offline' > ${dev_state}"
/freebsd/sys/dev/cxgbe/common/
H A Dcommon.h54 enum dev_state { DEV_STATE_UNINIT, DEV_STATE_INIT, DEV_STATE_ERR }; enum
779 enum dev_master master, enum dev_state *state);
H A Dt4_hw.c7410 enum dev_master master, enum dev_state *state) in t4_fw_hello()
/freebsd/sys/dev/usb/
H A Dusb_device.c1433 uaa->dev_state = UAA_DEV_READY; in usb_init_attach_arg()
1487 uaa.dev_state = UAA_DEV_EJECTING; in usb_probe_and_attach()
1492 if (uaa.dev_state != UAA_DEV_READY) { in usb_probe_and_attach()
H A Dusbdi.h432 uint8_t dev_state; member
/freebsd/sys/dev/usb/net/
H A Dif_usie.c241 if (uaa->dev_state != UAA_DEV_READY) in usie_autoinst()
272 uaa->dev_state = UAA_DEV_EJECTING; in usie_autoinst()
H A Dif_cdce.c515 if (uaa->dev_state != UAA_DEV_READY) in cdce_test_autoinst()
529 uaa->dev_state = UAA_DEV_EJECTING; in cdce_test_autoinst()
H A Duhso.c731 if (uaa->dev_state != UAA_DEV_READY || !uhso_autoswitch) in uhso_test_autoinst()
745 uaa->dev_state = UAA_DEV_EJECTING; in uhso_test_autoinst()
/freebsd/sys/dev/usb/serial/
H A Du3g.c815 if (uaa->dev_state != UAA_DEV_READY) in u3g_test_autoinst()
907 uaa->dev_state = UAA_DEV_EJECTING; in u3g_test_autoinst()
/freebsd/sys/dev/usb/wlan/
H A Dif_mtw.c384 if (uaa->dev_state != UAA_DEV_READY) in mtw_autoinst()
397 uaa->dev_state = UAA_DEV_EJECTING; in mtw_autoinst()
H A Dif_run.c731 if (uaa->dev_state != UAA_DEV_READY) in run_autoinst()
744 uaa->dev_state = UAA_DEV_EJECTING; in run_autoinst()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c4946 enum dev_state state; in contact_firmware()