Searched refs:vhcis (Results 1 – 3 of 3) sorted by relevance
47 struct vhci *vhcis; variable1502 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()[all …]
65 struct platform_device *pdev = vhcis[pdev_nr].pdev; in status_show_vhci()250 hcd = platform_get_drvdata(vhcis[pdev_nr].pdev); in detach_store()343 hcd = platform_get_drvdata(vhcis[pdev_nr].pdev); in attach_store()
122 extern struct vhci *vhcis;