Lines Matching refs:hci_dev
105 struct platform_device *hci_dev;
118 hci_dev = platform_device_alloc(ohci ? "ohci-platform" :
120 if (!hci_dev)
123 hci_dev->dev.parent = dev->dev;
124 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask;
126 ret = platform_device_add_resources(hci_dev, hci_res,
131 ret = platform_device_add_data(hci_dev, &ohci_pdata,
134 ret = platform_device_add_data(hci_dev, &ehci_pdata,
138 ret = platform_device_add(hci_dev);
142 return hci_dev;
145 platform_device_put(hci_dev);