Home
last modified time | relevance | path

Searched full:rx_delay (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-mediatek.c71 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 …]
Ddwmac-rk.c31 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 …]
Ddwmac-ingenic.c63 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/
Drockchip-dwmac.yaml97 rx_delay:
136 rx_delay = <0x10>;
/Linux-v6.1/drivers/net/dsa/sja1105/
Dsja1105_clocking.c513 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()
Dsja1105_main.c1136 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/
Dnxp-c45-tja11xx.c224 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/
Dlan966x_serdes.c399 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/
Dethernet.c645 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/
Ddsp_cmx.c1753 /* 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 */
Ddsp.h202 int rx_delay[MAX_SECONDS_JITTER_CHECK]; member
/Linux-v6.1/arch/arm/boot/dts/
Drockchip-radxa-dalang-carrier.dtsi73 rx_delay = <0x11>;
Drk3229-evb.dts160 rx_delay = <0x10>;
Drk3288-firefly-reload-core.dtsi63 rx_delay = <0x10>;
Drk3288-rock2-som.dtsi73 rx_delay = <0x10>;
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3399-ficus.dts87 rx_delay = <0x11>;
Drk3368-evb.dtsi140 rx_delay = <0x10>;
Drk3368-geekbox.dts102 rx_delay = <0x10>;
Drk3568-bpi-r2-pro.dts215 rx_delay = <0x0f>;
244 rx_delay = <0x2f>;
Drk3368-lion.dtsi165 rx_delay = <0x10>;
Drk3368-r88.dts174 rx_delay = <0x10>;
Drk3328-a1.dts115 rx_delay = <0x11>;
Drk3328-roc-cc.dts165 rx_delay = <0x18>;
Drk3368-orion-r68-meta.dts190 rx_delay = <0x10>;
/Linux-v6.1/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.h233 u8 rx_delay; member

123