Home
last modified time | relevance | path

Searched full:tx_clk (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/phy/starfive/
H A Dphy-jh7110-dphy-rx.c66 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/Documentation/devicetree/bindings/net/
H A Dqcom-emac.txt44 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
93 "mdio_clk", "tx_clk", "rx_clk", "sys_clk";
H A Dintel,dwmac-plat.yaml42 - const: tx_clk
116 clock-names = "stmmaceth", "ptp_ref", "tx_clk";
/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c481 struct clk **tx_clk, struct clk **txs_clk,
498 * @tx_clk: DMA mm2s clock
517 struct clk *tx_clk; member
2754 struct clk **tx_clk, struct clk **rx_clk, in axidma_clk_init() argument
2765 *tx_clk = devm_clk_get(&pdev->dev, "m_axi_mm2s_aclk"); in axidma_clk_init()
2766 if (IS_ERR(*tx_clk)) in axidma_clk_init()
2767 *tx_clk = NULL; in axidma_clk_init()
2783 err = clk_prepare_enable(*tx_clk); in axidma_clk_init()
2785 dev_err(&pdev->dev, "failed to enable tx_clk (%d)\n", err); in axidma_clk_init()
2806 clk_disable_unprepare(*tx_clk); in axidma_clk_init()
[all …]
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c491 if (!bp->tx_clk || (bp->caps & MACB_CAPS_CLK_HW_CHG)) in macb_set_tx_clk()
502 rate_rounded = clk_round_rate(bp->tx_clk, rate); in macb_set_tx_clk()
516 if (clk_set_rate(bp->tx_clk, rate_rounded)) in macb_set_tx_clk()
517 netdev_err(bp->dev, "adjusting tx_clk failed.\n"); in macb_set_tx_clk()
4613 static void macb_clks_disable(struct clk *pclk, struct clk *hclk, struct clk *tx_clk, in macb_clks_disable() argument
4621 { .clk = tx_clk }, in macb_clks_disable()
4628 struct clk **hclk, struct clk **tx_clk, in macb_clk_init_dflt() argument
4653 *tx_clk = devm_clk_get_optional(&pdev->dev, "tx_clk"); in macb_clk_init_dflt()
4654 if (IS_ERR(*tx_clk)) in macb_clk_init_dflt()
4655 return PTR_ERR(*tx_clk); in macb_clk_init_dflt()
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-eic7700.c31 * - TX Delay: bits [14:8] — TX_CLK delay (unit: 0.02ns per bit)
173 /* Read tx-internal-delay-ps and update tx_clk delay */ in eic7700_dwmac_probe()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_clocking.c303 /* 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/arch/powerpc/boot/dts/
H A Dmpc832x_rdb.dts180 3 23 2 0 1 0 /* TX_CLK (CLK3) */
200 3 24 2 0 1 0 /* TX_CLK (CLK10) */
/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_arria10_socdk.dtsi75 * for TX_CLK on Arria 10.
/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-7000.dtsi272 clock-names = "pclk", "hclk", "tx_clk";
283 clock-names = "pclk", "hclk", "tx_clk";
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c1124 /* Because we reset the PHY above, we need to re-force TX_CLK in the in e1000_phy_reset_clk_and_crs()
1170 /* Have to setup TX_CLK and TX_CRS after software reset */ in e1000_nonintegrated_phy_loopback()
1178 /* Have to setup TX_CLK and TX_CRS after software reset */ in e1000_nonintegrated_phy_loopback()
1189 /* Setup TX_CLK and TX_CRS one more time. */ in e1000_nonintegrated_phy_loopback()
H A De1000_hw.h2768 #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/drivers/net/phy/
H A Dmicrel.c1127 /* set tx to -0.42ns and tx_clk to +0.96ns to get 1.38ns delay */ in ksz9031_of_load_skew_values()
1131 /* set tx and tx_clk to "No delay adjustment" to keep 0ns in ksz9031_of_load_skew_values()
1236 u16 rx, tx, rx_clk, tx_clk; in ksz9031_config_init()
1242 tx_clk = TX_CLK_ND; in ksz9031_config_init()
1248 tx_clk = TX_CLK_ID; in ksz9031_config_init()
1254 tx_clk = TX_CLK_ND; in ksz9031_config_init()
1260 tx_clk = TX_CLK_ID; in ksz9031_config_init()
1291 FIELD_PREP(MII_KSZ9031RN_GTX_CLK, tx_clk) | in ksz9031_config_init()
1177 u16 rx, tx, rx_clk, tx_clk; ksz9031_config_rgmii_delay() local
/linux/drivers/net/ethernet/intel/igb/
H A De1000_phy.c580 /* 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()
H A De1000_defines.h946 #define M88E1000_EPSCR_TX_CLK_25 0x0070 /* 25 MHz TX_CLK */
/linux/drivers/net/ethernet/intel/e1000e/
H A Dphy.c796 /* 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()
H A Ddefines.h751 #define M88E1000_EPSCR_TX_CLK_25 0x0070 /* 25 MHz TX_CLK */
H A D80003es2lan.c583 /* Resetting the phy means we need to verify the TX_CLK corresponds in e1000_phy_force_speed_duplex_80003es2lan()
/linux/arch/arm/boot/dts/microchip/
H A Dsama7g5.dtsi868 clock-names = "pclk", "hclk", "tx_clk", "tsu_clk";
/linux/drivers/pinctrl/renesas/
H A Dpfc-r8a7740.c1918 * TXD[0:3], TX_CLK, TX_EN, TX_ER
1934 * TXD[0:7], GTX_CLK, TX_CLK, TX_EN, TX_ER
/linux/drivers/phy/samsung/
H A Dphy-exynos5-usbdrd.c2217 * tx_clk when tx data enabled. in exynosautov920_usb31drd_cr_write()
/linux/drivers/net/dsa/b53/
H A Db53_common.c1469 * tx_clk aligned timing (restoring to reset defaults) in b53_adjust_531x5_rgmii()