Lines Matching refs:hci_dev
305 struct platform_device *hci_dev;
318 hci_dev = platform_device_alloc(name, 0);
319 if (!hci_dev)
322 hci_dev->dev.parent = &dev->dev;
323 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask;
325 ret = platform_device_add_resources(hci_dev, hci_res,
330 ret = platform_device_add_data(hci_dev, data, size);
333 ret = platform_device_add(hci_dev);
337 return hci_dev;
340 platform_device_put(hci_dev);