Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-sunxi.c23 struct clk *tx_clk; member
49 clk_prepare_enable(gmac->tx_clk); 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()
91 clk_prepare_enable(gmac->tx_clk); in sun7i_fix_speed()
95 clk_prepare(gmac->tx_clk); in sun7i_fix_speed()
128 if (IS_ERR(gmac->tx_clk)) { in sun7i_gmac_probe()
[all …]
A 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()
101 dwmac->tx_clk = NULL; in intel_eth_plat_probe()
113 if (IS_ERR(dwmac->tx_clk)) { in intel_eth_plat_probe()
114 ret = PTR_ERR(dwmac->tx_clk); in intel_eth_plat_probe()
118 clk_prepare_enable(dwmac->tx_clk); in intel_eth_plat_probe()
121 rate = clk_get_rate(dwmac->tx_clk); in intel_eth_plat_probe()
125 ret = clk_set_rate(dwmac->tx_clk, rate); in intel_eth_plat_probe()
160 clk_disable_unprepare(dwmac->tx_clk); in intel_eth_plat_probe()
[all …]
A Ddwmac-sun8i.c71 struct clk *tx_clk; member
582 ret = clk_prepare_enable(gmac->tx_clk); in sun8i_dwmac_init()
597 clk_disable_unprepare(gmac->tx_clk); in sun8i_dwmac_init()
1046 clk_disable_unprepare(gmac->tx_clk); in sun8i_dwmac_exit()
1170 gmac->tx_clk = devm_clk_get(dev, "stmmaceth"); in sun8i_dwmac_probe()
1171 if (IS_ERR(gmac->tx_clk)) { in sun8i_dwmac_probe()
1173 return PTR_ERR(gmac->tx_clk); in sun8i_dwmac_probe()
/linux/arch/arm64/boot/dts/xilinx/
A Dzynqmp-clk-ccf.dtsi138 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
145 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
152 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
159 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
A Dzynqmp.dtsi509 clock-names = "pclk", "hclk", "tx_clk";
523 clock-names = "pclk", "hclk", "tx_clk";
537 clock-names = "pclk", "hclk", "tx_clk";
551 clock-names = "pclk", "hclk", "tx_clk";
/linux/drivers/dma/xilinx/
A Dxilinx_dma.c472 struct clk **tx_clk, struct clk **txs_clk,
507 struct clk *tx_clk; member
2589 if (IS_ERR(*tx_clk)) in axidma_clk_init()
2590 *tx_clk = NULL; in axidma_clk_init()
2606 err = clk_prepare_enable(*tx_clk); in axidma_clk_init()
2629 clk_disable_unprepare(*tx_clk); in axidma_clk_init()
2685 if (IS_ERR(*tx_clk)) in axivdma_clk_init()
2686 *tx_clk = NULL; in axivdma_clk_init()
2707 err = clk_prepare_enable(*tx_clk); in axivdma_clk_init()
2738 clk_disable_unprepare(*tx_clk); in axivdma_clk_init()
[all …]
/linux/Documentation/devicetree/bindings/net/
A Dintel,dwmac-plat.yaml42 - const: tx_clk
110 clock-names = "stmmaceth", "ptp_ref", "tx_clk";
A Dqcom-emac.txt44 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
93 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
A Dmacb.txt28 Optional elements: 'tx_clk'
54 clock-names = "pclk", "hclk", "tx_clk";
/linux/drivers/net/ethernet/cadence/
A Dmacb_main.c3757 { .clk = tx_clk }, in macb_clks_disable()
3790 if (IS_ERR(*tx_clk)) in macb_clk_init()
3791 return PTR_ERR(*tx_clk); in macb_clk_init()
3813 err = clk_prepare_enable(*tx_clk); in macb_clk_init()
3837 clk_disable_unprepare(*tx_clk); in macb_clk_init()
4348 *tx_clk = NULL; in at91ether_clk_init()
4464 if (IS_ERR(*tx_clk)) { in fu540_c000_clk_init()
4465 err = PTR_ERR(*tx_clk); in fu540_c000_clk_init()
4472 *tx_clk = NULL; in fu540_c000_clk_init()
4732 bp->tx_clk = tx_clk; in macb_probe()
[all …]
A Dmacb.h1180 struct clk **hclk, struct clk **tx_clk,
1260 struct clk *tx_clk; member
/linux/drivers/net/phy/
A Dmicrel.c752 u16 rx, tx, rx_clk, tx_clk; in ksz9031_config_rgmii_delay() local
758 tx_clk = TX_CLK_ND; in ksz9031_config_rgmii_delay()
764 tx_clk = TX_CLK_ID; in ksz9031_config_rgmii_delay()
770 tx_clk = TX_CLK_ND; in ksz9031_config_rgmii_delay()
776 tx_clk = TX_CLK_ID; in ksz9031_config_rgmii_delay()
807 FIELD_PREP(MII_KSZ9031RN_GTX_CLK, tx_clk) | in ksz9031_config_rgmii_delay()
/linux/arch/arm/boot/dts/
A Dzynq-7000.dtsi239 clock-names = "pclk", "hclk", "tx_clk";
250 clock-names = "pclk", "hclk", "tx_clk";
A Dsama7g5.dtsi453 clock-names = "pclk", "hclk", "tx_clk", "tsu_clk";

Completed in 43 milliseconds