Searched refs:lvs (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/usb/misc/ |
H A D | lvstest.c | 27 /* if lvs device connected */ 29 /* port no at which lvs device is present */ 49 struct lvs_rh *lvs = usb_get_intfdata(intf); create_lvs_device() local 51 if (!lvs->present) { create_lvs_device() 59 udev = usb_alloc_dev(hdev, hdev->bus, lvs->portnum); create_lvs_device() 61 dev_err(&intf->dev, "Could not allocate lvs udev\n"); create_lvs_device() 111 struct lvs_rh *lvs = usb_get_intfdata(intf); u3_entry_store() local 117 dev_err(dev, "failed to create lvs device\n"); u3_entry_store() 121 ret = lvs_rh_set_port_feature(hdev, lvs->portnum, u3_entry_store() 140 struct lvs_rh *lvs = usb_get_intfdata(intf); u3_exit_store() local 146 dev_err(dev, "failed to create lvs device\n"); u3_exit_store() 150 ret = lvs_rh_clear_port_feature(hdev, lvs->portnum, u3_exit_store() 169 struct lvs_rh *lvs = usb_get_intfdata(intf); hot_reset_store() local 172 ret = lvs_rh_set_port_feature(hdev, lvs->portnum, hot_reset_store() 188 struct lvs_rh *lvs = usb_get_intfdata(intf); u2_timeout_store() local 201 ret = lvs_rh_set_port_feature(hdev, lvs->portnum | (val << 8), u2_timeout_store() 217 struct lvs_rh *lvs = usb_get_intfdata(intf); u1_timeout_store() local 230 ret = lvs_rh_set_port_feature(hdev, lvs->portnum | (val << 8), u1_timeout_store() 257 dev_err(dev, "failed to create lvs device\n"); get_dev_desc_store() 297 struct lvs_rh *lvs = container_of(work, struct lvs_rh, rh_work); lvs_rh_work() local 298 struct usb_interface *intf = lvs->intf; lvs_rh_work() 301 struct usb_hub_descriptor *descriptor = &lvs->descriptor; lvs_rh_work() 302 struct usb_port_status *port_status = &lvs->port_status; lvs_rh_work() 334 lvs->present = true; lvs_rh_work() 335 lvs->portnum = i; lvs_rh_work() 340 lvs->present = false; lvs_rh_work() 349 ret = usb_submit_urb(lvs->urb, GFP_KERNEL); lvs_rh_work() 356 struct lvs_rh *lvs = urb->context; lvs_rh_irq() local 358 queue_work(lvs->rh_queue, &lvs->rh_work); lvs_rh_irq() 367 struct lvs_rh *lvs; lvs_rh_probe() local 381 lvs = devm_kzalloc(&intf->dev, sizeof(*lvs), GFP_KERNEL); lvs_rh_probe() 382 if (!lvs) lvs_rh_probe() 385 lvs->intf = intf; lvs_rh_probe() 386 usb_set_intfdata(intf, lvs); lvs_rh_probe() 391 USB_DT_SS_HUB << 8, 0, &lvs->descriptor, lvs_rh_probe() 399 lvs->urb = usb_alloc_urb(0, GFP_KERNEL); lvs_rh_probe() 400 if (!lvs->urb) { lvs_rh_probe() 401 dev_err(&intf->dev, "couldn't allocate lvs urb\n"); lvs_rh_probe() 405 lvs->rh_queue = create_singlethread_workqueue("lvs_rh_queue"); lvs_rh_probe() 406 if (!lvs->rh_queue) { lvs_rh_probe() 412 INIT_WORK(&lvs->rh_work, lvs_rh_work); lvs_rh_probe() 422 usb_fill_int_urb(lvs->urb, hdev, pipe, &lvs->buffer[0], maxp, lvs_rh_probe() 423 lvs_rh_irq, lvs, endpoint->bInterval); lvs_rh_probe() 425 ret = usb_submit_urb(lvs->urb, GFP_KERNEL); lvs_rh_probe() 427 dev_err(&intf->dev, "couldn't submit lvs urb %d\n", ret); lvs_rh_probe() 436 destroy_workqueue(lvs->rh_queue); lvs_rh_probe() 438 usb_free_urb(lvs->urb); lvs_rh_probe() 444 struct lvs_rh *lvs = usb_get_intfdata(intf); lvs_rh_disconnect() local 447 destroy_workqueue(lvs->rh_queue); lvs_rh_disconnect() 448 usb_free_urb(lvs->urb); lvs_rh_disconnect() 452 .name = "lvs",
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-tegra20.c | 2128 MUX_PG(lvs, DISPLAYA, DISPLAYB, XIO, RSVD4, 0x1c, 26, 0x90, 24, -1, -1),
|
Completed in 139 milliseconds