Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dsxgbe_platform.h46 int clk_csr; member
Dstmmac.h158 int clk_csr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c118 value |= (priv->clk_csr << priv->hw->mii.clk_csr_shift) in stmmac_xgmac2_mdio_read()
186 value |= (priv->clk_csr << priv->hw->mii.clk_csr_shift) in stmmac_xgmac2_mdio_write()
241 value |= (priv->clk_csr << priv->hw->mii.clk_csr_shift) in stmmac_mdio_read()
310 value |= (priv->clk_csr << priv->hw->mii.clk_csr_shift) in stmmac_mdio_write()
Dstmmac_pci.c24 plat->clk_csr = 2; /* clk_csr_i = 20-35MHz & MDC = clk_csr_i/16 */ in common_default_data()
77 plat->clk_csr = 5; in snps_gmac5_default_data()
Dstmmac_main.c248 if (!(priv->clk_csr & MAC_CSR_H_FRQ_MASK)) { in stmmac_clk_csr_set()
250 priv->clk_csr = STMMAC_CSR_20_35M; in stmmac_clk_csr_set()
252 priv->clk_csr = STMMAC_CSR_35_60M; in stmmac_clk_csr_set()
254 priv->clk_csr = STMMAC_CSR_60_100M; in stmmac_clk_csr_set()
256 priv->clk_csr = STMMAC_CSR_100_150M; in stmmac_clk_csr_set()
258 priv->clk_csr = STMMAC_CSR_150_250M; in stmmac_clk_csr_set()
260 priv->clk_csr = STMMAC_CSR_250_300M; in stmmac_clk_csr_set()
265 priv->clk_csr = 0x03; in stmmac_clk_csr_set()
267 priv->clk_csr = 0x02; in stmmac_clk_csr_set()
269 priv->clk_csr = 0x01; in stmmac_clk_csr_set()
[all …]
Dstmmac.h202 int clk_csr; member
Ddwmac-intel.c206 plat->clk_csr = 2; /* clk_csr_i = 20-35MHz & MDC = clk_csr_i/16 */ in common_default_data()
241 plat->clk_csr = 5; in intel_mgbe_common_data()
Dstmmac_platform.c448 plat->clk_csr = -1; in stmmac_probe_config_dt()
449 of_property_read_u32(np, "clk_csr", &plat->clk_csr); in stmmac_probe_config_dt()
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c176 priv->clk_csr = SXGBE_CSR_100_150M; in sxgbe_clk_csr_set()
178 priv->clk_csr = SXGBE_CSR_150_250M; in sxgbe_clk_csr_set()
180 priv->clk_csr = SXGBE_CSR_250_300M; in sxgbe_clk_csr_set()
182 priv->clk_csr = SXGBE_CSR_300_350M; in sxgbe_clk_csr_set()
184 priv->clk_csr = SXGBE_CSR_350_400M; in sxgbe_clk_csr_set()
186 priv->clk_csr = SXGBE_CSR_400_500M; in sxgbe_clk_csr_set()
2160 if (!priv->plat->clk_csr) in sxgbe_drv_probe()
2163 priv->clk_csr = priv->plat->clk_csr; in sxgbe_drv_probe()
Dsxgbe_mdio.c48 ((sp->clk_csr & 0x7) << 19) | SXGBE_MII_BUSY; in sxgbe_mdio_ctrl_data()
Dsxgbe_common.h489 int clk_csr; member
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_hal.c443 unsigned int clk_csr; in qat_hal_clr_reset() local
459 clk_csr = GET_GLB_CSR(handle, ICP_GLOBAL_CLK_ENABLE); in qat_hal_clr_reset()
460 clk_csr |= handle->hal_handle->ae_mask << 0; in qat_hal_clr_reset()
461 clk_csr |= handle->hal_handle->slice_mask << 20; in qat_hal_clr_reset()
462 SET_GLB_CSR(handle, ICP_GLOBAL_CLK_ENABLE, clk_csr); in qat_hal_clr_reset()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt2712e.dtsi753 clk_csr = <0>;
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst370 int clk_csr;