/linux/sound/soc/codecs/ |
A D | max98925.c | 208 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 D | clk-usb.c | 38 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 D | clk-master.c | 103 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 D | at91sam9260.c | 39 .divisors = { 1, 2, 4, 0 }, 126 .divisors = { 1, 2, 4, 6 }, 184 .divisors = { 1, 2, 4, 0 }, 264 .divisors = { 1, 2, 4, 0 },
|
A D | dt-compat.c | 354 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 D | pmc.h | 53 u32 divisors[5]; member 258 const char *parent_name, const u32 *divisors);
|
A D | at91sam9rl.c | 14 .divisors = { 1, 2, 4, 0 },
|
/linux/arch/sh/kernel/cpu/sh3/ |
A D | clock-sh7712.c | 19 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 D | clock-sh7722.c | 95 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 D | clock-sh7366.c | 92 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 D | clock-sh7734.c | 54 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 D | clock-sh7343.c | 89 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 D | clock-sh7723.c | 96 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 D | clock-sh7724.c | 136 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 D | clock-sh7757.c | 52 .divisors = div2,
|
A D | clock-shx3.c | 51 .divisors = div2,
|
A D | clock-sh7785.c | 55 .divisors = div2,
|
/linux/drivers/misc/ |
A D | ics932s401.c | 174 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 D | scu.txt | 4 clock enable/disables, clock divisors and other deepsleep registers.
|
/linux/drivers/video/fbdev/ |
A D | cyber2000fb.c | 70 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 D | clock-sh7264.c | 66 .divisors = div2,
|
A D | clock-sh7269.c | 94 .divisors = div2,
|
/linux/Documentation/hwmon/ |
A D | userspace-tools.rst | 33 4) fix sensors.conf, labels, limits, fan divisors
|
/linux/drivers/sh/clk/ |
A D | core.c | 55 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 D | lib1funcs.S | 73 @ 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
|