dev_state         131 arch/s390/include/asm/fcx.h 	u32 dev_state:8;
dev_state         137 drivers/acpi/internal.h                            int enable, int sleep_state, int dev_state);
dev_state         650 drivers/acpi/power.c                            int enable, int sleep_state, int dev_state)
dev_state         672 drivers/acpi/power.c 	in_arg[2].integer.value = dev_state;
dev_state        2179 drivers/block/skd_main.c 	u32 dev_state;
dev_state        2235 drivers/block/skd_main.c 		dev_state =
dev_state        2237 drivers/block/skd_main.c 		if (dev_state == FIT_SR_DRIVE_INIT)
dev_state        2243 drivers/block/skd_main.c 	if (dev_state != FIT_SR_DRIVE_INIT)
dev_state        2245 drivers/block/skd_main.c 			dev_state);
dev_state         255 drivers/hid/intel-ish-hid/ipc/ipc.c 	if (dev->dev_state == ISHTP_DEV_DISABLED)
dev_state         633 drivers/hid/intel-ish-hid/ipc/ipc.c 	if (dev->dev_state == ISHTP_DEV_DISABLED)
dev_state         738 drivers/hid/intel-ish-hid/ipc/ipc.c 		dev->dev_state = ISHTP_DEV_RESETTING;
dev_state         952 drivers/hid/intel-ish-hid/ipc/ipc.c 	dev->dev_state = ISHTP_DEV_DISABLED;
dev_state         810 drivers/hid/intel-ish-hid/ishtp/bus.c 	dev->dev_state = ISHTP_DEV_RESETTING;
dev_state         831 drivers/hid/intel-ish-hid/ishtp/bus.c 	dev->dev_state = ISHTP_DEV_INIT_CLIENTS;
dev_state         199 drivers/hid/intel-ish-hid/ishtp/client.c 	if (dev->dev_state != ISHTP_DEV_ENABLED) {
dev_state         287 drivers/hid/intel-ish-hid/ishtp/client.c 			(dev->dev_state != ISHTP_DEV_ENABLED ||
dev_state         295 drivers/hid/intel-ish-hid/ishtp/client.c 	if (dev->dev_state != ISHTP_DEV_ENABLED) {
dev_state         374 drivers/hid/intel-ish-hid/ishtp/client.c 				(dev->dev_state == ISHTP_DEV_ENABLED &&
dev_state         383 drivers/hid/intel-ish-hid/ishtp/client.c 	if (dev->dev_state != ISHTP_DEV_ENABLED) {
dev_state         461 drivers/hid/intel-ish-hid/ishtp/client.c 	if (dev->dev_state != ISHTP_DEV_ENABLED)
dev_state         546 drivers/hid/intel-ish-hid/ishtp/client.c 	if (dev->dev_state != ISHTP_DEV_ENABLED) {
dev_state         652 drivers/hid/intel-ish-hid/ishtp/client.c 	if (dev->dev_state != ISHTP_DEV_ENABLED)
dev_state          39 drivers/hid/intel-ish-hid/ishtp/hbm.c 		dev->dev_state = ISHTP_DEV_RESETTING;
dev_state         147 drivers/hid/intel-ish-hid/ishtp/hbm.c 		dev->dev_state = ISHTP_DEV_RESETTING;
dev_state         174 drivers/hid/intel-ish-hid/ishtp/hbm.c 		dev->dev_state = ISHTP_DEV_RESETTING;
dev_state         204 drivers/hid/intel-ish-hid/ishtp/hbm.c 		dev->dev_state = ISHTP_DEV_ENABLED;
dev_state         222 drivers/hid/intel-ish-hid/ishtp/hbm.c 		dev->dev_state = ISHTP_DEV_RESETTING;
dev_state         575 drivers/hid/intel-ish-hid/ishtp/hbm.c 		if (dev->dev_state == ISHTP_DEV_INIT_CLIENTS &&
dev_state         620 drivers/hid/intel-ish-hid/ishtp/hbm.c 		if (dev->dev_state != ISHTP_DEV_INIT_CLIENTS ||
dev_state         635 drivers/hid/intel-ish-hid/ishtp/hbm.c 		if (dev->dev_state != ISHTP_DEV_ENABLED)
dev_state         662 drivers/hid/intel-ish-hid/ishtp/hbm.c 		if (dev->dev_state == ISHTP_DEV_INIT_CLIENTS &&
dev_state         684 drivers/hid/intel-ish-hid/ishtp/hbm.c 		dev->dev_state = ISHTP_DEV_DISABLED;
dev_state          54 drivers/hid/intel-ish-hid/ishtp/init.c 	dev->dev_state = ISHTP_DEV_INITIALIZING;
dev_state         103 drivers/hid/intel-ish-hid/ishtp/init.c 	dev->dev_state = ISHTP_DEV_DISABLED;
dev_state         149 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h 	enum ishtp_dev_state dev_state;
dev_state          70 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state          86 drivers/iommu/amd_iommu_v2.c static void free_pasid_states(struct device_state *dev_state);
dev_state         100 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         102 drivers/iommu/amd_iommu_v2.c 	list_for_each_entry(dev_state, &state_list, list) {
dev_state         103 drivers/iommu/amd_iommu_v2.c 		if (dev_state->devid == devid)
dev_state         104 drivers/iommu/amd_iommu_v2.c 			return dev_state;
dev_state         112 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         116 drivers/iommu/amd_iommu_v2.c 	dev_state = __get_device_state(devid);
dev_state         117 drivers/iommu/amd_iommu_v2.c 	if (dev_state != NULL)
dev_state         118 drivers/iommu/amd_iommu_v2.c 		atomic_inc(&dev_state->count);
dev_state         121 drivers/iommu/amd_iommu_v2.c 	return dev_state;
dev_state         124 drivers/iommu/amd_iommu_v2.c static void free_device_state(struct device_state *dev_state)
dev_state         132 drivers/iommu/amd_iommu_v2.c 	group = iommu_group_get(&dev_state->pdev->dev);
dev_state         136 drivers/iommu/amd_iommu_v2.c 	iommu_detach_group(dev_state->domain, group);
dev_state         141 drivers/iommu/amd_iommu_v2.c 	iommu_domain_free(dev_state->domain);
dev_state         144 drivers/iommu/amd_iommu_v2.c 	kfree(dev_state);
dev_state         147 drivers/iommu/amd_iommu_v2.c static void put_device_state(struct device_state *dev_state)
dev_state         149 drivers/iommu/amd_iommu_v2.c 	if (atomic_dec_and_test(&dev_state->count))
dev_state         150 drivers/iommu/amd_iommu_v2.c 		wake_up(&dev_state->wq);
dev_state         154 drivers/iommu/amd_iommu_v2.c static struct pasid_state **__get_pasid_state_ptr(struct device_state *dev_state,
dev_state         160 drivers/iommu/amd_iommu_v2.c 	level = dev_state->pasid_levels;
dev_state         161 drivers/iommu/amd_iommu_v2.c 	root  = dev_state->states;
dev_state         187 drivers/iommu/amd_iommu_v2.c static int set_pasid_state(struct device_state *dev_state,
dev_state         195 drivers/iommu/amd_iommu_v2.c 	spin_lock_irqsave(&dev_state->lock, flags);
dev_state         196 drivers/iommu/amd_iommu_v2.c 	ptr = __get_pasid_state_ptr(dev_state, pasid, true);
dev_state         211 drivers/iommu/amd_iommu_v2.c 	spin_unlock_irqrestore(&dev_state->lock, flags);
dev_state         216 drivers/iommu/amd_iommu_v2.c static void clear_pasid_state(struct device_state *dev_state, int pasid)
dev_state         221 drivers/iommu/amd_iommu_v2.c 	spin_lock_irqsave(&dev_state->lock, flags);
dev_state         222 drivers/iommu/amd_iommu_v2.c 	ptr = __get_pasid_state_ptr(dev_state, pasid, true);
dev_state         230 drivers/iommu/amd_iommu_v2.c 	spin_unlock_irqrestore(&dev_state->lock, flags);
dev_state         233 drivers/iommu/amd_iommu_v2.c static struct pasid_state *get_pasid_state(struct device_state *dev_state,
dev_state         239 drivers/iommu/amd_iommu_v2.c 	spin_lock_irqsave(&dev_state->lock, flags);
dev_state         240 drivers/iommu/amd_iommu_v2.c 	ptr = __get_pasid_state_ptr(dev_state, pasid, false);
dev_state         250 drivers/iommu/amd_iommu_v2.c 	spin_unlock_irqrestore(&dev_state->lock, flags);
dev_state         321 drivers/iommu/amd_iommu_v2.c static void free_pasid_states(struct device_state *dev_state)
dev_state         326 drivers/iommu/amd_iommu_v2.c 	for (i = 0; i < dev_state->max_pasids; ++i) {
dev_state         327 drivers/iommu/amd_iommu_v2.c 		pasid_state = get_pasid_state(dev_state, i);
dev_state         343 drivers/iommu/amd_iommu_v2.c 		put_device_state(dev_state);
dev_state         346 drivers/iommu/amd_iommu_v2.c 	if (dev_state->pasid_levels == 2)
dev_state         347 drivers/iommu/amd_iommu_v2.c 		free_pasid_states_level2(dev_state->states);
dev_state         348 drivers/iommu/amd_iommu_v2.c 	else if (dev_state->pasid_levels == 1)
dev_state         349 drivers/iommu/amd_iommu_v2.c 		free_pasid_states_level1(dev_state->states);
dev_state         351 drivers/iommu/amd_iommu_v2.c 		BUG_ON(dev_state->pasid_levels != 0);
dev_state         353 drivers/iommu/amd_iommu_v2.c 	free_page((unsigned long)dev_state->states);
dev_state         366 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         369 drivers/iommu/amd_iommu_v2.c 	dev_state   = pasid_state->device_state;
dev_state         372 drivers/iommu/amd_iommu_v2.c 		amd_iommu_flush_page(dev_state->domain, pasid_state->pasid,
dev_state         375 drivers/iommu/amd_iommu_v2.c 		amd_iommu_flush_tlb(dev_state->domain, pasid_state->pasid);
dev_state         381 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         387 drivers/iommu/amd_iommu_v2.c 	dev_state      = pasid_state->device_state;
dev_state         390 drivers/iommu/amd_iommu_v2.c 	if (run_inv_ctx_cb && dev_state->inv_ctx_cb)
dev_state         391 drivers/iommu/amd_iommu_v2.c 		dev_state->inv_ctx_cb(dev_state->pdev, pasid_state->pasid);
dev_state         411 drivers/iommu/amd_iommu_v2.c static void finish_pri_tag(struct device_state *dev_state,
dev_state         420 drivers/iommu/amd_iommu_v2.c 		amd_iommu_complete_ppr(dev_state->pdev, pasid_state->pasid,
dev_state         432 drivers/iommu/amd_iommu_v2.c 	if (!fault->dev_state->inv_ppr_cb) {
dev_state         437 drivers/iommu/amd_iommu_v2.c 	status = fault->dev_state->inv_ppr_cb(fault->dev_state->pdev,
dev_state         508 drivers/iommu/amd_iommu_v2.c 	finish_pri_tag(fault->dev_state, fault->state, fault->tag);
dev_state         519 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         548 drivers/iommu/amd_iommu_v2.c 	dev_state = get_device_state(iommu_fault->device_id);
dev_state         549 drivers/iommu/amd_iommu_v2.c 	if (dev_state == NULL)
dev_state         552 drivers/iommu/amd_iommu_v2.c 	pasid_state = get_pasid_state(dev_state, iommu_fault->pasid);
dev_state         555 drivers/iommu/amd_iommu_v2.c 		amd_iommu_complete_ppr(dev_state->pdev, iommu_fault->pasid,
dev_state         569 drivers/iommu/amd_iommu_v2.c 		finish_pri_tag(dev_state, pasid_state, tag);
dev_state         573 drivers/iommu/amd_iommu_v2.c 	fault->dev_state = dev_state;
dev_state         591 drivers/iommu/amd_iommu_v2.c 	put_device_state(dev_state);
dev_state         605 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         616 drivers/iommu/amd_iommu_v2.c 	dev_state = get_device_state(devid);
dev_state         618 drivers/iommu/amd_iommu_v2.c 	if (dev_state == NULL)
dev_state         622 drivers/iommu/amd_iommu_v2.c 	if (pasid < 0 || pasid >= dev_state->max_pasids)
dev_state         637 drivers/iommu/amd_iommu_v2.c 	pasid_state->device_state = dev_state;
dev_state         648 drivers/iommu/amd_iommu_v2.c 	ret = set_pasid_state(dev_state, pasid_state, pasid);
dev_state         652 drivers/iommu/amd_iommu_v2.c 	ret = amd_iommu_domain_set_gcr3(dev_state->domain, pasid,
dev_state         670 drivers/iommu/amd_iommu_v2.c 	clear_pasid_state(dev_state, pasid);
dev_state         680 drivers/iommu/amd_iommu_v2.c 	put_device_state(dev_state);
dev_state         689 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         698 drivers/iommu/amd_iommu_v2.c 	dev_state = get_device_state(devid);
dev_state         699 drivers/iommu/amd_iommu_v2.c 	if (dev_state == NULL)
dev_state         702 drivers/iommu/amd_iommu_v2.c 	if (pasid < 0 || pasid >= dev_state->max_pasids)
dev_state         705 drivers/iommu/amd_iommu_v2.c 	pasid_state = get_pasid_state(dev_state, pasid);
dev_state         715 drivers/iommu/amd_iommu_v2.c 	clear_pasid_state(dev_state, pasid_state->pasid);
dev_state         727 drivers/iommu/amd_iommu_v2.c 	put_device_state(dev_state);
dev_state         730 drivers/iommu/amd_iommu_v2.c 	put_device_state(dev_state);
dev_state         736 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         752 drivers/iommu/amd_iommu_v2.c 	dev_state = kzalloc(sizeof(*dev_state), GFP_KERNEL);
dev_state         753 drivers/iommu/amd_iommu_v2.c 	if (dev_state == NULL)
dev_state         756 drivers/iommu/amd_iommu_v2.c 	spin_lock_init(&dev_state->lock);
dev_state         757 drivers/iommu/amd_iommu_v2.c 	init_waitqueue_head(&dev_state->wq);
dev_state         758 drivers/iommu/amd_iommu_v2.c 	dev_state->pdev  = pdev;
dev_state         759 drivers/iommu/amd_iommu_v2.c 	dev_state->devid = devid;
dev_state         762 drivers/iommu/amd_iommu_v2.c 	for (dev_state->pasid_levels = 0; (tmp - 1) & ~0x1ff; tmp >>= 9)
dev_state         763 drivers/iommu/amd_iommu_v2.c 		dev_state->pasid_levels += 1;
dev_state         765 drivers/iommu/amd_iommu_v2.c 	atomic_set(&dev_state->count, 1);
dev_state         766 drivers/iommu/amd_iommu_v2.c 	dev_state->max_pasids = pasids;
dev_state         769 drivers/iommu/amd_iommu_v2.c 	dev_state->states = (void *)get_zeroed_page(GFP_KERNEL);
dev_state         770 drivers/iommu/amd_iommu_v2.c 	if (dev_state->states == NULL)
dev_state         773 drivers/iommu/amd_iommu_v2.c 	dev_state->domain = iommu_domain_alloc(&pci_bus_type);
dev_state         774 drivers/iommu/amd_iommu_v2.c 	if (dev_state->domain == NULL)
dev_state         777 drivers/iommu/amd_iommu_v2.c 	amd_iommu_domain_direct_map(dev_state->domain);
dev_state         779 drivers/iommu/amd_iommu_v2.c 	ret = amd_iommu_domain_enable_v2(dev_state->domain, pasids);
dev_state         789 drivers/iommu/amd_iommu_v2.c 	ret = iommu_attach_group(dev_state->domain, group);
dev_state         803 drivers/iommu/amd_iommu_v2.c 	list_add_tail(&dev_state->list, &state_list);
dev_state         813 drivers/iommu/amd_iommu_v2.c 	iommu_domain_free(dev_state->domain);
dev_state         816 drivers/iommu/amd_iommu_v2.c 	free_page((unsigned long)dev_state->states);
dev_state         819 drivers/iommu/amd_iommu_v2.c 	kfree(dev_state);
dev_state         827 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         838 drivers/iommu/amd_iommu_v2.c 	dev_state = __get_device_state(devid);
dev_state         839 drivers/iommu/amd_iommu_v2.c 	if (dev_state == NULL) {
dev_state         844 drivers/iommu/amd_iommu_v2.c 	list_del(&dev_state->list);
dev_state         849 drivers/iommu/amd_iommu_v2.c 	free_pasid_states(dev_state);
dev_state         851 drivers/iommu/amd_iommu_v2.c 	put_device_state(dev_state);
dev_state         856 drivers/iommu/amd_iommu_v2.c 	wait_event(dev_state->wq, !atomic_read(&dev_state->count));
dev_state         857 drivers/iommu/amd_iommu_v2.c 	free_device_state(dev_state);
dev_state         864 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         877 drivers/iommu/amd_iommu_v2.c 	dev_state = __get_device_state(devid);
dev_state         878 drivers/iommu/amd_iommu_v2.c 	if (dev_state == NULL)
dev_state         881 drivers/iommu/amd_iommu_v2.c 	dev_state->inv_ppr_cb = cb;
dev_state         895 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         908 drivers/iommu/amd_iommu_v2.c 	dev_state = __get_device_state(devid);
dev_state         909 drivers/iommu/amd_iommu_v2.c 	if (dev_state == NULL)
dev_state         912 drivers/iommu/amd_iommu_v2.c 	dev_state->inv_ctx_cb = cb;
dev_state         955 drivers/iommu/amd_iommu_v2.c 	struct device_state *dev_state;
dev_state         970 drivers/iommu/amd_iommu_v2.c 		dev_state = get_device_state(i);
dev_state         972 drivers/iommu/amd_iommu_v2.c 		if (dev_state == NULL)
dev_state         977 drivers/iommu/amd_iommu_v2.c 		put_device_state(dev_state);
dev_state         978 drivers/iommu/amd_iommu_v2.c 		amd_iommu_free_device(dev_state->pdev);
dev_state         175 drivers/media/usb/au0828/au0828-core.c 	set_bit(DEV_DISCONNECTED, &dev->dev_state);
dev_state         122 drivers/media/usb/au0828/au0828-input.c 	if (test_bit(DEV_DISCONNECTED, &ir->dev->dev_state))
dev_state         249 drivers/media/usb/au0828/au0828-input.c 	if (!test_bit(DEV_DISCONNECTED, &ir->dev->dev_state)) {
dev_state          95 drivers/media/usb/au0828/au0828-video.c 	if (test_bit(DEV_DISCONNECTED, &dev->dev_state)) {
dev_state         100 drivers/media/usb/au0828/au0828-video.c 	if (test_bit(DEV_MISCONFIGURED, &dev->dev_state)) {
dev_state         507 drivers/media/usb/au0828/au0828-video.c 	if (test_bit(DEV_DISCONNECTED, &dev->dev_state) ||
dev_state         508 drivers/media/usb/au0828/au0828-video.c 	    test_bit(DEV_MISCONFIGURED, &dev->dev_state))
dev_state         752 drivers/media/usb/au0828/au0828-video.c 	if (test_bit(DEV_DISCONNECTED, &d->dev_state))
dev_state         807 drivers/media/usb/au0828/au0828-video.c 	if (test_bit(DEV_DISCONNECTED, &dev->dev_state))
dev_state        1008 drivers/media/usb/au0828/au0828-video.c 		__func__, dev->std_set_in_tuner_core, dev->dev_state,
dev_state        1026 drivers/media/usb/au0828/au0828-video.c 		set_bit(DEV_INITIALIZED, &dev->dev_state);
dev_state        1041 drivers/media/usb/au0828/au0828-video.c 		__func__, dev->std_set_in_tuner_core, dev->dev_state,
dev_state        1056 drivers/media/usb/au0828/au0828-video.c 	if (test_bit(DEV_DISCONNECTED, &dev->dev_state))
dev_state        1117 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1187 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1220 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1238 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1250 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1272 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1304 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1326 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1356 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1367 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1465 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1485 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1503 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1523 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1545 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1560 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1586 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1612 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1649 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state        1662 drivers/media/usb/au0828/au0828-video.c 		dev->std_set_in_tuner_core, dev->dev_state);
dev_state         239 drivers/media/usb/au0828/au0828.h 	long unsigned int dev_state; /* defined at enum au0828_dev_state */;
dev_state          46 drivers/misc/mei/bus.c 	if (bus->dev_state != MEI_DEV_ENABLED) {
dev_state         128 drivers/misc/mei/bus.c 	if (bus->dev_state != MEI_DEV_ENABLED) {
dev_state         944 drivers/misc/mei/client.c 	if (dev->dev_state == MEI_DEV_POWER_DOWN) {
dev_state          33 drivers/misc/mei/debugfs.c 	if (dev->dev_state != MEI_DEV_ENABLED)
dev_state          71 drivers/misc/mei/debugfs.c 	if (dev->dev_state != MEI_DEV_ENABLED)
dev_state          92 drivers/misc/mei/debugfs.c 	seq_printf(m, "dev: %s\n", mei_dev_state_str(dev->dev_state));
dev_state         451 drivers/misc/mei/hbm.c 	if (dev->dev_state == MEI_DEV_ENABLED)
dev_state         841 drivers/misc/mei/hbm.c 			if (dev->dev_state == MEI_DEV_ENABLED)
dev_state        1144 drivers/misc/mei/hbm.c 		if (dev->dev_state != MEI_DEV_INIT_CLIENTS ||
dev_state        1147 drivers/misc/mei/hbm.c 				dev->dev_state, dev->hbm_state);
dev_state        1179 drivers/misc/mei/hbm.c 				dev->dev_state, dev->hbm_state);
dev_state        1239 drivers/misc/mei/hbm.c 		if (dev->dev_state != MEI_DEV_INIT_CLIENTS ||
dev_state        1242 drivers/misc/mei/hbm.c 				dev->dev_state, dev->hbm_state);
dev_state        1277 drivers/misc/mei/hbm.c 		if (dev->dev_state != MEI_DEV_INIT_CLIENTS ||
dev_state        1280 drivers/misc/mei/hbm.c 				dev->dev_state, dev->hbm_state);
dev_state        1299 drivers/misc/mei/hbm.c 				dev->dev_state, dev->hbm_state);
dev_state        1303 drivers/misc/mei/hbm.c 		dev->dev_state = MEI_DEV_POWER_DOWN;
dev_state        1334 drivers/misc/mei/hbm.c 				dev->dev_state, dev->hbm_state);
dev_state        1229 drivers/misc/mei/hw-me.c 	if (!mei_hw_is_ready(dev) && dev->dev_state != MEI_DEV_RESETTING) {
dev_state        1264 drivers/misc/mei/hw-me.c 		    (dev->dev_state != MEI_DEV_RESETTING &&
dev_state        1265 drivers/misc/mei/hw-me.c 		     dev->dev_state != MEI_DEV_POWER_DOWN)) {
dev_state        1084 drivers/misc/mei/hw-txe.c 			if (dev->dev_state != MEI_DEV_RESETTING) {
dev_state        1119 drivers/misc/mei/hw-txe.c 		    (dev->dev_state != MEI_DEV_RESETTING &&
dev_state        1120 drivers/misc/mei/hw-txe.c 		     dev->dev_state != MEI_DEV_POWER_DOWN)) {
dev_state         100 drivers/misc/mei/init.c 	enum mei_dev_state state = dev->dev_state;
dev_state         202 drivers/misc/mei/init.c 		if (ret == -ENODEV || dev->dev_state == MEI_DEV_DISABLED) {
dev_state         260 drivers/misc/mei/init.c 	if (err == -ENODEV || dev->dev_state == MEI_DEV_DISABLED) {
dev_state         289 drivers/misc/mei/init.c 	if (dev->dev_state == MEI_DEV_DISABLED) {
dev_state         332 drivers/misc/mei/init.c 	bool idle = (dev->dev_state == MEI_DEV_ENABLED &&
dev_state         339 drivers/misc/mei/init.c 		mei_dev_state_str(dev->dev_state),
dev_state         369 drivers/misc/mei/init.c 	dev->dev_state = MEI_DEV_INITIALIZING;
dev_state         328 drivers/misc/mei/interrupt.c 		    dev->dev_state == MEI_DEV_POWER_DOWN) {
dev_state         504 drivers/misc/mei/interrupt.c 	if (dev->dev_state == MEI_DEV_INIT_CLIENTS &&
dev_state         518 drivers/misc/mei/interrupt.c 	if (dev->dev_state != MEI_DEV_ENABLED)
dev_state         534 drivers/misc/mei/interrupt.c 	if (dev->dev_state != MEI_DEV_DISABLED && reschedule_timer)
dev_state          58 drivers/misc/mei/main.c 	if (dev->dev_state != MEI_DEV_ENABLED) {
dev_state          60 drivers/misc/mei/main.c 		    mei_dev_state_str(dev->dev_state));
dev_state         146 drivers/misc/mei/main.c 	if (dev->dev_state != MEI_DEV_ENABLED) {
dev_state         265 drivers/misc/mei/main.c 	if (dev->dev_state != MEI_DEV_ENABLED) {
dev_state         354 drivers/misc/mei/main.c 	if (dev->dev_state != MEI_DEV_ENABLED)
dev_state         470 drivers/misc/mei/main.c 	if (dev->dev_state != MEI_DEV_ENABLED) {
dev_state         578 drivers/misc/mei/main.c 	if (dev->dev_state != MEI_DEV_ENABLED ||
dev_state         654 drivers/misc/mei/main.c 	if (dev->dev_state != MEI_DEV_ENABLED || !mei_cl_is_connected(cl)) {
dev_state         851 drivers/misc/mei/main.c 	enum mei_dev_state dev_state;
dev_state         854 drivers/misc/mei/main.c 	dev_state = dev->dev_state;
dev_state         857 drivers/misc/mei/main.c 	return sprintf(buf, "%s", mei_dev_state_str(dev_state));
dev_state         859 drivers/misc/mei/main.c static DEVICE_ATTR_RO(dev_state);
dev_state         871 drivers/misc/mei/main.c 	if (dev->dev_state == state)
dev_state         874 drivers/misc/mei/main.c 	dev->dev_state = state;
dev_state         479 drivers/misc/mei/mei_dev.h 	enum mei_dev_state dev_state;
dev_state        2778 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	if (!test_bit(XGBE_DOWN, &pdata->dev_state)) {
dev_state        2789 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	if (!test_bit(XGBE_DOWN, &pdata->dev_state)) {
dev_state        1416 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	clear_bit(XGBE_STOPPED, &pdata->dev_state);
dev_state        1442 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	if (test_bit(XGBE_STOPPED, &pdata->dev_state))
dev_state        1472 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	set_bit(XGBE_STOPPED, &pdata->dev_state);
dev_state        1965 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	clear_bit(XGBE_DOWN, &pdata->dev_state);
dev_state        2006 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	set_bit(XGBE_DOWN, &pdata->dev_state);
dev_state         200 drivers/net/ethernet/amd/xgbe/xgbe-main.c 	set_bit(XGBE_DOWN, &pdata->dev_state);
dev_state         201 drivers/net/ethernet/amd/xgbe/xgbe-main.c 	set_bit(XGBE_STOPPED, &pdata->dev_state);
dev_state        1189 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 	set_bit(XGBE_LINK_INIT, &pdata->dev_state);
dev_state        1251 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 		set_bit(XGBE_LINK_ERR, &pdata->dev_state);
dev_state        1253 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 		clear_bit(XGBE_LINK_ERR, &pdata->dev_state);
dev_state        1335 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 	if (test_bit(XGBE_LINK_ERR, &pdata->dev_state)) {
dev_state        1359 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 		if (test_bit(XGBE_LINK_INIT, &pdata->dev_state))
dev_state        1360 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 			clear_bit(XGBE_LINK_INIT, &pdata->dev_state);
dev_state        1364 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 		if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) {
dev_state        1070 drivers/net/ethernet/amd/xgbe/xgbe.h 	unsigned long dev_state;
dev_state         679 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		    txr->dev_state != BNXT_DEV_STATE_CLOSING)
dev_state        8343 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			txr->dev_state = BNXT_DEV_STATE_CLOSING;
dev_state        8358 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		txr->dev_state = 0;
dev_state         779 drivers/net/ethernet/broadcom/bnxt/bnxt.h 	u32			dev_state;
dev_state        1662 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	       struct fw_hdr *card_fw, enum dev_state state, int *reset);
dev_state        1759 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 		enum dev_master master, enum dev_state *state);
dev_state        4292 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	enum dev_state state;
dev_state        3492 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	       struct fw_hdr *card_fw, enum dev_state state,
dev_state        6853 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		enum dev_master master, enum dev_state *state)
dev_state        2539 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	int dev_state;
dev_state        2541 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	dev_state = NXRD32(adapter, NX_CRB_DEV_STATE);
dev_state        2561 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 			dev_state = NX_DEV_COLD;
dev_state        2566 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	switch (dev_state) {
dev_state        1148 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	u8 dev_state;
dev_state        3411 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	u32 dev_state = 0xf;
dev_state        3417 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	dev_state = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DEV_STATE);
dev_state        3418 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	if (dev_state == QLCNIC_DEV_QUISCENT ||
dev_state        3419 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	    dev_state == QLCNIC_DEV_NEED_QUISCENT) {
dev_state        3431 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	if (dev_state == QLCNIC_DEV_INITIALIZING ||
dev_state        3432 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	    dev_state == QLCNIC_DEV_READY) {
dev_state        3446 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		dev_state = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DEV_STATE);
dev_state        3448 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		if (dev_state == QLCNIC_DEV_NEED_RESET) {
dev_state        3484 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	dev_state = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DEV_STATE);
dev_state        3485 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	QLCDB(adapter, HW, "Func waiting: Device state=%u\n", dev_state);
dev_state        3487 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	switch (dev_state) {
dev_state        3504 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		"fw_wait_cnt=%u\n", dev_state, adapter->fw_wait_cnt);
dev_state        3520 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	if (adapter->dev_state == QLCNIC_DEV_NEED_QUISCENT) {
dev_state        3552 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		if (qlcnic_set_drv_state(adapter, adapter->dev_state)) {
dev_state        3764 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	adapter->dev_state = (state == QLCNIC_DEV_NEED_QUISCENT) ? state :
dev_state          85 drivers/net/phy/sfp.c static const char *dev_state_to_str(unsigned short dev_state)
dev_state          87 drivers/net/phy/sfp.c 	if (dev_state >= ARRAY_SIZE(dev_state_strings))
dev_state          89 drivers/net/phy/sfp.c 	return dev_state_strings[dev_state];
dev_state         514 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	enum dev_state state =
dev_state         958 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 				 enum dev_state state)
dev_state        1022 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 			       enum dev_state state)
dev_state        1058 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 				      enum dev_state state)
dev_state         562 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	enum dev_state state =
dev_state        1112 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 				 enum dev_state state)
dev_state        1175 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 			       enum dev_state state)
dev_state        1211 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 				      enum dev_state state)
dev_state         626 drivers/net/wireless/ralink/rt2x00/rt2500usb.c 	enum dev_state state =
dev_state         982 drivers/net/wireless/ralink/rt2x00/rt2500usb.c 			       enum dev_state state)
dev_state        1020 drivers/net/wireless/ralink/rt2x00/rt2500usb.c 				      enum dev_state state)
dev_state        5524 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	enum dev_state state =
dev_state         378 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 			   enum dev_state state)
dev_state         136 drivers/net/wireless/ralink/rt2x00/rt2800mmio.h 			   enum dev_state state);
dev_state         218 drivers/net/wireless/ralink/rt2x00/rt2800pci.c 			       enum dev_state state)
dev_state         237 drivers/net/wireless/ralink/rt2x00/rt2800pci.c 				      enum dev_state state)
dev_state          55 drivers/net/wireless/ralink/rt2x00/rt2800soc.c 				      enum dev_state state)
dev_state         326 drivers/net/wireless/ralink/rt2x00/rt2800usb.c 			       enum dev_state state)
dev_state         337 drivers/net/wireless/ralink/rt2x00/rt2800usb.c 				      enum dev_state state)
dev_state         553 drivers/net/wireless/ralink/rt2x00/rt2x00.h 				 enum dev_state state);
dev_state         850 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	enum dev_state state =
dev_state        1621 drivers/net/wireless/ralink/rt2x00/rt61pci.c 			       enum dev_state state)
dev_state        1708 drivers/net/wireless/ralink/rt2x00/rt61pci.c static int rt61pci_set_state(struct rt2x00_dev *rt2x00dev, enum dev_state state)
dev_state        1739 drivers/net/wireless/ralink/rt2x00/rt61pci.c 				    enum dev_state state)
dev_state         818 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	enum dev_state state =
dev_state        1377 drivers/net/wireless/ralink/rt2x00/rt73usb.c static int rt73usb_set_state(struct rt2x00_dev *rt2x00dev, enum dev_state state)
dev_state        1408 drivers/net/wireless/ralink/rt2x00/rt73usb.c 				    enum dev_state state)
dev_state         262 drivers/scsi/myrs.c 		if (new->dev_state != old->dev_state) {
dev_state         265 drivers/scsi/myrs.c 			name = myrs_devstate_name(new->dev_state);
dev_state         865 drivers/scsi/myrs.c 				pdev_info->dev_state = MYRS_DEVICE_ONLINE;
dev_state         868 drivers/scsi/myrs.c 				pdev_info->dev_state = MYRS_DEVICE_STANDBY;
dev_state         871 drivers/scsi/myrs.c 				pdev_info->dev_state = MYRS_DEVICE_OFFLINE;
dev_state         874 drivers/scsi/myrs.c 				pdev_info->dev_state = MYRS_DEVICE_MISSING;
dev_state         877 drivers/scsi/myrs.c 				pdev_info->dev_state = MYRS_DEVICE_UNCONFIGURED;
dev_state         951 drivers/scsi/myrs.c 		name = myrs_devstate_name(ldev_info->dev_state);
dev_state         956 drivers/scsi/myrs.c 				       ldev_info->dev_state);
dev_state         962 drivers/scsi/myrs.c 		name = myrs_devstate_name(pdev_info->dev_state);
dev_state         967 drivers/scsi/myrs.c 				       pdev_info->dev_state);
dev_state         998 drivers/scsi/myrs.c 		if (pdev_info->dev_state == new_state) {
dev_state        1012 drivers/scsi/myrs.c 		if (ldev_info->dev_state == new_state) {
dev_state        1038 drivers/scsi/myrs.c 			pdev_info->dev_state = new_state;
dev_state        1042 drivers/scsi/myrs.c 			ldev_info->dev_state = new_state;
dev_state        1073 drivers/scsi/myrs.c 					ldev_info->dev_state);
dev_state        1860 drivers/scsi/myrs.c 			if (ldev_info->dev_state != MYRS_DEVICE_ONLINE) {
dev_state        1863 drivers/scsi/myrs.c 				name = myrs_devstate_name(ldev_info->dev_state);
dev_state        2014 drivers/scsi/myrs.c 		switch (ldev_info->dev_state) {
dev_state         410 drivers/scsi/myrs.h 	enum myrs_devstate dev_state;		/* Byte 4 */
dev_state         501 drivers/scsi/myrs.h 	enum myrs_devstate dev_state;		/* Byte 6 */
dev_state        6357 drivers/scsi/qla2xxx/qla_init.c qla83xx_dev_state_to_string(uint32_t dev_state)
dev_state        6359 drivers/scsi/qla2xxx/qla_init.c 	switch (dev_state) {
dev_state        6414 drivers/scsi/qla2xxx/qla_init.c 	uint32_t  idc_control, dev_state;
dev_state        6425 drivers/scsi/qla2xxx/qla_init.c 	qla83xx_rd_reg(vha, QLA83XX_IDC_DEV_STATE, &dev_state);
dev_state        6426 drivers/scsi/qla2xxx/qla_init.c 	if (ha->flags.nic_core_reset_owner && dev_state == QLA8XXX_DEV_READY) {
dev_state        6432 drivers/scsi/qla2xxx/qla_init.c 		const char *state = qla83xx_dev_state_to_string(dev_state);
dev_state        6438 drivers/scsi/qla2xxx/qla_init.c 		while (dev_state == QLA8XXX_DEV_READY) {
dev_state        6442 drivers/scsi/qla2xxx/qla_init.c 			qla83xx_rd_reg(vha, QLA83XX_IDC_DEV_STATE, &dev_state);
dev_state         350 drivers/scsi/qla2xxx/qla_nx.c char *qdev_state(uint32_t dev_state)
dev_state         352 drivers/scsi/qla2xxx/qla_nx.c 	return q_dev_state[dev_state];
dev_state        2928 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state, drv_state, drv_active;
dev_state        2977 drivers/scsi/qla2xxx/qla_nx.c 	dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        2979 drivers/scsi/qla2xxx/qla_nx.c 	if (dev_state == QLA8XXX_DEV_NEED_QUIESCENT) {
dev_state        3000 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state;
dev_state        3005 drivers/scsi/qla2xxx/qla_nx.c 		dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3007 drivers/scsi/qla2xxx/qla_nx.c 	} while (dev_state == curr_state);
dev_state        3009 drivers/scsi/qla2xxx/qla_nx.c 	return dev_state;
dev_state        3051 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state, drv_state, drv_active;
dev_state        3082 drivers/scsi/qla2xxx/qla_nx.c 	dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3087 drivers/scsi/qla2xxx/qla_nx.c 	    drv_state, drv_active, dev_state, active_mask);
dev_state        3090 drivers/scsi/qla2xxx/qla_nx.c 	    dev_state != QLA8XXX_DEV_INITIALIZING) {
dev_state        3103 drivers/scsi/qla2xxx/qla_nx.c 		dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3109 drivers/scsi/qla2xxx/qla_nx.c 	    drv_state, drv_active, dev_state, active_mask);
dev_state        3113 drivers/scsi/qla2xxx/qla_nx.c 	    dev_state,
dev_state        3114 drivers/scsi/qla2xxx/qla_nx.c 	    dev_state < MAX_STATES ? qdev_state(dev_state) : "Unknown");
dev_state        3117 drivers/scsi/qla2xxx/qla_nx.c 	if (dev_state != QLA8XXX_DEV_INITIALIZING &&
dev_state        3118 drivers/scsi/qla2xxx/qla_nx.c 	    dev_state != QLA8XXX_DEV_COLD) {
dev_state        3220 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state;
dev_state        3233 drivers/scsi/qla2xxx/qla_nx.c 	dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3234 drivers/scsi/qla2xxx/qla_nx.c 	old_dev_state = dev_state;
dev_state        3237 drivers/scsi/qla2xxx/qla_nx.c 	    dev_state,
dev_state        3238 drivers/scsi/qla2xxx/qla_nx.c 	    dev_state < MAX_STATES ? qdev_state(dev_state) : "Unknown");
dev_state        3251 drivers/scsi/qla2xxx/qla_nx.c 		dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3252 drivers/scsi/qla2xxx/qla_nx.c 		if (old_dev_state != dev_state) {
dev_state        3254 drivers/scsi/qla2xxx/qla_nx.c 			old_dev_state = dev_state;
dev_state        3259 drivers/scsi/qla2xxx/qla_nx.c 			    dev_state,
dev_state        3260 drivers/scsi/qla2xxx/qla_nx.c 			    dev_state < MAX_STATES ? qdev_state(dev_state) :
dev_state        3264 drivers/scsi/qla2xxx/qla_nx.c 		switch (dev_state) {
dev_state        3373 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state, halt_status;
dev_state        3378 drivers/scsi/qla2xxx/qla_nx.c 		dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3383 drivers/scsi/qla2xxx/qla_nx.c 		} else if (dev_state == QLA8XXX_DEV_NEED_RESET &&
dev_state        3388 drivers/scsi/qla2xxx/qla_nx.c 		} else if (dev_state == QLA8XXX_DEV_NEED_QUIESCENT &&
dev_state        3393 drivers/scsi/qla2xxx/qla_nx.c 		} else if (dev_state == QLA8XXX_DEV_FAILED &&
dev_state        3469 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t dev_state = 0;
dev_state        3472 drivers/scsi/qla2xxx/qla_nx.c 		dev_state = qla82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3474 drivers/scsi/qla2xxx/qla_nx.c 		dev_state = qla8044_rd_direct(vha, QLA8044_CRB_DEV_STATE_INDEX);
dev_state        3476 drivers/scsi/qla2xxx/qla_nx.c 	if (dev_state == QLA8XXX_DEV_READY) {
dev_state        3491 drivers/scsi/qla2xxx/qla_nx.c 		    dev_state,
dev_state        3492 drivers/scsi/qla2xxx/qla_nx.c 		    dev_state < MAX_STATES ? qdev_state(dev_state) : "Unknown");
dev_state        1648 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t dev_state = 0, drv_state, drv_active;
dev_state        1663 drivers/scsi/qla2xxx/qla_nx2.c 	dev_state = qla8044_rd_direct(vha,
dev_state        1672 drivers/scsi/qla2xxx/qla_nx2.c 	    __func__, vha->host_no, drv_state, drv_active, dev_state);
dev_state        1691 drivers/scsi/qla2xxx/qla_nx2.c 		dev_state = qla8044_rd_direct(vha,
dev_state        1698 drivers/scsi/qla2xxx/qla_nx2.c 	    (dev_state == QLA8XXX_DEV_NEED_RESET));
dev_state        1715 drivers/scsi/qla2xxx/qla_nx2.c 		    (dev_state == QLA8XXX_DEV_NEED_RESET)) {
dev_state        1867 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t drv_state, drv_active, dev_state;
dev_state        1911 drivers/scsi/qla2xxx/qla_nx2.c 	dev_state = qla8044_rd_direct(vha, QLA8044_CRB_DEV_STATE_INDEX);
dev_state        1913 drivers/scsi/qla2xxx/qla_nx2.c 	if (dev_state == QLA8XXX_DEV_NEED_QUIESCENT) {
dev_state        1930 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t dev_state;
dev_state        1939 drivers/scsi/qla2xxx/qla_nx2.c 	dev_state = qla8044_rd_direct(vha, QLA8044_CRB_DEV_STATE_INDEX);
dev_state        1942 drivers/scsi/qla2xxx/qla_nx2.c 	    dev_state, dev_state < MAX_STATES ?
dev_state        1943 drivers/scsi/qla2xxx/qla_nx2.c 	    qdev_state(dev_state) : "Unknown");
dev_state        1955 drivers/scsi/qla2xxx/qla_nx2.c 				    QLA2XXX_DRIVER_NAME, dev_state,
dev_state        1956 drivers/scsi/qla2xxx/qla_nx2.c 				    dev_state < MAX_STATES ?
dev_state        1957 drivers/scsi/qla2xxx/qla_nx2.c 				    qdev_state(dev_state) : "Unknown");
dev_state        1964 drivers/scsi/qla2xxx/qla_nx2.c 		dev_state = qla8044_rd_direct(vha, QLA8044_CRB_DEV_STATE_INDEX);
dev_state        1967 drivers/scsi/qla2xxx/qla_nx2.c 		    dev_state, dev_state < MAX_STATES ?
dev_state        1968 drivers/scsi/qla2xxx/qla_nx2.c 		    qdev_state(dev_state) : "Unknown");
dev_state        1971 drivers/scsi/qla2xxx/qla_nx2.c 		switch (dev_state) {
dev_state        2125 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t dev_state, halt_status;
dev_state        2132 drivers/scsi/qla2xxx/qla_nx2.c 		dev_state = qla8044_rd_direct(vha, QLA8044_CRB_DEV_STATE_INDEX);
dev_state        2145 drivers/scsi/qla2xxx/qla_nx2.c 		} else if (dev_state == QLA8XXX_DEV_NEED_RESET &&
dev_state        2152 drivers/scsi/qla2xxx/qla_nx2.c 		} else if (dev_state == QLA8XXX_DEV_NEED_QUIESCENT &&
dev_state        2183 drivers/scsi/qla2xxx/qla_nx2.c 					if (dev_state ==
dev_state        4020 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t dev_state;
dev_state        4024 drivers/scsi/qla2xxx/qla_nx2.c 	dev_state = qla8044_rd_direct(vha, QLA8044_CRB_DEV_STATE_INDEX);
dev_state        4035 drivers/scsi/qla2xxx/qla_nx2.c 	if (dev_state == QLA8XXX_DEV_READY) {
dev_state        5460 drivers/scsi/qla2xxx/qla_os.c 	uint32_t dev_state = 0;
dev_state        5463 drivers/scsi/qla2xxx/qla_os.c 	qla83xx_rd_reg(base_vha, QLA83XX_IDC_DEV_STATE, &dev_state);
dev_state        5482 drivers/scsi/qla2xxx/qla_os.c 	uint32_t dev_state = 0;
dev_state        5485 drivers/scsi/qla2xxx/qla_os.c 	qla83xx_rd_reg(base_vha, QLA83XX_IDC_DEV_STATE, &dev_state);
dev_state        5486 drivers/scsi/qla2xxx/qla_os.c 	if (dev_state == QLA8XXX_DEV_FAILED ||
dev_state        5487 drivers/scsi/qla2xxx/qla_os.c 			dev_state == QLA8XXX_DEV_NEED_QUIESCENT)
dev_state        5528 drivers/scsi/qla2xxx/qla_os.c 	uint32_t dev_state = 0;
dev_state        5541 drivers/scsi/qla2xxx/qla_os.c 			    &dev_state);
dev_state        5543 drivers/scsi/qla2xxx/qla_os.c 			if (dev_state != QLA8XXX_DEV_NEED_RESET) {
dev_state        5567 drivers/scsi/qla2xxx/qla_os.c 	uint32_t dev_state, idc_control;
dev_state        5570 drivers/scsi/qla2xxx/qla_os.c 	qla83xx_rd_reg(base_vha, QLA83XX_IDC_DEV_STATE, &dev_state);
dev_state        5573 drivers/scsi/qla2xxx/qla_os.c 	if (dev_state == QLA8XXX_DEV_NEED_RESET) {
dev_state        5584 drivers/scsi/qla2xxx/qla_os.c 	} else if (dev_state == QLA8XXX_DEV_FAILED ||
dev_state        5585 drivers/scsi/qla2xxx/qla_os.c 			dev_state == QLA8XXX_DEV_NEED_QUIESCENT) {
dev_state        5942 drivers/scsi/qla2xxx/qla_os.c 	uint32_t dev_state;
dev_state        5961 drivers/scsi/qla2xxx/qla_os.c 		qla83xx_rd_reg(base_vha, QLA83XX_IDC_DEV_STATE, &dev_state);
dev_state        5962 drivers/scsi/qla2xxx/qla_os.c 		switch (dev_state) {
dev_state        6036 drivers/scsi/qla2xxx/qla_os.c 			    "Unknown Device State: %x.\n", dev_state);
dev_state         512 drivers/scsi/qla4xxx/ql4_83xx.c 	uint32_t dev_state, drv_state, drv_active;
dev_state         538 drivers/scsi/qla4xxx/ql4_83xx.c 			dev_state = qla4_8xxx_rd_direct(ha,
dev_state         540 drivers/scsi/qla4xxx/ql4_83xx.c 		} while (dev_state == QLA8XXX_DEV_NEED_RESET);
dev_state        1351 drivers/scsi/qla4xxx/ql4_83xx.c 	uint32_t dev_state;
dev_state        1354 drivers/scsi/qla4xxx/ql4_83xx.c 	dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
dev_state        1359 drivers/scsi/qla4xxx/ql4_83xx.c 	if (dev_state == QLA8XXX_DEV_READY) {
dev_state          37 drivers/scsi/qla4xxx/ql4_attr.c 	uint32_t dev_state;
dev_state          79 drivers/scsi/qla4xxx/ql4_attr.c 		dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
dev_state          80 drivers/scsi/qla4xxx/ql4_attr.c 		if (dev_state == QLA8XXX_DEV_READY) {
dev_state          96 drivers/scsi/qla4xxx/ql4_attr.c 				   __func__, dev_state);
dev_state          91 drivers/scsi/qla4xxx/ql4_mbx.c 	uint32_t dev_state;
dev_state         145 drivers/scsi/qla4xxx/ql4_mbx.c 		dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
dev_state         147 drivers/scsi/qla4xxx/ql4_mbx.c 		if (dev_state == QLA8XXX_DEV_FAILED) {
dev_state        3326 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t dev_state, drv_state, drv_active;
dev_state        3387 drivers/scsi/qla4xxx/ql4_nx.c 	dev_state = qla4_82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        3388 drivers/scsi/qla4xxx/ql4_nx.c 	ql4_printk(KERN_INFO, ha, "Device state is 0x%x = %s\n", dev_state,
dev_state        3389 drivers/scsi/qla4xxx/ql4_nx.c 		   dev_state < MAX_STATES ? qdev_state[dev_state] : "Unknown");
dev_state        3392 drivers/scsi/qla4xxx/ql4_nx.c 	if (dev_state != QLA8XXX_DEV_INITIALIZING) {
dev_state        3514 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t dev_state;
dev_state        3522 drivers/scsi/qla4xxx/ql4_nx.c 	dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
dev_state        3524 drivers/scsi/qla4xxx/ql4_nx.c 			  dev_state, dev_state < MAX_STATES ?
dev_state        3525 drivers/scsi/qla4xxx/ql4_nx.c 			  qdev_state[dev_state] : "Unknown"));
dev_state        3537 drivers/scsi/qla4xxx/ql4_nx.c 				   dev_state, dev_state < MAX_STATES ?
dev_state        3538 drivers/scsi/qla4xxx/ql4_nx.c 				   qdev_state[dev_state] : "Unknown");
dev_state        3543 drivers/scsi/qla4xxx/ql4_nx.c 		dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
dev_state        3545 drivers/scsi/qla4xxx/ql4_nx.c 			   dev_state, dev_state < MAX_STATES ?
dev_state        3546 drivers/scsi/qla4xxx/ql4_nx.c 			   qdev_state[dev_state] : "Unknown");
dev_state        3549 drivers/scsi/qla4xxx/ql4_nx.c 		switch (dev_state) {
dev_state        4013 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t dev_state;
dev_state        4016 drivers/scsi/qla4xxx/ql4_nx.c 	dev_state = qla4_82xx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
dev_state        4018 drivers/scsi/qla4xxx/ql4_nx.c 	if (dev_state == QLA8XXX_DEV_READY) {
dev_state        4403 drivers/scsi/qla4xxx/ql4_os.c 	uint32_t dev_state;
dev_state        4415 drivers/scsi/qla4xxx/ql4_os.c 		dev_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DEV_STATE);
dev_state        4426 drivers/scsi/qla4xxx/ql4_os.c 		} else if (dev_state == QLA8XXX_DEV_NEED_RESET &&
dev_state        4448 drivers/scsi/qla4xxx/ql4_os.c 		} else if (dev_state == QLA8XXX_DEV_NEED_QUIESCENT &&
dev_state        4825 drivers/scsi/qla4xxx/ql4_os.c 	uint32_t dev_state;
dev_state        4956 drivers/scsi/qla4xxx/ql4_os.c 			dev_state = qla4_8xxx_rd_direct(ha,
dev_state        4959 drivers/scsi/qla4xxx/ql4_os.c 			if (dev_state == QLA8XXX_DEV_FAILED) {
dev_state        8609 drivers/scsi/qla4xxx/ql4_os.c 	uint32_t dev_state;
dev_state        8740 drivers/scsi/qla4xxx/ql4_os.c 			dev_state = qla4_8xxx_rd_direct(ha,
dev_state        8743 drivers/scsi/qla4xxx/ql4_os.c 			if (dev_state == QLA8XXX_DEV_FAILED) {
dev_state          77 drivers/scsi/ufs/ufs-sysfs.c 			ufs_pm_lvl_states[hba->rpm_lvl].dev_state));
dev_state         109 drivers/scsi/ufs/ufs-sysfs.c 				ufs_pm_lvl_states[hba->spm_lvl].dev_state));
dev_state         193 drivers/scsi/ufs/ufshcd.c 	return ufs_pm_lvl_states[lvl].dev_state;
dev_state         203 drivers/scsi/ufs/ufshcd.c ufs_get_desired_pm_lvl_for_dev_link_state(enum ufs_dev_pwr_mode dev_state,
dev_state         209 drivers/scsi/ufs/ufshcd.c 		if ((ufs_pm_lvl_states[lvl].dev_state == dev_state) &&
dev_state         147 drivers/scsi/ufs/ufshcd.h 	enum ufs_dev_pwr_mode dev_state;
dev_state         232 drivers/staging/ks7010/ks7010_sdio.c 	if (priv->dev_state != DEVICE_STATE_SLEEP)
dev_state         292 drivers/staging/ks7010/ks7010_sdio.c 	if (priv->dev_state < DEVICE_STATE_BOOT) {
dev_state         360 drivers/staging/ks7010/ks7010_sdio.c 	if (priv->dev_state >= DEVICE_STATE_BOOT) {
dev_state         413 drivers/staging/ks7010/ks7010_sdio.c 	if (rxq_has_space(priv) && priv->dev_state >= DEVICE_STATE_BOOT) {
dev_state         550 drivers/staging/ks7010/ks7010_sdio.c 	if (priv->dev_state < DEVICE_STATE_BOOT)
dev_state         836 drivers/staging/ks7010/ks7010_sdio.c 		priv->dev_state = DEVICE_STATE_PREINIT;
dev_state         845 drivers/staging/ks7010/ks7010_sdio.c 	if (priv->dev_state >= DEVICE_STATE_PREINIT) {
dev_state         847 drivers/staging/ks7010/ks7010_sdio.c 		priv->dev_state = DEVICE_STATE_READY;
dev_state         931 drivers/staging/ks7010/ks7010_sdio.c 	priv->dev_state = DEVICE_STATE_PREBOOT;
dev_state        1018 drivers/staging/ks7010/ks7010_sdio.c 	priv->dev_state = DEVICE_STATE_BOOT;
dev_state          98 drivers/staging/ks7010/ks_hostif.c 		priv->dev_state = DEVICE_STATE_READY;
dev_state         690 drivers/staging/ks7010/ks_hostif.c 		priv->dev_state = DEVICE_STATE_SLEEP;
dev_state         693 drivers/staging/ks7010/ks_hostif.c 		priv->dev_state = DEVICE_STATE_READY;
dev_state         819 drivers/staging/ks7010/ks_hostif.c 	if (priv->dev_state == DEVICE_STATE_SLEEP)
dev_state         820 drivers/staging/ks7010/ks_hostif.c 		priv->dev_state = DEVICE_STATE_READY;
dev_state        1271 drivers/staging/ks7010/ks_hostif.c 	if (priv->dev_state < DEVICE_STATE_BOOT)
dev_state        2060 drivers/staging/ks7010/ks_hostif.c 		if (priv->dev_state == DEVICE_STATE_BOOT)
dev_state        2100 drivers/staging/ks7010/ks_hostif.c 		if (priv->dev_state == DEVICE_STATE_BOOT)
dev_state        2104 drivers/staging/ks7010/ks_hostif.c 		if (priv->dev_state == DEVICE_STATE_BOOT)
dev_state        2105 drivers/staging/ks7010/ks_hostif.c 			priv->dev_state = DEVICE_STATE_PREINIT;
dev_state        2176 drivers/staging/ks7010/ks_hostif.c 		if (priv->dev_state == DEVICE_STATE_PREINIT)
dev_state        2177 drivers/staging/ks7010/ks_hostif.c 			priv->dev_state = DEVICE_STATE_INIT;
dev_state        2217 drivers/staging/ks7010/ks_hostif.c 	if (priv->dev_state < DEVICE_STATE_BOOT)
dev_state         492 drivers/staging/ks7010/ks_wlan.h 	int dev_state;
dev_state          66 drivers/staging/ks7010/ks_wlan_net.c 	if (priv->dev_state < DEVICE_STATE_READY)
dev_state         160 drivers/staging/ks7010/ks_wlan_net.c 	if (priv->dev_state < DEVICE_STATE_READY)
dev_state        1747 drivers/staging/ks7010/ks_wlan_net.c 		return (priv->dev_state < DEVICE_STATE_READY) ? NULL : wstats;
dev_state        2477 drivers/staging/ks7010/ks_wlan_net.c 	if (priv->dev_state < DEVICE_STATE_READY)
dev_state        2525 drivers/staging/ks7010/ks_wlan_net.c 	if (priv->dev_state < DEVICE_STATE_READY) {
dev_state        2564 drivers/staging/ks7010/ks_wlan_net.c 	if (priv->dev_state < DEVICE_STATE_READY)
dev_state          17 drivers/usb/host/xhci-dbg.c 	int state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state));
dev_state         269 drivers/usb/host/xhci-debugfs.c 					    le32_to_cpu(slot_ctx->dev_state)));
dev_state        1646 drivers/usb/host/xhci-mem.c 	in_slot_ctx->dev_state = out_slot_ctx->dev_state;
dev_state        1093 drivers/usb/host/xhci-ring.c 			slot_state = le32_to_cpu(slot_ctx->dev_state);
dev_state         376 drivers/usb/host/xhci-trace.h 		__entry->state = le32_to_cpu(ctx->dev_state);
dev_state        3742 drivers/usb/host/xhci.c 	if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) ==
dev_state        4092 drivers/usb/host/xhci.c 		if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) ==
dev_state        4217 drivers/usb/host/xhci.c 	udev->devaddr = (u8)(le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK);
dev_state        4221 drivers/usb/host/xhci.c 		       le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK);
dev_state        4301 drivers/usb/host/xhci.c 	slot_ctx->dev_state = 0;
dev_state        5088 drivers/usb/host/xhci.c 	slot_ctx->dev_state = 0;
dev_state         620 drivers/usb/host/xhci.h 	__le32	dev_state;
dev_state         142 fs/btrfs/check-integrity.c 	struct btrfsic_dev_state *dev_state;
dev_state         324 fs/btrfs/check-integrity.c static void btrfsic_process_written_block(struct btrfsic_dev_state *dev_state,
dev_state         369 fs/btrfs/check-integrity.c 		struct btrfsic_dev_state *dev_state,
dev_state         377 fs/btrfs/check-integrity.c 					   struct btrfsic_dev_state *dev_state,
dev_state         388 fs/btrfs/check-integrity.c 	b->dev_state = NULL;
dev_state         467 fs/btrfs/check-integrity.c 	ds->dummy_block_for_bio_bh_flush.dev_state = ds;
dev_state         501 fs/btrfs/check-integrity.c 	     ((unsigned int)((uintptr_t)b->dev_state->bdev))) &
dev_state         524 fs/btrfs/check-integrity.c 		if (b->dev_state->bdev == bdev && b->dev_bytenr == dev_bytenr)
dev_state         547 fs/btrfs/check-integrity.c 	     ((unsigned int)((uintptr_t)l->block_ref_to->dev_state->bdev)) ^
dev_state         548 fs/btrfs/check-integrity.c 	     ((unsigned int)((uintptr_t)l->block_ref_from->dev_state->bdev)))
dev_state         579 fs/btrfs/check-integrity.c 		if (l->block_ref_to->dev_state->bdev == bdev_ref_to &&
dev_state         581 fs/btrfs/check-integrity.c 		    l->block_ref_from->dev_state->bdev == bdev_ref_from &&
dev_state         648 fs/btrfs/check-integrity.c 		struct btrfsic_dev_state *dev_state;
dev_state         653 fs/btrfs/check-integrity.c 		dev_state = btrfsic_dev_state_lookup(device->bdev->bd_dev);
dev_state         654 fs/btrfs/check-integrity.c 		BUG_ON(NULL == dev_state);
dev_state         657 fs/btrfs/check-integrity.c 					state, dev_state, device, i,
dev_state         733 fs/btrfs/check-integrity.c 					state->latest_superblock->dev_state->
dev_state         762 fs/btrfs/check-integrity.c 		struct btrfsic_dev_state *dev_state,
dev_state         809 fs/btrfs/check-integrity.c 		superblock_tmp->dev_state = dev_state;
dev_state         822 fs/btrfs/check-integrity.c 				     dev_state->name, dev_bytenr,
dev_state         835 fs/btrfs/check-integrity.c 		*selected_dev_state = dev_state;
dev_state        1541 fs/btrfs/check-integrity.c 	if (test_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state) ||
dev_state        1671 fs/btrfs/check-integrity.c 		       b_all->logical_bytenr, b_all->dev_state->name,
dev_state        1677 fs/btrfs/check-integrity.c 			       b_all->logical_bytenr, b_all->dev_state->name,
dev_state        1682 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->name,
dev_state        1690 fs/btrfs/check-integrity.c 			       b_all->logical_bytenr, b_all->dev_state->name,
dev_state        1695 fs/btrfs/check-integrity.c 			       l->block_ref_from->dev_state->name,
dev_state        1743 fs/btrfs/check-integrity.c static void btrfsic_process_written_block(struct btrfsic_dev_state *dev_state,
dev_state        1754 fs/btrfs/check-integrity.c 	struct btrfsic_state *state = dev_state->state;
dev_state        1755 fs/btrfs/check-integrity.c 	struct block_device *bdev = dev_state->bdev;
dev_state        1804 fs/btrfs/check-integrity.c 							       dev_state,
dev_state        1812 fs/btrfs/check-integrity.c 					       bytenr, dev_state->name,
dev_state        1820 fs/btrfs/check-integrity.c 					       bytenr, dev_state->name,
dev_state        1836 fs/btrfs/check-integrity.c 				       bytenr, dev_state->name, dev_bytenr,
dev_state        1848 fs/btrfs/check-integrity.c 			       dev_state->name, dev_bytenr, block->mirror_num,
dev_state        1862 fs/btrfs/check-integrity.c 			       dev_state->name, dev_bytenr, block->mirror_num,
dev_state        1891 fs/btrfs/check-integrity.c 		block_ctx.dev = dev_state;
dev_state        1943 fs/btrfs/check-integrity.c 		block->flush_gen = dev_state->last_flush_gen + 1;
dev_state        1998 fs/btrfs/check-integrity.c 				       dev_state->name, dev_bytenr);
dev_state        2012 fs/btrfs/check-integrity.c 			btrfsic_cmp_log_and_dev_bytenr(state, bytenr, dev_state,
dev_state        2016 fs/btrfs/check-integrity.c 				       bytenr, dev_state->name, dev_bytenr);
dev_state        2019 fs/btrfs/check-integrity.c 		block_ctx.dev = dev_state;
dev_state        2033 fs/btrfs/check-integrity.c 		block->dev_state = dev_state;
dev_state        2040 fs/btrfs/check-integrity.c 		block->flush_gen = dev_state->last_flush_gen + 1;
dev_state        2081 fs/btrfs/check-integrity.c 			       block->logical_bytenr, block->dev_state->name,
dev_state        2121 fs/btrfs/check-integrity.c 		struct btrfsic_dev_state *const dev_state = block->dev_state;
dev_state        2123 fs/btrfs/check-integrity.c 		if ((dev_state->state->print_mask &
dev_state        2127 fs/btrfs/check-integrity.c 			       btrfsic_get_block_type(dev_state->state, block),
dev_state        2128 fs/btrfs/check-integrity.c 			       block->logical_bytenr, dev_state->name,
dev_state        2133 fs/btrfs/check-integrity.c 			dev_state->last_flush_gen++;
dev_state        2134 fs/btrfs/check-integrity.c 			if ((dev_state->state->print_mask &
dev_state        2137 fs/btrfs/check-integrity.c 				       dev_state->name,
dev_state        2138 fs/btrfs/check-integrity.c 				       dev_state->last_flush_gen);
dev_state        2154 fs/btrfs/check-integrity.c 	struct btrfsic_dev_state *dev_state;
dev_state        2157 fs/btrfs/check-integrity.c 	dev_state = block->dev_state;
dev_state        2158 fs/btrfs/check-integrity.c 	if ((dev_state->state->print_mask & BTRFSIC_PRINT_MASK_END_IO_BIO_BH))
dev_state        2161 fs/btrfs/check-integrity.c 		       btrfsic_get_block_type(dev_state->state, block),
dev_state        2162 fs/btrfs/check-integrity.c 		       block->logical_bytenr, block->dev_state->name,
dev_state        2167 fs/btrfs/check-integrity.c 		dev_state->last_flush_gen++;
dev_state        2168 fs/btrfs/check-integrity.c 		if ((dev_state->state->print_mask &
dev_state        2171 fs/btrfs/check-integrity.c 			       dev_state->name, dev_state->last_flush_gen);
dev_state        2196 fs/btrfs/check-integrity.c 			       superblock->dev_state->name,
dev_state        2204 fs/btrfs/check-integrity.c 			       superblock->dev_state->name,
dev_state        2352 fs/btrfs/check-integrity.c 			       block->logical_bytenr, block->dev_state->name,
dev_state        2357 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->name,
dev_state        2364 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->name,
dev_state        2372 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->name,
dev_state        2380 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->name,
dev_state        2393 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->name,
dev_state        2400 fs/btrfs/check-integrity.c 			   l->block_ref_to->dev_state->last_flush_gen) {
dev_state        2404 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->name,
dev_state        2407 fs/btrfs/check-integrity.c 			       l->block_ref_to->dev_state->last_flush_gen);
dev_state        2444 fs/btrfs/check-integrity.c 			       block->logical_bytenr, block->dev_state->name,
dev_state        2449 fs/btrfs/check-integrity.c 			       l->block_ref_from->dev_state->name,
dev_state        2455 fs/btrfs/check-integrity.c 		    state->latest_superblock->dev_state->bdev ==
dev_state        2456 fs/btrfs/check-integrity.c 		    l->block_ref_from->dev_state->bdev)
dev_state        2475 fs/btrfs/check-integrity.c 	       l->block_ref_from->dev_state->name,
dev_state        2479 fs/btrfs/check-integrity.c 	       l->block_ref_to->dev_state->name, l->block_ref_to->dev_bytenr,
dev_state        2490 fs/btrfs/check-integrity.c 	       l->block_ref_from->dev_state->name,
dev_state        2494 fs/btrfs/check-integrity.c 	       l->block_ref_to->dev_state->name, l->block_ref_to->dev_bytenr,
dev_state        2503 fs/btrfs/check-integrity.c 	    state->latest_superblock->dev_state->bdev == block->dev_state->bdev)
dev_state        2538 fs/btrfs/check-integrity.c 			     block->logical_bytenr, block->dev_state->name,
dev_state        2592 fs/btrfs/check-integrity.c 						from_block->dev_state->bdev,
dev_state        2641 fs/btrfs/check-integrity.c 		struct btrfsic_dev_state *dev_state;
dev_state        2648 fs/btrfs/check-integrity.c 		dev_state = btrfsic_dev_state_lookup(block_ctx->dev->bdev->bd_dev);
dev_state        2649 fs/btrfs/check-integrity.c 		if (NULL == dev_state) {
dev_state        2654 fs/btrfs/check-integrity.c 		block->dev_state = dev_state;
dev_state        2665 fs/btrfs/check-integrity.c 			       block->logical_bytenr, dev_state->name,
dev_state        2681 fs/btrfs/check-integrity.c 					   struct btrfsic_dev_state *dev_state,
dev_state        2702 fs/btrfs/check-integrity.c 		if (dev_state->bdev == block_ctx.dev->bdev &&
dev_state        2713 fs/btrfs/check-integrity.c 		       bytenr, dev_state->name, dev_bytenr);
dev_state        2736 fs/btrfs/check-integrity.c 	struct btrfsic_dev_state *dev_state;
dev_state        2744 fs/btrfs/check-integrity.c 	dev_state = btrfsic_dev_state_lookup(bh->b_bdev->bd_dev);
dev_state        2747 fs/btrfs/check-integrity.c 	if (NULL != dev_state &&
dev_state        2752 fs/btrfs/check-integrity.c 		if (dev_state->state->print_mask &
dev_state        2757 fs/btrfs/check-integrity.c 		btrfsic_process_written_block(dev_state, dev_bytenr,
dev_state        2760 fs/btrfs/check-integrity.c 	} else if (NULL != dev_state && (op_flags & REQ_PREFLUSH)) {
dev_state        2761 fs/btrfs/check-integrity.c 		if (dev_state->state->print_mask &
dev_state        2765 fs/btrfs/check-integrity.c 		if (!dev_state->dummy_block_for_bio_bh_flush.is_iodone) {
dev_state        2766 fs/btrfs/check-integrity.c 			if ((dev_state->state->print_mask &
dev_state        2770 fs/btrfs/check-integrity.c 				       dev_state->name);
dev_state        2773 fs/btrfs/check-integrity.c 				&dev_state->dummy_block_for_bio_bh_flush;
dev_state        2778 fs/btrfs/check-integrity.c 			block->flush_gen = dev_state->last_flush_gen + 1;
dev_state        2793 fs/btrfs/check-integrity.c 	struct btrfsic_dev_state *dev_state;
dev_state        2801 fs/btrfs/check-integrity.c 	dev_state = btrfsic_dev_state_lookup(bio_dev(bio) + bio->bi_partno);
dev_state        2802 fs/btrfs/check-integrity.c 	if (NULL != dev_state &&
dev_state        2815 fs/btrfs/check-integrity.c 		if (dev_state->state->print_mask &
dev_state        2833 fs/btrfs/check-integrity.c 			if (dev_state->state->print_mask &
dev_state        2839 fs/btrfs/check-integrity.c 		btrfsic_process_written_block(dev_state, dev_bytenr,
dev_state        2846 fs/btrfs/check-integrity.c 	} else if (NULL != dev_state && (bio->bi_opf & REQ_PREFLUSH)) {
dev_state        2847 fs/btrfs/check-integrity.c 		if (dev_state->state->print_mask &
dev_state        2851 fs/btrfs/check-integrity.c 		if (!dev_state->dummy_block_for_bio_bh_flush.is_iodone) {
dev_state        2852 fs/btrfs/check-integrity.c 			if ((dev_state->state->print_mask &
dev_state        2856 fs/btrfs/check-integrity.c 				       dev_state->name);
dev_state        2859 fs/btrfs/check-integrity.c 				&dev_state->dummy_block_for_bio_bh_flush;
dev_state        2864 fs/btrfs/check-integrity.c 			block->flush_gen = dev_state->last_flush_gen + 1;
dev_state        3030 fs/btrfs/check-integrity.c 			       b_all->logical_bytenr, b_all->dev_state->name,
dev_state         156 fs/btrfs/dev-replace.c 				&dev_replace->tgtdev->dev_state);
dev_state         164 fs/btrfs/dev-replace.c 				&dev_replace->tgtdev->dev_state);
dev_state         241 fs/btrfs/dev-replace.c 	set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state);
dev_state         253 fs/btrfs/dev-replace.c 	set_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &device->dev_state);
dev_state         254 fs/btrfs/dev-replace.c 	set_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state);
dev_state         388 fs/btrfs/dev-replace.c 	if (!device || test_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state))
dev_state         668 fs/btrfs/dev-replace.c 	clear_bit(BTRFS_DEV_STATE_REPLACE_TGT, &tgt_device->dev_state);
dev_state        3635 fs/btrfs/disk-io.c 	set_bit(BTRFS_DEV_STATE_FLUSH_SENT, &device->dev_state);
dev_state        3645 fs/btrfs/disk-io.c 	if (!test_bit(BTRFS_DEV_STATE_FLUSH_SENT, &device->dev_state))
dev_state        3648 fs/btrfs/disk-io.c 	clear_bit(BTRFS_DEV_STATE_FLUSH_SENT, &device->dev_state);
dev_state        3676 fs/btrfs/disk-io.c 		if (test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state))
dev_state        3680 fs/btrfs/disk-io.c 		if (!test_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &dev->dev_state) ||
dev_state        3681 fs/btrfs/disk-io.c 		    !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state))
dev_state        3690 fs/btrfs/disk-io.c 		if (test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state))
dev_state        3696 fs/btrfs/disk-io.c 		if (!test_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &dev->dev_state) ||
dev_state        3697 fs/btrfs/disk-io.c 		    !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state))
dev_state        3794 fs/btrfs/disk-io.c 		if (!test_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &dev->dev_state) ||
dev_state        3795 fs/btrfs/disk-io.c 		    !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state))
dev_state        3843 fs/btrfs/disk-io.c 		if (!test_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &dev->dev_state) ||
dev_state        3844 fs/btrfs/disk-io.c 		    !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state))
dev_state        5569 fs/btrfs/extent-tree.c 	if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state))
dev_state        2234 fs/btrfs/extent_io.c 	    !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) {
dev_state        1658 fs/btrfs/ioctl.c 	if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) {
dev_state        1683 fs/btrfs/ioctl.c 	if (test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state)) {
dev_state        2284 fs/btrfs/scrub.c 	if (test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state)) {
dev_state        2619 fs/btrfs/scrub.c 	if (test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state)) {
dev_state        3850 fs/btrfs/scrub.c 	if (!dev || (test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state) &&
dev_state        3858 fs/btrfs/scrub.c 	    !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) {
dev_state        3867 fs/btrfs/scrub.c 	if (!test_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &dev->dev_state) ||
dev_state        3868 fs/btrfs/scrub.c 	    test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &dev->dev_state)) {
dev_state        1950 fs/btrfs/super.c 						&device->dev_state) ||
dev_state        1952 fs/btrfs/super.c 		    test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state))
dev_state        2273 fs/btrfs/super.c 			if (test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state))
dev_state         820 fs/btrfs/volumes.c 		clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state);
dev_state         824 fs/btrfs/volumes.c 			clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state);
dev_state         826 fs/btrfs/volumes.c 			set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state);
dev_state         834 fs/btrfs/volumes.c 	clear_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &device->dev_state);
dev_state         838 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) &&
dev_state        1134 fs/btrfs/volumes.c 		if (test_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state)) {
dev_state        1136 fs/btrfs/volumes.c 			clear_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state);
dev_state        1223 fs/btrfs/volumes.c 							&device->dev_state)) {
dev_state        1225 fs/btrfs/volumes.c 			     &device->dev_state) &&
dev_state        1245 fs/btrfs/volumes.c 						  &device->dev_state)) {
dev_state        1254 fs/btrfs/volumes.c 		if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) {
dev_state        1256 fs/btrfs/volumes.c 			clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state);
dev_state        1258 fs/btrfs/volumes.c 				      &device->dev_state))
dev_state        1281 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) {
dev_state        1298 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) &&
dev_state        1304 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state))
dev_state        1631 fs/btrfs/volumes.c 		test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state)) {
dev_state        1832 fs/btrfs/volumes.c 	WARN_ON(!test_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &device->dev_state));
dev_state        1833 fs/btrfs/volumes.c 	WARN_ON(test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state));
dev_state        2082 fs/btrfs/volumes.c 		    !test_bit(BTRFS_DEV_STATE_MISSING, &next_device->dev_state)
dev_state        2171 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state)) {
dev_state        2176 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) &&
dev_state        2182 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) {
dev_state        2204 fs/btrfs/volumes.c 	clear_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &device->dev_state);
dev_state        2232 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state))
dev_state        2252 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state))
dev_state        2277 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) {
dev_state        2304 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_MISSING, &srcdev->dev_state))
dev_state        2307 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &srcdev->dev_state))
dev_state        2319 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &srcdev->dev_state)) {
dev_state        2445 fs/btrfs/volumes.c 				     &device->dev_state) && !device->bdev)
dev_state        2656 fs/btrfs/volumes.c 	set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state);
dev_state        2667 fs/btrfs/volumes.c 	set_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &device->dev_state);
dev_state        2668 fs/btrfs/volumes.c 	clear_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state);
dev_state        2864 fs/btrfs/volumes.c 	if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state))
dev_state        2874 fs/btrfs/volumes.c 	    test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state)) {
dev_state        4740 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state))
dev_state        4758 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) {
dev_state        4890 fs/btrfs/volumes.c 		if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state))
dev_state        5044 fs/btrfs/volumes.c 		if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) {
dev_state        5051 fs/btrfs/volumes.c 					&device->dev_state) ||
dev_state        5052 fs/btrfs/volumes.c 		    test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state))
dev_state        5391 fs/btrfs/volumes.c 					&map->stripes[i].dev->dev_state)) {
dev_state        5396 fs/btrfs/volumes.c 					&map->stripes[i].dev->dev_state)) {
dev_state        6611 fs/btrfs/volumes.c 						   &dev->dev_state) ||
dev_state        6613 fs/btrfs/volumes.c 		    !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state))) {
dev_state        6677 fs/btrfs/volumes.c 	set_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state);
dev_state        6860 fs/btrfs/volumes.c 				&(map->stripes[i].dev->dev_state));
dev_state        6894 fs/btrfs/volumes.c 	clear_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state);
dev_state        7007 fs/btrfs/volumes.c 		    !test_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state)) {
dev_state        7015 fs/btrfs/volumes.c 			set_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state);
dev_state        7021 fs/btrfs/volumes.c 							&device->dev_state));
dev_state        7035 fs/btrfs/volumes.c 		BUG_ON(test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state));
dev_state        7042 fs/btrfs/volumes.c 	set_bit(BTRFS_DEV_STATE_IN_FS_METADATA, &device->dev_state);
dev_state        7043 fs/btrfs/volumes.c 	if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) &&
dev_state        7044 fs/btrfs/volumes.c 	   !test_bit(BTRFS_DEV_STATE_REPLACE_TGT, &device->dev_state)) {
dev_state        7211 fs/btrfs/volumes.c 			    test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state) ||
dev_state          83 fs/btrfs/volumes.h 	unsigned long dev_state;
dev_state         348 include/linux/bpf.h 	bool			dev_state;
dev_state         160 include/trace/events/ufs.h 		 int dev_state, int link_state),
dev_state         162 include/trace/events/ufs.h 	TP_ARGS(dev_name, err, usecs, dev_state, link_state),
dev_state         168 include/trace/events/ufs.h 		__field(int, dev_state)
dev_state         176 include/trace/events/ufs.h 		__entry->dev_state = dev_state;
dev_state         184 include/trace/events/ufs.h 		__print_symbolic(__entry->dev_state, UFS_PWR_MODES),
dev_state         192 include/trace/events/ufs.h 		      int dev_state, int link_state),
dev_state         193 include/trace/events/ufs.h 	     TP_ARGS(dev_name, err, usecs, dev_state, link_state));
dev_state         197 include/trace/events/ufs.h 		      int dev_state, int link_state),
dev_state         198 include/trace/events/ufs.h 	     TP_ARGS(dev_name, err, usecs, dev_state, link_state));
dev_state         202 include/trace/events/ufs.h 		      int dev_state, int link_state),
dev_state         203 include/trace/events/ufs.h 	     TP_ARGS(dev_name, err, usecs, dev_state, link_state));
dev_state         207 include/trace/events/ufs.h 		      int dev_state, int link_state),
dev_state         208 include/trace/events/ufs.h 	     TP_ARGS(dev_name, err, usecs, dev_state, link_state));
dev_state         212 include/trace/events/ufs.h 		      int dev_state, int link_state),
dev_state         213 include/trace/events/ufs.h 	     TP_ARGS(dev_name, err, usecs, dev_state, link_state));
dev_state         136 kernel/bpf/offload.c 		offload->dev_state = !ret;
dev_state         216 kernel/bpf/offload.c 	if (offload->dev_state)