Home
last modified time | relevance | path

Searched full:calculate (Results 1 – 25 of 2165) sorted by relevance

12345678910>>...87

/Linux-v5.10/Documentation/driver-api/media/drivers/
Dsh_mobile_ceu_camera.rst72 1. Calculate current sensor scales:
76 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
81 3. Calculate new combined scales from "effective" input window to requested user
86 4. Calculate sensor output window by applying combined scales to real input
97 7. Calculate new sensor scales:
101 8. Calculate new CEU crop - apply sensor scales to previously calculated
137 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate
140 5. Calculate and apply host scale = (6' - 6) / (4' - 4)
142 6. Calculate and apply host crop: 6 - 7 = (5 - 2) * (6' - 6) / (5' - 5)
/Linux-v5.10/drivers/macintosh/
Dwindfarm_pid.c39 /* Calculate error term */ in wf_pid_run()
56 /* Calculate integral term */ in wf_pid_run()
61 /* Calculate derivative term */ in wf_pid_run()
66 /* Calculate target */ in wf_pid_run()
94 /* Calculate error term */ in wf_cpu_pid_run()
114 /* Calculate integral term */ in wf_cpu_pid_run()
124 /* Calculate derivative term */ in wf_cpu_pid_run()
130 /* Calculate proportional term */ in wf_cpu_pid_run()
136 /* Calculate target */ in wf_cpu_pid_run()
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dsh_css_param_shading.c32 * For each target point T, we calculate the 4 surrounding source points:
34 * We then calculate the distances from the T to the source points: x0, x1,
36 * We then calculate the value of T:
121 /* calculate target point and make sure it falls within in crop_and_interpolate()
125 /* calculate closest source points in shading table and in crop_and_interpolate()
137 /* calculate closest source points for distance computation */ in crop_and_interpolate()
140 /* calculate distance between source and target pixels */ in crop_and_interpolate()
154 /* calculate target point */ in crop_and_interpolate()
156 /* calculate closest source points. */ in crop_and_interpolate()
169 /* calculate closest source points for distance in crop_and_interpolate()
[all …]
/Linux-v5.10/arch/mips/kernel/
Dcmpxchg.c24 * Calculate a shift & mask that correspond to the value we wish to in __xchg_small()
35 * Calculate a pointer to the naturally aligned 4 byte integer that in __xchg_small()
66 * Calculate a shift & mask that correspond to the value we wish to in __cmpxchg_small()
77 * Calculate a pointer to the naturally aligned 4 byte integer that in __cmpxchg_small()
93 * Calculate the old & new values of the naturally aligned in __cmpxchg_small()
Dcps-vec.S83 /* Calculate an uncached address for the CM GCRs */
308 /* Calculate a pointer to this cores struct core_boot_config */
317 /* Calculate this VPEs ID. If the core doesn't support MT use 0 */
338 /* Calculate a mask for the VPE ID from EBase.CPUNum */
351 1: /* Calculate a pointer to this VPEs struct vpe_boot_config */
431 /* Calculate a pointer to the VPEs struct vpe_boot_config */
600 /* Calculate a pointer to this CPUs struct mips_static_suspend_state */
/Linux-v5.10/arch/arm/mach-s3c/
Diotiming-s3c2410.c92 * calc_0124 - calculate divisor control for divisors that do /0, /1. /2 and /4
98 * Calculate the divisor, and turn it into the correct control bits to
139 * calc_tacc - calculate divisor control for tacc.
145 * Calculate the divisor control for tACC, taking into account whether
205 * s3c2410_calc_bank - calculate bank timing information
206 * @cfg: The configuration we need to calculate for.
209 * Given the cycle timine for a bank @bt, calculate the new BANKCON
349 * s3c2410_iotiming_calc - Calculate bank timing for frequency change.
353 * Calculate the new values for the banks in @iot based on the new
376 printk(KERN_ERR "%s: cannot calculate bank %d io\n", in s3c2410_iotiming_calc()
[all …]
Diotiming-s3c2412.c70 * calc_timing - calculate timing divisor value and check in range.
87 * s3c2412_calc_bank - calculate the bank divisor settings.
131 * s3c2412_iotiming_calc - calculate all the bank divisor settings.
135 * Calculate the timing information for all the banks that are
152 printk(KERN_ERR "%s: cannot calculate bank %d io\n", in s3c2412_iotiming_calc()
/Linux-v5.10/drivers/memory/
Dstm32-fmc2-ebi.c157 * @calculate: this callback is called to calculate for exemple a timing
171 u32 (*calculate)(struct stm32_fmc2_ebi *ebi, int cs, u32 setup); member
784 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
792 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
800 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
808 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
815 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
822 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
829 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
835 .calculate = stm32_fmc2_ebi_ns_to_clk_period,
[all …]
/Linux-v5.10/drivers/gpu/drm/
Ddrm_rect.c37 * Calculate the intersection of rectangles @r1 and @r2.
153 * drm_rect_calc_hscale - calculate the horizontal scaling factor
159 * Calculate the horizontal scaling factor as
163 * 1 << 16, round up. This will calculate the scale with the most
188 * drm_rect_calc_vscale - calculate the vertical scaling factor
194 * Calculate the vertical scaling factor as
198 * 1 << 16, round up. This will calculate the scale with the most
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.h36 // This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
50 // Calculate and return DLG and TTU register struct given the system setting
58 // cstate - 0: when calculate min_ttu_vblank it is assumed cstate is not required. 1: Normal mode,…
Ddisplay_rq_dlg_calc_20v2.h36 // This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
50 // Calculate and return DLG and TTU register struct given the system setting
58 // cstate - 0: when calculate min_ttu_vblank it is assumed cstate is not required. 1: Normal mode,…
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_cksum.h8 * Calculate the intermediate checksum for a buffer that has the CRC field
19 /* Calculate CRC up to the checksum. */ in xfs_start_cksum_safe()
25 /* Calculate the rest of the CRC. */ in xfs_start_cksum_safe()
Dxfs_types.c64 /* Calculate the first and last possible inode number in an AG. */
78 * Calculate the first inode, which will be in the first in xfs_agino_range()
85 * Calculate the last inode, which will be at the end of the in xfs_agino_range()
178 /* Calculate the range of valid icount values. */
/Linux-v5.10/arch/mips/ar7/
Dclock.c115 static void calculate(int base, int target, int *prediv, int *postdiv, in calculate() function
226 calculate(base_clock, frequency, &prediv, &postdiv, &mul); in tnetd7300_set_clock()
338 calculate(dsp_base, TNETD7200_DEF_DSP_CLK, in tnetd7200_init_clocks()
347 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks()
360 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks()
369 calculate(dsp_base, TNETD7200_DEF_DSP_CLK, &dsp_prediv, in tnetd7200_init_clocks()
379 calculate(dsp_base, TNETD7200_DEF_DSP_CLK, &dsp_prediv, in tnetd7200_init_clocks()
392 calculate(usb_base, TNETD7200_DEF_USB_CLK, &usb_prediv, in tnetd7200_init_clocks()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.h37 // This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
50 // Calculate and return DLG and TTU register struct given the system setting
58 // cstate - 0: when calculate min_ttu_vblank it is assumed cstate is not required. 1: Normal mode,…
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.h35 // This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
47 // Calculate and return DLG and TTU register struct given the system setting
55 // cstate - 0: when calculate min_ttu_vblank it is assumed cstate is not required. 1: Normal mode,…
/Linux-v5.10/arch/arm64/lib/
Dstrnlen.S56 /* Calculate the number of full and partial words -1. */
94 CPU_BE( mov data2, data1 ) /*perpare data to re-calculate the syndrome*/
103 * and calculate the syndrome a second time.
122 * 1) Calculate the number of words (but avoiding overflow if
Dstrlen.S17 * calculate the length of a string
77 CPU_BE( mov data2, data1 ) /*prepare data to re-calculate the syndrome*/
85 * and calculate the syndrome a second time.
/Linux-v5.10/drivers/cpufreq/
Dcpufreq-nforce2.c62 * nforce2_calc_fsb - calculate FSB
81 * nforce2_calc_pll - calculate PLL value
84 * Calculate PLL value for given FSB
92 /* Try to calculate multiplier and divider up to 4 times */ in nforce2_calc_pll()
211 /* Calculate the PLL reg. value */ in nforce2_set_fsb()
325 pr_warn("cpu_khz not set, can't calculate multiplier!\n"); in nforce2_cpu_init()
/Linux-v5.10/include/net/
Drtnetlink.h44 * @get_size: Function to calculate required room for dumping device
47 * @get_xstats_size: Function to calculate required room for dumping device
55 * @get_linkxstats_size: Function to calculate the required room for
128 * @get_link_af_size: Function to calculate size of address family specific
/Linux-v5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_regs.c97 config->w_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_in_image_format()
98 config->h_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_in_image_format()
128 config->w_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_out_image_format()
129 config->h_stride = 0; /* MDP will calculate it by color format. */ in mtk_mdp_hw_set_out_image_format()
/Linux-v5.10/drivers/net/wireless/ath/ath9k/
Dcommon-beacon.c67 * TSF and calculate dtim state for the result. in ath9k_cmn_beacon_config_sta()
80 * Calculate the number of consecutive beacons to miss* before taking in ath9k_cmn_beacon_config_sta()
82 * need calculate based on the beacon interval. Note that we clamp the in ath9k_cmn_beacon_config_sta()
92 * Calculate sleep duration. The configuration is given in ms. in ath9k_cmn_beacon_config_sta()
/Linux-v5.10/arch/riscv/lib/
Dmemset.S46 /* Calculate end address */
50 andi a4, a4, 31*SZREG /* Calculate remainder */
53 addi a4, a4, 32*SZREG /* Calculate initial offset */
/Linux-v5.10/drivers/clk/mmp/
Dclk-frac.c63 /* calculate numerator */ in clk_factor_recalc_rate()
66 /* calculate denominator */ in clk_factor_recalc_rate()
133 /* calculate numerator */ in clk_factor_init()
136 /* calculate denominator */ in clk_factor_init()
/Linux-v5.10/include/linux/mtd/
Dnand_ecc.h16 * Calculate 3 byte ECC code for eccsize byte block
22 * Calculate 3 byte ECC code for 256/512 byte block

12345678910>>...87