/drivers/clk/at91/ |
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()
|
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() 172 for (i = 0; i < ARRAY_SIZE(characteristics->divisors); i++) { in clk_master_div_set() 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() 212 master->div = characteristics->divisors[div_index]; in clk_master_div_set() [all …]
|
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 },
|
D | dt-compat.c | 380 characteristics->divisors, 4); in of_at91_clk_master_get_characteristics() 992 u32 divisors[4] = {0, 0, 0, 0}; in of_at91rm9200_clk_usb_setup() local 1000 of_property_read_u32_array(np, "atmel,clk-divisors", divisors, 4); in of_at91rm9200_clk_usb_setup() 1001 if (!divisors[0]) in of_at91rm9200_clk_usb_setup() 1011 hw = at91rm9200_clk_register_usb(regmap, name, parent_name, divisors); in of_at91rm9200_clk_usb_setup()
|
D | pmc.h | 53 u32 divisors[5]; member 269 const char *parent_name, const u32 *divisors);
|
D | at91sam9rl.c | 14 .divisors = { 1, 2, 4, 0 },
|
D | at91rm9200.c | 25 .divisors = { 1, 2, 3, 4 },
|
D | at91sam9g45.c | 14 .divisors = { 1, 2, 4, 3 },
|
D | at91sam9n12.c | 14 .divisors = { 1, 2, 4, 3 },
|
D | sama5d3.c | 14 .divisors = { 1, 2, 4, 3 },
|
D | sama5d4.c | 14 .divisors = { 1, 2, 4, 3 },
|
D | at91sam9x5.c | 14 .divisors = { 1, 2, 4, 3 },
|
D | sam9x60.c | 15 .divisors = { 1, 2, 4, 3 },
|
D | sama5d2.c | 14 .divisors = { 1, 2, 4, 3 },
|
D | sama7g5.c | 952 .divisors = { 1, 2, 4, 3, 5 },
|
/drivers/misc/ |
D | ics932s401.c | 173 static const int divisors[] = {2, 3, 5, 15, 4, 6, 10, 30, 8, 12, 20, 60, 16, variable 189 freq /= divisors[data->regs[ICS932S401_REG_CPU_DIVISOR] >> in calculate_cpu_freq() 246 freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] & in calculate_src_freq() 294 freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] >> in calculate_pci_freq()
|
/drivers/video/fbdev/ |
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()
|
/drivers/sh/clk/ |
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()
|
D | cpg.c | 271 .divisors = sh_clk_div6_divisors,
|
/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 1072 SVGA3dVertexDivisor divisors[SVGA3D_MAX_VERTEX_ARRAYS]; member
|