/linux-4.1.27/drivers/clk/mmp/ |
H A D | clk-frac.c | 2 * mmp factor clock operation source file 22 * numerator/denominator = Fin / (Fout * factor) 30 struct mmp_clk_factor *factor = to_clk_factor(hw); clk_factor_round_rate() local 34 for (i = 0; i < factor->ftbl_cnt; i++) { clk_factor_round_rate() 36 rate = (((*prate / 10000) * factor->ftbl[i].den) / clk_factor_round_rate() 37 (factor->ftbl[i].num * factor->masks->factor)) * 10000; clk_factor_round_rate() 41 if ((i == 0) || (i == factor->ftbl_cnt)) { clk_factor_round_rate() 54 struct mmp_clk_factor *factor = to_clk_factor(hw); clk_factor_recalc_rate() local 55 struct mmp_clk_factor_masks *masks = factor->masks; clk_factor_recalc_rate() 58 val = readl_relaxed(factor->base); clk_factor_recalc_rate() 70 (num * factor->masks->factor)) * 10000; clk_factor_recalc_rate() 77 struct mmp_clk_factor *factor = to_clk_factor(hw); clk_factor_set_rate() local 78 struct mmp_clk_factor_masks *masks = factor->masks; clk_factor_set_rate() 84 for (i = 0; i < factor->ftbl_cnt; i++) { clk_factor_set_rate() 86 rate = (((prate / 10000) * factor->ftbl[i].den) / clk_factor_set_rate() 87 (factor->ftbl[i].num * factor->masks->factor)) * 10000; clk_factor_set_rate() 94 if (factor->lock) clk_factor_set_rate() 95 spin_lock_irqsave(factor->lock, flags); clk_factor_set_rate() 97 val = readl_relaxed(factor->base); clk_factor_set_rate() 100 val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift; clk_factor_set_rate() 103 val |= (factor->ftbl[i].den & masks->den_mask) << masks->den_shift; clk_factor_set_rate() 105 writel_relaxed(val, factor->base); clk_factor_set_rate() 107 if (factor->lock) clk_factor_set_rate() 108 spin_unlock_irqrestore(factor->lock, flags); clk_factor_set_rate() 115 struct mmp_clk_factor *factor = to_clk_factor(hw); clk_factor_init() local 116 struct mmp_clk_factor_masks *masks = factor->masks; clk_factor_init() 121 if (factor->lock) clk_factor_init() 122 spin_lock_irqsave(factor->lock, flags); clk_factor_init() 124 val = readl(factor->base); clk_factor_init() 132 for (i = 0; i < factor->ftbl_cnt; i++) clk_factor_init() 133 if (den == factor->ftbl[i].den && num == factor->ftbl[i].num) clk_factor_init() 136 if (i >= factor->ftbl_cnt) { clk_factor_init() 138 val |= (factor->ftbl[0].num & masks->num_mask) << clk_factor_init() 142 val |= (factor->ftbl[0].den & masks->den_mask) << clk_factor_init() 145 writel(val, factor->base); clk_factor_init() 148 if (factor->lock) clk_factor_init() 149 spin_unlock_irqrestore(factor->lock, flags); clk_factor_init() 165 struct mmp_clk_factor *factor; mmp_clk_register_factor() local 174 factor = kzalloc(sizeof(*factor), GFP_KERNEL); mmp_clk_register_factor() 175 if (!factor) { mmp_clk_register_factor() 176 pr_err("%s: could not allocate factor clk\n", __func__); mmp_clk_register_factor() 181 factor->base = base; mmp_clk_register_factor() 182 factor->masks = masks; mmp_clk_register_factor() 183 factor->ftbl = ftbl; mmp_clk_register_factor() 184 factor->ftbl_cnt = ftbl_cnt; mmp_clk_register_factor() 185 factor->hw.init = &init; mmp_clk_register_factor() 186 factor->lock = lock; mmp_clk_register_factor() 194 clk = clk_register(NULL, &factor->hw); mmp_clk_register_factor() 196 kfree(factor); mmp_clk_register_factor()
|
H A D | clk.h | 11 /* Clock type "factor" */ 13 unsigned int factor; member in struct:mmp_clk_factor_masks
|
H A D | clk-of-pxa168.c | 80 .factor = 2,
|
H A D | clk-of-pxa910.c | 79 .factor = 2,
|
H A D | clk-pxa168.c | 51 .factor = 2,
|
H A D | clk-pxa910.c | 49 .factor = 2,
|
/linux-4.1.27/lib/ |
H A D | average.c | 20 * The factor for scaling up and the exponential weight (or decay rate) have to 28 * @factor: Factor to use for the scaled up internal value. The maximum value 29 * of averages can be ULONG_MAX/(factor*weight). For performance reasons 30 * factor has to be a power of 2. 37 void ewma_init(struct ewma *avg, unsigned long factor, unsigned long weight) ewma_init() argument 39 WARN_ON(!is_power_of_2(weight) || !is_power_of_2(factor)); ewma_init() 42 avg->factor = ilog2(factor); ewma_init() 60 (val << avg->factor)) >> avg->weight : ewma_add() 61 (val << avg->factor); ewma_add()
|
H A D | ts_kmp.c | 25 * save a factor of |SIGMA| in the preprocessing time by computing
|
/linux-4.1.27/fs/btrfs/ |
H A D | math.h | 26 static inline u64 div_factor(u64 num, int factor) div_factor() argument 28 if (factor == 10) div_factor() 30 num *= factor; div_factor() 34 static inline u64 div_factor_fine(u64 num, int factor) div_factor_fine() argument 36 if (factor == 100) div_factor_fine() 38 num *= factor; div_factor_fine()
|
H A D | super.c | 1841 unsigned factor = 1; btrfs_statfs() local 1865 factor = 2; list_for_each_entry_rcu() 1878 buf->f_blocks = div_u64(btrfs_super_total_bytes(disk_super), factor); 1880 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); 1887 buf->f_bavail = div_u64(total_free_data, factor); 1891 buf->f_bavail += div_u64(total_free_data, factor);
|
/linux-4.1.27/include/linux/ |
H A D | average.h | 10 unsigned long factor; member in struct:ewma 14 extern void ewma_init(struct ewma *avg, unsigned long factor, 27 return avg->internal >> avg->factor; ewma_read()
|
H A D | apm-emulation.h | 8 * factor out the information needed by architectures to provide
|
H A D | timex.h | 82 * SHIFT_PLL is used as a dampening factor to define how much we 106 * SHIFT_FLL is used as a dampening factor to define how much we 112 #define SHIFT_PLL 2 /* PLL frequency factor (shift) */ 113 #define SHIFT_FLL 2 /* FLL frequency factor (shift) */
|
H A D | clockchips.h | 148 * Calculate a multiplication factor for scaled math, which is used to convert 151 * clock_ticks = (nanoseconds * factor) >> shift. 153 * div_sc is the rearranged equation to calculate a factor from a given clock 156 * factor = (clock_ticks << shift) / nanoseconds
|
H A D | sysv_fs.h | 146 __fs16 s_m; /* interleave factor */ 147 __fs16 s_n; /* interleave factor */ 183 __fs16 s_interleave_m; /* interleave factor */
|
H A D | clocksource.h | 118 * @shift_constant: Clocksource shift factor 143 * @shift_constant: Clocksource shift factor
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_rect.c | 58 * @hscale: horizontal scaling factor 59 * @vscale: vertical scaling factor 115 * drm_rect_calc_hscale - calculate the horizontal scaling factor 118 * @min_hscale: minimum allowed horizontal scaling factor 119 * @max_hscale: maximum allowed horizontal scaling factor 121 * Calculate the horizontal scaling factor as 125 * The horizontal scaling factor, or errno of out of limits. 146 * drm_rect_calc_vscale - calculate the vertical scaling factor 149 * @min_vscale: minimum allowed vertical scaling factor 150 * @max_vscale: maximum allowed vertical scaling factor 152 * Calculate the vertical scaling factor as 156 * The vertical scaling factor, or errno of out of limits. 177 * drm_calc_hscale_relaxed - calculate the horizontal scaling factor 180 * @min_hscale: minimum allowed horizontal scaling factor 181 * @max_hscale: maximum allowed horizontal scaling factor 183 * Calculate the horizontal scaling factor as 186 * If the calculated scaling factor is below @min_vscale, 189 * If the calculated scaling factor is above @max_vscale, 193 * The horizontal scaling factor. 227 * drm_rect_calc_vscale_relaxed - calculate the vertical scaling factor 230 * @min_vscale: minimum allowed vertical scaling factor 231 * @max_vscale: maximum allowed vertical scaling factor 233 * Calculate the vertical scaling factor as 236 * If the calculated scaling factor is below @min_vscale, 239 * If the calculated scaling factor is above @max_vscale, 243 * The vertical scaling factor.
|
/linux-4.1.27/drivers/iio/imu/ |
H A D | adis16400.h | 51 #define ADIS16400_XGYRO_OFF 0x1A /* X-axis gyroscope bias offset factor */ 52 #define ADIS16400_YGYRO_OFF 0x1C /* Y-axis gyroscope bias offset factor */ 53 #define ADIS16400_ZGYRO_OFF 0x1E /* Z-axis gyroscope bias offset factor */ 54 #define ADIS16400_XACCL_OFF 0x20 /* X-axis acceleration bias offset factor */ 55 #define ADIS16400_YACCL_OFF 0x22 /* Y-axis acceleration bias offset factor */ 56 #define ADIS16400_ZACCL_OFF 0x24 /* Z-axis acceleration bias offset factor */ 57 #define ADIS16400_XMAGN_HIF 0x26 /* X-axis magnetometer, hard-iron factor */ 58 #define ADIS16400_YMAGN_HIF 0x28 /* Y-axis magnetometer, hard-iron factor */ 59 #define ADIS16400_ZMAGN_HIF 0x2A /* Z-axis magnetometer, hard-iron factor */ 60 #define ADIS16400_XMAGN_SIF 0x2C /* X-axis magnetometer, soft-iron factor */ 61 #define ADIS16400_YMAGN_SIF 0x2E /* Y-axis magnetometer, soft-iron factor */ 62 #define ADIS16400_ZMAGN_SIF 0x30 /* Z-axis magnetometer, soft-iron factor */
|
/linux-4.1.27/include/linux/i2c/ |
H A D | apds990x.h | 37 * @cf1: clear channel factor 1 for raw to lux conversion 38 * @irf1: IR channel factor 1 for raw to lux conversion 39 * @cf2: clear channel factor 2 for raw to lux conversion 40 * @irf2: IR channel factor 2 for raw to lux conversion 41 * @df: device factor for conversion formulas 60 * @cf: chip factor data
|
H A D | tsc2007.h | 11 int fuzzx; /* fuzz factor for X, Y and pressure axes */
|
H A D | bh1770glc.h | 31 * @glass_attenuation: Attenuation factor for covering window. 35 * Example of glass attenuation: 16384 * 385 / 100 means attenuation factor
|
/linux-4.1.27/arch/sh/kernel/vsyscall/ |
H A D | vsyscall-trapa.S | 19 .uleb128 0x1 /* Code alignment factor */ 20 .sleb128 -4 /* Data alignment factor */
|
H A D | vsyscall-sigreturn.S | 46 .uleb128 0x1 /* Code alignment factor */ 47 .sleb128 -4 /* Data alignment factor */
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_proc.c | 196 static void dasd_statistics_array(struct seq_file *m, unsigned int *array, int factor) dasd_statistics_array() argument 201 seq_printf(m, "%7d ", array[i] / factor); dasd_statistics_array() 213 int factor; dasd_stats_proc_show() local 226 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; dasd_stats_proc_show() 227 factor *= 10); dasd_stats_proc_show() 232 seq_printf(m, "Scale Factor is %d\n", factor); dasd_stats_proc_show() 243 dasd_statistics_array(m, prof->dasd_io_secs, factor); dasd_stats_proc_show() 245 dasd_statistics_array(m, prof->dasd_io_times, factor); dasd_stats_proc_show() 247 dasd_statistics_array(m, prof->dasd_io_timps, factor); dasd_stats_proc_show() 249 dasd_statistics_array(m, prof->dasd_io_time1, factor); dasd_stats_proc_show() 251 dasd_statistics_array(m, prof->dasd_io_time2, factor); dasd_stats_proc_show() 254 dasd_statistics_array(m, prof->dasd_io_time2ps, factor); dasd_stats_proc_show() 256 dasd_statistics_array(m, prof->dasd_io_time3, factor); dasd_stats_proc_show() 258 dasd_statistics_array(m, prof->dasd_io_nr_req, factor); dasd_stats_proc_show()
|
/linux-4.1.27/arch/x86/vdso/vdso32/ |
H A D | int80.S | 28 .uleb128 1 /* Code alignment factor */ 29 .sleb128 -4 /* Data alignment factor */
|
H A D | syscall.S | 36 .uleb128 1 /* Code alignment factor */ 37 .sleb128 -4 /* Data alignment factor */
|
H A D | sigreturn.S | 50 .uleb128 1 /* Code alignment factor */ 51 .sleb128 -4 /* Data alignment factor */
|
H A D | sysenter.S | 67 .uleb128 1 /* Code alignment factor */ 68 .sleb128 -4 /* Data alignment factor */
|
/linux-4.1.27/include/linux/netfilter/ |
H A D | nf_conntrack_tcp.h | 12 u_int8_t td_scale; /* window scale factor */ 28 u_int8_t last_wscale; /* Last window scaling factor seen */
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | adis16201.h | 16 #define ADIS16201_XACCL_SCALE 0x14 /* x-axis acceleration scale factor */ 17 #define ADIS16201_YACCL_SCALE 0x16 /* y-axis acceleration scale factor */ 20 #define ADIS16201_XINCL_SCALE 0x1C /* x-axis inclination scale factor */ 21 #define ADIS16201_YINCL_SCALE 0x1E /* y-axis inclination scale factor */
|
H A D | adis16204.h | 16 #define ADIS16204_XACCL_SCALE 0x14 /* X-axis scale factor calibration register */ 17 #define ADIS16204_YACCL_SCALE 0x16 /* Y-axis scale factor calibration register */
|
/linux-4.1.27/drivers/clk/ti/ |
H A D | Makefile | 3 fixed-factor.o mux.o apll.o
|
H A D | fixed-factor.c | 29 * of_ti_fixed_factor_clk_setup - Setup function for TI fixed factor clock 32 * Sets up a simple fixed factor clock based on device tree info. 65 CLK_OF_DECLARE(ti_fixed_factor_clk, "ti,fixed-factor-clock",
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-fixed-factor.c | 78 pr_err("%s: could not allocate fixed factor clk\n", __func__); clk_register_fixed_factor() 104 * of_fixed_factor_clk_setup() - Setup function for simple fixed factor clock 114 pr_err("%s Fixed factor clock <%s> must have a clock-div property\n", of_fixed_factor_clk_setup() 120 pr_err("%s Fixed factor clock <%s> must have a clock-mult property\n", of_fixed_factor_clk_setup() 134 CLK_OF_DECLARE(fixed_factor_clk, "fixed-factor-clock",
|
/linux-4.1.27/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 40 * @return factor if abs(val - factor*fraction) <= tolerance, 0 otherwise 45 u32 factor; pde_get_multiple() local 57 factor = val / fraction; pde_get_multiple() 63 factor++; pde_get_multiple() 65 factor = 0; pde_get_multiple() 67 return factor; pde_get_multiple() 255 u32 factor; pseq_handler_create_sequences() local 260 factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri, pseq_handler_create_sequences() 262 if (factor > 0) { pseq_handler_create_sequences() 307 u32 factor; pseq_handler_add_to_existing_seqs() local 317 factor = pde_get_multiple(delta_ts, ps->pri, pseq_handler_add_to_existing_seqs() 319 if (factor > 0) { pseq_handler_add_to_existing_seqs()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-vid-out.c | 349 unsigned factor = 1; vivid_try_fmt_vid_out() local 370 factor = 2; vivid_try_fmt_vid_out() 373 mp->height = h / factor; vivid_try_fmt_vid_out() 375 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; vivid_try_fmt_vid_out() 389 mp->height = r.height / factor; vivid_try_fmt_vid_out() 440 unsigned factor = 1; vivid_s_fmt_vid_out() local 466 factor = 2; vivid_s_fmt_vid_out() 480 factor * r.height / MAX_ZOOM vivid_s_fmt_vid_out() 485 factor * r.height * MAX_ZOOM vivid_s_fmt_vid_out() 495 factor * crop->height / MAX_ZOOM vivid_s_fmt_vid_out() 500 factor * crop->height * MAX_ZOOM vivid_s_fmt_vid_out() 509 r.height *= factor; vivid_s_fmt_vid_out() 514 r.height /= factor; vivid_s_fmt_vid_out() 517 r.height *= factor; vivid_s_fmt_vid_out() 520 crop->top *= factor; vivid_s_fmt_vid_out() 521 crop->height *= factor; vivid_s_fmt_vid_out() 524 crop->top /= factor; vivid_s_fmt_vid_out() 525 crop->height /= factor; vivid_s_fmt_vid_out() 531 r.height /= factor; vivid_s_fmt_vid_out() 667 unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_out) ? 2 : 1; vivid_vid_out_s_selection() local 688 (dev->sink_rect.height / factor) * MAX_ZOOM vivid_vid_out_s_selection() 696 (s->r.height * factor) / MAX_ZOOM vivid_vid_out_s_selection() 701 (s->r.height * factor) * MAX_ZOOM vivid_vid_out_s_selection() 709 s->r.top *= factor; vivid_vid_out_s_selection() 710 s->r.height *= factor; vivid_vid_out_s_selection() 714 s->r.top /= factor; vivid_vid_out_s_selection() 715 s->r.height /= factor; vivid_vid_out_s_selection() 718 s->r.height /= factor; vivid_vid_out_s_selection() 732 s->r.top /= factor; vivid_vid_out_s_selection() 733 s->r.height /= factor; vivid_vid_out_s_selection() 774 crop->height /= factor; vivid_vid_out_s_selection() 777 s->r.top *= factor; vivid_vid_out_s_selection() 778 s->r.height *= factor; vivid_vid_out_s_selection()
|
H A D | vivid-vid-cap.c | 550 unsigned factor = 1; vivid_try_fmt_vid_cap() local 577 factor = 2; vivid_try_fmt_vid_cap() 581 mp->height = h / factor; vivid_try_fmt_vid_cap() 583 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; vivid_try_fmt_vid_cap() 597 mp->height = r.height / factor; vivid_try_fmt_vid_cap() 633 unsigned factor = 1; vivid_s_fmt_vid_cap() local 652 factor = 2; vivid_s_fmt_vid_cap() 669 factor * r.height / MAX_ZOOM vivid_s_fmt_vid_cap() 674 factor * r.height * MAX_ZOOM vivid_s_fmt_vid_cap() 684 factor * compose->height / MAX_ZOOM vivid_s_fmt_vid_cap() 689 factor * compose->height * MAX_ZOOM vivid_s_fmt_vid_cap() 697 r.height *= factor; vivid_s_fmt_vid_cap() 701 r.height /= factor; vivid_s_fmt_vid_cap() 706 r.height *= factor; vivid_s_fmt_vid_cap() 709 compose->top *= factor; vivid_s_fmt_vid_cap() 710 compose->height *= factor; vivid_s_fmt_vid_cap() 713 compose->top /= factor; vivid_s_fmt_vid_cap() 714 compose->height /= factor; vivid_s_fmt_vid_cap() 730 r.height *= factor; vivid_s_fmt_vid_cap() 863 unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_cap) ? 2 : 1; vivid_vid_cap_s_selection() local 883 s->r.top /= factor; vivid_vid_cap_s_selection() 884 s->r.height /= factor; vivid_vid_cap_s_selection() 930 s->r.top *= factor; vivid_vid_cap_s_selection() 931 s->r.height *= factor; vivid_vid_cap_s_selection() 946 (dev->src_rect.height / factor) * MAX_ZOOM vivid_vid_cap_s_selection() 954 (s->r.height * factor) / MAX_ZOOM vivid_vid_cap_s_selection() 959 (s->r.height * factor) * MAX_ZOOM vivid_vid_cap_s_selection() 967 s->r.top *= factor; vivid_vid_cap_s_selection() 968 s->r.height *= factor; vivid_vid_cap_s_selection() 972 s->r.top /= factor; vivid_vid_cap_s_selection() 973 s->r.height /= factor; vivid_vid_cap_s_selection() 976 s->r.height /= factor; vivid_vid_cap_s_selection()
|
H A D | vivid-tpg.c | 1499 int factor = tpg->mv_hor_mode > TPG_MOVE_NONE ? -1 : 1; tpg_update_mv_step() local 1502 factor = -factor; tpg_update_mv_step() 1520 if (factor < 0) tpg_update_mv_step() 1523 factor = tpg->mv_vert_mode > TPG_MOVE_NONE ? -1 : 1; tpg_update_mv_step() 1541 if (factor < 0) tpg_update_mv_step() 1999 unsigned factor = V4L2_FIELD_HAS_T_OR_B(tpg->field) ? 2 : 1; tpg_fill_plane_buffer() local 2002 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; tpg_fill_plane_buffer() 2003 unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; tpg_fill_plane_buffer()
|
/linux-4.1.27/drivers/media/platform/ti-vpe/ |
H A D | sc.c | 164 u16 factor = 0; sc_config_scaler() local 228 factor = (u16) ((dst_h << 10) / src_h); sc_config_scaler() 230 row_acc_init_rav = factor + ((1 + factor) >> 1); sc_config_scaler() 243 dev_dbg(dev, "vs config(RAV): src_h = %d, dst_h = %d, factor = %d, acc_init = %08x, acc_init_b = %08x\n", sc_config_scaler() 244 src_h, dst_h, factor, row_acc_init_rav, sc_config_scaler() 275 *sc_reg13 = factor; sc_config_scaler()
|
/linux-4.1.27/net/ipv4/ |
H A D | tcp_htcp.c | 176 u32 factor = 1; htcp_alpha_update() local 181 factor = 1 + (10 * diff + ((diff / 2) * (diff / 2) / HZ)) / HZ; htcp_alpha_update() 189 factor = (factor << 3) / scale; htcp_alpha_update() 190 if (!factor) htcp_alpha_update() 191 factor = 1; htcp_alpha_update() 194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); htcp_alpha_update()
|
H A D | tcp_bic.c | 20 #define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | delay.h | 51 * This is a macro so that the const version can factor out the first 73 * the const factor (4295 = 2**32 / 1000000) can be optimized out when 112 * This is a macro so that the const version can factor out the first
|
/linux-4.1.27/include/linux/input/ |
H A D | adxl34x.h | 23 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g) 50 * The data format is unsigned. The scale factor is 62.5 mg/LSB 61 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero 72 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap 82 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will 127 * The data format is unsigned. The scale factor is 138 * factor is 62.5 mg/LSB. A zero value may result in undesirable 148 * inactivity_threshold for inactivity to be declared. The scale factor 167 * occurring. The scale factor is 62.5 mg/LSB. A zero value may 180 * scale factor is 5 ms/LSB. A zero value may result in 203 * with RANGE to maintain a 4 mg/LSB scale factor. When this 205 * maximum g-Range and scale factor.
|
/linux-4.1.27/drivers/misc/echo/ |
H A D | echo.c | 124 int factor; lms_adapt_bg() local 130 factor = clean << shift; lms_adapt_bg() 132 factor = clean >> -shift; lms_adapt_bg() 145 exp = *phist++ * factor; lms_adapt_bg() 196 int factor; lms_adapt_bg() local 200 factor = clean << shift; lms_adapt_bg() 202 factor = clean >> -shift; lms_adapt_bg() 210 exp = (ec->fir_state_bg.history[i - offset1] * factor); lms_adapt_bg() 214 exp = (ec->fir_state_bg.history[i + offset2] * factor); lms_adapt_bg() 455 ec->factor = 0; oslec_update() 469 The correct factor f must be in Q30, as this is the fixed oslec_update() 474 factor = (2^30) * Beta * clean_bg_rx/P ----- (2) oslec_update() 478 factor = (2^30) * (2^-2) * clean_bg_rx/P oslec_update() 481 factor = clean_bg_rx 2 ----- (3) oslec_update() 486 factor of 2, but the algorithm seems to handle it OK. oslec_update() 547 * factor of 2 is 6dB, so 2*2*2*2=16 is the same as oslec_update()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
H A D | stats.h | 33 /* Rx smooth factor */
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/clock/ |
H A D | hip04-clock.h | 28 /* fixed rate & fixed factor clocks */
|
H A D | hi3620-clock.h | 29 /* fixed rate & fixed factor clocks */
|
H A D | pistachio-clk.h | 21 /* Fixed-factor clocks */
|
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/clock/ |
H A D | hip04-clock.h | 28 /* fixed rate & fixed factor clocks */
|
H A D | hi3620-clock.h | 29 /* fixed rate & fixed factor clocks */
|
H A D | pistachio-clk.h | 21 /* Fixed-factor clocks */
|
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/clock/ |
H A D | hip04-clock.h | 28 /* fixed rate & fixed factor clocks */
|
H A D | hi3620-clock.h | 29 /* fixed rate & fixed factor clocks */
|
H A D | pistachio-clk.h | 21 /* Fixed-factor clocks */
|
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/clock/ |
H A D | hip04-clock.h | 28 /* fixed rate & fixed factor clocks */
|
H A D | hi3620-clock.h | 29 /* fixed rate & fixed factor clocks */
|
H A D | pistachio-clk.h | 21 /* Fixed-factor clocks */
|
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/clock/ |
H A D | hip04-clock.h | 28 /* fixed rate & fixed factor clocks */
|
H A D | hi3620-clock.h | 29 /* fixed rate & fixed factor clocks */
|
H A D | pistachio-clk.h | 21 /* Fixed-factor clocks */
|
/linux-4.1.27/include/dt-bindings/clock/ |
H A D | hip04-clock.h | 28 /* fixed rate & fixed factor clocks */
|
H A D | hi3620-clock.h | 29 /* fixed rate & fixed factor clocks */
|
H A D | pistachio-clk.h | 21 /* Fixed-factor clocks */
|
/linux-4.1.27/drivers/clk/sunxi/ |
H A D | clk-factors.c | 8 * Adjustable factor-based clock implementation 23 * DOC: basic adjustable factor-based clock 56 /* Get each individual factor if applicable */ clk_factors_recalc_rate() 182 * some factor clocks, such as pll5 and pll6, may have multiple sunxi_factors_register() 200 /* Add a gate if this factor clock can be gated */ sunxi_factors_register() 215 /* Add a mux if this factor clock can be muxed */ sunxi_factors_register()
|
H A D | clk-sun8i-mbus.c | 24 * sun8i_a23_get_mbus_factors() - calculates m factor for MBUS clocks
|
H A D | clk-sunxi.c | 340 /* Otherwise, we don't use the k factor */ sun6i_a31_get_pll1_factors() 355 * If the frequency is a multiple of 6MHz, but the factor is sun6i_a31_get_pll1_factors() 607 * sunxi_factors_clk_setup() - Setup function for factor clocks 1053 const struct factors_data *factors; /* data for the factor clock */ 1057 * self or base factor clock refers to the output from the pll 1062 u8 self; /* is it the base factor clock? (only one) */ 1085 /* No output for the base factor clock */ 1095 { .self = 1 }, /* base factor clock, 2x */ 1105 { .self = 1 }, /* base factor clock, 2x */ 1140 /* Set up factor clock that we will be dividing */ sunxi_divs_clk_setup() 1165 /* If this is the base factor clock, only update clks */ sunxi_divs_clk_setup() 1332 /* Register factor clocks */ sunxi_init_clocks()
|
H A D | clk-sun9i-core.c | 109 * sun9i_a80_get_gt_factors() - calculates m factor for GT 174 * sun9i_a80_get_ahb_factors() - calculates p factor for AHB0/1/2
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | ch341.c | 55 /* baudrate calculation factor */ 127 unsigned long factor; ch341_set_baudrate() local 132 factor = (CH341_BAUDBASE_FACTOR / priv->baud_rate); ch341_set_baudrate() 135 while ((factor > 0xfff0) && divisor) { ch341_set_baudrate() 136 factor >>= 3; ch341_set_baudrate() 140 if (factor > 0xfff0) ch341_set_baudrate() 143 factor = 0x10000 - factor; ch341_set_baudrate() 144 a = (factor & 0xff00) | divisor; ch341_set_baudrate() 145 b = factor & 0xff; ch341_set_baudrate()
|
/linux-4.1.27/drivers/clocksource/ |
H A D | cadence_ttc_timer.c | 242 unsigned long factor, rate_low, rate_high; ttc_rate_change_clocksource_cb() local 245 factor = DIV_ROUND_CLOSEST(ndata->new_rate, ttc_rate_change_clocksource_cb() 250 factor = DIV_ROUND_CLOSEST(ndata->old_rate, ttc_rate_change_clocksource_cb() 256 if (!is_power_of_2(factor)) ttc_rate_change_clocksource_cb() 259 if (abs(rate_high - (factor * rate_low)) > MAX_F_ERR) ttc_rate_change_clocksource_cb() 262 factor = __ilog2_u32(factor); ttc_rate_change_clocksource_cb() 276 psv -= factor; ttc_rate_change_clocksource_cb() 278 psv += factor; ttc_rate_change_clocksource_cb()
|
H A D | i8253.c | 170 * Initialize the conversion factor and the min/max deltas of the clock event
|
/linux-4.1.27/init/ |
H A D | do_mounts_md.c | 54 * md=n,0,factor,fault,device-list uses RAID0 for device n 55 * md=n,-1,factor,fault,device-list uses LINEAR for device n 65 int minor, level, factor, fault, partitioned = 0; md_setup() local 95 if (get_option(&str, &factor) != 2 || /* Chunk Size */ md_setup() 101 md_setup_args[ent].chunk = 1 << (factor+12); md_setup()
|
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 292 u32 factor; atmel_hlcdc_plane_update_pos_and_size() local 303 factor = ((8 * 256 * state->src_w) - (256 * 4)) / atmel_hlcdc_plane_update_pos_and_size() 305 factor++; atmel_hlcdc_plane_update_pos_and_size() 306 max_memsize = ((factor * state->crtc_w) + (256 * 4)) / atmel_hlcdc_plane_update_pos_and_size() 309 factor--; atmel_hlcdc_plane_update_pos_and_size() 310 factor_reg |= factor | 0x80000000; atmel_hlcdc_plane_update_pos_and_size() 315 u32 factor; atmel_hlcdc_plane_update_pos_and_size() local 326 factor = ((8 * 256 * state->src_w) - (256 * 4)) / atmel_hlcdc_plane_update_pos_and_size() 328 factor++; atmel_hlcdc_plane_update_pos_and_size() 329 max_memsize = ((factor * state->crtc_w) + (256 * 4)) / atmel_hlcdc_plane_update_pos_and_size() 332 factor--; atmel_hlcdc_plane_update_pos_and_size() 333 factor_reg |= (factor << 16) | 0x80000000; atmel_hlcdc_plane_update_pos_and_size()
|
/linux-4.1.27/drivers/clk/versatile/ |
H A D | clk-impd1.c | 123 /* UART reference clock divides CLK2 by a fixed factor 4 */ integrator_impd1_clk_init() 133 /* SPI PL022 clock divides CLK2 by a fixed factor 64 */ integrator_impd1_clk_init() 145 /* Smart Card clock divides CLK2 by a fixed factor 4 */ integrator_impd1_clk_init()
|
/linux-4.1.27/tools/perf/util/ |
H A D | config.c | 303 unsigned long factor = 1; perf_parse_llong() local 305 if (!parse_unit_factor(end, &factor)) perf_parse_llong() 307 *ret = val * factor; perf_parse_llong() 318 unsigned long factor = 1; perf_parse_long() local 319 if (!parse_unit_factor(end, &factor)) perf_parse_long() 321 *ret = val * factor; perf_parse_long()
|
H A D | cache.h | 45 * is 'alloc', using the standard growing factor alloc_nr() macro.
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
H A D | vsp1_video.h | 34 * @hsub: horizontal subsampling factor 35 * @vsub: vertical subsampling factor
|
H A D | vsp1_uds.c | 138 * scaling down with a factor lower than or equal to 1/2 in either uds_s_stream()
|
/linux-4.1.27/drivers/clk/rockchip/ |
H A D | clk-mmc-phase.c | 64 unsigned long factor = (ROCKCHIP_MMC_DELAY_ELEMENT_PSEC / 10) * rockchip_mmc_get_phase() local 69 degrees += delay_num * factor / 10000; rockchip_mmc_get_phase()
|
/linux-4.1.27/drivers/cpuidle/governors/ |
H A D | menu.c | 61 * more realistic estimate, a correction factor is applied to the estimate, 63 * duration always was 50% of the next timer tick, the correction factor will 66 * menu uses a running average for this correction factor, however it uses a 67 * set of factors, not just a single factor. This stems from the realization 71 * seconds of idle time. A second independent factor that has big impact on 72 * the actual factor is if there is (disk) IO outstanding or not. 114 * The load average factor gives a longer term (few seconds) input to the 116 * The iowait factor may look low, but realize that this is also already 428 * We don't want 0 as factor; we always want at least menu_update() 458 * if the correction factor is 0 (eg first time init or cpu hotplug menu_enable_device() 459 * etc), we actually want to start out with a unity factor. menu_enable_device()
|
/linux-4.1.27/drivers/media/platform/s5p-g2d/ |
H A D | g2d-hw.c | 92 /* inversed scaling factor: src is numerator */ g2d_set_v41_stretch()
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
H A D | rtl8723a_recv.h | 46 /* Rx smooth factor */
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | rtl8188e_recv.h | 48 /* Rx smooth factor */
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
H A D | adv7511.h | 261 * enum adv7511_csc_scaling - Scaling factor for the ADV7511 CSC 263 * @ADV7511_CSC_SCALING_2: CSC results are scaled by a factor of two 264 * @ADV7511_CSC_SCALING_4: CSC results are scalled by a factor of four 275 * @csc_scaling_factor: Color space conversion scaling factor
|
/linux-4.1.27/arch/tile/lib/ |
H A D | spinlock_common.h | 59 /* Add a randomness factor so two cpus never get in lock step. */ delay_backoff()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | pll.h | 55 * calc to use 7 causes the generated clock to be out by a factor of 2.
|
/linux-4.1.27/net/dccp/ccids/lib/ |
H A D | tfrc.h | 51 * @weight: Weight to be used as damping factor, in units of 1/10
|
/linux-4.1.27/include/linux/iio/ |
H A D | consumer.h | 191 * @scale: Scale factor to apply during the conversion 201 * The scale factor allows to increase the precession of the returned value. For 202 * a scale factor of 1 the function will return the result in the normal IIO 204 * nanovolts instead pass 1000000 as the scale factor.
|
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptspi.c | 116 u8 factor = MPT_ASYNC; mptspi_setTargetNegoParms() local 125 factor = MPT_ULTRA2; mptspi_setTargetNegoParms() 133 factor = pspi_data->minSyncFactor; mptspi_setTargetNegoParms() 135 factor = MPT_ULTRA2; mptspi_setTargetNegoParms() 139 factor = MPT_ULTRA160; mptspi_setTargetNegoParms() 141 factor = MPT_ULTRA320; mptspi_setTargetNegoParms() 165 factor = MPT_ASYNC; mptspi_setTargetNegoParms() 183 /* Ensure factor is set to the mptspi_setTargetNegoParms() 190 factor = max(factor, nfactor); mptspi_setTargetNegoParms() 191 if (factor == MPT_ASYNC) mptspi_setTargetNegoParms() 195 factor = MPT_ASYNC; mptspi_setTargetNegoParms() 198 factor = MPT_ASYNC; mptspi_setTargetNegoParms() 204 if ((!width) && (factor < MPT_ULTRA2)) mptspi_setTargetNegoParms() 205 factor = MPT_ULTRA2; mptspi_setTargetNegoParms() 209 target->minSyncFactor = factor; mptspi_setTargetNegoParms() 213 spi_min_period(scsi_target(sdev)) = factor; mptspi_setTargetNegoParms() 227 if ( factor > MPT_ULTRA320 ) mptspi_setTargetNegoParms() 479 " ( %s factor = 0x%02x @ offset = 0x%02x %s%s%s%s%s%s%s%s)\n", mptspi_print_write_nego() 504 " ( %s factor = 0x%02x @ offset = 0x%02x %s%s%s%s%s%s%s%s)\n", mptspi_print_read_nego()
|
/linux-4.1.27/arch/m68k/fpsp040/ |
H A D | bindec.S | 12 | value in memory; d0 contains the k-factor sign-extended 23 | The k-factor is saved for use in d7. Clear the 45 | k-factor can dictate either the total number of digits, 119 | d7: k-factor 169 | The k-factor is saved for use in d7. Clear BINDEC_FLG for 177 movel %d0,%d7 |move k-factor to d7 224 | d0: k-factor/exponent 230 | d7: k-factor/Unchanged 277 | LEN is the number of digits to be displayed. The k-factor 293 | d7: k-factor/Unchanged 365 | d7: k-factor/Unchanged 470 | d7: k-factor/Unchanged 531 | d7: k-factor/Unchanged 572 | d7: k-factor/Unchanged 625 | d7: k-factor/Unchanged 734 | d7: k-factor/Unchanged 807 | d7: k-factor/Unchanged 823 fbeq den_zero |if zero, use k-factor or 4933 828 tstl %d7 |check sign of the k-factor 887 | d7: k-factor/Unchanged
|
H A D | decbin.S | 50 | A4. Calculate the factor 10^exp in FP1 using a table of 57 | the exponent factor. This is done by multiplying the 58 | mantissa in FP0 by the factor in FP1 if the adjusted 331 bccs ap_p_en |if 1, mul fp1 by pwrten factor 379 bccs ap_n_en |if 1, mul fp1 by pwrten factor 388 | Calculate power-of-ten factor from adjusted and shifted exponent. 407 | Pwrten calculates the exponent factor in the selected rounding mode 479 | ( ) fp1: scaling factor - 10**(abs(exp))
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | v4l2-dv-timings.c | 321 #define CVT_K 128 /* blanking formula scaling factor */ 322 #define CVT_J 20 /* blanking formula scaling factor */ 477 #define GTF_D_K 128 /* blanking formula scaling factor */ 478 #define GTF_D_J 20 /* blanking formula scaling factor */ 485 #define GTF_S_K 128 /* blanking formula scaling factor */ 486 #define GTF_S_J 35 /* blanking formula scaling factor */
|
/linux-4.1.27/drivers/clk/samsung/ |
H A D | clk.h | 79 * struct samsung_fixed_factor_clock: information about fixed-factor clock 81 * @name: name of this fixed-factor clock. 83 * @mult: fixed multiplication factor. 84 * @div: fixed division factor. 85 * @flags: optional fixed-factor clock flags. 346 /* list of fixed factor clocks and respective count */
|
H A D | clk-exynos5440.c | 48 /* fixed factor clocks */
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | cx24113.c | 309 u8 factor; cx24113_calc_pll_nf() local 313 factor = 1; cx24113_calc_pll_nf() 315 factor = 2; cx24113_calc_pll_nf() 337 N /= (state->config->xtal_khz) * factor * 2; cx24113_calc_pll_nf() 352 do_div(dividend, state->config->xtal_khz * 1000 * factor * 2); cx24113_calc_pll_nf() 483 /* for a ROLL-OFF factor of 0.35, 0.2: 600, 0.25: 625 */ cx24113_set_params()
|
H A D | dib7000m.c | 966 u32 value, factor; dib7000m_autosearch_start() local 979 factor = BANDWIDTH_TO_KHZ(schan.bandwidth_hz); dib7000m_autosearch_start() 980 if (factor >= 5000) dib7000m_autosearch_start() 981 factor = 1; dib7000m_autosearch_start() 983 factor = 6; dib7000m_autosearch_start() 986 value = 30 * state->internal_clk * factor; dib7000m_autosearch_start() 989 value = 100 * state->internal_clk * factor; dib7000m_autosearch_start() 992 value = 500 * state->internal_clk * factor; dib7000m_autosearch_start()
|
H A D | stv090x_priv.h | 239 s32 mclk; /* Masterclock Divider factor */
|
H A D | dib7000p.c | 1122 u32 value, factor; dib7000p_autosearch_start() local 1135 factor = BANDWIDTH_TO_KHZ(ch->bandwidth_hz); dib7000p_autosearch_start() 1136 if (factor >= 5000) { dib7000p_autosearch_start() 1138 factor = 2; dib7000p_autosearch_start() 1140 factor = 1; dib7000p_autosearch_start() 1142 factor = 6; dib7000p_autosearch_start() 1144 value = 30 * internal * factor; dib7000p_autosearch_start() 1147 value = 100 * internal * factor; dib7000p_autosearch_start() 1150 value = 500 * internal * factor; dib7000p_autosearch_start()
|
H A D | stb0899_priv.h | 173 s32 mclk; /* Masterclock Divider factor (binary) */
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | tvp5150_reg.h | 67 #define TVP5150_CB_GAIN_FACT 0x2c /* Cb gain factor */ 68 #define TVP5150_CR_GAIN_FACTOR 0x2d /* Cr gain factor */
|
H A D | aptina-pll.c | 61 * range. Compute the factor by which we should multiply them given the aptina_pll_calculate() 86 * multiplier factor MF exists that fulfills the following conditions: aptina_pll_calculate()
|
H A D | smiapp-pll.c | 289 * Take scaling factor into account as well. __smiapp_pll_calculate() 291 * Find absolute limits for the factor of vt divider. __smiapp_pll_calculate()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | rtc.h | 60 int pll_posmult; /* factor for +ve correction */ 61 int pll_negmult; /* factor for -ve correction */
|
/linux-4.1.27/include/drm/ |
H A D | drm_rect.h | 85 * @horz: horizontal downscale factor 86 * @vert: vertical downscale factor
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
H A D | s_4bri.c | 52 int factor = (IoAdapter->tasks == 1) ? 1 : 2; qBri_cpu_trapped() local 59 offset = IoAdapter->ControllerNumber * (IoAdapter->MemorySize >> factor); qBri_cpu_trapped() 76 && (regs[0] < offset + (IoAdapter->MemorySize >> factor) - 1)) qBri_cpu_trapped() 83 size = offset + (IoAdapter->MemorySize >> factor) - regs[0]; qBri_cpu_trapped()
|
H A D | os_4bri.c | 155 int factor = (tasks == 1) ? 1 : 2; diva_4bri_init_card() local 168 DBG_TRC(("SDRAM_LENGTH=%08x, tasks=%d, factor=%d", diva_4bri_init_card() 169 bar_length[2], tasks, factor)) diva_4bri_init_card() 400 diva_current->resources.pci.qoffset = (a->xdi_adapter.MemorySize >> factor); diva_4bri_init_card()
|
/linux-4.1.27/drivers/media/i2c/smiapp/ |
H A D | smiapp-reg.h | 104 /* Scaling N factor */
|
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/ |
H A D | if.c | 406 char factor; mtrr_seq_show() local 420 factor = 'K'; mtrr_seq_show() 423 factor = 'M'; mtrr_seq_show() 429 size, factor, mtrr_seq_show()
|
H A D | cleanup.c | 230 char factor; to_size_factor() local 234 factor = 'K'; to_size_factor() 236 factor = 'M'; to_size_factor() 239 factor = 'G'; to_size_factor() 243 *factorp = factor; to_size_factor()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | rv740_dpm.c | 98 u32 factor; rv740_get_dll_speed() local 102 factor = 4; rv740_get_dll_speed() 104 factor = 2; rv740_get_dll_speed() 106 data_rate = (u16)(memory_clock * factor / 1000); rv740_get_dll_speed()
|
/linux-4.1.27/tools/iio/ |
H A D | iio_utils.h | 27 * @scale: scale factor to be applied for conversion to si units
|
/linux-4.1.27/drivers/staging/fbtft/ |
H A D | fb_ili9325.c | 42 MODULE_PARM_DESC(bt, "Sets the factor used in the step-up circuits"); 47 "Sets the ratio factor of Vci to generate the reference voltages Vci1"); 57 "Select the factor of VREG1OUT to set the amplitude of Vcom");
|
H A D | fb_hx8340bn.c | 89 BT[2:0]: Switch the output factor of step-up circuit 2 init_display()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 75 sin_mul(int degrees, int factor) sin_mul() argument 79 factor *= -1; sin_mul() 81 return factor * 4 * degrees * (180 - degrees) / sin_mul() 87 cos_mul(int degrees, int factor) cos_mul() argument 89 return sin_mul((degrees + 90) % 360, factor); cos_mul()
|
/linux-4.1.27/drivers/video/fbdev/via/ |
H A D | hw.h | 335 /* LCD Scaling factor*/ 339 /* Horizontal scaling factor 10 bits (2^10) */ 341 /* Vertical scaling factor 10 bits (2^10) */ 343 /* Horizontal scaling factor 10 bits (2^12) */ 345 /* Vertical scaling factor 10 bits (2^11) */
|
/linux-4.1.27/drivers/hwmon/ |
H A D | max6697.c | 531 int factor = chip->channels; max6697_init_chip() local 550 factor += hweight8(reg); max6697_init_chip() 553 factor++; max6697_init_chip() 577 factor++; max6697_init_chip() 599 factor += hweight8(pdata->resistance_cancellation >> 1); max6697_init_chip() 615 data->update_interval = factor * MAX6697_CONV_TIME; max6697_init_chip()
|
H A D | fam15h_power.c | 79 * scaling factor 1/(2^16). For conversion we use show_power()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | windfarm_mpu.h | 59 fu16 mdiode; /* 0x44 - Diode M value (scaling factor) */
|
/linux-4.1.27/drivers/clk/spear/ |
H A D | clk-frac-synth.c | 27 * Fout= Fin/2*div (division factor)
|
/linux-4.1.27/block/partitions/ |
H A D | sun.c | 44 __be16 ilfact; /* Interleave factor */ sun_partition()
|
/linux-4.1.27/drivers/video/fbdev/kyro/ |
H A D | STG4000OverlayDevice.c | 376 ulFxScale = (ulDest << 11) / ulSrc; /* fixed point scale factor */ SetOverlayViewPort() 405 ulVertDecFactor = (63 - ulBits) / (32 - ulBits); /* vertical decimation factor scaled up to nearest integer */ SetOverlayViewPort() 486 * src/dwdest for the scale factor, then we move onto src-1 SetOverlayViewPort() 515 * scale factor we want we shall now work out the horizonal SetOverlayViewPort()
|
/linux-4.1.27/include/media/davinci/ |
H A D | vpbe_display.h | 50 /* Zoom multiplication factor */
|
/linux-4.1.27/arch/blackfin/mach-bf609/include/mach/ |
H A D | defBF609.h | 180 #define PVP0_CNV0_SCALE 0xFFC1A244 /* PVP0 Scaling factor */ 181 #define PVP0_CNV1_SCALE 0xFFC1A2C4 /* PVP0 Scaling factor */ 182 #define PVP0_CNV2_SCALE 0xFFC1A344 /* PVP0 Scaling factor */ 183 #define PVP0_CNV3_SCALE 0xFFC1A3C4 /* PVP0 Scaling factor */
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | pci.h | 47 * discontiguous buffers, so we can use that as the sole factor to determine
|
/linux-4.1.27/arch/arm/mm/ |
H A D | cache-v7.S | 151 ARM( orr r11, r10, r4, lsl r5 ) @ factor way and cache number into r11 153 THUMB( orr r11, r10, r6 ) @ factor way and cache number into r11 154 ARM( orr r11, r11, r9, lsl r2 ) @ factor index number into r11 156 THUMB( orr r11, r11, r6 ) @ factor index number into r11
|
/linux-4.1.27/tools/lib/api/fs/ |
H A D | fs.c | 1 /* TODO merge/factor in debugfs.c here */
|
/linux-4.1.27/drivers/media/platform/coda/ |
H A D | coda-jpeg.c | 192 * Scale quantization table using nonlinear scaling factor 223 * Non-linear scaling factor: coda_set_jpeg_compression_quality()
|
/linux-4.1.27/arch/powerpc/kernel/vdso32/ |
H A D | sigtramp.S | 264 .uleb128 4 /* Code alignment factor */ 265 .sleb128 -4 /* Data alignment factor */
|
H A D | gettimeofday.S | 256 * Load scale factor & do multiplication.
|
/linux-4.1.27/arch/powerpc/kernel/vdso64/ |
H A D | sigtramp.S | 283 .uleb128 4 /* Code alignment factor */ 284 .sleb128 -8 /* Data alignment factor */
|
/linux-4.1.27/arch/arm64/mm/ |
H A D | cache.S | 65 orr x11, x10, x6 // factor way and cache number into x11 67 orr x11, x11, x6 // factor index number into x11
|
/linux-4.1.27/sound/aoa/soundbus/ |
H A D | soundbus.h | 71 /* Master clock speed factor 77 /* Bus factor, bus clock speed = bus_factor * sampling freq)
|
/linux-4.1.27/include/crypto/ |
H A D | gf128mul.h | 190 /* first initialize with the constant factor with which you 192 * factor in the first argument, the table in the second and a
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | util.h | 444 #define ewma_add(ewma, val, weight, factor) \ 447 (ewma) += (val) << factor; \ 449 (ewma) >> factor; \
|
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge_mcp.h | 336 /* set the throttle factor for ethp_z8e 347 * with tx_boundary == 2048, max-throttle-factor == 8191 => min-speed == 500Mb/s 348 * with tx_boundary == 4096, max-throttle-factor == 4095 => min-speed == 1Gb/s
|
/linux-4.1.27/fs/squashfs/ |
H A D | file.c | 217 * The larger the file, the greater the skip factor. The skip factor is 220 * If the skip factor is limited in this way then the file will use multiple
|
/linux-4.1.27/drivers/iio/light/ |
H A D | cm3323.c | 12 * TODO: calibscale to correct the lens factor
|
/linux-4.1.27/drivers/iio/magnetometer/ |
H A D | ak8975.c | 143 * Precalculate scale factor (in Gauss units) for each axis and 146 * This scale factor is axis-dependent, and is derived from 3 calibration 168 * Since 1uT = 0.01 gauss, our final scale factor becomes: 173 * Since ASA doesn't change, we cache the resultant scale factor into the
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.h | 108 u_short sync_period; /* 4*period factor */
|
H A D | sym_hipd.h | 927 u_char minsync; /* Min sync period factor (ST) */ 928 u_char maxsync; /* Max sync period factor (ST) */ 930 u_char minsync_dt; /* Min sync period factor (DT) */ 931 u_char maxsync_dt; /* Max sync period factor (DT) */
|
/linux-4.1.27/drivers/clk/shmobile/ |
H A D | clk-r8a73a4.c | 94 * fixed factor clocks for now as there's no generic multiplier r8a73a4_cpg_register_clock()
|
H A D | clk-r8a7740.c | 97 * fixed factor clocks for now as there's no generic multiplier r8a7740_cpg_register_clock()
|
/linux-4.1.27/arch/sh/mm/ |
H A D | cache-sh7705.c | 97 * searched by a factor of 4. However this function exists to deal with __flush_dcache_page()
|
/linux-4.1.27/drivers/char/ |
H A D | hangcheck-timer.c | 56 #define DEFAULT_IOFENCE_MARGIN 60 /* Default fudge factor, in seconds */
|
H A D | ttyprintk.c | 35 * - TPK_STR_SIZE isn't really the write_room limiting factor, bcause
|
H A D | genrtc.c | 447 "PLL +ve adjustment factor\t: %d\n" gen_rtc_proc_show() 448 "PLL -ve adjustment factor\t: %d\n" gen_rtc_proc_show()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
H A D | csrc-octeon.c | 33 * For __ndelay we divide by 2^16, so the factor is multiplied octeon_setup_delays()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_rtalloc.h | 45 xfs_extlen_t prod, /* extent product factor */
|
H A D | xfs_rtalloc.c | 240 xfs_extlen_t prod, /* extent product factor */ xfs_rtallocate_extent_block() 352 xfs_extlen_t prod, /* extent product factor */ xfs_rtallocate_extent_exact() 431 xfs_extlen_t prod, /* extent product factor */ xfs_rtallocate_extent_near() 625 xfs_extlen_t prod, /* extent product factor */ xfs_rtallocate_extent_size() 1106 xfs_extlen_t prod, /* extent product factor */ xfs_rtallocate_extent()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | scx200_wdt.c | 58 /* The scaling factor for the timer, this depends on the value of W_ENABLE */
|
/linux-4.1.27/arch/mips/loongson/common/cs5536/ |
H A D | cs5536_mfgpt.c | 118 * Initialize the conversion factor and the min/max deltas of the clock event
|
/linux-4.1.27/arch/mips/pmcs-msp71xx/ |
H A D | msp_setup.c | 210 panic("***Bogosity factor five***, exiting"); prom_init()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | page_64.h | 23 * PAGE_FACTOR is the number of bits factor between PAGE_SHIFT and
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
H A D | pfpsp.S | 5405 # do the opposite. Return this scale factor in d0. # 5434 mov.l %d0,-(%sp) # save scale factor 5452 add.w 0x2(%sp),%d0 # scale src exponent by scale factor 5458 mov.l (%sp)+,%d0 # return SCALE factor 5465 mov.l (%sp)+,%d0 # return SCALE factor 5471 mov.l %d0,-(%sp) # save scale factor 5488 add.w 0x2(%sp),%d0 # scale dst exponent by scale factor 5494 mov.l (%sp)+,%d0 # return SCALE factor 5501 mov.l (%sp)+,%d0 # return SCALE factor 5577 # to 0x3ffe and return a scale factor of "(exp-0x3ffe)/2". If the # 5579 # return a scale factor of "(exp-0x3fff)/2". # 5600 asr.l &0x1,%d0 # divide scale factor by 2 5608 asr.l &0x1,%d0 # divide scale factor by 2 5621 asr.l &0x1,%d0 # divide scale factor by 2 5628 asr.l &0x1,%d0 # divide scale factor by 2 6796 # _denorm() - denormalize according to scale factor # 6801 # d0 = scale factor # 6812 # according to the scale factor passed in d0. Then, round the # 7060 # fetch_dreg() - fetch dynamic k-factor reg for packed. # 7090 # For packed, the k-factor must be fetched from the instruction # 7871 bsr.l fetch_dreg # fetch Dn w/ k-factor 7878 bfexts %d0{&25:&7},%d0 # extract k-factor 7899 # add the extra condition that only if the k-factor was zero, too, should 8028 mov.l %d0,-(%sp) # save scale factor 1 8049 # - scale the result exponent using the scale factor. if both operands were 8073 sub.l %d0,%d1 # add scale factor 8142 sub.l %d0,%d1 # add scale factor 8263 sub.l %d0,%d1 # add scale factor 8572 bsr.l scale_to_zero_src # calculate scale factor 8600 sub.l %d0,%d1 # add scale factor 8615 bsr.l scale_to_zero_src # calculate scale factor 8660 sub.l %d0,%d1 # subtract scale factor 8715 sub.l %d0,%d1 # add scale factor 8850 mov.l %d0,-(%sp) # save scale factor 1 8887 sub.l %d0,%d1 # add scale factor 8900 mov.l (%sp)+,%d0 # restore scale factor 8904 mov.l %d0,-(%sp) # save scale factor 8922 sub.l (%sp),%d0 # add scale factor 8955 sub.l %d0,%d1 # add scale factor 9352 bsr.l scale_to_zero_src # calculate scale factor 9380 sub.l %d0,%d1 # add scale factor 9395 bsr.l scale_to_zero_src # calculate scale factor 9441 sub.l %d0,%d1 # subtract scale factor 9495 sub.l %d0,%d1 # add scale factor 9850 # scale_to_zero_src() - make exponent. = 0; get scale factor # 9970 bsr.l scale_to_zero_src # calculate scale factor 9998 sub.l %d0,%d1 # add scale factor 10013 bsr.l scale_to_zero_src # calculate scale factor 10056 sub.l %d0,%d1 # subtract scale factor 10110 sub.l %d0,%d1 # add scale factor 10410 mov.l %d0,-(%sp) # save scale factor 1 10444 sub.l %d0,%d1 # add scale factor 10490 sub.l %d0,%d1 # add scale factor 10568 sub.l %d0,%d1 # add scale factor 10753 bsr.l scale_to_zero_src # calculate scale factor 1 10754 mov.l %d0,-(%sp) # save scale factor 1 10756 bsr.l scale_to_zero_dst # calculate scale factor 2 10791 sub.l %d0,%d1 # add scale factor 10815 sub.l %d0,%d1 # add scale factor 10844 sub.l %d0,%d1 # add scale factor 10901 sub.l %d0,%d1 # add scale factor 11118 sub.l %d0,%d2 # add scale factor 11254 sub.l %d0,%d1 # add scale factor 11571 sub.l %d0,%d2 # add scale factor 11707 sub.l %d0,%d1 # add scale factor 12013 bsr.l scale_sqrt # calculate scale factor 12032 bsr.l scale_sqrt # calculate scale factor 12061 sub.l %d0,%d1 # add scale factor 12077 bsr.l scale_sqrt # calculate scale factor 12138 sub.l %d0,%d1 # subtract scale factor 12192 sub.l %d0,%d1 # add scale factor 12907 # frame w/ maybe a correction factor if the <ea> is -(an) or (an)+. # 12994 # A4. Calculate the factor 10^exp in FP1 using a table of # 13001 # the exponent factor. This is done by multiplying the # 13002 # mantissa in FP0 by the factor in FP1 if the adjusted # 13243 bcc.b ap_p_en # if 1, mul fp1 by pwrten factor 13291 bcc.b ap_n_en # if 1, mul fp1 by pwrten factor 13300 # Calculate power-of-ten factor from adjusted and shifted exponent. 13319 # Pwrten calculates the exponent factor in the selected rounding mode 13391 # ( ) fp1: scaling factor - 10**(abs(exp)) 13428 # d0 = contains the k-factor sign-extended to 32-bits. # 13436 # The k-factor is saved for use in d7. Clear the # 13458 # k-factor can dictate either the total number of digits, # 13558 # d7: k-factor 13576 # The k-factor is saved for use in d7. Clear BINDEC_FLG for 13584 mov.l %d0,%d7 # move k-factor to d7 13632 # d0: k-factor/exponent 13638 # d7: k-factor/Unchanged 13684 # LEN is the number of digits to be displayed. The k-factor 13700 # d7: k-factor/Unchanged 13772 # d7: k-factor/Unchanged 13875 # d7: k-factor/Unchanged 13963 # d7: k-factor/Unchanged 14004 # d7: k-factor/Unchanged 14072 # d7: k-factor/Unchanged 14180 # d7: k-factor/Unchanged 14253 # d7: k-factor/Unchanged 14269 fbeq.w den_zero # if zero, use k-factor or 4933 14274 tst.l %d7 # check sign of the k-factor 14333 # d7: k-factor/Unchanged
|
H A D | fpsp.S | 9626 # the multiply factor that we're trying to create should be a denorm 11597 mov.l %d0,-(%sp) # save scale factor 1 11618 # - scale the result exponent using the scale factor. if both operands were 11642 sub.l %d0,%d1 # add scale factor 11711 sub.l %d0,%d1 # add scale factor 11832 sub.l %d0,%d1 # add scale factor 12141 bsr.l scale_to_zero_src # calculate scale factor 12169 sub.l %d0,%d1 # add scale factor 12184 bsr.l scale_to_zero_src # calculate scale factor 12229 sub.l %d0,%d1 # subtract scale factor 12284 sub.l %d0,%d1 # add scale factor 12419 mov.l %d0,-(%sp) # save scale factor 1 12456 sub.l %d0,%d1 # add scale factor 12469 mov.l (%sp)+,%d0 # restore scale factor 12473 mov.l %d0,-(%sp) # save scale factor 12491 sub.l (%sp),%d0 # add scale factor 12524 sub.l %d0,%d1 # add scale factor 12921 bsr.l scale_to_zero_src # calculate scale factor 12949 sub.l %d0,%d1 # add scale factor 12964 bsr.l scale_to_zero_src # calculate scale factor 13010 sub.l %d0,%d1 # subtract scale factor 13064 sub.l %d0,%d1 # add scale factor 13419 # scale_to_zero_src() - make exponent. = 0; get scale factor # 13539 bsr.l scale_to_zero_src # calculate scale factor 13567 sub.l %d0,%d1 # add scale factor 13582 bsr.l scale_to_zero_src # calculate scale factor 13625 sub.l %d0,%d1 # subtract scale factor 13679 sub.l %d0,%d1 # add scale factor 13979 mov.l %d0,-(%sp) # save scale factor 1 14013 sub.l %d0,%d1 # add scale factor 14059 sub.l %d0,%d1 # add scale factor 14137 sub.l %d0,%d1 # add scale factor 14322 bsr.l scale_to_zero_src # calculate scale factor 1 14323 mov.l %d0,-(%sp) # save scale factor 1 14325 bsr.l scale_to_zero_dst # calculate scale factor 2 14360 sub.l %d0,%d1 # add scale factor 14384 sub.l %d0,%d1 # add scale factor 14413 sub.l %d0,%d1 # add scale factor 14470 sub.l %d0,%d1 # add scale factor 14687 sub.l %d0,%d2 # add scale factor 14823 sub.l %d0,%d1 # add scale factor 15140 sub.l %d0,%d2 # add scale factor 15276 sub.l %d0,%d1 # add scale factor 15582 bsr.l scale_sqrt # calculate scale factor 15601 bsr.l scale_sqrt # calculate scale factor 15630 sub.l %d0,%d1 # add scale factor 15646 bsr.l scale_sqrt # calculate scale factor 15707 sub.l %d0,%d1 # subtract scale factor 15761 sub.l %d0,%d1 # add scale factor 15859 # do the opposite. Return this scale factor in d0. # 15888 mov.l %d0,-(%sp) # save scale factor 15906 add.w 0x2(%sp),%d0 # scale src exponent by scale factor 15912 mov.l (%sp)+,%d0 # return SCALE factor 15919 mov.l (%sp)+,%d0 # return SCALE factor 15925 mov.l %d0,-(%sp) # save scale factor 15942 add.w 0x2(%sp),%d0 # scale dst exponent by scale factor 15948 mov.l (%sp)+,%d0 # return SCALE factor 15955 mov.l (%sp)+,%d0 # return SCALE factor 16031 # to 0x3ffe and return a scale factor of "(exp-0x3ffe)/2". If the # 16033 # return a scale factor of "(exp-0x3fff)/2". # 16054 asr.l &0x1,%d0 # divide scale factor by 2 16062 asr.l &0x1,%d0 # divide scale factor by 2 16075 asr.l &0x1,%d0 # divide scale factor by 2 16082 asr.l &0x1,%d0 # divide scale factor by 2 20159 # fetch_dreg() - fetch dynamic k-factor reg for packed. # 20189 # For packed, the k-factor must be fetched from the instruction # 20970 bsr.l fetch_dreg # fetch Dn w/ k-factor 20977 bfexts %d0{&25:&7},%d0 # extract k-factor 20998 # add the extra condition that only if the k-factor was zero, too, should 22674 # _denorm() - denormalize according to scale factor # 22679 # d0 = scale factor # 22690 # according to the scale factor passed in d0. Then, round the # 22947 # frame w/ maybe a correction factor if the <ea> is -(an) or (an)+. # 23034 # A4. Calculate the factor 10^exp in FP1 using a table of # 23041 # the exponent factor. This is done by multiplying the # 23042 # mantissa in FP0 by the factor in FP1 if the adjusted # 23283 bcc.b ap_p_en # if 1, mul fp1 by pwrten factor 23331 bcc.b ap_n_en # if 1, mul fp1 by pwrten factor 23340 # Calculate power-of-ten factor from adjusted and shifted exponent. 23359 # Pwrten calculates the exponent factor in the selected rounding mode 23431 # ( ) fp1: scaling factor - 10**(abs(exp)) 23468 # d0 = contains the k-factor sign-extended to 32-bits. # 23476 # The k-factor is saved for use in d7. Clear the # 23498 # k-factor can dictate either the total number of digits, # 23598 # d7: k-factor 23616 # The k-factor is saved for use in d7. Clear BINDEC_FLG for 23624 mov.l %d0,%d7 # move k-factor to d7 23672 # d0: k-factor/exponent 23678 # d7: k-factor/Unchanged 23724 # LEN is the number of digits to be displayed. The k-factor 23740 # d7: k-factor/Unchanged 23812 # d7: k-factor/Unchanged 23915 # d7: k-factor/Unchanged 24003 # d7: k-factor/Unchanged 24044 # d7: k-factor/Unchanged 24112 # d7: k-factor/Unchanged 24220 # d7: k-factor/Unchanged 24293 # d7: k-factor/Unchanged 24309 fbeq.w den_zero # if zero, use k-factor or 4933 24314 tst.l %d7 # check sign of the k-factor 24373 # d7: k-factor/Unchanged
|
/linux-4.1.27/net/mac80211/ |
H A D | rc80211_minstrel.h | 12 #define EWMA_LEVEL 96 /* ewma weighting factor [/EWMA_DIV] */
|
/linux-4.1.27/kernel/time/ |
H A D | time.c | 496 * the input value by a factor or dividing it with a factor 511 * round multiple of HZ, divide with the factor between them, msecs_to_jiffies() 518 * 1000 - simply multiply with the factor between them. msecs_to_jiffies()
|
H A D | clocksource.c | 56 * multiplied with the calculated mult factor. Larger ranges may 67 * Calculate the shift factor which is limiting the conversion clocks_calc_mult_shift() 651 * @scale: Scale factor multiplied against freq to get clocksource hz 719 * @scale: Scale factor multiplied against freq to get clocksource hz
|
/linux-4.1.27/net/sched/ |
H A D | sch_generic.c | 981 u64 factor = NSEC_PER_SEC; psched_ratecfg_precompute() local 984 r->mult = div64_u64(factor, r->rate_bytes_ps); psched_ratecfg_precompute() 985 if (r->mult & (1U << 31) || factor & (1ULL << 63)) psched_ratecfg_precompute() 987 factor <<= 1; psched_ratecfg_precompute()
|
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/ |
H A D | gpmi-lib.c | 400 * "sample delay factor," which the NFC uses. This factor depends on gpmi_nfc_compute_hardware_timing() 409 * SDF is the sample delay factor, which is dimensionless. gpmi_nfc_compute_hardware_timing() 467 * Compute the delay implied by the largest sample delay factor gpmi_nfc_compute_hardware_timing() 516 * Compute the sample delay factor that corresponds most closely gpmi_nfc_compute_hardware_timing() 521 * sample delay factor. We do this because the form of the gpmi_nfc_compute_hardware_timing() 668 * Compute the sample delay factor that corresponds to the ideal sample gpmi_nfc_compute_hardware_timing() 673 * delay factor. We do this because the form of the computation is the gpmi_nfc_compute_hardware_timing()
|
H A D | gpmi-nand.h | 215 * @sample_delay_factor: The sample delay factor. 242 * @max_sample_delay_factor: The maximum sample delay factor that can be
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | clkt_dpll.c | 34 * Scale factor to mitigate roundoff errors in DPLL rate rounding. 35 * The higher the scale factor, the greater the risk of arithmetic overflow,
|
H A D | sdrc.h | 120 /* Scale factor for fixed-point arith in omap3_core_dpll_m2_set_rate() */
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | at91_adc.c | 289 unsigned int factor = 1000; at91_ts_sample() local 324 pres = rxp * (x * factor / 1024) * (z2 * factor / z1 - factor) at91_ts_sample() 325 / factor; at91_ts_sample() 334 x, y, pres / factor); at91_ts_sample()
|
H A D | ad7791.c | 223 * The signal is attenuated by a factor of 5 and ad7791_read_raw()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | f_uac2.c | 980 unsigned int factor, bool is_playback) set_ep_max_packet_size() 996 DIV_ROUND_UP(srate, factor / (1 << (ep_desc->bInterval - 1))); set_ep_max_packet_size() 1178 unsigned int factor, rate; afunc_set_alt() local 1189 factor = 1000; afunc_set_alt() 1192 factor = 8000; afunc_set_alt() 1199 uac2->p_interval = factor / (1 << (ep_desc->bInterval - 1)); afunc_set_alt() 978 set_ep_max_packet_size(const struct f_uac2_opts *uac2_opts, struct usb_endpoint_descriptor *ep_desc, unsigned int factor, bool is_playback) set_ep_max_packet_size() argument
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | firmware.c | 815 case 1: initiator->factor = 50; break; pdc_get_initiator() 816 case 2: initiator->factor = 25; break; pdc_get_initiator() 817 case 5: initiator->factor = 12; break; pdc_get_initiator() 818 case 25: initiator->factor = 10; break; pdc_get_initiator() 819 case 20: initiator->factor = 12; break; pdc_get_initiator() 820 case 40: initiator->factor = 10; break; pdc_get_initiator() 821 default: initiator->factor = -1; break; pdc_get_initiator()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
H A D | zr36060.c | 132 scale factor read 135 /* scale factor is kept in datastructure */ 435 /* Compression with or without variable scale factor */ zr36060_init() 809 case CODEC_G_JPEG_SCALE: /* get scaling factor */ zr36060_control() 815 case CODEC_S_JPEG_SCALE: /* set scaling factor */ zr36060_control()
|
H A D | zr36050.c | 129 scale factor read 132 /* scale factor is kept in datastructure */ 702 case CODEC_G_JPEG_SCALE: /* get scaling factor */ zr36050_control() 708 case CODEC_S_JPEG_SCALE: /* set scaling factor */ zr36050_control()
|
/linux-4.1.27/arch/powerpc/platforms/512x/ |
H A D | clock-commonclk.c | 310 * get the SYS_DIV value and translate it into a divide factor 312 * values returned from here are a multiple of the real factor since the 331 * get the CPMF value and translate it into a multiplier factor 333 * values returned from here are a multiple of the real factor since the 779 div = 2; /* compensate for the fractional factor */ mpc512x_clk_setup_clock_tree()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 637 /* check the nearness factor */ update_candidate() 652 * Calculate the nearness factor of an area in a search field. The nearness 653 * factor is smaller if the area is closer to the search origin.
|
/linux-4.1.27/drivers/iio/frequency/ |
H A D | adf4350.c | 158 * Allow a predefined reference division factor adf4350_set_freq() 404 of_property_read_u32(np, "adi,reference-div-factor", &tmp); adf4350_parse_dt()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 371 * incvalue is scaled by a factor as large as possible (while still fitting 387 /* Another drawback of scaling the incvalue by a large factor is the
|
/linux-4.1.27/drivers/media/usb/usbvision/ |
H A D | usbvision.h | 404 int stretch_width; /* stretch-factor for frame width (from usb to screen)*/ 405 int stretch_height; /* stretch-factor for frame height (from usb to screen)*/
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | devices.c | 434 * adding TSF as one of the factor for when to switch iwl5000_hw_channel_switch() 602 * adding TSF as one of the factor for when to switch iwl6000_hw_channel_switch()
|
/linux-4.1.27/drivers/iio/accel/ |
H A D | mma8452.c | 117 * So scale factor is given by:
|
/linux-4.1.27/drivers/misc/ |
H A D | tsl2550.c | 166 * Note: the "128" is a scaling factor tsl2550_calculate_lux()
|
/linux-4.1.27/drivers/mtd/chips/ |
H A D | cfi_util.c | 29 int osf = cfi->interleave * cfi->device_type; /* scale factor */ cfi_qry_present()
|
/linux-4.1.27/drivers/media/platform/s5p-jpeg/ |
H A D | jpeg-core.h | 186 * @scale_factor: scale factor for JPEG decoding
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_proc.c | 70 * sync period factor.
|
H A D | aic79xx_proc.c | 69 * sync period factor.
|
H A D | aic79xx.h | 298 * sync factor 0x7, and the offset if off by a factor of 2. 750 uint8_t period; /* Sync rate factor */ 802 * factor 8 and 160MHz for the period factor 7. The 120MHz
|
/linux-4.1.27/drivers/staging/clocking-wizard/ |
H A D | clk-xlnx-clock-wizard.c | 217 dev_err(&pdev->dev, "unable to register fixed-factor clock\n"); clk_wzrd_probe()
|
/linux-4.1.27/drivers/staging/iio/light/ |
H A D | tsl2583.c | 185 * Time scale factor array values are adjusted based on the integration time. 186 * The raw values are multiplied by a scale factor, and device gain is obtained 191 * the array are then used along with the time scale factor array values, to 305 * The taos_device_lux tables above have a factor of 8192 built in, taos_get_lux()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_hal.h | 92 /* a large TX Power as an init value to factor out of min() calculations,
|
/linux-4.1.27/drivers/input/misc/ |
H A D | cma3000_d0x.c | 61 * multiply factor 2^n. Eight bit is the sign bit.
|
/linux-4.1.27/drivers/cpuidle/ |
H A D | cpuidle-big_little.c | 57 * being the main factor) that depend on the current operating points.
|
/linux-4.1.27/drivers/clk/mvebu/ |
H A D | common.c | 157 /* Register fixed-factor clocks derived from CPU clock */ mvebu_coreclk_setup()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | vtime.c | 101 /* Update scaling factor */ do_account_vtime()
|
/linux-4.1.27/arch/powerpc/oprofile/cell/ |
H A D | spu_profiler.c | 59 * a scale factor of SCALE_SHIFT, which provides 4 decimal places set_spu_profiling_frequency()
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
H A D | time.c | 197 * timer settings below (hz and divide factor) !!! time_init()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | topology.c | 142 * compute a middle_capacity factor that will ensure that the capacity
|
/linux-4.1.27/kernel/debug/kdb/ |
H A D | kdb_private.h | 32 #define KDB_DEBUG_FLAG_SHIFT 16 /* Shift factor for dbflags */
|
/linux-4.1.27/net/netfilter/ |
H A D | xt_limit.c | 50 To get the maxmum range, we multiply by this factor (ie. you get N
|
/linux-4.1.27/sound/oss/dmasound/ |
H A D | dmasound.h | 258 extern int expand_read_bal; /* Balance factor for reading */
|
/linux-4.1.27/include/linux/amba/ |
H A D | serial.h | 102 #define ST_UART011_CR_OVSFACT 0x0008 /* Oversampling factor */
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | service.c | 544 int factor = tc->tc_thr_factor; ptlrpc_server_nthreads_check() local 549 * each CPU core/HT, most likely the factor is larger then ptlrpc_server_nthreads_check() 561 /* depress thread factor for hyper-thread */ ptlrpc_server_nthreads_check() 562 factor = factor - (factor >> 1) + (factor >> 3); ptlrpc_server_nthreads_check() 568 for (; factor > 0 && weight > 0; factor--, weight -= fade) ptlrpc_server_nthreads_check() 569 nthrs += min(weight, fade) * factor; ptlrpc_server_nthreads_check()
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 1038 unsigned int density, factor; carl9170_tx_prepare() local 1043 factor = min_t(unsigned int, 1u, sta->ht_cap.ampdu_factor); carl9170_tx_prepare() 1061 txc->s.ampdu_settings, factor); carl9170_tx_prepare() 1099 * in all ampdu spacing & factor parameters. carl9170_set_ampdu_params() 1221 /* apply ampdu spacing & factor settings */ carl9170_tx_ampdu()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | fimc-core.h | 179 * @hfactor: horizontal shift factor 180 * @vfactor: vertical shift factor
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx.h | 550 unsigned hscale; /* horizontal scale factor (see datasheet) */ 551 unsigned vscale; /* vertical scale factor (see datasheet) */
|
/linux-4.1.27/drivers/scsi/ |
H A D | esp_scsi.h | 23 #define ESP_CFACT 0x09UL /* wo Clock conv factor 0x24 */ 222 /* ESP clock conversion factor register write-only */
|