Searched refs:pll_cfg (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/drivers/clk/axs10x/ |
D | pll_clock.c | 98 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() 170 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) 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() [all …]
|
D | i2s_pll_clock.c | 118 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() 137 const struct i2s_pll_cfg *pll_cfg = i2s_pll_get_cfg(parent_rate); in i2s_pll_set_rate() local 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() [all …]
|
/linux-5.19.10/drivers/clk/ |
D | clk-hsdk-pll.c | 100 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() 217 for (i = 1; pll_cfg[i].rate != 0; i++) { in hsdk_pll_round_rate() 218 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) in hsdk_pll_round_rate() 219 best_rate = pll_cfg[i].rate; in hsdk_pll_round_rate() [all …]
|
D | clk-k210.c | 392 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-5.19.10/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 1000.c | 36 .pll_cfg = true,
|
D | 5000.c | 37 .pll_cfg = true,
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-config.h | 132 u8 pll_cfg:1, /* for iwl_pcie_apm_init() */ member
|
/linux-5.19.10/drivers/net/ethernet/sun/ |
D | niu.c | 449 u16 pll_cfg, pll_sts; in serdes_init_niu_1g_serdes() local 476 pll_cfg = (PLL_CFG_ENPLL | PLL_CFG_MPY_8X); in serdes_init_niu_1g_serdes() 479 ESR2_TI_PLL_CFG_L, pll_cfg); in serdes_init_niu_1g_serdes() 546 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local 568 pll_cfg = (PLL_CFG_ENPLL | PLL_CFG_MPY_10X); in serdes_init_niu_10g_serdes() 571 ESR2_TI_PLL_CFG_L, pll_cfg & 0xffff); in serdes_init_niu_10g_serdes() 929 unsigned long ctrl_reg, test_cfg_reg, pll_cfg, i; in serdes_init_1g_serdes() local 942 pll_cfg = ENET_SERDES_0_PLL_CFG; in serdes_init_1g_serdes() 948 pll_cfg = ENET_SERDES_1_PLL_CFG; in serdes_init_1g_serdes() 983 nw64(pll_cfg, val); in serdes_init_1g_serdes() [all …]
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 318 if (trans->trans_cfg->base_params->pll_cfg) in iwl_pcie_apm_init()
|