Home
last modified time | relevance | path

Searched refs:ptpclk (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c242 info->max_adj = clk_get_rate(pdata->ptpclk); in xgbe_ptp_register()
263 pdata->tstamp_addend = div_u64(dividend, clk_get_rate(pdata->ptpclk)); in xgbe_ptp_register()
Dxgbe-main.c276 pdata->ptpclk = devm_clk_get(dev, XGBE_PTP_CLOCK); in xgbe_probe()
277 if (IS_ERR(pdata->ptpclk)) { in xgbe_probe()
279 ret = PTR_ERR(pdata->ptpclk); in xgbe_probe()
Dxgbe.h661 struct clk *ptpclk; member
Dxgbe-drv.c1110 ret = clk_prepare_enable(pdata->ptpclk); in xgbe_open()
1159 clk_disable_unprepare(pdata->ptpclk); in xgbe_open()
1194 clk_disable_unprepare(pdata->ptpclk); in xgbe_close()