Lines Matching refs:host_dev
52 dsa_switch_probe(struct device *host_dev, int sw_addr, char **_name) in dsa_switch_probe() argument
67 name = drv->probe(host_dev, sw_addr); in dsa_switch_probe()
377 struct device *parent, struct device *host_dev) in dsa_switch_setup() argument
388 drv = dsa_switch_probe(host_dev, pd->sw_addr, &name); in dsa_switch_setup()
410 ds->master_dev = host_dev; in dsa_switch_setup()
674 if (pd->chip[i].host_dev) in dsa_of_free_platform_data()
675 put_device(pd->chip[i].host_dev); in dsa_of_free_platform_data()
741 cd->host_dev = get_device(&mdio_bus->dev); in dsa_of_probe()
766 put_device(cd->host_dev); in dsa_of_probe()
767 cd->host_dev = &mdio_bus_switch->dev; in dsa_of_probe()
854 ds = dsa_switch_setup(dst, i, parent, pd->chip[i].host_dev); in dsa_setup_dst()