/Linux-v6.6/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()
|
/Linux-v6.6/drivers/clk/mediatek/ |
D | clk-pll.c | 141 const struct mtk_pll_div_table *div_table = pll->data->div_table; in mtk_pll_calc_values() local 149 if (div_table) { in mtk_pll_calc_values() 150 if (freq > div_table[0].freq) in mtk_pll_calc_values() 151 freq = div_table[0].freq; in mtk_pll_calc_values() 153 for (val = 0; div_table[val + 1].freq != 0; val++) { in mtk_pll_calc_values() 154 if (freq > div_table[val + 1].freq) in mtk_pll_calc_values()
|
D | clk-pll.h | 47 const struct mtk_pll_div_table *div_table; member
|
D | clk-mt7981-apmixed.c | 34 .pcw_shift = _pcw_shift, .div_table = _div_table, \
|
D | clk-mt7986-apmixed.c | 32 .pcw_shift = _pcw_shift, .div_table = _div_table, \
|
D | clk-mt8516-apmixedsys.c | 40 .div_table = _div_table, \
|
D | clk-mt8167-apmixedsys.c | 39 .div_table = _div_table, \
|
D | clk-mt7622-apmixedsys.c | 37 .div_table = _div_table, \
|
D | clk-mt2712-apmixedsys.c | 41 .div_table = _div_table, \
|
D | clk-mt8365-apmixedsys.c | 42 .div_table = _div_table, \
|
D | clk-mt8183-apmixedsys.c | 78 .div_table = _div_table, \
|
D | clk-mt6795-apmixedsys.c | 42 .div_table = NULL, \
|
/Linux-v6.6/drivers/clk/ingenic/ |
D | cgu.c | 423 if (clk_info->div.div_table) in ingenic_clk_recalc_rate() 424 div = clk_info->div.div_table[div]; in ingenic_clk_recalc_rate() 444 && clk_info->div.div_table[i]; i++) { in ingenic_clk_calc_hw_div() 445 if (clk_info->div.div_table[i] >= div && in ingenic_clk_calc_hw_div() 446 clk_info->div.div_table[i] < best) { in ingenic_clk_calc_hw_div() 447 best = clk_info->div.div_table[i]; in ingenic_clk_calc_hw_div() 473 if (clk_info->div.div_table) { in ingenic_clk_calc_div() 476 return clk_info->div.div_table[hw_div]; in ingenic_clk_calc_div() 542 if (clk_info->div.div_table) in ingenic_clk_set_rate()
|
D | cgu.h | 109 const u8 *div_table; member
|
/Linux-v6.6/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.6/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
|
/Linux-v6.6/drivers/clk/rockchip/ |
D | clk.c | 44 struct clk_div_table *div_table, int gate_offset, in rockchip_clk_register_branch() argument 100 div->table = div_table; in rockchip_clk_register_branch() 470 if (list->div_table) in rockchip_clk_register_branches() 476 list->div_flags, list->div_table, in rockchip_clk_register_branches() 520 list->div_flags, list->div_table, in rockchip_clk_register_branches()
|
D | clk.h | 543 struct clk_div_table *div_table; member 624 .div_table = dt, \ 683 .div_table = dt, \ 829 .div_table = dt, \
|
/Linux-v6.6/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.6/drivers/clk/x86/ |
D | clk-cgu.h | 188 const struct clk_div_table *div_table; member 238 .div_table = _dtable, \
|
/Linux-v6.6/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.6/drivers/gpu/drm/i915/display/ |
D | intel_cdclk.c | 310 const u8 *div_table; in g33_get_cdclk() local 325 div_table = div_3200; in g33_get_cdclk() 328 div_table = div_4000; in g33_get_cdclk() 331 div_table = div_4800; in g33_get_cdclk() 334 div_table = div_5333; in g33_get_cdclk() 341 div_table[cdclk_sel]); in g33_get_cdclk() 392 const u8 *div_table; in i965gm_get_cdclk() local 407 div_table = div_3200; in i965gm_get_cdclk() 410 div_table = div_4000; in i965gm_get_cdclk() 413 div_table = div_5333; in i965gm_get_cdclk() [all …]
|
/Linux-v6.6/drivers/clk/renesas/ |
D | r9a06g032-clocks.c | 135 u16 div_table[4]; member 200 .div_table = { __VA_ARGS__ } \ 1072 i < ARRAY_SIZE(desc->div_table) && desc->div_table[i]; i++) { in r9a06g032_register_div() 1073 div->table[div->table_size++] = desc->div_table[i]; in r9a06g032_register_div()
|