Lines Matching refs:dev
25 #define to_artpec6_pcie(x) dev_get_drvdata((x)->dev)
109 dev_err(pci->dev, "UNKNOWN device type\n"); in artpec6_pcie_cpu_addr_fixup()
145 struct device *dev = pci->dev; in artpec6_pcie_wait_for_phy_a6() local
157 dev_err(dev, "PCIe clock manager did not leave idle state\n"); in artpec6_pcie_wait_for_phy_a6()
166 dev_err(dev, "PHY PLL did not lock\n"); in artpec6_pcie_wait_for_phy_a6()
172 struct device *dev = pci->dev; in artpec6_pcie_wait_for_phy_a7() local
185 dev_err(dev, "PCIe clock manager did not leave idle state\n"); in artpec6_pcie_wait_for_phy_a7()
196 dev_err(dev, "PHY did not enter Pn state\n"); in artpec6_pcie_wait_for_phy_a7()
250 dev_dbg(pci->dev, "Using reference clock: %s\n", in artpec6_pcie_init_phy_a7()
361 dev_err(pci->dev, "EP cannot trigger legacy IRQs\n"); in artpec6_pcie_raise_irq()
366 dev_err(pci->dev, "UNKNOWN IRQ type\n"); in artpec6_pcie_raise_irq()
379 struct device *dev = &pdev->dev; in artpec6_pcie_probe() local
388 data = of_device_get_match_data(dev); in artpec6_pcie_probe()
395 artpec6_pcie = devm_kzalloc(dev, sizeof(*artpec6_pcie), GFP_KERNEL); in artpec6_pcie_probe()
399 pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); in artpec6_pcie_probe()
403 pci->dev = dev; in artpec6_pcie_probe()
416 syscon_regmap_lookup_by_phandle(dev->of_node, in artpec6_pcie_probe()
446 dev_err(dev, "INVALID device type %d\n", artpec6_pcie->mode); in artpec6_pcie_probe()