Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Danx7411.c293 struct fwnode_handle *switch_node; member
1113 fwnode_handle_put(ctx->switch_node); in anx7411_unregister_switch()
1122 ctx->switch_node = device_get_named_child_node(dev, "orientation_switch"); in anx7411_typec_switch_probe()
1123 if (!ctx->switch_node) in anx7411_typec_switch_probe()
1126 ret = anx7411_register_switch(ctx, dev, ctx->switch_node); in anx7411_typec_switch_probe()
1129 fwnode_handle_put(ctx->switch_node); in anx7411_typec_switch_probe()
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1416 struct device_node *switch_node; in felix_parse_dt() local
1420 switch_node = dev->of_node; in felix_parse_dt()
1422 ports_node = of_get_child_by_name(switch_node, "ports"); in felix_parse_dt()
1424 ports_node = of_get_child_by_name(switch_node, "ethernet-ports"); in felix_parse_dt()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c1241 struct device_node *switch_node = dev->of_node; in sja1105_parse_dt() local
1245 ports_node = of_get_child_by_name(switch_node, "ports"); in sja1105_parse_dt()
1247 ports_node = of_get_child_by_name(switch_node, "ethernet-ports"); in sja1105_parse_dt()