Lines Matching refs:hci_dev
170 struct platform_device *hci_dev; in bcma_hcd_create_pdev() local
183 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in bcma_hcd_create_pdev()
185 if (!hci_dev) in bcma_hcd_create_pdev()
188 hci_dev->dev.parent = &dev->dev; in bcma_hcd_create_pdev()
189 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in bcma_hcd_create_pdev()
191 ret = platform_device_add_resources(hci_dev, hci_res, in bcma_hcd_create_pdev()
196 ret = platform_device_add_data(hci_dev, &ohci_pdata, in bcma_hcd_create_pdev()
199 ret = platform_device_add_data(hci_dev, &ehci_pdata, in bcma_hcd_create_pdev()
203 ret = platform_device_add(hci_dev); in bcma_hcd_create_pdev()
207 return hci_dev; in bcma_hcd_create_pdev()
210 platform_device_put(hci_dev); in bcma_hcd_create_pdev()