Home
last modified time | relevance | path

Searched refs:may_wakeup (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c54 int may_wakeup; in zynqmp_gpd_is_active_wakeup_path() local
56 may_wakeup = device_may_wakeup(dev); in zynqmp_gpd_is_active_wakeup_path()
57 if (may_wakeup) in zynqmp_gpd_is_active_wakeup_path()
58 return may_wakeup; in zynqmp_gpd_is_active_wakeup_path()
110 bool may_wakeup; in zynqmp_gpd_power_off() local
121 may_wakeup = zynqmp_gpd_is_active_wakeup_path(pdd->dev, NULL); in zynqmp_gpd_power_off()
122 if (may_wakeup) { in zynqmp_gpd_power_off()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ep0.c158 status |= pdev->may_wakeup << USB_DEVICE_REMOTE_WAKEUP; in cdnsp_ep0_handle_status()
215 pdev->may_wakeup = !!set; in cdnsp_ep0_handle_feature_device()
284 pdev->may_wakeup++; in cdnsp_ep0_handle_feature_intf()
286 if (pdev->may_wakeup > 0) in cdnsp_ep0_handle_feature_intf()
287 pdev->may_wakeup--; in cdnsp_ep0_handle_feature_intf()
H A Dcdnsp-gadget.h1427 int may_wakeup; member
H A Dcdnsp-gadget.c1503 if (portsc == XDEV_U3 && !pdev->may_wakeup) in __cdnsp_gadget_wakeup()
H A Dcdnsp-ring.c875 pdev->may_wakeup = 0; in cdnsp_handle_port_status()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c70 result[0] |= musb->may_wakeup << USB_DEVICE_REMOTE_WAKEUP; in service_tx_status_request()
232 musb->may_wakeup = 0; in service_zero_data_request()
307 musb->may_wakeup = 1; in service_zero_data_request()
H A Dmusb_core.h415 unsigned may_wakeup:1; member
H A Dmusb_gadget.c1636 if (musb->may_wakeup && musb->is_suspended) in musb_gadget_wakeup()
2296 musb->may_wakeup = 0; in musb_g_reset()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget_ep0.c64 result[0] |= musb->may_wakeup << USB_DEVICE_REMOTE_WAKEUP; in service_tx_status_request()
230 musb->may_wakeup = 0; in service_zero_data_request()
305 musb->may_wakeup = 1; in service_zero_data_request()
H A Dmusb_core.h389 unsigned may_wakeup:1; member
H A Dmusb_gadget.c1539 if (musb->may_wakeup && musb->is_suspended) in musb_gadget_wakeup()
2082 musb->may_wakeup = 0; in musb_g_reset()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_gadget_ep0.c217 result[0] |= mtu->may_wakeup << USB_DEVICE_REMOTE_WAKEUP; in ep0_get_status()
334 mtu->may_wakeup = !!set; in ep0_handle_feature_dev()
403 mtu->may_wakeup = !!(index & USB_INTRF_FUNC_SUSPEND_RW); in ep0_handle_feature()
H A Dmtu3.h352 unsigned may_wakeup:1; member
H A Dmtu3_gadget.c450 if (!mtu->may_wakeup) in mtu3_gadget_wakeup()
639 mtu->may_wakeup = 0; in mtu3_state_reset()
/openbmc/linux/include/linux/
H A Dhid.h894 bool (*may_wakeup)(struct hid_device *hdev); member
1177 if (hdev->ll_driver->may_wakeup) in hid_hw_may_wakeup()
1178 return hdev->ll_driver->may_wakeup(hdev); in hid_hw_may_wakeup()
/openbmc/linux/drivers/bluetooth/
H A Dbtmtksdio.c1295 bool may_wakeup = device_may_wakeup(bdev->dev); in btmtksdio_sdio_wakeup() local
1304 if (may_wakeup && bdev->data->chipid == 0x7921) { in btmtksdio_sdio_wakeup()
1310 may_wakeup = false; in btmtksdio_sdio_wakeup()
1315 return may_wakeup; in btmtksdio_sdio_wakeup()
/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c187 status |= pdev->may_wakeup << USB_DEVICE_REMOTE_WAKEUP; in cdns2_req_ep0_handle_status()
226 pdev->may_wakeup = !!set; in cdns2_ep0_handle_feature_device()
H A Dcdns2-gadget.h674 bool may_wakeup; member
H A Dcdns2-gadget.c1044 if (!pdev->may_wakeup) in cdns2_wakeup()
1275 pdev->may_wakeup = 0; in cdns2_thread_usb_irq_handler()
/openbmc/linux/drivers/tty/serial/
H A Datmel_serial.c114 int may_wakeup; /* cached value of device_may_wakeup for times we need to disable it */ member
2777 atmel_port->may_wakeup = device_may_wakeup(dev); in atmel_serial_suspend()
2829 device_set_wakeup_enable(dev, atmel_port->may_wakeup); in atmel_serial_resume()
/openbmc/linux/drivers/hid/
H A Dhid-logitech-dj.c1519 .may_wakeup = logi_dj_ll_may_wakeup,
/openbmc/linux/drivers/hid/usbhid/
H A Dhid-core.c1333 .may_wakeup = usbhid_may_wakeup,