Lines Matching refs:path
37 info->path.bus = libusb_get_bus_number(ldev); in usb_get_native_devinfo()
38 info->path.depth = libusb_get_port_numbers(ldev, info->path.path, in usb_get_native_devinfo()
44 info->path.bus, usb_dev_path(&info->path)); in usb_get_native_devinfo()
49 if (ROOTHUB_PORT(info->path) == 0) in usb_get_native_devinfo()
53 else if (info->path.path[1] == 0) in usb_get_native_devinfo()
59 info->maxchild = usb_get_hub_port_num(&info->path); in usb_get_native_devinfo()
62 " %d-%s\r\n", info->path.bus, in usb_get_native_devinfo()
63 usb_dev_path(&info->path)); in usb_get_native_devinfo()
102 if (!visit[i] && di.path.depth == depth && in internal_scan()
103 ROOTHUB_PORT(di.path)) { in internal_scan()
115 if (!visit[i] && di.path.depth > depth && ROOTHUB_PORT(di.path)) in internal_scan()
198 "[%d-%d %d] st %d\r\n", __func__, info->path.bus, in usb_dev_comp_cb()
199 usb_dev_path(&info->path), trn->actual_length, in usb_dev_comp_cb()
222 if (usb_native_is_device_existed(&info->path) == 0) in usb_dev_comp_cb()
535 struct usb_devpath *path; in usb_dev_native_toggle_if() local
539 path = &udev->info.path; in usb_dev_native_toggle_if()
542 UPRINTF(LWRN, "%d-%s: can't get config\r\n", path->bus, in usb_dev_native_toggle_if()
543 usb_dev_path(path)); in usb_dev_native_toggle_if()
564 path->bus, usb_dev_path(path), c, i, in usb_dev_native_toggle_if()
569 UPRINTF(LWRN, "%d-%s fail to %s rc %d\r\n", path->bus, in usb_dev_native_toggle_if()
570 usb_dev_path(path), claim == 1 ? "claim" : in usb_dev_native_toggle_if()
581 struct usb_devpath *path; in usb_dev_native_toggle_if_drivers() local
585 path = &udev->info.path; in usb_dev_native_toggle_if_drivers()
588 UPRINTF(LWRN, "%d-%s: can't get config\r\n", path->bus, in usb_dev_native_toggle_if_drivers()
589 usb_dev_path(path)); in usb_dev_native_toggle_if_drivers()
608 "\r\n", path->bus, usb_dev_path(path), in usb_dev_native_toggle_if_drivers()
613 UPRINTF(LWRN, "%d-%s fail to %s rc %d\r\n", path->bus, in usb_dev_native_toggle_if_drivers()
614 usb_dev_path(path), attach == 1 ? "attach" : in usb_dev_native_toggle_if_drivers()
666 UPRINTF(LWRN, "%d-%s: fail to set config\r\n", udev->info.path.bus, in usb_dev_set_config()
667 usb_dev_path(&udev->info.path)); in usb_dev_set_config()
678 UPRINTF(LDBG, "%d-%s set if, iface %d alt %d\r\n", udev->info.path.bus, in usb_dev_set_if()
679 usb_dev_path(&udev->info.path), iface, alt); in usb_dev_set_if()
696 udev->info.path.bus, in usb_dev_set_if()
697 usb_dev_path(&udev->info.path), in usb_dev_set_if()
823 info->path.bus, usb_dev_path(&info->path), size, epctx, in usb_dev_data()
900 struct usb_devpath *path; in clear_uas_desc() local
908 path = &udev->info.path; in clear_uas_desc()
920 path->bus, usb_dev_path(path)); in clear_uas_desc()
959 "data %d\r\n", udev->info.path.bus, in usb_dev_request()
960 usb_dev_path(&udev->info.path), request_type, request, in usb_dev_request()
1043 udev->info.path.bus, usb_dev_path(&udev->info.path), in usb_dev_request()
1062 di->path.bus, usb_dev_path(&di->path), di->pid, in usb_dev_init()
1072 if (ROOTHUB_PORT(di->path) == 0) in usb_dev_init()
1178 sz = sizeof(udev->info.path.bus); in usb_dev_info()
1179 pv = &udev->info.path.bus; in usb_dev_info()
1182 sz = sizeof(udev->info.path.path[0]); in usb_dev_info()
1183 pv = &udev->info.path.path[0]; in usb_dev_info()