Searched refs:rx_delay_ps (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-meson8b.c | 96 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()
|
D | dwmac-ingenic.c | 237 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()
|
D | dwmac-mediatek.c | 458 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()
|