Home
last modified time | relevance | path

Searched refs:divisors (Results 1 – 25 of 43) sorted by relevance

12

/linux/sound/soc/codecs/
A Dmax98925.c208 int divisors[3][2]; member
213 .divisors = { {1, 375}, {5, 1764}, {1, 384} }
218 .divisors = { {147, 40000}, {1, 256}, {147, 40960} }
223 .divisors = { {1, 250}, {5, 1176}, {1, 256} }
228 .divisors = { {2, 375}, {5, 882}, {1, 192} }
238 .divisors = { {1, 125}, {5, 588}, {1, 128} }
243 .divisors = { {4, 375}, {5, 441}, {1, 96} }
248 .divisors = { {147, 10000}, {1, 64}, {147, 10240} }
253 .divisors = { {2, 125}, {5, 294}, {1, 64} }
266 *n = rate_table[i].divisors[clock][0]; in max98925_rate_value()
[all …]
/linux/drivers/clk/at91/
A Dclk-usb.c38 u32 divisors[4]; member
316 if (usb->divisors[usbdiv]) in at91rm9200_clk_usb_recalc_rate()
317 return parent_rate / usb->divisors[usbdiv]; in at91rm9200_clk_usb_recalc_rate()
336 if (!usb->divisors[i]) in at91rm9200_clk_usb_round_rate()
339 tmp_parent_rate = rate * usb->divisors[i]; in at91rm9200_clk_usb_round_rate()
341 tmprate = DIV_ROUND_CLOSEST(tmp_parent_rate, usb->divisors[i]); in at91rm9200_clk_usb_round_rate()
373 if (usb->divisors[i] == div) { in at91rm9200_clk_usb_set_rate()
393 const char *parent_name, const u32 *divisors) in at91rm9200_clk_register_usb() argument
412 memcpy(usb->divisors, divisors, sizeof(usb->divisors)); in at91rm9200_clk_register_usb()
A Dclk-master.c103 rate /= characteristics->divisors[div]; in clk_master_div_recalc_rate()
126 div = master->characteristics->divisors[div]; in clk_master_div_save_context()
147 div = master->characteristics->divisors[div]; in clk_master_div_restore_context()
173 if (!characteristics->divisors[i]) in clk_master_div_set()
176 if (div == characteristics->divisors[i]) in clk_master_div_set()
179 if (max_div < characteristics->divisors[i]) { in clk_master_div_set()
180 max_div = characteristics->divisors[i]; in clk_master_div_set()
197 rate /= characteristics->divisors[div_index]; in clk_master_div_set()
307 if (!characteristics->divisors[i]) in clk_master_div_notifier_fn()
311 characteristics->divisors[i]); in clk_master_div_notifier_fn()
[all …]
A Dat91sam9260.c39 .divisors = { 1, 2, 4, 0 },
126 .divisors = { 1, 2, 4, 6 },
184 .divisors = { 1, 2, 4, 0 },
264 .divisors = { 1, 2, 4, 0 },
A Ddt-compat.c354 characteristics->divisors, 4); in of_at91_clk_master_get_characteristics()
917 u32 divisors[4] = {0, 0, 0, 0}; in of_at91rm9200_clk_usb_setup() local
924 of_property_read_u32_array(np, "atmel,clk-divisors", divisors, 4); in of_at91rm9200_clk_usb_setup()
925 if (!divisors[0]) in of_at91rm9200_clk_usb_setup()
933 hw = at91rm9200_clk_register_usb(regmap, name, parent_name, divisors); in of_at91rm9200_clk_usb_setup()
A Dpmc.h53 u32 divisors[5]; member
258 const char *parent_name, const u32 *divisors);
A Dat91sam9rl.c14 .divisors = { 1, 2, 4, 0 },
/linux/arch/sh/kernel/cpu/sh3/
A Dclock-sh7712.c19 static int divisors[] = { 1, 2, 3, 4, 6 }; variable
38 return clk->parent->rate / divisors[idx]; in module_clk_recalc()
50 return clk->parent->rate / divisors[idx]; in cpu_clk_recalc()
/linux/arch/sh/kernel/cpu/sh4a/
A Dclock-sh7722.c95 static int divisors[] = { 1, 3, 2, 5, 3, 4, 5, 6, 8, 10, 12, 16, 20 }; variable
98 .divisors = divisors,
99 .nr_divisors = ARRAY_SIZE(divisors),
A Dclock-sh7366.c92 static int divisors[] = { 1, 3, 2, 5, 3, 4, 5, 6, 8, 10, 12, 16, 20 }; variable
95 .divisors = divisors,
96 .nr_divisors = ARRAY_SIZE(divisors),
A Dclock-sh7734.c54 static int divisors[] = { 1, 3, 2, 3, 4, 6, 8, 9, 12, 16, 18, 24 }; variable
57 .divisors = divisors,
58 .nr_divisors = ARRAY_SIZE(divisors),
A Dclock-sh7343.c89 static int divisors[] = { 1, 3, 2, 5, 3, 4, 5, 6, 8, 10, 12, 16, 20 }; variable
92 .divisors = divisors,
93 .nr_divisors = ARRAY_SIZE(divisors),
A Dclock-sh7723.c96 static int divisors[] = { 1, 3, 2, 5, 3, 4, 5, 6, 8, 10, 12, 16, 20 }; variable
99 .divisors = divisors,
100 .nr_divisors = ARRAY_SIZE(divisors),
A Dclock-sh7724.c136 static int divisors[] = { 2, 3, 4, 6, 8, 12, 16, 0, 24, 32, 36, 48, 0, 72 }; variable
139 .divisors = divisors,
140 .nr_divisors = ARRAY_SIZE(divisors),
A Dclock-sh7757.c52 .divisors = div2,
A Dclock-shx3.c51 .divisors = div2,
A Dclock-sh7785.c55 .divisors = div2,
/linux/drivers/misc/
A Dics932s401.c174 static const int divisors[] = {2, 3, 5, 15, 4, 6, 10, 30, 8, 12, 20, 60, 16, variable
190 freq /= divisors[data->regs[ICS932S401_REG_CPU_DIVISOR] >> in calculate_cpu_freq()
247 freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] & in calculate_src_freq()
295 freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] >> in calculate_pci_freq()
/linux/Documentation/devicetree/bindings/arm/apm/
A Dscu.txt4 clock enable/disables, clock divisors and other deepsleep registers.
/linux/drivers/video/fbdev/
A Dcyber2000fb.c70 u_int divisors[4]; member
677 new_pll = pll_ps / cfb->divisors[div2]; in cyber2000fb_decode_clock()
1420 cfb->divisors[0] = 1; in cyberpro_alloc_fb_info()
1421 cfb->divisors[1] = 2; in cyberpro_alloc_fb_info()
1422 cfb->divisors[2] = 4; in cyberpro_alloc_fb_info()
1425 cfb->divisors[3] = 8; in cyberpro_alloc_fb_info()
1427 cfb->divisors[3] = 6; in cyberpro_alloc_fb_info()
/linux/arch/sh/kernel/cpu/sh2a/
A Dclock-sh7264.c66 .divisors = div2,
A Dclock-sh7269.c94 .divisors = div2,
/linux/Documentation/hwmon/
A Duserspace-tools.rst33 4) fix sensors.conf, labels, limits, fan divisors
/linux/drivers/sh/clk/
A Dcore.c55 if (src_table->divisors && i < src_table->nr_divisors) in clk_rate_table_build()
56 div = src_table->divisors[i]; in clk_rate_table_build()
/linux/arch/arm/lib/
A Dlib1funcs.S73 @ For very big divisors, we must shift it a bit at a time, or
160 @ For very big divisors, we must shift it a bit at a time, or

Completed in 32 milliseconds

12