Home
last modified time | relevance | path

Searched refs:vhci_num_controllers (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/usbip/
H A Dvhci_sysfs.c174 out += sprintf(out, "%d\n", VHCI_PORTS * vhci_num_controllers); in nports_show()
218 if (*pdev_nr >= vhci_num_controllers) { in valid_port()
222 *pdev_nr = array_index_nospec(*pdev_nr, vhci_num_controllers); in valid_port()
478 status_attrs = kcalloc(vhci_num_controllers, sizeof(struct status_attr), in init_status_attrs()
483 for (id = 0; id < vhci_num_controllers; id++) in init_status_attrs()
503 attrs = kcalloc((vhci_num_controllers + 5), sizeof(struct attribute *), in vhci_init_attr_group()
517 for (i = 0; i < vhci_num_controllers; i++) in vhci_init_attr_group()
H A Dvhci_hcd.c46 int vhci_num_controllers = VHCI_NR_HCS; variable
1502 for (i = 0; i < vhci_num_controllers; i++) { in del_platform_devices()
1518 if (vhci_num_controllers < 1) in vhci_hcd_init()
1519 vhci_num_controllers = 1; in vhci_hcd_init()
1521 vhcis = kcalloc(vhci_num_controllers, sizeof(struct vhci), GFP_KERNEL); in vhci_hcd_init()
1525 for (i = 0; i < vhci_num_controllers; i++) { in vhci_hcd_init()
1535 for (i = 0; i < vhci_num_controllers; i++) { in vhci_hcd_init()
1546 for (i = 0; i < vhci_num_controllers; i++) { in vhci_hcd_init()
1561 for (i = 0; i < vhci_num_controllers; i++) in vhci_hcd_init()
H A Dvhci.h121 extern int vhci_num_controllers;