/linux-6.1.9/drivers/clk/socfpga/ |
D | clk-agilex.c | 341 struct clk_hw *hw_clk; in n5x_clk_register_c_perip() local 346 hw_clk = n5x_register_periph(&clks[i], base); in n5x_clk_register_c_perip() 347 if (IS_ERR(hw_clk)) { in n5x_clk_register_c_perip() 352 data->clk_data.hws[clks[i].id] = hw_clk; in n5x_clk_register_c_perip() 360 struct clk_hw *hw_clk; in agilex_clk_register_c_perip() local 365 hw_clk = s10_register_periph(&clks[i], base); in agilex_clk_register_c_perip() 366 if (IS_ERR(hw_clk)) { in agilex_clk_register_c_perip() 371 data->clk_data.hws[clks[i].id] = hw_clk; in agilex_clk_register_c_perip() 379 struct clk_hw *hw_clk; in agilex_clk_register_cnt_perip() local 384 hw_clk = s10_register_cnt_periph(&clks[i], base); in agilex_clk_register_cnt_perip() [all …]
|
D | clk-periph-s10.c | 104 struct clk_hw *hw_clk; in s10_register_periph() local 127 hw_clk = &periph_clk->hw.hw; in s10_register_periph() 129 ret = clk_hw_register(NULL, hw_clk); in s10_register_periph() 134 return hw_clk; in s10_register_periph() 140 struct clk_hw *hw_clk; in n5x_register_periph() local 162 hw_clk = &periph_clk->hw.hw; in n5x_register_periph() 164 ret = clk_hw_register(NULL, hw_clk); in n5x_register_periph() 169 return hw_clk; in n5x_register_periph() 175 struct clk_hw *hw_clk; in s10_register_cnt_periph() local 208 hw_clk = &periph_clk->hw.hw; in s10_register_cnt_periph() [all …]
|
D | clk-s10.c | 310 struct clk_hw *hw_clk; in s10_clk_register_c_perip() local 315 hw_clk = s10_register_periph(&clks[i], base); in s10_clk_register_c_perip() 316 if (IS_ERR(hw_clk)) { in s10_clk_register_c_perip() 321 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_c_perip() 329 struct clk_hw *hw_clk; in s10_clk_register_cnt_perip() local 334 hw_clk = s10_register_cnt_periph(&clks[i], base); in s10_clk_register_cnt_perip() 335 if (IS_ERR(hw_clk)) { in s10_clk_register_cnt_perip() 340 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_cnt_perip() 349 struct clk_hw *hw_clk; in s10_clk_register_gate() local 354 hw_clk = s10_register_gate(&clks[i], base); in s10_clk_register_gate() [all …]
|
D | clk-pll-s10.c | 193 struct clk_hw *hw_clk; in s10_register_pll() local 220 hw_clk = &pll_clk->hw.hw; in s10_register_pll() 222 ret = clk_hw_register(NULL, hw_clk); in s10_register_pll() 227 return hw_clk; in s10_register_pll() 233 struct clk_hw *hw_clk; in agilex_register_pll() local 259 hw_clk = &pll_clk->hw.hw; in agilex_register_pll() 261 ret = clk_hw_register(NULL, hw_clk); in agilex_register_pll() 266 return hw_clk; in agilex_register_pll() 272 struct clk_hw *hw_clk; in n5x_register_pll() local 298 hw_clk = &pll_clk->hw.hw; in n5x_register_pll() [all …]
|
D | clk-pll-a10.c | 70 struct clk_hw *hw_clk; in __socfpga_pll_init() local 104 hw_clk = &pll_clk->hw.hw; in __socfpga_pll_init() 106 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_pll_init() 110 of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_pll_init() 111 return hw_clk; in __socfpga_pll_init()
|
D | clk-pll.c | 77 struct clk_hw *hw_clk; in __socfpga_pll_init() local 109 hw_clk = &pll_clk->hw.hw; in __socfpga_pll_init() 111 err = clk_hw_register(NULL, hw_clk); in __socfpga_pll_init() 116 of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_pll_init() 117 return hw_clk; in __socfpga_pll_init()
|
D | clk-periph-a10.c | 64 struct clk_hw *hw_clk; in __socfpga_periph_init() local 107 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init() 109 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_periph_init() 113 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_periph_init() 123 clk_hw_unregister(hw_clk); in __socfpga_periph_init()
|
D | clk-periph.c | 54 struct clk_hw *hw_clk; in __socfpga_periph_init() local 97 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init() 99 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_periph_init() 103 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_periph_init()
|
D | clk-gate-s10.c | 129 struct clk_hw *hw_clk; in s10_register_gate() local 175 hw_clk = &socfpga_clk->hw.hw; in s10_register_gate() 182 return hw_clk; in s10_register_gate() 187 struct clk_hw *hw_clk; in agilex_register_gate() local 233 hw_clk = &socfpga_clk->hw.hw; in agilex_register_gate() 240 return hw_clk; in agilex_register_gate()
|
D | clk-gate-a10.c | 101 struct clk_hw *hw_clk; in __socfpga_gate_init() local 163 hw_clk = &socfpga_clk->hw.hw; in __socfpga_gate_init() 165 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_gate_init() 169 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_gate_init()
|
D | clk-gate.c | 177 struct clk_hw *hw_clk; in socfpga_gate_init() local 244 hw_clk = &socfpga_clk->hw.hw; in socfpga_gate_init() 246 err = clk_hw_register(NULL, hw_clk); in socfpga_gate_init() 252 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in socfpga_gate_init()
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | hw.c | 746 const struct ath10k_hw_clk_params *hw_clk; in ath10k_hw_qca6174_enable_pll_clock() local 769 hw_clk = &hw->hw_clk[MS(reg_val, EFUSE_XTAL_SEL)]; in ath10k_hw_qca6174_enable_pll_clock() 778 reg_val |= (SM(hw_clk->rnfrac, BB_PLL_CONFIG_FRAC) | in ath10k_hw_qca6174_enable_pll_clock() 779 SM(hw_clk->outdiv, BB_PLL_CONFIG_OUTDIV)); in ath10k_hw_qca6174_enable_pll_clock() 791 reg_val |= SM(hw_clk->settle_time, WLAN_PLL_SETTLE_TIME); in ath10k_hw_qca6174_enable_pll_clock() 821 reg_val |= (SM(hw_clk->refdiv, WLAN_PLL_CONTROL_REFDIV) | in ath10k_hw_qca6174_enable_pll_clock() 822 SM(hw_clk->div, WLAN_PLL_CONTROL_DIV) | in ath10k_hw_qca6174_enable_pll_clock()
|
D | core.c | 204 .hw_clk = qca6174_clk, 361 .hw_clk = qca6174_clk, 593 .hw_clk = qca6174_clk, 635 .hw_clk = qca6174_clk,
|
D | hw.h | 576 const struct ath10k_hw_clk_params *hw_clk; member
|
/linux-6.1.9/drivers/clk/visconti/ |
D | pll.c | 289 struct clk_hw *hw_clk, in visconti_pll_add_lookup() argument 293 ctx->clk_data.hws[id] = hw_clk; in visconti_pll_add_lookup()
|