Lines Matching refs:sysdev
191 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
216 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
217 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
218 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
221 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
226 if (!sysdev) in xhci_plat_probe()
227 sysdev = &pdev->dev; in xhci_plat_probe()
230 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
232 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe()
235 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
239 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(32)); in xhci_plat_probe()
248 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
304 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
330 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
342 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe()