Lines Matching refs:sysdev
160 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
183 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
184 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
185 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
188 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
193 if (!sysdev) in xhci_plat_probe()
194 sysdev = &pdev->dev; in xhci_plat_probe()
197 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
199 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe()
202 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
206 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(32)); in xhci_plat_probe()
215 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
270 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
296 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
308 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe()