Home
last modified time | relevance | path

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

12345678910>>...152

/kernel/linux/linux-5.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)
/kernel/linux/linux-4.19/Documentation/media/v4l-drivers/
Dsh_mobile_ceu_camera.rst70 1. Calculate current sensor scales:
74 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
79 3. Calculate new combined scales from "effective" input window to requested user
84 4. Calculate sensor output window by applying combined scales to real input
95 7. Calculate new sensor scales:
99 8. Calculate new CEU crop - apply sensor scales to previously calculated
135 4. Sensor scaled to 3 : 3'. Sensor's scale is (2' - 2) / (3' - 3). Calculate
138 5. Calculate and apply host scale = (6' - 6) / (4' - 4)
140 6. Calculate and apply host crop: 6 - 7 = (5 - 2) * (6' - 6) / (5' - 5)
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/drivers/macintosh/
Dwindfarm_pid.c40 /* Calculate error term */ in wf_pid_run()
57 /* Calculate integral term */ in wf_pid_run()
62 /* Calculate derivative term */ in wf_pid_run()
67 /* Calculate target */ in wf_pid_run()
95 /* Calculate error term */ in wf_cpu_pid_run()
115 /* Calculate integral term */ in wf_cpu_pid_run()
125 /* Calculate derivative term */ in wf_cpu_pid_run()
131 /* Calculate proportional term */ in wf_cpu_pid_run()
137 /* Calculate target */ in wf_cpu_pid_run()
/kernel/linux/linux-4.19/drivers/gpu/drm/
Ddrm_rect.c35 * Calculate the intersection of rectangles @r1 and @r2.
146 * drm_rect_calc_hscale - calculate the horizontal scaling factor
152 * Calculate the horizontal scaling factor as
156 * 1 << 16, round up. This will calculate the scale with the most
181 * drm_rect_calc_vscale - calculate the vertical scaling factor
187 * Calculate the vertical scaling factor as
191 * 1 << 16, round up. This will calculate the scale with the most
216 * drm_calc_hscale_relaxed - calculate the horizontal scaling factor
222 * Calculate the horizontal scaling factor as
232 * 1 << 16, round up. This will calculate the scale with the most
[all …]
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_031.cpp37 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in Child1()
47 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in Child2()
67 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in TestCase()
72 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in TestCase()
81 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in TestCase()
86 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in TestCase()
Dprocess_test_033.cpp37 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in Child1()
47 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in Child2()
67 usleep(1000 * 10 * 1); // 1000, 10, Used to calculate the delay time. in TestCase()
85 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in TestCase()
91 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in TestCase()
Dprocess_test_032.cpp37 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in Child1()
70 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in TestCase()
75 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in TestCase()
84 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in TestCase()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/arch/mips/kernel/
Dcmpxchg.c28 * Calculate a shift & mask that correspond to the value we wish to in __xchg_small()
39 * Calculate a pointer to the naturally aligned 4 byte integer that in __xchg_small()
70 * Calculate a shift & mask that correspond to the value we wish to in __cmpxchg_small()
81 * Calculate a pointer to the naturally aligned 4 byte integer that in __cmpxchg_small()
97 * Calculate the old & new values of the naturally aligned in __cmpxchg_small()
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/smp/
DIt_smp_extend_cpup_004.c47 // 2, used to calculate the conut num. in HwiF01()
56 // 2, used to calculate the conut num. in HwiF02()
99 // 2, used to calculate the input of equal func. in Task02()
121 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Testcase()
134 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 1; // 1, used to calculate the task priority. in Testcase()
141 …OSCFG_BASE_CORE_TICK_PER_SECOND * (CPUP_BACKWARD * 2 + 1)); // 2, used to calculate the delay time. in Testcase()
DIt_smp_extend_cpup_005.c70 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Task01()
81 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Task01()
95 // 4, used to calculate the delay time. in Task01()
144 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Testcase()
157 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 1; // 1, used to calculate the task priority. in Testcase()
164 …OSCFG_BASE_CORE_TICK_PER_SECOND * (CPUP_BACKWARD * 3 + 1)); // 3, used to calculate the delay time. in Testcase()
DIt_smp_extend_cpup_011.c73 // 2, used to calculate the input of equal func. in Task02()
97 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Testcase()
110 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 1; // 1, used to calculate the task priority. in Testcase()
117 …OSCFG_BASE_CORE_TICK_PER_SECOND * (CPUP_BACKWARD * 2 + 1)); // 2, used to calculate the delay time. in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_111.c48 // 3, Used to calculate priority. in TaskF02()
68 …task1.usTaskPrio = TASK_PRIO_TEST_TASK - 3; // 3, It is used to calculate a priority relative to T… in TaskF01()
77 // 3, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in TaskF01()
79 // 2, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in TaskF01()
99 // 2, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in Testcase()
DIt_los_task_104.c49 // 3, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in TaskF02()
53 // 2, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in TaskF02()
68 // 3, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in TaskF01()
98 // 2, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in Testcase()
DIt_los_task_110.c48 // 4, Used to calculate priority in TaskF02()
68 // 3, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in TaskF01()
82 // 4, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in TaskF01()
104 // 2, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in Testcase()
/kernel/linux/linux-4.19/arch/arm/mach-s3c24xx/
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 …]
/kernel/linux/linux-5.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 …]
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
Dprocess_test_025.cpp85 usleep(1000 * 10 * 40); // 1000, 10, 40, Used to calculate the delay time. in ProcessTest()
94 usleep(1000 * 10 * 45); // 1000, 10, 45, Used to calculate the delay time. in ProcessTest()
102 usleep(1000 * 10 * 50); // 1000, 10, 50, Used to calculate the delay time. in ProcessTest()
110 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in ProcessTest()
115 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in ProcessTest()
Dprocess_test_022.cpp86 usleep(1000 * 10 * 30); // 1000, 10, 30, Used to calculate the delay time. in ProcessTest()
94 usleep(1000 * 10 * 20); // 1000, 10, 20, Used to calculate the delay time. in ProcessTest()
101 usleep(1000 * 10 * 15); // 1000, 10, 15, Used to calculate the delay time. in ProcessTest()
108 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in ProcessTest()
112 usleep(1000 * 10 * 5); // 1000, 10, 5, Used to calculate the delay time. in ProcessTest()
Dprocess_test_023.cpp86 usleep(1000 * 10 * 20); // 1000, 10, 20, Used to calculate the delay time. in ProcessTest()
94 usleep(1000 * 10 * 15); // 1000, 10, 15, Used to calculate the delay time. in ProcessTest()
101 usleep(1000 * 10 * 10); // 1000, 10, 10, Used to calculate the delay time. in ProcessTest()
108 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in ProcessTest()
111 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in ProcessTest()
Dprocess_test_024.cpp80 usleep(1000 * 10 * 20); // 1000, 10, 20, Used to calculate the delay time. in ProcessTest()
88 usleep(1000 * 10 * 15); // 1000, 10, 15, Used to calculate the delay time. in ProcessTest()
95 usleep(1000 * 10 * 10); // 1000, 10, 10, Used to calculate the delay time. in ProcessTest()
102 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in ProcessTest()
107 usleep(1000 * 10 * 2); // 1000, 10, 2, Used to calculate the delay time. in ProcessTest()
/kernel/linux/linux-5.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 …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_033.c61 // 2, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in Testcase()
67 // 2, It is used to calculate a priority relative to TASK_PRIO_TEST_TASK. in Testcase()
88 // 2, It is used to calculate number of cycles in Testcase()
93 // 2, It is used to calculate number of cycles in Testcase()

12345678910>>...152