Home
last modified time | relevance | path

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

12345678910>>...111

/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-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/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/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()
122 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Testcase()
136 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 1; // 1, used to calculate the task priority. in Testcase()
143 …OSCFG_BASE_CORE_TICK_PER_SECOND * (CPUP_BACKWARD * 2 + 1)); // 2, used to calculate the delay time. in Testcase()
DIt_smp_extend_cpup_005.c71 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Task01()
83 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Task01()
97 // 4, used to calculate the delay time. in Task01()
147 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Testcase()
161 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 1; // 1, used to calculate the task priority. in Testcase()
168 …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()
98 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Testcase()
112 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 1; // 1, used to calculate the task priority. in Testcase()
119 …OSCFG_BASE_CORE_TICK_PER_SECOND * (CPUP_BACKWARD * 2 + 1)); // 2, used to calculate the delay time. in Testcase()
DIt_smp_extend_cpup_003.c77 // 2, used to calculate the input of equal func. in Task02()
102 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 2; // 2, used to calculate the task priority. in Testcase()
116 taskInitParam.usTaskPrio = TASK_PRIO_TEST - 1; // 1, used to calculate the task priority. in Testcase()
123 …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-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_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()
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_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_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()
/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()
DIt_smp_los_task_030.c67 // 3, It is used to calculate runcpu id. in Testcase()
77 // 2, It is used to calculate number of cycles in Testcase()
89 /* Calculate the field on the other core */ in Testcase()
99 /* Calculate the field on the current core */ in Testcase()
/kernel/linux/linux-5.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,…
/kernel/linux/linux-5.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()

12345678910>>...111