Lines Matching refs:sysdev
156 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
181 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
182 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
183 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
186 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
191 if (!sysdev) in xhci_plat_probe()
192 sysdev = &pdev->dev; in xhci_plat_probe()
195 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
197 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe()
200 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
204 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(32)); in xhci_plat_probe()
213 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
269 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
295 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()