Home
last modified time | relevance | path

Searched refs:device_state (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/drivers/iommu/amd/
Diommu_v2.c43 struct device_state *device_state; /* Link to our device_state */ member
52 struct device_state { struct
69 struct device_state *dev_state; argument
84 static void free_pasid_states(struct device_state *dev_state);
86 static struct device_state *__get_device_state(u32 sbdf) in __get_device_state()
88 struct device_state *dev_state; in __get_device_state()
98 static struct device_state *get_device_state(u32 sbdf) in get_device_state()
100 struct device_state *dev_state; in get_device_state()
112 static void free_device_state(struct device_state *dev_state) in free_device_state()
144 static void put_device_state(struct device_state *dev_state) in put_device_state()
[all …]
/Linux-v6.1/drivers/crypto/ux500/hash/
Dhash_core.c1134 const struct hash_state *device_state) in hash_resume_state() argument
1140 if (NULL == device_state) { in hash_resume_state()
1147 if (device_state->index > HASH_BLOCK_SIZE || in hash_resume_state()
1148 (device_state->length.low_word % HASH_BLOCK_SIZE) != 0) { in hash_resume_state()
1161 temp_cr = device_state->temp_cr; in hash_resume_state()
1173 writel_relaxed(device_state->csr[count], in hash_resume_state()
1177 writel_relaxed(device_state->csfull, &device_data->base->csfull); in hash_resume_state()
1178 writel_relaxed(device_state->csdatain, &device_data->base->csdatain); in hash_resume_state()
1180 writel_relaxed(device_state->str_reg, &device_data->base->str); in hash_resume_state()
1192 struct hash_state *device_state) in hash_save_state() argument
[all …]
/Linux-v6.1/drivers/usb/gadget/udc/
Dtegra-xudc.c491 unsigned int device_state; member
1736 if ((xudc->device_state == USB_STATE_CONFIGURED) && in __tegra_xudc_ep_disable()
1740 xudc->device_state = USB_STATE_ADDRESS; in __tegra_xudc_ep_disable()
1741 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in __tegra_xudc_ep_disable()
1828 if (xudc->device_state == USB_STATE_ADDRESS) { in __tegra_xudc_ep_enable()
1833 xudc->device_state = USB_STATE_CONFIGURED; in __tegra_xudc_ep_enable()
1834 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in __tegra_xudc_ep_enable()
1984 if (xudc->device_state == USB_STATE_SUSPENDED) { in tegra_xudc_resume_device_state()
1985 xudc->device_state = xudc->resume_state; in tegra_xudc_resume_device_state()
1986 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_resume_device_state()
[all …]
/Linux-v6.1/drivers/usb/cdns3/
Dcdns3-ep0.c139 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_configuration() local
143 switch (device_state) { in cdns3_req_ep0_set_configuration()
183 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_address() local
196 if (device_state == USB_STATE_CONFIGURED) { in cdns3_req_ep0_set_address()
/Linux-v6.1/drivers/platform/x86/
Dacer-wmi.c144 u16 device_state; member
1934 u16 device_state; in acer_wmi_notify() local
1964 device_state = return_value.device_state; in acer_wmi_notify()
1965 pr_debug("device state: 0x%x\n", device_state); in acer_wmi_notify()
1979 !(device_state & ACER_WMID3_GDS_WIRELESS)); in acer_wmi_notify()
1982 !(device_state & ACER_WMID3_GDS_THREEG)); in acer_wmi_notify()
1985 !(device_state & ACER_WMID3_GDS_BLUETOOTH)); in acer_wmi_notify()
1988 scancode = (device_state & ACER_WMID3_GDS_TOUCHPAD) ? in acer_wmi_notify()
/Linux-v6.1/drivers/scsi/
Dxen-scsifront.c1048 unsigned int device_state; in scsifront_do_lun_hotplug() local
1067 &device_state); in scsifront_do_lun_hotplug()
1088 if (device_state != XenbusStateInitialised) in scsifront_do_lun_hotplug()
1102 if (device_state != XenbusStateClosing) in scsifront_do_lun_hotplug()
1112 if (device_state == XenbusStateConnected) { in scsifront_do_lun_hotplug()
/Linux-v6.1/include/uapi/linux/
Dvfio.h411 __u32 device_state; /* VFIO device state */ member
860 __u32 device_state; /* From enum vfio_device_mig_state */ member
/Linux-v6.1/drivers/platform/x86/amd/pmf/
Dpmf.h122 u16 device_state; member
/Linux-v6.1/drivers/xen/
Dxen-scsiback.c1089 int device_state; in scsiback_do_1lun_hotplug() local
1097 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug()
1130 switch (device_state) { in scsiback_do_1lun_hotplug()
1146 if (device_state == XenbusStateInitialised) { in scsiback_do_1lun_hotplug()
/Linux-v6.1/drivers/vfio/
Dvfio_main.c1256 mig.device_state = curr_state; in vfio_ioctl_device_feature_mig_device_state()
1261 filp = device->mig_ops->migration_set_state(device, mig.device_state); in vfio_ioctl_device_feature_mig_device_state()
/Linux-v6.1/drivers/message/fusion/
Dmptbase.c2143 u32 device_state; in mpt_suspend() local
2146 device_state = pci_choose_state(pdev, state); in mpt_suspend()
2149 device_state); in mpt_suspend()
2171 pci_set_power_state(pdev, device_state); in mpt_suspend()
2184 u32 device_state = pdev->current_state; in mpt_resume() local
2190 device_state); in mpt_resume()
Dmptsas.c1364 enum device_state{ enum
/Linux-v6.1/drivers/scsi/mpi3mr/
Dmpi3mr_os.c5209 pci_power_t device_state = pdev->current_state; in mpi3mr_resume() local
5218 pdev, pci_name(pdev), device_state); in mpi3mr_resume()
/Linux-v6.1/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c5012 pci_power_t device_state = pdev->current_state; in _resume_v3_hw() local
5015 device_state); in _resume_v3_hw()
/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c12446 pci_power_t device_state = pdev->current_state; in scsih_resume() local
12454 pdev, pci_name(pdev), device_state); in scsih_resume()