Searched refs:tx_delay_ps (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-ingenic.c | 237 u32 tx_delay_ps, rx_delay_ps; in ingenic_mac_probe() local 265 if (!of_property_read_u32(pdev->dev.of_node, "tx-clk-delay-ps", &tx_delay_ps)) { in ingenic_mac_probe() 266 if (tx_delay_ps >= MACPHYC_TX_DELAY_PS_MIN && in ingenic_mac_probe() 267 tx_delay_ps <= MACPHYC_TX_DELAY_PS_MAX) { in ingenic_mac_probe() 268 mac->tx_delay = tx_delay_ps * 1000; in ingenic_mac_probe() 270 dev_err(&pdev->dev, "Invalid TX clock delay: %dps\n", tx_delay_ps); in ingenic_mac_probe()
|
H A D | dwmac-mediatek.c | 458 u32 tx_delay_ps, rx_delay_ps; in mediatek_dwmac_config_dt() local 473 if (!of_property_read_u32(plat->np, "mediatek,tx-delay-ps", &tx_delay_ps)) { in mediatek_dwmac_config_dt() 474 if (tx_delay_ps < plat->variant->tx_delay_max) { in mediatek_dwmac_config_dt() 475 mac_delay->tx_delay = tx_delay_ps; in mediatek_dwmac_config_dt() 477 dev_err(plat->dev, "Invalid TX clock delay: %dps\n", tx_delay_ps); in mediatek_dwmac_config_dt()
|