Home
last modified time | relevance | path

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

/linux/drivers/iommu/amd/
A Diommu_v2.c44 struct device_state *device_state; /* Link to our device_state */ member
53 struct device_state { struct
70 struct device_state *dev_state; argument
100 struct device_state *dev_state; in __get_device_state()
112 struct device_state *dev_state; in get_device_state()
366 struct device_state *dev_state; in mn_invalidate_range()
381 struct device_state *dev_state; in mn_release()
519 struct device_state *dev_state; in ppr_notifier()
603 struct device_state *dev_state; in amd_iommu_bind_pasid()
687 struct device_state *dev_state; in amd_iommu_unbind_pasid()
[all …]
/linux/drivers/crypto/ux500/hash/
A Dhash_core.c1136 const struct hash_state *device_state) in hash_resume_state() argument
1142 if (NULL == device_state) { in hash_resume_state()
1149 if (device_state->index > HASH_BLOCK_SIZE || in hash_resume_state()
1150 (device_state->length.low_word % HASH_BLOCK_SIZE) != 0) { in hash_resume_state()
1163 temp_cr = device_state->temp_cr; in hash_resume_state()
1175 writel_relaxed(device_state->csr[count], in hash_resume_state()
1182 writel_relaxed(device_state->str_reg, &device_data->base->str); in hash_resume_state()
1194 struct hash_state *device_state) in hash_save_state() argument
1200 if (NULL == device_state) { in hash_save_state()
1228 device_state->csr[count] = in hash_save_state()
[all …]
/linux/drivers/usb/gadget/udc/
A Dtegra-xudc.c492 unsigned int device_state; member
1732 xudc->device_state = USB_STATE_ADDRESS; in __tegra_xudc_ep_disable()
1825 xudc->device_state = USB_STATE_CONFIGURED; in __tegra_xudc_ep_enable()
1977 xudc->device_state = xudc->resume_state; in tegra_xudc_resume_device_state()
2081 xudc->device_state = USB_STATE_DEFAULT; in tegra_xudc_gadget_start()
2478 xudc->device_state = USB_STATE_ADDRESS; in set_address_complete()
2482 xudc->device_state = USB_STATE_DEFAULT; in set_address_complete()
2797 xudc->device_state = USB_STATE_DEFAULT; in tegra_xudc_reset()
2854 xudc->device_state = USB_STATE_DEFAULT; in tegra_xudc_port_connect()
2928 xudc->resume_state = xudc->device_state; in tegra_xudc_port_suspend()
[all …]
/linux/drivers/usb/cdns3/
A 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/drivers/platform/x86/
A Dacer-wmi.c137 u16 device_state; member
1986 u16 device_state; in acer_wmi_notify() local
2016 device_state = return_value.device_state; in acer_wmi_notify()
2017 pr_debug("device state: 0x%x\n", device_state); in acer_wmi_notify()
2031 !(device_state & ACER_WMID3_GDS_WIRELESS)); in acer_wmi_notify()
2034 !(device_state & ACER_WMID3_GDS_THREEG)); in acer_wmi_notify()
2037 !(device_state & ACER_WMID3_GDS_BLUETOOTH)); in acer_wmi_notify()
2040 scancode = (device_state & ACER_WMID3_GDS_TOUCHPAD) ? in acer_wmi_notify()
/linux/drivers/scsi/
A Dxen-scsifront.c981 unsigned int device_state; in scsifront_do_lun_hotplug() local
997 &device_state); in scsifront_do_lun_hotplug()
1018 if (device_state != XenbusStateInitialised) in scsifront_do_lun_hotplug()
1032 if (device_state != XenbusStateClosing) in scsifront_do_lun_hotplug()
1042 if (device_state == XenbusStateConnected) { in scsifront_do_lun_hotplug()
/linux/drivers/xen/
A Dxen-scsiback.c1025 int device_state; in scsiback_do_1lun_hotplug() local
1033 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug()
1066 switch (device_state) { in scsiback_do_1lun_hotplug()
1082 if (device_state == XenbusStateInitialised) { in scsiback_do_1lun_hotplug()
/linux/drivers/scsi/pm8001/
A Dpm8001_init.c1338 u32 device_state; in pm8001_pci_resume() local
1341 device_state = pdev->current_state; in pm8001_pci_resume()
1344 pdev, pm8001_ha->name, device_state); in pm8001_pci_resume()
/linux/include/uapi/linux/
A Dvfio.h607 __u32 device_state; /* VFIO device state */ member
/linux/drivers/scsi/mpi3mr/
A Dmpi3mr_os.c3912 pci_power_t device_state; in mpi3mr_suspend() local
3926 device_state = pci_choose_state(pdev, state); in mpi3mr_suspend()
3928 pdev, pci_name(pdev), device_state); in mpi3mr_suspend()
3930 pci_set_power_state(pdev, device_state); in mpi3mr_suspend()
3949 pci_power_t device_state = pdev->current_state; in mpi3mr_resume() local
3958 pdev, pci_name(pdev), device_state); in mpi3mr_resume()
/linux/drivers/message/fusion/
A Dmptbase.c2148 u32 device_state; in mpt_suspend() local
2151 device_state = pci_choose_state(pdev, state); in mpt_suspend()
2154 device_state); in mpt_suspend()
2176 pci_set_power_state(pdev, device_state); in mpt_suspend()
2189 u32 device_state = pdev->current_state; in mpt_resume() local
2195 device_state); in mpt_resume()
A Dmptsas.c1364 enum device_state{ enum
/linux/drivers/scsi/hisi_sas/
A Dhisi_sas_v3_hw.c4931 pci_power_t device_state = pdev->current_state; in _resume_v3_hw() local
4934 device_state); in _resume_v3_hw()
/linux/drivers/scsi/mpt3sas/
A Dmpt3sas_scsih.c12431 pci_power_t device_state = pdev->current_state; in scsih_resume() local
12439 pdev, pci_name(pdev), device_state); in scsih_resume()

Completed in 89 milliseconds