Searched refs:pll_cfg (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.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-v5.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 …]
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 1000.c | 41 .pll_cfg = true,
|
D | 5000.c | 42 .pll_cfg = true,
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-config.h | 182 u8 pll_cfg:1, /* for iwl_pcie_apm_init() */ member
|
/Linux-v5.10/drivers/net/ethernet/sun/ |
D | niu.c | 430 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 549 pll_cfg = (PLL_CFG_ENPLL | PLL_CFG_MPY_10X); in serdes_init_niu_10g_serdes() 552 ESR2_TI_PLL_CFG_L, pll_cfg & 0xffff); in serdes_init_niu_10g_serdes() 910 unsigned long ctrl_reg, test_cfg_reg, pll_cfg, i; in serdes_init_1g_serdes() local 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() [all …]
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 361 if (trans->trans_cfg->base_params->pll_cfg) in iwl_pcie_apm_init()
|