Searched refs:ptp_node (Results 1 – 2 of 2) sorted by relevance
401 struct device_node *fman_node = NULL, *ptp_node = NULL; in dpaa_get_ts_info() local409 ptp_node = of_parse_phandle(fman_node, "ptimer-handle", 0); in dpaa_get_ts_info()413 if (ptp_node) { in dpaa_get_ts_info()414 ptp_dev = of_find_device_by_node(ptp_node); in dpaa_get_ts_info()415 of_node_put(ptp_node); in dpaa_get_ts_info()
1455 struct device_node *ptp_node; in gfar_get_ts_info() local1467 ptp_node = of_find_compatible_node(NULL, NULL, "fsl,etsec-ptp"); in gfar_get_ts_info()1468 if (ptp_node) { in gfar_get_ts_info()1469 ptp_dev = of_find_device_by_node(ptp_node); in gfar_get_ts_info()1470 of_node_put(ptp_node); in gfar_get_ts_info()