Home
last modified time | relevance | path

Searched refs:tx_delay (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-mediatek.c70 u32 tx_delay; member
150 mac_delay->tx_delay /= 550; in mt2712_delay_ps2stage()
158 mac_delay->tx_delay /= 170; in mt2712_delay_ps2stage()
175 mac_delay->tx_delay *= 550; in mt2712_delay_stage2ps()
183 mac_delay->tx_delay *= 170; in mt2712_delay_stage2ps()
201 delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay()
202 delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->tx_delay); in mt2712_set_delay()
220 delay_val |= FIELD_PREP(ETH_DLY_GTXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay()
221 delay_val |= FIELD_PREP(ETH_DLY_GTXC_STAGES, mac_delay->tx_delay); in mt2712_set_delay()
261 delay_val |= FIELD_PREP(ETH_DLY_GTXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay()
[all …]
Ddwmac-rk.c31 int tx_delay, int rx_delay);
79 int tx_delay; member
184 int tx_delay, int rx_delay) in rk3128_set_to_rgmii() argument
197 DELAY_ENABLE(RK3128, tx_delay, rx_delay) | in rk3128_set_to_rgmii()
199 RK3128_GMAC_CLK_TX_DL_CFG(tx_delay)); in rk3128_set_to_rgmii()
300 int tx_delay, int rx_delay) in rk3228_set_to_rgmii() argument
312 DELAY_ENABLE(RK3228, tx_delay, rx_delay)); in rk3228_set_to_rgmii()
316 RK3228_GMAC_CLK_TX_DL_CFG(tx_delay)); in rk3228_set_to_rgmii()
422 int tx_delay, int rx_delay) in rk3288_set_to_rgmii() argument
435 DELAY_ENABLE(RK3288, tx_delay, rx_delay) | in rk3288_set_to_rgmii()
[all …]
Ddwmac-ingenic.c63 int tx_delay; member
207 if (mac->tx_delay == 0) in x2000_mac_set_mode()
211 FIELD_PREP(MACPHYC_TX_DELAY_MASK, (mac->tx_delay + 9750) / 19500 - 1); in x2000_mac_set_mode()
272 mac->tx_delay = tx_delay_ps * 1000; in ingenic_mac_probe()
/linux-6.6.21/drivers/net/hamradio/
Dhdlcdrv.c226 s->ch_params.tx_delay = data[1]; in do_kiss_params()
227 PKP("TX delay = %ums", 10 * s->ch_params.tx_delay); in do_kiss_params()
356 s->hdlctx.numflags = tenms_to_2flags(s, s->ch_params.tx_delay); in start_tx()
509 bi.data.cp.tx_delay = s->ch_params.tx_delay; in hdlcdrv_siocdevprivate()
519 s->ch_params.tx_delay = bi.data.cp.tx_delay; in hdlcdrv_siocdevprivate()
D6pack.c111 unsigned char tx_delay; member
190 count = encode_sixpack(p, sp->xbuff, len, sp->tx_delay); in sp_encaps()
194 case 1: sp->tx_delay = p[1]; in sp_encaps()
602 sp->tx_delay = SIXP_TXDELAY; in sixpack_open()
786 int length, unsigned char tx_delay) in encode_sixpack() argument
795 buf[0] = tx_delay; in encode_sixpack()
Dbaycom_epp.c331 bc->ch_params.tx_delay = data[1]; in do_kiss_params()
332 PKP("TX delay = %ums", 10 * bc->ch_params.tx_delay); in do_kiss_params()
447 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_delay); in transmit()
1018 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_siocdevprivate()
1028 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_siocdevprivate()
/linux-6.6.21/arch/arm64/boot/dts/rockchip/
Drk3568-fastrhino-r68s.dts46 tx_delay = <0x3c>;
68 tx_delay = <0x4f>;
Drk3328-nanopi-r2c.dts19 tx_delay = <0x22>;
Drk3328-orangepi-r1-plus-lts.dts19 tx_delay = <0x19>;
Drk3568-nanopi-r5s.dts71 tx_delay = <0x3c>;
Drk3399-ficus.dts86 tx_delay = <0x28>;
Drk3368-evb.dtsi138 tx_delay = <0x30>;
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_clocking.c514 int tx_delay = priv->rgmii_tx_delay_ps[port]; in sja1105pqrs_setup_rgmii_delay() local
520 if (tx_delay) in sja1105pqrs_setup_rgmii_delay()
521 pad_mii_id.txc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(tx_delay); in sja1105pqrs_setup_rgmii_delay()
540 if (tx_delay) { in sja1105pqrs_setup_rgmii_delay()
556 int tx_delay = priv->rgmii_tx_delay_ps[port]; in sja1110_setup_rgmii_delay() local
569 if (tx_delay) { in sja1110_setup_rgmii_delay()
570 pad_mii_id.txc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(tx_delay); in sja1110_setup_rgmii_delay()
Dsja1105_main.c1135 int rx_delay = -1, tx_delay = -1; in sja1105_parse_rgmii_delays() local
1141 of_property_read_u32(port_dn, "tx-internal-delay-ps", &tx_delay); in sja1105_parse_rgmii_delays()
1143 if (rx_delay == -1 && tx_delay == -1 && priv->fixed_link[port]) { in sja1105_parse_rgmii_delays()
1156 tx_delay = 2000; in sja1105_parse_rgmii_delays()
1161 if (tx_delay < 0) in sja1105_parse_rgmii_delays()
1162 tx_delay = 0; in sja1105_parse_rgmii_delays()
1164 if ((rx_delay || tx_delay) && !priv->info->setup_rgmii_delay) { in sja1105_parse_rgmii_delays()
1170 (tx_delay && tx_delay < SJA1105_RGMII_DELAY_MIN_PS) || in sja1105_parse_rgmii_delays()
1172 (tx_delay > SJA1105_RGMII_DELAY_MAX_PS)) { in sja1105_parse_rgmii_delays()
1180 priv->rgmii_tx_delay_ps[port] = tx_delay; in sja1105_parse_rgmii_delays()
/linux-6.6.21/include/uapi/linux/
Dhdlcdrv.h27 int tx_delay; /* the transmitter keyup delay in 10ms units */ member
/linux-6.6.21/Documentation/devicetree/bindings/net/
Drockchip-dwmac.yaml94 tx_delay:
142 tx_delay = <0x30>;
/linux-6.6.21/drivers/staging/octeon/
Dethernet.c646 bool tx_delay; in cvm_set_rgmii_delay() local
652 tx_delay = true; in cvm_set_rgmii_delay()
660 tx_delay = delay_value > 0; in cvm_set_rgmii_delay()
663 if (!rx_delay && !tx_delay) in cvm_set_rgmii_delay()
667 else if (!tx_delay) in cvm_set_rgmii_delay()
/linux-6.6.21/drivers/phy/microchip/
Dlan966x_serdes.c398 bool tx_delay = false; in lan966x_rgmii_setup() local
418 tx_delay = true; in lan966x_rgmii_setup()
432 HSIO_DLL_CFG_DLL_ENA_SET(tx_delay), in lan966x_rgmii_setup()
437 lan_rmw(HSIO_DLL_CFG_DELAY_ENA_SET(tx_delay), in lan966x_rgmii_setup()
/linux-6.6.21/drivers/isdn/mISDN/
Ddsp_cmx.c1754 if (delay < dsp->tx_delay[0])
1755 dsp->tx_delay[0] = delay;
1790 delay = dsp->tx_delay[0];
1793 if (delay > dsp->tx_delay[i])
1794 delay = dsp->tx_delay[i];
1824 dsp->tx_delay[i] = dsp->tx_delay[i - 1];
1827 dsp->tx_delay[0] = CMX_BUFF_HALF; /* (infinite) delay */
Ddsp.h203 int tx_delay[MAX_SECONDS_JITTER_CHECK]; member
/linux-6.6.21/drivers/net/phy/
Dnxp-c45-tja11xx.c296 u32 tx_delay; member
1452 u64 tx_delay = priv->tx_delay; in nxp_c45_set_delays() local
1458 degree = div_u64(tx_delay, PS_PER_DEGREE); in nxp_c45_set_delays()
1486 &priv->tx_delay); in nxp_c45_get_delays()
1488 priv->tx_delay = DEFAULT_ID_PS; in nxp_c45_get_delays()
1490 ret = nxp_c45_check_delay(phydev, priv->tx_delay); in nxp_c45_get_delays()
/linux-6.6.21/arch/arm/boot/dts/rockchip/
Drv1126-edgeble-neu2-io.dts65 tx_delay = <0x2a>;
Drockchip-radxa-dalang-carrier.dtsi72 tx_delay = <0x28>;
Drk3229-evb.dts159 tx_delay = <0x30>;
/linux-6.6.21/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.h232 u8 tx_delay; member

1234