pdev_nr 63 drivers/usb/usbip/vhci_sysfs.c static ssize_t status_show_vhci(int pdev_nr, char *out) pdev_nr 65 drivers/usb/usbip/vhci_sysfs.c struct platform_device *pdev = vhcis[pdev_nr].pdev; pdev_nr 89 drivers/usb/usbip/vhci_sysfs.c pdev_nr * VHCI_PORTS + i, vdev); pdev_nr 98 drivers/usb/usbip/vhci_sysfs.c pdev_nr * VHCI_PORTS + VHCI_HC_PORTS + i, vdev); pdev_nr 107 drivers/usb/usbip/vhci_sysfs.c static ssize_t status_show_not_ready(int pdev_nr, char *out) pdev_nr 114 drivers/usb/usbip/vhci_sysfs.c (pdev_nr * VHCI_PORTS) + i, pdev_nr 122 drivers/usb/usbip/vhci_sysfs.c (pdev_nr * VHCI_PORTS) + VHCI_HC_PORTS + i, pdev_nr 151 drivers/usb/usbip/vhci_sysfs.c int pdev_nr; pdev_nr 156 drivers/usb/usbip/vhci_sysfs.c pdev_nr = status_name_to_id(attr->attr.name); pdev_nr 157 drivers/usb/usbip/vhci_sysfs.c if (pdev_nr < 0) pdev_nr 158 drivers/usb/usbip/vhci_sysfs.c out += status_show_not_ready(pdev_nr, out); pdev_nr 160 drivers/usb/usbip/vhci_sysfs.c out += status_show_vhci(pdev_nr, out); pdev_nr 211 drivers/usb/usbip/vhci_sysfs.c static int valid_port(__u32 *pdev_nr, __u32 *rhport) pdev_nr 213 drivers/usb/usbip/vhci_sysfs.c if (*pdev_nr >= vhci_num_controllers) { pdev_nr 214 drivers/usb/usbip/vhci_sysfs.c pr_err("pdev %u\n", *pdev_nr); pdev_nr 217 drivers/usb/usbip/vhci_sysfs.c *pdev_nr = array_index_nospec(*pdev_nr, vhci_num_controllers); pdev_nr 231 drivers/usb/usbip/vhci_sysfs.c __u32 port = 0, pdev_nr = 0, rhport = 0; pdev_nr 239 drivers/usb/usbip/vhci_sysfs.c pdev_nr = port_to_pdev_nr(port); pdev_nr 242 drivers/usb/usbip/vhci_sysfs.c if (!valid_port(&pdev_nr, &rhport)) pdev_nr 245 drivers/usb/usbip/vhci_sysfs.c hcd = platform_get_drvdata(vhcis[pdev_nr].pdev); pdev_nr 268 drivers/usb/usbip/vhci_sysfs.c static int valid_args(__u32 *pdev_nr, __u32 *rhport, pdev_nr 271 drivers/usb/usbip/vhci_sysfs.c if (!valid_port(pdev_nr, rhport)) { pdev_nr 308 drivers/usb/usbip/vhci_sysfs.c __u32 port = 0, pdev_nr = 0, rhport = 0, devid = 0, speed = 0; pdev_nr 324 drivers/usb/usbip/vhci_sysfs.c pdev_nr = port_to_pdev_nr(port); pdev_nr 328 drivers/usb/usbip/vhci_sysfs.c port, pdev_nr, rhport); pdev_nr 333 drivers/usb/usbip/vhci_sysfs.c if (!valid_args(&pdev_nr, &rhport, speed)) pdev_nr 336 drivers/usb/usbip/vhci_sysfs.c hcd = platform_get_drvdata(vhcis[pdev_nr].pdev); pdev_nr 377 drivers/usb/usbip/vhci_sysfs.c pdev_nr, rhport, sockfd);