Home
last modified time | relevance | path

Searched refs:switch_node (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/usb/typec/
H A Danx7411.c292 struct fwnode_handle *switch_node; member
1112 fwnode_handle_put(ctx->switch_node); in anx7411_unregister_switch()
1121 ctx->switch_node = device_get_named_child_node(dev, "orientation_switch"); in anx7411_typec_switch_probe()
1122 if (!ctx->switch_node) in anx7411_typec_switch_probe()
1125 ret = anx7411_register_switch(ctx, dev, ctx->switch_node); in anx7411_typec_switch_probe()
1128 fwnode_handle_put(ctx->switch_node); in anx7411_typec_switch_probe()
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_mdio.c465 struct device_node *switch_node = ds->dev->of_node; in sja1105_mdiobus_register() local
473 mdio_node = of_get_child_by_name(switch_node, "mdios"); in sja1105_mdiobus_register()
H A Dsja1105_main.c1246 struct device_node *switch_node = dev->of_node; in sja1105_parse_dt() local
1250 ports_node = of_get_child_by_name(switch_node, "ports"); in sja1105_parse_dt()
1252 ports_node = of_get_child_by_name(switch_node, "ethernet-ports"); in sja1105_parse_dt()
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1302 struct device_node *switch_node; in felix_parse_dt() local
1306 switch_node = dev->of_node; in felix_parse_dt()
1308 ports_node = of_get_child_by_name(switch_node, "ports"); in felix_parse_dt()
1310 ports_node = of_get_child_by_name(switch_node, "ethernet-ports"); in felix_parse_dt()