Lines Matching refs:sysdev
180 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
205 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
206 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
207 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
210 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
215 if (!sysdev) in xhci_plat_probe()
216 sysdev = &pdev->dev; in xhci_plat_probe()
218 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
220 ret = dma_coerce_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
222 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
230 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
308 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
320 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe()
333 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()