Searched refs:switch_node (Results 1 – 3 of 3) sorted by relevance
293 struct fwnode_handle *switch_node; member1113 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()
1416 struct device_node *switch_node; in felix_parse_dt() local1420 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()
1241 struct device_node *switch_node = dev->of_node; in sja1105_parse_dt() local1245 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()