Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c401 struct device_node *fman_node = NULL, *ptp_node = NULL; in dpaa_get_ts_info() local
409 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()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1455 struct device_node *ptp_node; in gfar_get_ts_info() local
1467 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()