/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-mediatek.c | 71 u32 rx_delay; member 152 mac_delay->rx_delay /= 550; in mt2712_delay_ps2stage() 160 mac_delay->rx_delay /= 170; in mt2712_delay_ps2stage() 177 mac_delay->rx_delay *= 550; in mt2712_delay_stage2ps() 185 mac_delay->rx_delay *= 170; in mt2712_delay_stage2ps() 206 delay_val |= FIELD_PREP(ETH_DLY_RXC_ENABLE, !!mac_delay->rx_delay); in mt2712_set_delay() 207 delay_val |= FIELD_PREP(ETH_DLY_RXC_STAGES, mac_delay->rx_delay); in mt2712_set_delay() 217 delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->rx_delay); in mt2712_set_delay() 218 delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->rx_delay); in mt2712_set_delay() 228 * received signal, so rx_delay/rx_inv are used to indicate in mt2712_set_delay() [all …]
|
D | dwmac-rk.c | 31 int tx_delay, int rx_delay); 68 int rx_delay; member 171 int tx_delay, int rx_delay) in rk3128_set_to_rgmii() argument 184 DELAY_ENABLE(RK3128, tx_delay, rx_delay) | in rk3128_set_to_rgmii() 185 RK3128_GMAC_CLK_RX_DL_CFG(rx_delay) | in rk3128_set_to_rgmii() 287 int tx_delay, int rx_delay) in rk3228_set_to_rgmii() argument 299 DELAY_ENABLE(RK3228, tx_delay, rx_delay)); in rk3228_set_to_rgmii() 302 RK3228_GMAC_CLK_RX_DL_CFG(rx_delay) | in rk3228_set_to_rgmii() 409 int tx_delay, int rx_delay) in rk3288_set_to_rgmii() argument 422 DELAY_ENABLE(RK3288, tx_delay, rx_delay) | in rk3288_set_to_rgmii() [all …]
|
D | dwmac-ingenic.c | 63 int rx_delay; member 214 if (mac->rx_delay == 0) in x2000_mac_set_mode() 218 FIELD_PREP(MACPHYC_RX_DELAY_MASK, (mac->rx_delay + 9750) / 19500 - 1); in x2000_mac_set_mode() 284 mac->rx_delay = rx_delay_ps * 1000; in ingenic_mac_probe()
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | rockchip-dwmac.yaml | 97 rx_delay: 136 rx_delay = <0x10>;
|
/Linux-v6.1/drivers/net/dsa/sja1105/ |
D | sja1105_clocking.c | 513 int rx_delay = priv->rgmii_rx_delay_ps[port]; in sja1105pqrs_setup_rgmii_delay() local 518 if (rx_delay) in sja1105pqrs_setup_rgmii_delay() 519 pad_mii_id.rxc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(rx_delay); in sja1105pqrs_setup_rgmii_delay() 536 if (rx_delay) { in sja1105pqrs_setup_rgmii_delay() 555 int rx_delay = priv->rgmii_rx_delay_ps[port]; in sja1110_setup_rgmii_delay() local 562 if (rx_delay) { in sja1110_setup_rgmii_delay() 563 pad_mii_id.rxc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(rx_delay); in sja1110_setup_rgmii_delay()
|
D | sja1105_main.c | 1136 int rx_delay = -1, tx_delay = -1; in sja1105_parse_rgmii_delays() local 1141 of_property_read_u32(port_dn, "rx-internal-delay-ps", &rx_delay); in sja1105_parse_rgmii_delays() 1144 if (rx_delay == -1 && tx_delay == -1 && priv->fixed_link[port]) { in sja1105_parse_rgmii_delays() 1153 rx_delay = 2000; in sja1105_parse_rgmii_delays() 1160 if (rx_delay < 0) in sja1105_parse_rgmii_delays() 1161 rx_delay = 0; in sja1105_parse_rgmii_delays() 1165 if ((rx_delay || tx_delay) && !priv->info->setup_rgmii_delay) { in sja1105_parse_rgmii_delays() 1170 if ((rx_delay && rx_delay < SJA1105_RGMII_DELAY_MIN_PS) || in sja1105_parse_rgmii_delays() 1172 (rx_delay > SJA1105_RGMII_DELAY_MAX_PS) || in sja1105_parse_rgmii_delays() 1180 priv->rgmii_rx_delay_ps[port] = rx_delay; in sja1105_parse_rgmii_delays()
|
/Linux-v6.1/drivers/net/phy/ |
D | nxp-c45-tja11xx.c | 224 u32 rx_delay; member 1111 u64 rx_delay = priv->rx_delay; in nxp_c45_set_delays() local 1126 degree = div_u64(rx_delay, PS_PER_DEGREE); in nxp_c45_set_delays() 1160 &priv->rx_delay); in nxp_c45_get_delays() 1162 priv->rx_delay = DEFAULT_ID_PS; in nxp_c45_get_delays() 1164 ret = nxp_c45_check_delay(phydev, priv->rx_delay); in nxp_c45_get_delays()
|
/Linux-v6.1/drivers/phy/microchip/ |
D | lan966x_serdes.c | 399 bool rx_delay = false; in lan966x_rgmii_setup() local 414 rx_delay = true; in lan966x_rgmii_setup() 422 HSIO_DLL_CFG_DLL_ENA_SET(rx_delay), in lan966x_rgmii_setup() 427 lan_rmw(HSIO_DLL_CFG_DELAY_ENA_SET(rx_delay), in lan966x_rgmii_setup()
|
/Linux-v6.1/drivers/staging/octeon/ |
D | ethernet.c | 645 bool rx_delay; in cvm_set_rgmii_delay() local 651 rx_delay = true; in cvm_set_rgmii_delay() 656 rx_delay = delay_value > 0; in cvm_set_rgmii_delay() 663 if (!rx_delay && !tx_delay) in cvm_set_rgmii_delay() 665 else if (!rx_delay) in cvm_set_rgmii_delay()
|
/Linux-v6.1/drivers/isdn/mISDN/ |
D | dsp_cmx.c | 1753 /* check current rx_delay */ 1758 if (delay < dsp->rx_delay[0]) 1759 dsp->rx_delay[0] = delay; 1769 delay = dsp->rx_delay[0]; 1772 if (delay > dsp->rx_delay[i]) 1773 delay = dsp->rx_delay[i]; 1777 * remove rx_delay only if we have delay AND we 1784 "%s lowest rx_delay of %d bytes for" 1834 dsp->rx_delay[i] = dsp->rx_delay[i - 1]; 1839 dsp->rx_delay[0] = CMX_BUFF_HALF; /* (infinite) delay */
|
D | dsp.h | 202 int rx_delay[MAX_SECONDS_JITTER_CHECK]; member
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | rockchip-radxa-dalang-carrier.dtsi | 73 rx_delay = <0x11>;
|
D | rk3229-evb.dts | 160 rx_delay = <0x10>;
|
D | rk3288-firefly-reload-core.dtsi | 63 rx_delay = <0x10>;
|
D | rk3288-rock2-som.dtsi | 73 rx_delay = <0x10>;
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3399-ficus.dts | 87 rx_delay = <0x11>;
|
D | rk3368-evb.dtsi | 140 rx_delay = <0x10>;
|
D | rk3368-geekbox.dts | 102 rx_delay = <0x10>;
|
D | rk3568-bpi-r2-pro.dts | 215 rx_delay = <0x0f>; 244 rx_delay = <0x2f>;
|
D | rk3368-lion.dtsi | 165 rx_delay = <0x10>;
|
D | rk3368-r88.dts | 174 rx_delay = <0x10>;
|
D | rk3328-a1.dts | 115 rx_delay = <0x11>;
|
D | rk3328-roc-cc.dts | 165 rx_delay = <0x18>;
|
D | rk3368-orion-r68-meta.dts | 190 rx_delay = <0x10>;
|
/Linux-v6.1/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.h | 233 u8 rx_delay; member
|