Lines Matching refs:vhcis
47 struct vhci *vhcis; variable
1502 pdev = vhcis[i].pdev; in del_platform_devices()
1505 vhcis[i].pdev = NULL; in del_platform_devices()
1520 vhcis = kcalloc(vhci_num_controllers, sizeof(struct vhci), GFP_KERNEL); in vhci_hcd_init()
1521 if (vhcis == NULL) in vhci_hcd_init()
1525 vhcis[i].pdev = platform_device_alloc(driver_name, i); in vhci_hcd_init()
1526 if (!vhcis[i].pdev) { in vhci_hcd_init()
1529 platform_device_put(vhcis[i--].pdev); in vhci_hcd_init()
1535 void *vhci = &vhcis[i]; in vhci_hcd_init()
1536 ret = platform_device_add_data(vhcis[i].pdev, &vhci, sizeof(void *)); in vhci_hcd_init()
1546 ret = platform_device_add(vhcis[i].pdev); in vhci_hcd_init()
1550 platform_device_del(vhcis[i--].pdev); in vhci_hcd_init()
1561 platform_device_put(vhcis[i].pdev); in vhci_hcd_init()
1563 kfree(vhcis); in vhci_hcd_init()
1571 kfree(vhcis); in vhci_hcd_exit()