Lines Matching refs:kdev

190 	struct device *kdev = &priv->pdev->dev;  in bcmgenet_mii_config()  local
259 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
283 dev_info(kdev, "configuring instance for %s\n", phy_name); in bcmgenet_mii_config()
291 struct device *kdev = &priv->pdev->dev; in bcmgenet_mii_probe() local
292 struct device_node *dn = kdev->of_node; in bcmgenet_mii_probe()
345 if (has_acpi_companion(kdev)) { in bcmgenet_mii_probe()
402 struct device *kdev = &priv->pdev->dev; in bcmgenet_mii_of_find_mdio() local
412 dev_err(kdev, "unable to find MDIO bus node\n"); in bcmgenet_mii_of_find_mdio()
422 struct device *kdev = &priv->pdev->dev; in bcmgenet_mii_pdata_init() local
423 struct bcmgenet_platform_data *pd = kdev->platform_data; in bcmgenet_mii_pdata_init()
515 struct device *kdev = &priv->pdev->dev; in bcmgenet_phy_interface_init() local
516 int phy_mode = device_get_phy_mode(kdev); in bcmgenet_phy_interface_init()
519 dev_err(kdev, "invalid PHY mode property\n"); in bcmgenet_phy_interface_init()
575 struct device *kdev = &priv->pdev->dev; in bcmgenet_mii_pd_init() local
576 struct bcmgenet_platform_data *pd = kdev->platform_data; in bcmgenet_mii_pd_init()
593 dev_err(kdev, "failed to register PHY device\n"); in bcmgenet_mii_pd_init()
611 dev_err(kdev, "failed to register fixed PHY device\n"); in bcmgenet_mii_pd_init()
627 struct device *kdev = &priv->pdev->dev; in bcmgenet_mii_bus_init() local
628 struct device_node *dn = kdev->of_node; in bcmgenet_mii_bus_init()
632 else if (has_acpi_companion(kdev)) in bcmgenet_mii_bus_init()