Lines Matching refs:hci_dev
254 struct platform_device *hci_dev; in bcma_hcd_create_pdev() local
267 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in bcma_hcd_create_pdev()
269 if (!hci_dev) in bcma_hcd_create_pdev()
272 hci_dev->dev.parent = &dev->dev; in bcma_hcd_create_pdev()
273 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in bcma_hcd_create_pdev()
275 ret = platform_device_add_resources(hci_dev, hci_res, in bcma_hcd_create_pdev()
280 ret = platform_device_add_data(hci_dev, &ohci_pdata, in bcma_hcd_create_pdev()
283 ret = platform_device_add_data(hci_dev, &ehci_pdata, in bcma_hcd_create_pdev()
287 ret = platform_device_add(hci_dev); in bcma_hcd_create_pdev()
291 return hci_dev; in bcma_hcd_create_pdev()
294 platform_device_put(hci_dev); in bcma_hcd_create_pdev()