/linux-master/include/trace/events/ |
H A D | ufs.h | 194 int dev_state, int link_state), 196 TP_ARGS(dev_name, err, usecs, dev_state, link_state), 202 __field(int, dev_state) 210 __entry->dev_state = dev_state; 215 "%s: took %lld usecs, dev_state: %s, link_state: %s, err %d", 218 __print_symbolic(__entry->dev_state, UFS_PWR_MODES), 226 int dev_state, int link_state), 227 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 231 int dev_state, in [all...] |
/linux-master/drivers/usb/host/ |
H A D | xhci-dbg.c | 17 int state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state));
|
/linux-master/drivers/hid/intel-ish-hid/ishtp/ |
H A D | init.c | 54 dev->dev_state = ISHTP_DEV_INITIALIZING; 103 dev->dev_state = ISHTP_DEV_DISABLED;
|
H A D | hbm.c | 39 dev->dev_state = ISHTP_DEV_RESETTING; 147 dev->dev_state = ISHTP_DEV_RESETTING; 174 dev->dev_state = ISHTP_DEV_RESETTING; 204 dev->dev_state = ISHTP_DEV_ENABLED; 222 dev->dev_state = ISHTP_DEV_RESETTING; 575 if (dev->dev_state == ISHTP_DEV_INIT_CLIENTS && 620 if (dev->dev_state != ISHTP_DEV_INIT_CLIENTS || 635 if (dev->dev_state != ISHTP_DEV_ENABLED) 662 if (dev->dev_state == ISHTP_DEV_INIT_CLIENTS && 684 dev->dev_state [all...] |
H A D | ishtp-dev.h | 151 enum ishtp_dev_state dev_state; member in struct:ishtp_device
|
/linux-master/drivers/misc/mei/ |
H A D | init.c | 103 dev->saved_dev_state = dev->dev_state; 117 enum mei_dev_state state = dev->dev_state; 129 dev_dbg(dev->dev, "unexpected reset: dev_state = %s fw status = %s\n", 133 dev_warn(dev->dev, "unexpected reset: dev_state = %s fw status = %s\n", 192 if (dev->dev_state != MEI_DEV_RESETTING) { 193 dev_dbg(dev->dev, "wrong state = %d on link start\n", dev->dev_state); 238 if (ret == -ENODEV || dev->dev_state == MEI_DEV_DISABLED) { 286 if (err == -ENODEV || dev->dev_state == MEI_DEV_DISABLED) { 315 if (dev->dev_state == MEI_DEV_DISABLED) { 363 bool idle = (dev->dev_state [all...] |
H A D | debugfs.c | 33 if (dev->dev_state != MEI_DEV_ENABLED) 72 if (dev->dev_state != MEI_DEV_ENABLED) 107 seq_printf(m, "dev: %s\n", mei_dev_state_str(dev->dev_state));
|
H A D | hbm.c | 483 if (dev->dev_state == MEI_DEV_ENABLED) 987 if (dev->dev_state == MEI_DEV_ENABLED) 1319 if (dev->dev_state != MEI_DEV_INIT_CLIENTS || 1321 if (dev->dev_state == MEI_DEV_POWER_DOWN || 1322 dev->dev_state == MEI_DEV_POWERING_DOWN) { 1327 dev->dev_state, dev->hbm_state); 1364 if (dev->dev_state != MEI_DEV_INIT_CLIENTS || 1366 if (dev->dev_state == MEI_DEV_POWER_DOWN || 1367 dev->dev_state == MEI_DEV_POWERING_DOWN) { 1372 dev->dev_state, de [all...] |
H A D | main.c | 58 if (dev->dev_state != MEI_DEV_ENABLED) { 59 dev_dbg(dev->dev, "dev_state != MEI_ENABLED dev_state = %s\n", 60 mei_dev_state_str(dev->dev_state)); 185 if (dev->dev_state != MEI_DEV_ENABLED) { 326 if (dev->dev_state != MEI_DEV_ENABLED) { 662 if (dev->dev_state != MEI_DEV_ENABLED) { 800 if (dev->dev_state != MEI_DEV_ENABLED || 876 if (dev->dev_state != MEI_DEV_ENABLED || !mei_cl_is_connected(cl)) { 1096 enum mei_dev_state dev_state; local [all...] |
H A D | platform-vsc.c | 300 if (mei_dev->dev_state == MEI_DEV_RESETTING || 301 mei_dev->dev_state == MEI_DEV_INITIALIZING) 315 if (mei_dev->dev_state != MEI_DEV_RESETTING && 316 mei_dev->dev_state != MEI_DEV_POWER_DOWN)
|
H A D | hw-me.c | 524 dev_warn(dev->dev, "unexpected reset: fw_pm_event = 0x%x, dev_state = %u fw status = %s\n", 1352 if (!mei_hw_is_ready(dev) && dev->dev_state != MEI_DEV_RESETTING) { 1354 dev_dbg(dev->dev, "FW not ready: resetting: dev_state = %d\n", 1355 dev->dev_state); 1357 dev_warn(dev->dev, "FW not ready: resetting: dev_state = %d\n", 1358 dev->dev_state); 1360 if (dev->dev_state == MEI_DEV_POWERING_DOWN || 1361 dev->dev_state == MEI_DEV_POWER_DOWN) 1363 else if (dev->dev_state != MEI_DEV_DISABLED) 1398 rets, dev->dev_state); [all...] |
/linux-master/drivers/bus/mhi/host/ |
H A D | trace.h | 121 TP_PROTO(struct mhi_controller *mhi_cntrl, int dev_ee, int dev_state), 123 TP_ARGS(mhi_cntrl, dev_ee, dev_state), 130 __field(int, dev_state) 136 __entry->state = mhi_cntrl->dev_state; 138 __entry->dev_state = dev_state; 146 __print_symbolic(__entry->dev_state, MHI_STATE_LIST))
|
H A D | pm.c | 207 mhi_cntrl->dev_state = MHI_STATE_READY; 270 mhi_cntrl->dev_state = MHI_STATE_M0; 346 mhi_cntrl->dev_state = MHI_STATE_M2; 379 mhi_cntrl->dev_state = MHI_STATE_M3; 581 mhi_state_str(mhi_cntrl->dev_state)); 619 mhi_cntrl->dev_state = MHI_STATE_RESET; 730 mhi_state_str(mhi_cntrl->dev_state)); 857 mhi_cntrl->dev_state == MHI_STATE_M0 || 858 mhi_cntrl->dev_state == MHI_STATE_M1 || 897 mhi_cntrl->dev_state [all...] |
/linux-master/drivers/s390/crypto/ |
H A D | ap_queue.c | 215 aq->dev_state = AP_DEV_STATE_ERROR; 289 aq->dev_state = AP_DEV_STATE_ERROR; 329 aq->dev_state = AP_DEV_STATE_ERROR; 370 aq->dev_state = AP_DEV_STATE_ERROR; 410 aq->dev_state = AP_DEV_STATE_ERROR; 432 aq->dev_state = AP_DEV_STATE_ERROR; 440 aq->dev_state = AP_DEV_STATE_ERROR; 466 aq->dev_state = AP_DEV_STATE_ERROR; 512 aq->dev_state > AP_DEV_STATE_UNINITIATED) 539 if (aq->dev_state > AP_DEV_STATE_UNINITIATE [all...] |
/linux-master/drivers/media/usb/au0828/ |
H A D | au0828-video.c | 95 if (test_bit(DEV_DISCONNECTED, &dev->dev_state)) { 100 if (test_bit(DEV_MISCONFIGURED, &dev->dev_state)) { 506 if (test_bit(DEV_DISCONNECTED, &dev->dev_state) || 507 test_bit(DEV_MISCONFIGURED, &dev->dev_state)) 751 if (test_bit(DEV_DISCONNECTED, &d->dev_state)) 806 if (test_bit(DEV_DISCONNECTED, &dev->dev_state)) 1007 "%s called std_set %d dev_state %ld stream users %d users %d\n", 1008 __func__, dev->std_set_in_tuner_core, dev->dev_state, 1026 set_bit(DEV_INITIALIZED, &dev->dev_state); 1040 "%s called std_set %d dev_state [all...] |
/linux-master/tools/hv/ |
H A D | vmbus_testing | 34 class dev_state(Enum): 84 set_test_state(state_path, dev_state.on.value, args.quiet) 253 dev_state.on.value, 262 write_test_files(file_location, dev_state.off.value)
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_nx.c | 349 const char *qdev_state(uint32_t dev_state) argument 351 return (dev_state < MAX_STATES) ? q_dev_state[dev_state] : "Unknown"; 2879 uint32_t dev_state, drv_state, drv_active; local 2928 dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE); 2930 if (dev_state == QLA8XXX_DEV_NEED_QUIESCENT) { 2951 uint32_t dev_state; local 2956 dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE); 2958 } while (dev_state == curr_state); 2960 return dev_state; 3002 uint32_t dev_state, drv_state, drv_active; local 3170 uint32_t dev_state; local 3320 uint32_t dev_state, halt_status; local 3416 uint32_t dev_state = 0; local [all...] |
/linux-master/drivers/staging/ks7010/ |
H A D | ks7010_sdio.c | 232 if (priv->dev_state != DEVICE_STATE_SLEEP) 292 if (priv->dev_state < DEVICE_STATE_BOOT) { 360 if (priv->dev_state >= DEVICE_STATE_BOOT) { 413 if (rxq_has_space(priv) && priv->dev_state >= DEVICE_STATE_BOOT) { 551 if (priv->dev_state < DEVICE_STATE_BOOT) 837 priv->dev_state = DEVICE_STATE_PREINIT; 846 if (priv->dev_state >= DEVICE_STATE_PREINIT) { 848 priv->dev_state = DEVICE_STATE_READY; 932 priv->dev_state = DEVICE_STATE_PREBOOT; 1019 priv->dev_state [all...] |
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-clt.c | 92 if (dev->dev_state == DEV_STATE_UNMAPPED) { 98 if (dev->dev_state == DEV_STATE_MAPPED_DISCONNECTED) { 111 dev->dev_state = DEV_STATE_MAPPED; 124 if (dev->dev_state != DEV_STATE_MAPPED) { 489 if (dev->dev_state == DEV_STATE_INIT) 640 if (dev->dev_state == DEV_STATE_MAPPED) { 641 dev->dev_state = DEV_STATE_MAPPED_DISCONNECTED; 685 skip = (dev->dev_state == DEV_STATE_INIT); 931 if (dev->dev_state == DEV_STATE_UNMAPPED || 1120 if (dev->dev_state ! [all...] |
H A D | rnbd-clt.h | 117 enum rnbd_clt_dev_state dev_state; member in struct:rnbd_clt_dev
|
/linux-master/drivers/accel/qaic/ |
H A D | qaic_drv.c | 112 if (qdev->dev_state != QAIC_ONLINE) { 169 if (qdev->dev_state == QAIC_ONLINE) { 302 qdev->dev_state = QAIC_BOOT; 310 qdev->dev_state = QAIC_ONLINE; 330 qdev->dev_state = QAIC_OFFLINE; 361 qdev->dev_state = QAIC_OFFLINE;
|
/linux-master/arch/s390/kernel/ |
H A D | perf_cpum_cf.c | 82 u64 dev_state; /* For /dev/hwctr */ member in struct:cpu_cf_events 673 err = lcctl(cpuhw->state | cpuhw->dev_state); 695 inactive |= cpuhw->dev_state; 1278 * The cpu_cf_events::dev_state is used to denote counter sets in use by this 1316 ctr_set_disable(&cpuhw->dev_state, 1318 ctr_set_stop(&cpuhw->dev_state, 1323 rc = lcctl(cpuhw->dev_state | cpuhw->state); 1327 if (!cpuhw->dev_state) 1339 ctr_set_enable(&cpuhw->dev_state, p->sets); 1340 ctr_set_start(&cpuhw->dev_state, [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800mmio.h | 136 enum dev_state state);
|
/linux-master/drivers/s390/cio/ |
H A D | device.h | 16 enum dev_state { enum
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_attr.c | 36 uint32_t dev_state; local 78 dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE); 79 if (dev_state == QLA8XXX_DEV_READY) { 95 __func__, dev_state);
|