/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-mediatek.c | 70 u32 tx_delay; member 151 mac_delay->tx_delay /= 550; in mt2712_delay_ps2stage() 159 mac_delay->tx_delay /= 170; in mt2712_delay_ps2stage() 176 mac_delay->tx_delay *= 550; in mt2712_delay_stage2ps() 184 mac_delay->tx_delay *= 170; in mt2712_delay_stage2ps() 202 delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay() 203 delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->tx_delay); in mt2712_set_delay() 221 delay_val |= FIELD_PREP(ETH_DLY_GTXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay() 222 delay_val |= FIELD_PREP(ETH_DLY_GTXC_STAGES, mac_delay->tx_delay); in mt2712_set_delay() 262 delay_val |= FIELD_PREP(ETH_DLY_GTXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay() [all …]
|
D | dwmac-rk.c | 31 int tx_delay, int rx_delay); 67 int tx_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() 186 RK3128_GMAC_CLK_TX_DL_CFG(tx_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() 303 RK3228_GMAC_CLK_TX_DL_CFG(tx_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 | 64 int tx_delay; member 208 if (mac->tx_delay == 0) in x2000_mac_set_mode() 212 FIELD_PREP(MACPHYC_TX_DELAY_MASK, (mac->tx_delay + 9750) / 19500 - 1); in x2000_mac_set_mode() 273 mac->tx_delay = tx_delay_ps * 1000; in ingenic_mac_probe()
|
/Linux-v6.1/drivers/net/hamradio/ |
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()
|
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()
|
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() 1024 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_siocdevprivate() 1034 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_siocdevprivate()
|
/Linux-v6.1/drivers/net/dsa/sja1105/ |
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()
|
D | sja1105_main.c | 1136 int rx_delay = -1, tx_delay = -1; in sja1105_parse_rgmii_delays() local 1142 of_property_read_u32(port_dn, "tx-internal-delay-ps", &tx_delay); in sja1105_parse_rgmii_delays() 1144 if (rx_delay == -1 && tx_delay == -1 && priv->fixed_link[port]) { in sja1105_parse_rgmii_delays() 1157 tx_delay = 2000; in sja1105_parse_rgmii_delays() 1162 if (tx_delay < 0) in sja1105_parse_rgmii_delays() 1163 tx_delay = 0; in sja1105_parse_rgmii_delays() 1165 if ((rx_delay || tx_delay) && !priv->info->setup_rgmii_delay) { in sja1105_parse_rgmii_delays() 1171 (tx_delay && tx_delay < SJA1105_RGMII_DELAY_MIN_PS) || in sja1105_parse_rgmii_delays() 1173 (tx_delay > SJA1105_RGMII_DELAY_MAX_PS)) { in sja1105_parse_rgmii_delays() 1181 priv->rgmii_tx_delay_ps[port] = tx_delay; in sja1105_parse_rgmii_delays()
|
/Linux-v6.1/include/uapi/linux/ |
D | hdlcdrv.h | 27 int tx_delay; /* the transmitter keyup delay in 10ms units */ member
|
/Linux-v6.1/drivers/staging/octeon/ |
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()
|
/Linux-v6.1/drivers/phy/microchip/ |
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()
|
/Linux-v6.1/drivers/net/phy/ |
D | nxp-c45-tja11xx.c | 223 u32 tx_delay; member 1110 u64 tx_delay = priv->tx_delay; in nxp_c45_set_delays() local 1116 degree = div_u64(tx_delay, PS_PER_DEGREE); in nxp_c45_set_delays() 1144 &priv->tx_delay); in nxp_c45_get_delays() 1146 priv->tx_delay = DEFAULT_ID_PS; in nxp_c45_get_delays() 1148 ret = nxp_c45_check_delay(phydev, priv->tx_delay); in nxp_c45_get_delays()
|
/Linux-v6.1/drivers/isdn/mISDN/ |
D | dsp_cmx.c | 1765 if (delay < dsp->tx_delay[0]) 1766 dsp->tx_delay[0] = delay; 1801 delay = dsp->tx_delay[0]; 1804 if (delay > dsp->tx_delay[i]) 1805 delay = dsp->tx_delay[i]; 1835 dsp->tx_delay[i] = dsp->tx_delay[i - 1]; 1838 dsp->tx_delay[0] = CMX_BUFF_HALF; /* (infinite) delay */
|
D | dsp.h | 203 int tx_delay[MAX_SECONDS_JITTER_CHECK]; member
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | rockchip-radxa-dalang-carrier.dtsi | 72 tx_delay = <0x28>;
|
D | rk3229-evb.dts | 159 tx_delay = <0x30>;
|
D | rk3288-firefly-reload-core.dtsi | 62 tx_delay = <0x30>;
|
D | rk3288-rock2-som.dtsi | 74 tx_delay = <0x30>;
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3399-ficus.dts | 86 tx_delay = <0x28>;
|
D | rk3368-evb.dtsi | 139 tx_delay = <0x30>;
|
D | rk3368-geekbox.dts | 101 tx_delay = <0x30>;
|
D | rk3368-lion.dtsi | 164 tx_delay = <0x10>;
|
/Linux-v6.1/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.h | 232 u8 tx_delay; member
|
/Linux-v6.1/drivers/net/dsa/microchip/ |
D | ksz_common.c | 2867 int rx_delay = -1, tx_delay = -1; in ksz_parse_rgmii_delay() local 2873 of_property_read_u32(port_dn, "tx-internal-delay-ps", &tx_delay); in ksz_parse_rgmii_delay() 2875 if (rx_delay == -1 && tx_delay == -1) { in ksz_parse_rgmii_delay() 2888 tx_delay = 2000; in ksz_parse_rgmii_delay() 2893 if (tx_delay < 0) in ksz_parse_rgmii_delay() 2894 tx_delay = 0; in ksz_parse_rgmii_delay() 2897 dev->ports[port_num].rgmii_tx_val = tx_delay; in ksz_parse_rgmii_delay()
|
/Linux-v6.1/drivers/net/arcnet/ |
D | arcnet.c | 200 unsigned long tx_delay = 50; in arcnet_led_event() local 217 &tx_delay, &tx_delay, 0); in arcnet_led_event()
|