Home
last modified time | relevance | path

Searched refs:rx_delay_ps (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-meson8b.c96 u32 rx_delay_ps; member
296 dwmac->rx_delay_ps / 200); in meson8b_init_rgmii_delays()
297 else if (dwmac->rx_delay_ps == 2000) in meson8b_init_rgmii_delays()
439 &dwmac->rx_delay_ps)) { in meson8b_dwmac_probe()
442 &dwmac->rx_delay_ps)) in meson8b_dwmac_probe()
444 dwmac->rx_delay_ps *= 1000; in meson8b_dwmac_probe()
448 if (dwmac->rx_delay_ps > 3000 || dwmac->rx_delay_ps % 200) { in meson8b_dwmac_probe()
455 if (dwmac->rx_delay_ps != 0 && dwmac->rx_delay_ps != 2000) { in meson8b_dwmac_probe()
Ddwmac-ingenic.c237 u32 tx_delay_ps, rx_delay_ps; in ingenic_mac_probe() local
280 if (!of_property_read_u32(pdev->dev.of_node, "rx-clk-delay-ps", &rx_delay_ps)) { in ingenic_mac_probe()
281 if (rx_delay_ps >= MACPHYC_RX_DELAY_PS_MIN && in ingenic_mac_probe()
282 rx_delay_ps <= MACPHYC_RX_DELAY_PS_MAX) { in ingenic_mac_probe()
283 mac->rx_delay = rx_delay_ps * 1000; in ingenic_mac_probe()
285 dev_err(&pdev->dev, "Invalid RX clock delay: %dps\n", rx_delay_ps); in ingenic_mac_probe()
Ddwmac-mediatek.c458 u32 tx_delay_ps, rx_delay_ps; in mediatek_dwmac_config_dt() local
482 if (!of_property_read_u32(plat->np, "mediatek,rx-delay-ps", &rx_delay_ps)) { in mediatek_dwmac_config_dt()
483 if (rx_delay_ps < plat->variant->rx_delay_max) { in mediatek_dwmac_config_dt()
484 mac_delay->rx_delay = rx_delay_ps; in mediatek_dwmac_config_dt()
486 dev_err(plat->dev, "Invalid RX clock delay: %dps\n", rx_delay_ps); in mediatek_dwmac_config_dt()