Home
last modified time | relevance | path

Searched refs:tx_clk (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sunxi.c23 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 …]
Ddwmac-intel-plat.c20 struct clk *tx_clk; member
37 rate = clk_get_rate(dwmac->tx_clk); in kmb_eth_fix_mac_speed()
57 ret = clk_set_rate(dwmac->tx_clk, rate); in kmb_eth_fix_mac_speed()
104 dwmac->tx_clk = NULL; in intel_eth_plat_probe()
115 dwmac->tx_clk = devm_clk_get(&pdev->dev, "tx_clk"); in intel_eth_plat_probe()
116 if (IS_ERR(dwmac->tx_clk)) { in intel_eth_plat_probe()
117 ret = PTR_ERR(dwmac->tx_clk); in intel_eth_plat_probe()
121 clk_prepare_enable(dwmac->tx_clk); in intel_eth_plat_probe()
124 rate = clk_get_rate(dwmac->tx_clk); in intel_eth_plat_probe()
128 ret = clk_set_rate(dwmac->tx_clk, rate); in intel_eth_plat_probe()
[all …]
Ddwmac-sun8i.c70 struct clk *tx_clk; member
555 ret = clk_prepare_enable(gmac->tx_clk); in sun8i_dwmac_init()
1018 clk_disable_unprepare(gmac->tx_clk); in sun8i_dwmac_exit()
1151 gmac->tx_clk = devm_clk_get(dev, "stmmaceth"); in sun8i_dwmac_probe()
1152 if (IS_ERR(gmac->tx_clk)) { in sun8i_dwmac_probe()
1154 return PTR_ERR(gmac->tx_clk); in sun8i_dwmac_probe()
/Linux-v5.10/arch/arm64/boot/dts/xilinx/
Dzynqmp-clk-ccf.dtsi123 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
130 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
137 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
144 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
Dzynqmp.dtsi447 clock-names = "pclk", "hclk", "tx_clk";
459 clock-names = "pclk", "hclk", "tx_clk";
471 clock-names = "pclk", "hclk", "tx_clk";
483 clock-names = "pclk", "hclk", "tx_clk";
/Linux-v5.10/Documentation/devicetree/bindings/net/
Dqcom-emac.txt44 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
93 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
Dmacb.txt27 Optional elements: 'tx_clk'
49 clock-names = "pclk", "hclk", "tx_clk";
/Linux-v5.10/drivers/dma/xilinx/
Dxilinx_dma.c470 struct clk **tx_clk, struct clk **txs_clk,
505 struct clk *tx_clk; member
2550 struct clk **tx_clk, struct clk **rx_clk, in axidma_clk_init() argument
2561 *tx_clk = devm_clk_get(&pdev->dev, "m_axi_mm2s_aclk"); in axidma_clk_init()
2562 if (IS_ERR(*tx_clk)) in axidma_clk_init()
2563 *tx_clk = NULL; in axidma_clk_init()
2579 err = clk_prepare_enable(*tx_clk); in axidma_clk_init()
2602 clk_disable_unprepare(*tx_clk); in axidma_clk_init()
2648 struct clk **tx_clk, struct clk **txs_clk, in axivdma_clk_init() argument
2657 *tx_clk = devm_clk_get(&pdev->dev, "m_axi_mm2s_aclk"); in axivdma_clk_init()
[all …]
/Linux-v5.10/drivers/net/phy/
Dmicrel.c615 u16 rx, tx, rx_clk, tx_clk; in ksz9031_config_rgmii_delay() local
621 tx_clk = TX_CLK_ND; in ksz9031_config_rgmii_delay()
627 tx_clk = TX_CLK_ID; in ksz9031_config_rgmii_delay()
633 tx_clk = TX_CLK_ND; in ksz9031_config_rgmii_delay()
639 tx_clk = TX_CLK_ID; in ksz9031_config_rgmii_delay()
670 FIELD_PREP(MII_KSZ9031RN_GTX_CLK, tx_clk) | in ksz9031_config_rgmii_delay()
/Linux-v5.10/drivers/net/ethernet/cadence/
Dmacb_main.c652 macb_set_tx_clk(bp->tx_clk, speed, ndev); in macb_mac_link_up()
3569 struct clk **hclk, struct clk **tx_clk, in macb_clk_init() argument
3602 *tx_clk = devm_clk_get_optional(&pdev->dev, "tx_clk"); in macb_clk_init()
3603 if (IS_ERR(*tx_clk)) in macb_clk_init()
3604 return PTR_ERR(*tx_clk); in macb_clk_init()
3626 err = clk_prepare_enable(*tx_clk); in macb_clk_init()
3650 clk_disable_unprepare(*tx_clk); in macb_clk_init()
4178 struct clk **hclk, struct clk **tx_clk, in at91ether_clk_init() argument
4184 *tx_clk = NULL; in at91ether_clk_init()
4275 struct clk **hclk, struct clk **tx_clk, in fu540_c000_clk_init() argument
[all …]
Dmacb.h1111 struct clk **hclk, struct clk **tx_clk,
1190 struct clk *tx_clk; member
/Linux-v5.10/arch/arm/boot/dts/
Dzynq-7000.dtsi239 clock-names = "pclk", "hclk", "tx_clk";
250 clock-names = "pclk", "hclk", "tx_clk";