Home
last modified time | relevance | path

Searched full:tx_delay (Results 1 – 25 of 104) sorted by relevance

12345

/openbmc/u-boot/drivers/net/
H A Dgmac_rockchip.c40 int tx_delay; member
63 pdata->tx_delay = dev_read_u32_default(dev, "tx_delay", -ENOENT); in gmac_rockchip_ofdata_to_platdata()
67 if (pdata->tx_delay == -ENOENT) in gmac_rockchip_ofdata_to_platdata()
68 pdata->tx_delay = dev_read_u32_default(dev, "tx-delay", 0x30); in gmac_rockchip_ofdata_to_platdata()
294 DELAY_ENABLE(RK3228, pdata->tx_delay, pdata->rx_delay)); in rk3228_gmac_set_to_rgmii()
300 pdata->tx_delay << RK3228_CLK_TX_DL_CFG_GMAC_SHIFT); in rk3228_gmac_set_to_rgmii()
317 DELAY_ENABLE(RK3288, pdata->rx_delay, pdata->tx_delay) | in rk3288_gmac_set_to_rgmii()
319 pdata->tx_delay << RK3288_CLK_TX_DL_CFG_GMAC_SHIFT); in rk3288_gmac_set_to_rgmii()
356 DELAY_ENABLE(RK3328, pdata->tx_delay, pdata->rx_delay)); in rk3328_gmac_set_to_rgmii()
362 pdata->tx_delay << RK3328_CLK_TX_DL_CFG_GMAC_SHIFT); in rk3328_gmac_set_to_rgmii()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A 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 …]
H A 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 …]
H A 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()
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3568-fastrhino-r68s.dts46 tx_delay = <0x3c>;
68 tx_delay = <0x4f>;
H A Drk3328-nanopi-r2c.dts19 tx_delay = <0x22>;
H A Drk3328-orangepi-r1-plus-lts.dts19 tx_delay = <0x19>;
H A Drk3568-nanopi-r5s.dts71 tx_delay = <0x3c>;
H A Drk3399-ficus.dts86 tx_delay = <0x28>;
H A Drk3568-roc-pc.dts193 tx_delay = <0x3c>;
215 tx_delay = <0x4f>;
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Drockchip-dwmac.yaml94 tx_delay:
142 tx_delay = <0x30>;
/openbmc/linux/drivers/net/dsa/sja1105/
H A 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()
/openbmc/linux/drivers/phy/microchip/
H A 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()
/openbmc/linux/drivers/net/hamradio/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/staging/octeon/
H A 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()
/openbmc/u-boot/arch/arm/dts/
H A Drk3399-ficus.dts40 tx_delay = <0x28>;
H A Drk3229-evb.dts63 tx_delay = <0x30>;
H A Drk3368-lion.dts77 tx_delay = <0x10>;
/openbmc/linux/drivers/isdn/mISDN/
H A Ddsp_cmx.c1749 /* check current tx_delay */
1754 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];
1804 "%s lowest tx_delay of %d bytes for"
1824 dsp->tx_delay[i] = dsp->tx_delay[i - 1];
1827 dsp->tx_delay[0] = CMX_BUFF_HALF; /* (infinite) delay */
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drv1126-edgeble-neu2-io.dts65 tx_delay = <0x2a>;
H A Drockchip-radxa-dalang-carrier.dtsi72 tx_delay = <0x28>;
/openbmc/linux/drivers/net/phy/
H A 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()
/openbmc/linux/include/uapi/linux/
H A Dhdlcdrv.h27 int tx_delay; /* the transmitter keyup delay in 10ms units */ member

12345