/openbmc/u-boot/drivers/net/ |
H A D | gmac_rockchip.c | 40 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 D | dwmac-mediatek.c | 70 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 D | dwmac-rk.c | 31 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 D | dwmac-ingenic.c | 63 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 D | rk3568-fastrhino-r68s.dts | 46 tx_delay = <0x3c>; 68 tx_delay = <0x4f>;
|
H A D | rk3328-nanopi-r2c.dts | 19 tx_delay = <0x22>;
|
H A D | rk3328-orangepi-r1-plus-lts.dts | 19 tx_delay = <0x19>;
|
H A D | rk3568-nanopi-r5s.dts | 71 tx_delay = <0x3c>;
|
H A D | rk3399-ficus.dts | 86 tx_delay = <0x28>;
|
H A D | rk3568-roc-pc.dts | 193 tx_delay = <0x3c>; 215 tx_delay = <0x4f>;
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | rockchip-dwmac.yaml | 94 tx_delay: 142 tx_delay = <0x30>;
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_clocking.c | 514 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 D | lan966x_serdes.c | 398 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 D | hdlcdrv.c | 226 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 D | 6pack.c | 111 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 D | baycom_epp.c | 331 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 D | ethernet.c | 646 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 D | rk3399-ficus.dts | 40 tx_delay = <0x28>;
|
H A D | rk3229-evb.dts | 63 tx_delay = <0x30>;
|
H A D | rk3368-lion.dts | 77 tx_delay = <0x10>;
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | dsp_cmx.c | 1749 /* 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 D | rv1126-edgeble-neu2-io.dts | 65 tx_delay = <0x2a>;
|
H A D | rockchip-radxa-dalang-carrier.dtsi | 72 tx_delay = <0x28>;
|
/openbmc/linux/drivers/net/phy/ |
H A D | nxp-c45-tja11xx.c | 296 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 D | hdlcdrv.h | 27 int tx_delay; /* the transmitter keyup delay in 10ms units */ member
|