/Linux-v6.1/drivers/clk/ti/ |
D | divider.c | 337 int ti_clk_parse_divider_data(int *div_table, int num_dividers, int max_div, in ti_clk_parse_divider_data() argument 345 if (!div_table) { in ti_clk_parse_divider_data() 355 if (div_table[i] == -1) in ti_clk_parse_divider_data() 357 if (div_table[i]) in ti_clk_parse_divider_data() 371 if (div_table[i] > 0) { in ti_clk_parse_divider_data() 372 tmp[valid_div].div = div_table[i]; in ti_clk_parse_divider_data() 375 if (div_table[i] > max_div) in ti_clk_parse_divider_data() 376 max_div = div_table[i]; in ti_clk_parse_divider_data() 377 if (!min_div || div_table[i] < min_div) in ti_clk_parse_divider_data() 378 min_div = div_table[i]; in ti_clk_parse_divider_data()
|
D | clock.h | 214 int ti_clk_parse_divider_data(int *div_table, int num_dividers, int max_div,
|
/Linux-v6.1/drivers/clk/mediatek/ |
D | clk-pll.c | 168 const struct mtk_pll_div_table *div_table = pll->data->div_table; in mtk_pll_calc_values() local 176 if (div_table) { in mtk_pll_calc_values() 177 if (freq > div_table[0].freq) in mtk_pll_calc_values() 178 freq = div_table[0].freq; in mtk_pll_calc_values() 180 for (val = 0; div_table[val + 1].freq != 0; val++) { in mtk_pll_calc_values() 181 if (freq > div_table[val + 1].freq) in mtk_pll_calc_values()
|
D | clk-pll.h | 45 const struct mtk_pll_div_table *div_table; member
|
D | clk-mt7986-apmixed.c | 34 .pcw_shift = _pcw_shift, .div_table = _div_table, \
|
D | clk-mt6795-apmixedsys.c | 40 .div_table = NULL, \
|
D | clk-mt7629.c | 42 .div_table = _div_table, \
|
D | clk-mt6797.c | 629 .div_table = _div_table, \
|
D | clk-mt7622.c | 42 .div_table = _div_table, \
|
D | clk-mt8516.c | 754 .div_table = _div_table, \
|
/Linux-v6.1/drivers/clk/ingenic/ |
D | cgu.c | 399 if (clk_info->div.div_table) in ingenic_clk_recalc_rate() 400 div = clk_info->div.div_table[div]; in ingenic_clk_recalc_rate() 420 && clk_info->div.div_table[i]; i++) { in ingenic_clk_calc_hw_div() 421 if (clk_info->div.div_table[i] >= div && in ingenic_clk_calc_hw_div() 422 clk_info->div.div_table[i] < best) { in ingenic_clk_calc_hw_div() 423 best = clk_info->div.div_table[i]; in ingenic_clk_calc_hw_div() 449 if (clk_info->div.div_table) { in ingenic_clk_calc_div() 452 return clk_info->div.div_table[hw_div]; in ingenic_clk_calc_div() 517 if (clk_info->div.div_table) in ingenic_clk_set_rate()
|
D | cgu.h | 102 const u8 *div_table; member
|
/Linux-v6.1/drivers/clk/mmp/ |
D | clk-mix.c | 34 if (mix->div_table) { in _get_maxdiv() 35 for (clkt = mix->div_table; clkt->div; clkt++) in _get_maxdiv() 51 if (mix->div_table) { in _get_div() 52 for (clkt = mix->div_table; clkt->div; clkt++) in _get_div() 88 if (mix->div_table) { in _get_div_val() 89 for (clkt = mix->div_table; clkt->div; clkt++) in _get_div_val()
|
D | clk.h | 81 struct clk_div_table *div_table; member 91 struct clk_div_table *div_table; member
|
/Linux-v6.1/drivers/clk/ |
D | clk-aspeed.c | 171 .div_table = ast2500_div_table, 178 .div_table = ast2400_div_table, 451 soc_data->div_table, in aspeed_clk_probe() 493 soc_data->div_table, in aspeed_clk_probe() 502 soc_data->div_table, in aspeed_clk_probe()
|
D | clk-aspeed.h | 78 const struct clk_div_table *div_table; member
|
D | clk-stm32f4.c | 533 const struct clk_div_table *div_table; member 570 const struct clk_div_table *div_table; member 837 div_data[i].div_table, in stm32f4_rcc_register_pll() 1772 post_div->div_table, in stm32f4_rcc_init()
|
/Linux-v6.1/drivers/clk/rockchip/ |
D | clk.c | 45 struct clk_div_table *div_table, int gate_offset, in rockchip_clk_register_branch() argument 101 div->table = div_table; in rockchip_clk_register_branch() 475 if (list->div_table) in rockchip_clk_register_branches() 481 list->div_flags, list->div_table, in rockchip_clk_register_branches() 525 list->div_flags, list->div_table, in rockchip_clk_register_branches()
|
D | clk.h | 475 struct clk_div_table *div_table; member 556 .div_table = dt, \ 615 .div_table = dt, \ 761 .div_table = dt, \
|
/Linux-v6.1/arch/m68k/atari/ |
D | debug.c | 214 static int div_table[9] = in atari_init_scc_port() local 229 div = div_table[baud]; in atari_init_scc_port()
|
/Linux-v6.1/drivers/clk/x86/ |
D | clk-cgu.h | 193 const struct clk_div_table *div_table; member 241 .div_table = _dtable, \
|
/Linux-v6.1/drivers/clk/renesas/ |
D | r9a06g032-clocks.c | 48 u16 div_table[4]; member 85 .div_table = { __VA_ARGS__ } } 725 i < ARRAY_SIZE(desc->div_table) && desc->div_table[i]; i++) { in r9a06g032_register_div() 726 div->table[div->table_size++] = desc->div_table[i]; in r9a06g032_register_div()
|
/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_cdclk.c | 308 const u8 *div_table; in g33_get_cdclk() local 323 div_table = div_3200; in g33_get_cdclk() 326 div_table = div_4000; in g33_get_cdclk() 329 div_table = div_4800; in g33_get_cdclk() 332 div_table = div_5333; in g33_get_cdclk() 339 div_table[cdclk_sel]); in g33_get_cdclk() 390 const u8 *div_table; in i965gm_get_cdclk() local 405 div_table = div_3200; in i965gm_get_cdclk() 408 div_table = div_4000; in i965gm_get_cdclk() 411 div_table = div_5333; in i965gm_get_cdclk() [all …]
|
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-meson8b.c | 151 static const struct clk_div_table div_table[] = { in meson8b_init_rgmii_tx_clk() local 181 clk_configs->m250_div.table = div_table; in meson8b_init_rgmii_tx_clk()
|
/Linux-v6.1/drivers/clk/qcom/ |
D | gcc-ipq4019.c | 76 const struct clk_div_table *div_table; member 1394 for (clkt = pll->div_table; clkt->div; clkt++) { in clk_regmap_clk_div_recalc_rate() 1507 .div_table = fepllwcss_clk_div_table, 1525 .div_table = fepllwcss_clk_div_table,
|