Home
last modified time | relevance | path

Searched refs:cpts_node (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/ti/
Dcpsw_priv.c441 struct device_node *cpts_node; in cpsw_init_common() local
537 cpts_node = of_get_child_by_name(cpsw->dev->of_node, "cpts"); in cpsw_init_common()
538 if (!cpts_node) in cpsw_init_common()
539 cpts_node = cpsw->dev->of_node; in cpsw_init_common()
541 cpsw->cpts = cpts_create(cpsw->dev, cpts_regs, cpts_node, in cpsw_init_common()
547 of_node_put(cpts_node); in cpsw_init_common()
Dnetcp_ethss.c3547 struct device_node *interfaces, *interface, *cpts_node; in gbe_probe() local
3707 cpts_node = of_get_child_by_name(node, "cpts"); in gbe_probe()
3708 if (!cpts_node) in gbe_probe()
3709 cpts_node = of_node_get(node); in gbe_probe()
3712 cpts_node, 0); in gbe_probe()
3713 of_node_put(cpts_node); in gbe_probe()