/drivers/clk/ |
D | clk-vt8500.c | 359 u32 *multiplier, u32 *prediv) in vt8500_find_pll_bits() argument 366 *multiplier = 0; in vt8500_find_pll_bits() 376 *multiplier = rate / (parent_rate / *prediv); in vt8500_find_pll_bits() 377 tclk = (parent_rate / *prediv) * *multiplier; in vt8500_find_pll_bits() 385 u32 *multiplier, u32 *divisor1, u32 *divisor2) in wm8650_find_pll_bits() argument 403 *multiplier = mul; in wm8650_find_pll_bits() 420 *multiplier = best_mul; in wm8650_find_pll_bits() 453 u32 *filter, u32 *multiplier, u32 *divisor1, u32 *divisor2) in wm8750_find_pll_bits() argument 472 *multiplier = mul; in wm8750_find_pll_bits() 491 *multiplier = best_mul; in wm8750_find_pll_bits() [all …]
|
D | Makefile | 9 obj-$(CONFIG_COMMON_CLK) += clk-multiplier.o
|
/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_audio.c | 132 uint32_t n, cts, multiplier; in hdmi_audio_update() local 141 multiplier = 4; in hdmi_audio_update() 145 multiplier = 2; in hdmi_audio_update() 148 multiplier = 1; in hdmi_audio_update() 151 DBG("n=%u, cts=%u, multiplier=%u", n, cts, multiplier); in hdmi_audio_update() 155 acr_pkt_ctrl |= HDMI_ACR_PKT_CTRL_N_MULTIPLIER(multiplier); in hdmi_audio_update()
|
/drivers/video/fbdev/aty/ |
D | mach64_ct.c | 122 u32 multiplier, divider, ras_multiplier, ras_divider, tmp; in aty_dsp_gt() local 126 multiplier = ((u32)pll->mclk_fb_div) * pll->vclk_post_div_real; in aty_dsp_gt() 144 multiplier = multiplier * par->lcd_width; in aty_dsp_gt() 153 while (((multiplier | divider) & 1) == 0) { in aty_dsp_gt() 154 multiplier = multiplier >> 1; in aty_dsp_gt() 159 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt() 172 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt() 179 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt() 191 dsp_on = dsp_off - (multiplier << vshift) / divider; in aty_dsp_gt() 196 dsp_xclks = ((multiplier << (vshift + 5)) + divider) / divider; in aty_dsp_gt()
|
/drivers/video/fbdev/via/ |
D | via_clock.h | 41 u16 multiplier; member 65 return ref_freq / pll.divisor * pll.multiplier; in get_pll_internal_frequency()
|
D | via_clock.c | 38 return (pll.multiplier << 8) in cle266_encode_pll() 47 | (pll.multiplier - 2); in k800_encode_pll() 54 | pll.multiplier; in vx855_encode_pll()
|
D | hw.c | 1398 cur.multiplier = clk / ((f0 / cur.divisor)>>cur.rshift); in get_pll_config() 1401 up.multiplier++; in get_pll_config() 1402 down.multiplier--; in get_pll_config() 1408 if (cur.multiplier < limits[i].multiplier_min) in get_pll_config() 1409 cur.multiplier = limits[i].multiplier_min; in get_pll_config() 1410 else if (cur.multiplier > limits[i].multiplier_max) in get_pll_config() 1411 cur.multiplier = limits[i].multiplier_max; in get_pll_config()
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_drv.h | 74 int multiplier) in psb_intel_mode_set_pixel_multiplier() argument 76 mode->clock *= multiplier; in psb_intel_mode_set_pixel_multiplier() 77 mode->private_flags |= multiplier; in psb_intel_mode_set_pixel_multiplier()
|
D | psb_intel_sdvo.c | 954 int multiplier; in psb_intel_sdvo_mode_fixup() local 981 multiplier = psb_intel_sdvo_get_pixel_multiplier(adjusted_mode); in psb_intel_sdvo_mode_fixup() 982 psb_intel_mode_set_pixel_multiplier(adjusted_mode, multiplier); in psb_intel_sdvo_mode_fixup()
|
/drivers/tty/vt/ |
D | selection.c | 171 int i, ps, pe, multiplier; in __set_selection() local 304 multiplier = use_unicode ? 3 : 1; /* chars can take up to 3 bytes */ in __set_selection() 305 bp = kmalloc(((sel_end-sel_start)/2+1)*multiplier, GFP_KERNEL); in __set_selection()
|
/drivers/scsi/be2iscsi/ |
D | be_cmds.c | 789 u32 multiplier; in eq_delay_to_mult() local 792 multiplier = 0; in eq_delay_to_mult() 796 multiplier = 1023; in eq_delay_to_mult() 798 multiplier = (MAX_INTR_RATE - interrupt_rate) * round; in eq_delay_to_mult() 799 multiplier /= interrupt_rate; in eq_delay_to_mult() 800 multiplier = (multiplier + round / 2) / round; in eq_delay_to_mult() 801 multiplier = min(multiplier, (u32) 1023); in eq_delay_to_mult() 804 return multiplier; in eq_delay_to_mult()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 47 int min_credit, multiplier; in ixgbe_ieee_credits() local 58 multiplier = (min_credit / min_percent) + 1; in ixgbe_ieee_credits() 62 int val = min(bw[i] * multiplier, MAX_CREDIT_REFILL); in ixgbe_ieee_credits()
|
/drivers/media/pci/cobalt/ |
D | cobalt-cpld.c | 135 struct multiplier { struct 143 static const struct multiplier multipliers[] = { argument
|
/drivers/hwmon/ |
D | ibmpex.c | 72 int multiplier; member 285 int mult = data->sensors[attr->index].multiplier; in ibmpex_show_sensor() 404 data->sensors[i].multiplier = in ibmpex_find_sensors() 413 data->sensors[i].multiplier = 1000; in ibmpex_find_sensors()
|
D | abituguru3.c | 137 int multiplier; member 858 value = (value * sensor->multiplier) / sensor->divisor + in show_value()
|
/drivers/staging/clocking-wizard/ |
D | TODO | 2 - support for fractional multiplier
|
/drivers/staging/speakup/ |
D | varhandlers.c | 221 if (var_data->u.n.multiplier != 0) in spk_set_num_var() 222 val *= var_data->u.n.multiplier; in spk_set_num_var()
|
D | spk_types.h | 116 short offset, multiplier; /* for fiddling rates etc. */ member
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 250 if (np->multiplier <= 1) { in sym_selectclock() 395 np->multiplier = 1; in sym_getclock() 403 np->multiplier = mult; in sym_getclock() 411 if (np->multiplier != mult || (scntl3 & 7) < 3 || !(scntl3 & 1)) { in sym_getclock() 426 np->multiplier = mult; in sym_getclock() 433 f1 /= np->multiplier; in sym_getclock() 439 f1 *= np->multiplier; in sym_getclock() 706 np->multiplier = 4; 708 np->multiplier = 2; 710 np->multiplier = 1; [all …]
|
D | sym_hipd.h | 933 u_char multiplier; /* Clock multiplier (1,2,4) */ member
|
/drivers/scsi/ |
D | ncr53c8xx.c | 1692 u_char multiplier; /* Clock multiplier (1,2,4) */ member 3784 np->multiplier = 4; in ncr_prepare_setting() 3786 np->multiplier = 2; in ncr_prepare_setting() 3788 np->multiplier = 1; in ncr_prepare_setting() 3795 ncr_getclock(np, np->multiplier); in ncr_prepare_setting() 7822 if (np->multiplier < 2) { 7831 if (np->multiplier > 2) { /* Poll bit 5 of stest4 for quadrupler */ 7906 np->multiplier = 1; 7915 np->multiplier = mult; 7923 if (np->multiplier != mult || (scntl3 & 7) < 3 || !(scntl3 & 1)) { [all …]
|
/drivers/atm/ |
D | lanai.c | 1483 struct lanai_buffer *buf, int max_sdu, int multiplier, in lanai_get_sized_buffer() argument 1490 size = (max_sdu + 16) * multiplier + 16; in lanai_get_sized_buffer() 1514 int max_sdu, multiplier; in lanai_setup_tx_vci() local 1518 multiplier = AAL0_TX_MULTIPLIER; in lanai_setup_tx_vci() 1522 multiplier = AAL5_TX_MULTIPLIER; in lanai_setup_tx_vci() 1525 multiplier, "TX"); in lanai_setup_tx_vci()
|
/drivers/media/usb/uvc/ |
D | uvc_driver.c | 282 uint32_t multiplier; in uvc_fraction_to_interval() local 293 multiplier = 10000000; in uvc_fraction_to_interval() 294 while (numerator > ((uint32_t)-1)/multiplier) { in uvc_fraction_to_interval() 295 multiplier /= 2; in uvc_fraction_to_interval() 299 return denominator ? numerator * multiplier / denominator : 0; in uvc_fraction_to_interval()
|
/drivers/ata/ |
D | pata_octeon_cf.c | 88 static void octeon_cf_set_boot_reg_cfg(int cs, unsigned int multiplier) in octeon_cf_set_boot_reg_cfg() argument 93 switch (multiplier) { in octeon_cf_set_boot_reg_cfg()
|
/drivers/gpu/drm/radeon/ |
D | cypress_dpm.c | 907 u32 multiplier = pi->mem_gddr5 ? 1 : 2; in cypress_calculate_burst_time() local 908 u32 result = (4 * multiplier * engine_clock) / (memory_clock / 2); in cypress_calculate_burst_time()
|