Searched refs:mydev (Results 1 – 1 of 1) sorted by relevance
63 static void update_display_powered(struct usb_sevsegdev *mydev) in update_display_powered() argument67 if (mydev->powered && !mydev->has_interface_pm) { in update_display_powered()68 rc = usb_autopm_get_interface(mydev->intf); in update_display_powered()71 mydev->has_interface_pm = 1; in update_display_powered()74 if (mydev->shadow_power != 1) in update_display_powered()77 rc = usb_control_msg_send(mydev->udev, 0, 0x12, 0x48, in update_display_powered()79 (0x00 * 0x100) + (mydev->powered ? 1 : 0), in update_display_powered()82 dev_dbg(&mydev->udev->dev, "power retval = %d\n", rc); in update_display_powered()84 if (!mydev->powered && mydev->has_interface_pm) { in update_display_powered()85 usb_autopm_put_interface(mydev->intf); in update_display_powered()[all …]