/linux-6.14.4/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-sunxi.c | 23 struct clk *tx_clk; member 48 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_gmac_init() 49 clk_prepare_enable(gmac->tx_clk); in sun7i_gmac_init() 52 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_MII_RATE); in sun7i_gmac_init() 53 ret = clk_prepare(gmac->tx_clk); in sun7i_gmac_init() 66 clk_disable(gmac->tx_clk); in sun7i_gmac_exit() 69 clk_unprepare(gmac->tx_clk); in sun7i_gmac_exit() 84 clk_disable(gmac->tx_clk); in sun7i_fix_speed() 87 clk_unprepare(gmac->tx_clk); in sun7i_fix_speed() 90 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_fix_speed() [all …]
|
D | dwmac-intel-plat.c | 20 struct clk *tx_clk; member 43 ret = clk_set_rate(dwmac->tx_clk, rate); in kmb_eth_fix_mac_speed() 84 dwmac->tx_clk = NULL; in intel_eth_plat_probe() 97 dwmac->tx_clk = devm_clk_get(&pdev->dev, "tx_clk"); in intel_eth_plat_probe() 98 if (IS_ERR(dwmac->tx_clk)) in intel_eth_plat_probe() 99 return PTR_ERR(dwmac->tx_clk); in intel_eth_plat_probe() 101 ret = clk_prepare_enable(dwmac->tx_clk); in intel_eth_plat_probe() 104 "Failed to enable tx_clk\n"); in intel_eth_plat_probe() 109 rate = clk_get_rate(dwmac->tx_clk); in intel_eth_plat_probe() 113 ret = clk_set_rate(dwmac->tx_clk, rate); in intel_eth_plat_probe() [all …]
|
D | dwmac-s32.c | 37 struct clk *tx_clk; member 56 ret = clk_prepare_enable(gmac->tx_clk); in s32_gmac_init() 61 ret = clk_set_rate(gmac->tx_clk, GMAC_INTF_RATE_125M); in s32_gmac_init() 91 clk_disable_unprepare(gmac->tx_clk); in s32_gmac_init() 99 clk_disable_unprepare(gmac->tx_clk); in s32_gmac_exit() 116 ret = clk_set_rate(gmac->tx_clk, tx_clk_rate); in s32_fix_mac_speed() 152 gmac->tx_clk = devm_clk_get(&pdev->dev, "tx"); in s32_dwmac_probe() 153 if (IS_ERR(gmac->tx_clk)) in s32_dwmac_probe() 154 return dev_err_probe(dev, PTR_ERR(gmac->tx_clk), in s32_dwmac_probe()
|
D | dwmac-meson8b.c | 385 /* enable TX_CLK and PHY_REF_CLK generator */ in meson8b_init_prg_eth()
|
/linux-6.14.4/drivers/phy/starfive/ |
D | phy-jh7110-dphy-rx.c | 66 struct clk *tx_clk; member 124 clk_set_rate(dphy->tx_clk, 19800000); in stf_dphy_power_on() 175 dphy->tx_clk = devm_clk_get(&pdev->dev, "tx"); in stf_dphy_probe() 176 if (IS_ERR(dphy->tx_clk)) in stf_dphy_probe() 177 return PTR_ERR(dphy->tx_clk); in stf_dphy_probe()
|
/linux-6.14.4/Documentation/devicetree/bindings/net/ |
D | cdns,macb.yaml | 87 - const: tx_clk 188 clock-names = "pclk", "hclk", "tx_clk"; 216 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
|
D | qcom-emac.txt | 44 "mdio_clk", "tx_clk", "rx_clk", "sys_clk"; 93 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
|
D | intel,dwmac-plat.yaml | 42 - const: tx_clk 110 clock-names = "stmmaceth", "ptp_ref", "tx_clk";
|
/linux-6.14.4/drivers/dma/xilinx/ |
D | xilinx_dma.c | 479 struct clk **tx_clk, struct clk **txs_clk, 496 * @tx_clk: DMA mm2s clock 515 struct clk *tx_clk; member 2624 struct clk **tx_clk, struct clk **rx_clk, in axidma_clk_init() argument 2635 *tx_clk = devm_clk_get(&pdev->dev, "m_axi_mm2s_aclk"); in axidma_clk_init() 2636 if (IS_ERR(*tx_clk)) in axidma_clk_init() 2637 *tx_clk = NULL; in axidma_clk_init() 2653 err = clk_prepare_enable(*tx_clk); in axidma_clk_init() 2655 dev_err(&pdev->dev, "failed to enable tx_clk (%d)\n", err); in axidma_clk_init() 2676 clk_disable_unprepare(*tx_clk); in axidma_clk_init() [all …]
|
/linux-6.14.4/drivers/net/ethernet/cadence/ |
D | macb_main.c | 526 if (!bp->tx_clk || (bp->caps & MACB_CAPS_CLK_HW_CHG)) in macb_set_tx_clk() 537 rate_rounded = clk_round_rate(bp->tx_clk, rate); in macb_set_tx_clk() 551 if (clk_set_rate(bp->tx_clk, rate_rounded)) in macb_set_tx_clk() 552 netdev_err(bp->dev, "adjusting tx_clk failed.\n"); in macb_set_tx_clk() 3997 static void macb_clks_disable(struct clk *pclk, struct clk *hclk, struct clk *tx_clk, in macb_clks_disable() argument 4005 { .clk = tx_clk }, in macb_clks_disable() 4012 struct clk **hclk, struct clk **tx_clk, in macb_clk_init() argument 4037 *tx_clk = devm_clk_get_optional(&pdev->dev, "tx_clk"); in macb_clk_init() 4038 if (IS_ERR(*tx_clk)) in macb_clk_init() 4039 return PTR_ERR(*tx_clk); in macb_clk_init() [all …]
|
D | macb.h | 1197 struct clk **hclk, struct clk **tx_clk, 1278 struct clk *tx_clk; member
|
/linux-6.14.4/Documentation/devicetree/bindings/net/dsa/ |
D | microchip,ksz.yaml | 71 MII / RMII (except TX_CLK/REFCLKI, COL and CRS) and CLKO_25_125 lines. 77 Low Speed Drive Strength. Controls drive strength of TX_CLK / REFCLKI,
|
/linux-6.14.4/drivers/net/dsa/sja1105/ |
D | sja1105_clocking.c | 303 /* Per MII spec, the PHY (which is us) drives the TX_CLK pin */ in sja1105_mii_clocking_setup() 416 pad_mii_tx.clk_os = 3; /* TX_CLK output stage */ in sja1105_rgmii_cfg_pad_tx_config() 417 pad_mii_tx.clk_ih = 0; /* TX_CLK input hysteresis (default) */ in sja1105_rgmii_cfg_pad_tx_config() 418 pad_mii_tx.clk_ipud = 2; /* TX_CLK input stage (default) */ in sja1105_rgmii_cfg_pad_tx_config()
|
/linux-6.14.4/arch/powerpc/boot/dts/ |
D | mpc832x_rdb.dts | 180 3 23 2 0 1 0 /* TX_CLK (CLK3) */ 200 3 24 2 0 1 0 /* TX_CLK (CLK10) */
|
/linux-6.14.4/arch/arm/boot/dts/intel/socfpga/ |
D | socfpga_arria10_socdk.dtsi | 75 * for TX_CLK on Arria 10.
|
/linux-6.14.4/arch/arm/boot/dts/xilinx/ |
D | zynq-7000.dtsi | 253 clock-names = "pclk", "hclk", "tx_clk"; 264 clock-names = "pclk", "hclk", "tx_clk";
|
/linux-6.14.4/arch/arm64/boot/dts/xilinx/ |
D | zynqmp.dtsi | 844 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; 858 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; 872 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; 886 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
|
/linux-6.14.4/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 1120 /* Because we reset the PHY above, we need to re-force TX_CLK in the in e1000_phy_reset_clk_and_crs() 1166 /* Have to setup TX_CLK and TX_CRS after software reset */ in e1000_nonintegrated_phy_loopback() 1174 /* Have to setup TX_CLK and TX_CRS after software reset */ in e1000_nonintegrated_phy_loopback() 1185 /* Setup TX_CLK and TX_CRS one more time. */ in e1000_nonintegrated_phy_loopback()
|
D | e1000_hw.h | 2768 #define M88E1000_EPSCR_TX_CLK_2_5 0x0060 /* 2.5 MHz TX_CLK */ 2769 #define M88E1000_EPSCR_TX_CLK_25 0x0070 /* 25 MHz TX_CLK */ 2770 #define M88E1000_EPSCR_TX_CLK_0 0x0000 /* NO TX_CLK */
|
/linux-6.14.4/drivers/net/phy/ |
D | micrel.c | 1019 /* set tx to -0.42ns and tx_clk to +0.96ns to get 1.38ns delay */ 1023 /* set tx and tx_clk to "No delay adjustment" to keep 0ns 1105 u16 rx, tx, rx_clk, tx_clk; in ksz9031_config_rgmii_delay() local 1111 tx_clk = TX_CLK_ND; in ksz9031_config_rgmii_delay() 1117 tx_clk = TX_CLK_ID; in ksz9031_config_rgmii_delay() 1123 tx_clk = TX_CLK_ND; in ksz9031_config_rgmii_delay() 1129 tx_clk = TX_CLK_ID; in ksz9031_config_rgmii_delay() 1160 FIELD_PREP(MII_KSZ9031RN_GTX_CLK, tx_clk) | in ksz9031_config_rgmii_delay()
|
D | icplus.c | 36 #define IP1001_TXPHASE_SEL BIT(1) /* Add delay on TX_CLK */
|
/linux-6.14.4/drivers/net/ethernet/qualcomm/emac/ |
D | emac.c | 68 "axi_clk", "cfg_ahb_clk", "high_speed_clk", "mdio_clk", "tx_clk",
|
/linux-6.14.4/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 580 /* Force TX_CLK in the Extended PHY Specific Control Register in igb_copper_link_setup_m88() 1194 * After reset, TX_CLK and CRS on TX must be set. Return successful upon 1297 /* Resetting the phy means we need to re-force TX_CLK in the in igb_phy_force_speed_duplex_m88()
|
/linux-6.14.4/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 796 /* Force TX_CLK in the Extended PHY Specific Control Register in e1000e_copper_link_setup_m88() 1291 * After reset, TX_CLK and CRS on Tx must be set. Return successful upon 1371 /* Resetting the phy means we need to re-force TX_CLK in the in e1000e_phy_force_speed_duplex_m88()
|
D | defines.h | 747 #define M88E1000_EPSCR_TX_CLK_25 0x0070 /* 25 MHz TX_CLK */
|