Lines Matching refs:sysdev
228 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
253 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
254 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
255 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
258 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
263 if (!sysdev) in xhci_plat_probe()
264 sysdev = &pdev->dev; in xhci_plat_probe()
267 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
269 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe()
272 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
276 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(32)); in xhci_plat_probe()
285 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
341 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
374 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
390 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe()