Home
last modified time | relevance | path

Searched refs:pll_cfg (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/clk/axs10x/
A Dpll_clock.c98 const struct axs10x_pll_cfg *pll_cfg; member
162 const struct axs10x_pll_cfg *pll_cfg = clk->pll_cfg; in axs10x_pll_round_rate() local
164 if (pll_cfg[0].rate == 0) in axs10x_pll_round_rate()
167 best_rate = pll_cfg[0].rate; in axs10x_pll_round_rate()
169 for (i = 1; pll_cfg[i].rate != 0; i++) { in axs10x_pll_round_rate()
171 best_rate = pll_cfg[i].rate; in axs10x_pll_round_rate()
182 const struct axs10x_pll_cfg *pll_cfg = clk->pll_cfg; in axs10x_pll_set_rate() local
184 for (i = 0; pll_cfg[i].rate != 0; i++) { in axs10x_pll_set_rate()
185 if (pll_cfg[i].rate == rate) { in axs10x_pll_set_rate()
248 if (!pll_clk->pll_cfg) { in axs10x_pll_clk_probe()
[all …]
A Di2s_pll_clock.c118 const struct i2s_pll_cfg *pll_cfg = i2s_pll_get_cfg(*prate); in i2s_pll_round_rate() local
121 if (!pll_cfg) { in i2s_pll_round_rate()
126 for (i = 0; pll_cfg[i].rate != 0; i++) in i2s_pll_round_rate()
127 if (pll_cfg[i].rate == rate) in i2s_pll_round_rate()
140 if (!pll_cfg) { in i2s_pll_set_rate()
145 for (i = 0; pll_cfg[i].rate != 0; i++) { in i2s_pll_set_rate()
146 if (pll_cfg[i].rate == rate) { in i2s_pll_set_rate()
147 i2s_pll_write(clk, PLL_IDIV_REG, pll_cfg[i].idiv); in i2s_pll_set_rate()
148 i2s_pll_write(clk, PLL_FBDIV_REG, pll_cfg[i].fbdiv); in i2s_pll_set_rate()
149 i2s_pll_write(clk, PLL_ODIV0_REG, pll_cfg[i].odiv0); in i2s_pll_set_rate()
[all …]
/linux/drivers/clk/
A Dclk-hsdk-pll.c100 const struct hsdk_pll_cfg *pll_cfg; member
111 .pll_cfg = asdt_pll_cfg,
116 .pll_cfg = asdt_pll_cfg,
121 .pll_cfg = hdmi_pll_cfg,
210 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_round_rate() local
212 if (pll_cfg[0].rate == 0) in hsdk_pll_round_rate()
215 best_rate = pll_cfg[0].rate; in hsdk_pll_round_rate()
219 best_rate = pll_cfg[i].rate; in hsdk_pll_round_rate()
286 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_set_rate() local
289 if (pll_cfg[i].rate == rate) { in hsdk_pll_set_rate()
[all …]
A Dclk-k210.c392 struct k210_pll_cfg *pll_cfg = &k210_plls_cfg[pll->id]; in k210_pll_enable_hw() local
408 reg |= FIELD_PREP(K210_PLL_CLKR, pll_cfg->r); in k210_pll_enable_hw()
409 reg |= FIELD_PREP(K210_PLL_CLKF, pll_cfg->f); in k210_pll_enable_hw()
410 reg |= FIELD_PREP(K210_PLL_CLKOD, pll_cfg->od); in k210_pll_enable_hw()
411 reg |= FIELD_PREP(K210_PLL_BWADJ, pll_cfg->bwadj); in k210_pll_enable_hw()
/linux/drivers/net/wireless/intel/iwlwifi/cfg/
A D1000.c36 .pll_cfg = true,
A D5000.c37 .pll_cfg = true,
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-config.h128 u8 pll_cfg:1, /* for iwl_pcie_apm_init() */ member
/linux/drivers/net/ethernet/sun/
A Dniu.c430 u16 pll_cfg, pll_sts; in serdes_init_niu_1g_serdes() local
457 pll_cfg = (PLL_CFG_ENPLL | PLL_CFG_MPY_8X); in serdes_init_niu_1g_serdes()
460 ESR2_TI_PLL_CFG_L, pll_cfg); in serdes_init_niu_1g_serdes()
527 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local
552 ESR2_TI_PLL_CFG_L, pll_cfg & 0xffff); in serdes_init_niu_10g_serdes()
923 pll_cfg = ENET_SERDES_0_PLL_CFG; in serdes_init_1g_serdes()
929 pll_cfg = ENET_SERDES_1_PLL_CFG; in serdes_init_1g_serdes()
964 nw64(pll_cfg, val); in serdes_init_1g_serdes()
2360 pll_cfg = ENET_SERDES_0_PLL_CFG; in serdes_init_10g_serdes()
2365 pll_cfg = ENET_SERDES_1_PLL_CFG; in serdes_init_10g_serdes()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
A Dtrans.c311 if (trans->trans_cfg->base_params->pll_cfg) in iwl_pcie_apm_init()

Completed in 37 milliseconds