| /kernel/linux/linux-6.6/include/linux/ |
| D | overflow.h | 57 * check_add_overflow() - Calculate addition with overflow checking 72 * check_sub_overflow() - Calculate subtraction with overflow checking 87 * check_mul_overflow() - Calculate multiplication with overflow checking 102 * check_shl_overflow() - Calculate a left-shifted value and check overflow 181 * size_mul() - Calculate size_t multiplication with saturation at SIZE_MAX 185 * Returns: calculate @factor1 * @factor2, both promoted to size_t, 200 * size_add() - Calculate size_t addition with saturation at SIZE_MAX 204 * Returns: calculate @addend1 + @addend2, both promoted to size_t, 219 * size_sub() - Calculate size_t subtraction with saturation at SIZE_MAX 223 * Returns: calculate @minuend - @subtrahend, both promoted to size_t, [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/ |
| D | sh_mobile_ceu_camera.rst | 72 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-6.6/Documentation/driver-api/media/drivers/ |
| D | sh_mobile_ceu_camera.rst | 72 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-6.6/tools/perf/pmu-events/arch/x86/jaketown/ |
| D | uncore-interconnect.json | 43 …ip in each cycle. This can be used with the write transaction count to calculate the average writ… 52 …ip in each cycle. This can be used with the write transaction count to calculate the average writ… 61 …ore in each cycle. This can be used with the read transaction count to calculate the average read… 70 …ore in each cycle. This can be used with the read transaction count to calculate the average read… 97 …re in each cycle. This can be used with the transaction count event to calculate the average late… 106 …re in each cycle. This can be used with the transaction count event to calculate the average late… 287 … This can be used in conjunction with the allocations event in order to calculate average latency … 467 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 475 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … 484 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … [all …]
|
| /kernel/linux/linux-6.6/drivers/macintosh/ |
| D | windfarm_pid.c | 39 /* 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-5.10/drivers/macintosh/ |
| D | windfarm_pid.c | 39 /* 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-6.6/drivers/staging/media/atomisp/pci/ |
| D | sh_css_param_shading.c | 33 * For each target point T, we calculate the 4 surrounding source points: 35 * We then calculate the distances from the T to the source points: x0, x1, 37 * We then calculate the value of T: 123 * calculate target point and make sure it falls within in crop_and_interpolate() 128 /* calculate closest source points in shading table and in crop_and_interpolate() 140 /* calculate closest source points for distance computation */ in crop_and_interpolate() 143 /* calculate distance between source and target pixels */ in crop_and_interpolate() 157 /* calculate target point */ in crop_and_interpolate() 159 /* calculate closest source points. */ in crop_and_interpolate() 173 * calculate closest source points for distance in crop_and_interpolate() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/ivytown/ |
| D | uncore-interconnect.json | 43 …ip in each cycle. This can be used with the write transaction count to calculate the average writ… 52 …ip in each cycle. This can be used with the write transaction count to calculate the average writ… 61 …ore in each cycle. This can be used with the read transaction count to calculate the average read… 70 …ore in each cycle. This can be used with the read transaction count to calculate the average read… 97 …re in each cycle. This can be used with the transaction count event to calculate the average late… 106 …re in each cycle. This can be used with the transaction count event to calculate the average late… 296 … This can be used in conjuection with the allocations event in order to calculate average latency … 764 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 772 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 781 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | sh_css_param_shading.c | 32 * 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/liteos_a/testsuites/unittest/process/basic/process/full/ |
| D | process_test_031.cpp | 37 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()
|
| D | process_test_033.cpp | 37 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()
|
| /kernel/linux/linux-6.6/arch/mips/kernel/ |
| D | cmpxchg.c | 24 * 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-5.10/arch/mips/kernel/ |
| D | cmpxchg.c | 24 * 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/ |
| D | It_smp_extend_cpup_004.c | 47 // 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()
|
| D | It_smp_extend_cpup_005.c | 71 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()
|
| /kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/ |
| D | It_los_task_111.c | 48 // 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()
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | iotiming-s3c2410.c | 92 * 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-6.6/tools/perf/pmu-events/arch/x86/haswellx/ |
| D | uncore-interconnect.json | 6 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … 15 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … 495 … This can be used in conjunction with the allocations event in order to calculate average latency … 757 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 765 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 774 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 783 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 792 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 801 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 810 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/broadwellx/ |
| D | uncore-interconnect.json | 6 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … 15 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … 495 … This can be used in conjunction with the allocations event in order to calculate average latency … 756 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 764 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 773 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 782 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 791 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 800 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… 809 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu… [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_ptp_hw.h | 60 * @tx_par_clk: Frequency used to calculate P_REG_PAR_TX_TUS 61 * @rx_par_clk: Frequency used to calculate P_REG_PAR_RX_TUS 62 * @tx_pcs_clk: Frequency used to calculate P_REG_PCS_TX_TUS 63 * @rx_pcs_clk: Frequency used to calculate P_REG_PCS_RX_TUS 64 * @tx_desk_rsgb_par: Frequency used to calculate P_REG_DESK_PAR_TX_TUS 65 * @rx_desk_rsgb_par: Frequency used to calculate P_REG_DESK_PAR_RX_TUS 66 * @tx_desk_rsgb_pcs: Frequency used to calculate P_REG_DESK_PCS_TX_TUS 67 * @rx_desk_rsgb_pcs: Frequency used to calculate P_REG_DESK_PCS_RX_TUS 69 * @pmd_adj_divisor: Divisor used to calculate PDM alignment adjustment
|
| /kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
| D | process_test_025.cpp | 85 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()
|
| D | process_test_023.cpp | 86 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()
|
| D | process_test_024.cpp | 80 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()
|
| D | process_test_022.cpp | 86 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-6.6/drivers/memory/ |
| D | stm32-fmc2-ebi.c | 159 * @calculate: this callback is called to calculate for exemple a timing 173 u32 (*calculate)(struct stm32_fmc2_ebi *ebi, int cs, u32 setup); member 828 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles, 836 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles, 844 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles, 852 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles, 859 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles, 866 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles, 873 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles, 879 .calculate = stm32_fmc2_ebi_ns_to_clk_period, [all …]
|