Lines Matching refs:retval
85 int retval; in usb_port_runtime_resume() local
102 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume()
104 if (udev && !retval) { in usb_port_runtime_resume()
129 return retval; in usb_port_runtime_resume()
140 int retval; in usb_port_runtime_suspend() local
155 retval = usb_hub_set_port_power(hdev, hub, port1, false); in usb_port_runtime_suspend()
169 return retval; in usb_port_runtime_suspend()
404 int retval; in usb_hub_create_port_device() local
428 retval = device_register(&port_dev->dev); in usb_hub_create_port_device()
429 if (retval) { in usb_hub_create_port_device()
431 return retval; in usb_hub_create_port_device()
435 retval = dev_pm_qos_add_request(&port_dev->dev, port_dev->req, in usb_hub_create_port_device()
437 if (retval < 0) { in usb_hub_create_port_device()
439 return retval; in usb_hub_create_port_device()
462 retval = dev_pm_qos_expose_flags(&port_dev->dev, in usb_hub_create_port_device()
464 if (retval < 0) { in usb_hub_create_port_device()
470 retval = dev_pm_qos_remove_request(port_dev->req); in usb_hub_create_port_device()
471 if (retval >= 0) { in usb_hub_create_port_device()