/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac-sunxi.c | 23 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 D | dwmac-intel-plat.c | 20 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 D | dwmac-sun8i.c | 71 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 D | zynqmp-clk-ccf.dtsi | 138 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 D | zynqmp.dtsi | 509 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 D | xilinx_dma.c | 472 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 D | intel,dwmac-plat.yaml | 42 - const: tx_clk 110 clock-names = "stmmaceth", "ptp_ref", "tx_clk";
|
A D | qcom-emac.txt | 44 "mdio_clk", "tx_clk", "rx_clk", "sys_clk"; 93 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
|
A D | macb.txt | 28 Optional elements: 'tx_clk' 54 clock-names = "pclk", "hclk", "tx_clk";
|
/linux/drivers/net/ethernet/cadence/ |
A D | macb_main.c | 3757 { .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 D | macb.h | 1180 struct clk **hclk, struct clk **tx_clk, 1260 struct clk *tx_clk; member
|
/linux/drivers/net/phy/ |
A D | micrel.c | 752 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 D | zynq-7000.dtsi | 239 clock-names = "pclk", "hclk", "tx_clk"; 250 clock-names = "pclk", "hclk", "tx_clk";
|
A D | sama7g5.dtsi | 453 clock-names = "pclk", "hclk", "tx_clk", "tsu_clk";
|