Home
last modified time | relevance | path

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

12345678910>>...137

/openbmc/linux/Documentation/driver-api/media/drivers/
H A 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)
/openbmc/linux/include/linux/
H A Doverflow.h57 * 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 …]
/openbmc/linux/drivers/macintosh/
H A 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()
/openbmc/linux/tools/perf/pmu-events/arch/x86/jaketown/
H A Duncore-interconnect.json43 …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…
475calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
484calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
[all …]
/openbmc/telemetry/src/metrics/
H A Dcollection_function.cpp11 double calculate(const std::vector<ReadingItem>& readings, in calculate() function in metrics::FunctionMinimum
25 {ReadingItem(timestamp, calculate(readings, timestamp))}); in calculateForStartupInterval()
33 double calculate(const std::vector<ReadingItem>& readings, in calculate() function in metrics::FunctionMaximum
47 {ReadingItem(timestamp, calculate(readings, timestamp))}); in calculateForStartupInterval()
55 double calculate(const std::vector<ReadingItem>& readings, in calculate() function in metrics::FunctionAverage
81 auto result = calculate(readings, timestamp); in calculateForStartupInterval()
96 double calculate(const std::vector<ReadingItem>& readings, in calculate() function in metrics::FunctionSummation
122 const auto result = calculate(readings, timestamp); in calculateForStartupInterval()
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_param_shading.c33 * 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 …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivytown/
H A Duncore-interconnect.json43 …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 …]
/openbmc/linux/arch/mips/kernel/
H A 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()
/openbmc/u-boot/doc/
H A DREADME.sha111 sha1 address len [addr] calculate the SHA1 sum [save at addr]
12 -p calculate the SHA1 sum from the U-Boot image in flash and print
22 It is possible to calculate a SHA1 checksum from a memoryrange with:
47 c) now calculate the SHA1 sum from the memoryrange and write
/openbmc/qemu/docs/devel/migration/
H A Ddirty-limit.rst17 -\ CALCULATE(2) |
35 CALCULATE(2), as the name implies. It involves preparing the dirty
42 - CALCULATE (2)
44 Calculate a suitable sleep period for each virtual CPU, which will be
57 on the results of the calculation supplied by step CALCULATE (2).
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellx/
H A Duncore-interconnect.json6calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
15calculate 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 …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswellx/
H A Duncore-interconnect.json6calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
15calculate 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 …]
/openbmc/openpower-vpd-parser/vpd-parser/
H A Dmemory_vpd_parser.cpp268 // Calculate SDRAM capacity in getDdr4BasedDDimmSize()
273 cerr << "Bad data in vpd byte 4. Can't calculate SDRAM capacity and so " in getDdr4BasedDDimmSize()
280 /* Calculate Primary bus width */ in getDdr4BasedDDimmSize()
284 cerr << "Bad data in vpd byte 13. Can't calculate primary bus width " in getDdr4BasedDDimmSize()
290 /* Calculate SDRAM width */ in getDdr4BasedDDimmSize()
294 cerr << "Bad data in vpd byte 12. Can't calculate SDRAM width and so " in getDdr4BasedDDimmSize()
310 /* Calculate Number of ranks */ in getDdr4BasedDDimmSize()
316 cerr << "Can't calculate number of ranks. Invalid data found.\n "; in getDdr4BasedDDimmSize()
H A Disdimm_vpd_parser.cpp74 // Calculate SDRAM capacity in getDDR4DimmCapacity()
80 << "Bad data in spd byte 4. Can't calculate SDRAM capacity and so " in getDDR4DimmCapacity()
87 /* Calculate Primary bus width */ in getDDR4DimmCapacity()
92 << "Bad data in spd byte 13. Can't calculate primary bus width " in getDDR4DimmCapacity()
98 /* Calculate SDRAM width */ in getDDR4DimmCapacity()
103 << "Bad data in vpd byte 12. Can't calculate SDRAM width and so " in getDDR4DimmCapacity()
119 /* Calculate Number of ranks */ in getDDR4DimmCapacity()
125 std::cerr << "Can't calculate number of ranks. Invalid data found.\n "; in getDDR4DimmCapacity()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.h60 * @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
/openbmc/linux/drivers/memory/
H A Dstm32-fmc2-ebi.c159 * @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 …]
/openbmc/linux/arch/mips/ar7/
H A Dclock.c117 static void calculate(int base, int target, int *prediv, int *postdiv, in calculate() function
228 calculate(base_clock, frequency, &prediv, &postdiv, &mul); in tnetd7300_set_clock()
349 calculate(dsp_base, TNETD7200_DEF_DSP_CLK, in tnetd7200_init_clocks()
358 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks()
371 calculate(cpu_base, TNETD7200_DEF_CPU_CLK, &cpu_prediv, in tnetd7200_init_clocks()
380 calculate(dsp_base, TNETD7200_DEF_DSP_CLK, &dsp_prediv, in tnetd7200_init_clocks()
390 calculate(dsp_base, TNETD7200_DEF_DSP_CLK, &dsp_prediv, in tnetd7200_init_clocks()
403 calculate(usb_base, TNETD7200_DEF_USB_CLK, &usb_prediv, in tnetd7200_init_clocks()
/openbmc/qemu/docs/specs/
H A Drapl-msr.rst31 counter to calculate the power. Those MSRs are populated once at the beginning
63 4. Repeat 2. and 3. and calculate the delta of every metrics representing the
76 8. Calculate the ratio of energy spent per vcpu threads.
78 9. Calculate the energy for each virtual package.
103 By reading those metrics for a thread, one can calculate the ratio of time the
/openbmc/linux/fs/xfs/libxfs/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A 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,…
H A 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,…
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_rq_dlg_calc_32.h36 * This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
52 * Calculate and return DLG and TTU register struct given the system setting
60 * cstate - 0: when calculate min_ttu_vblank it is assumed cstate is not required. 1: Normal mode, …
/openbmc/linux/drivers/gpu/drm/
H A 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
/openbmc/u-boot/board/freescale/common/
H A Dics307_clk.c61 /* Calculate the VDW */ in ics307_sysclk_calculator()
67 /* Calculate the temp out frequency */ in ics307_sysclk_calculator()
71 * calculate the percent, the precision is 1/1000 in ics307_sysclk_calculator()
97 * Calculate frequency being generated by ICS307-02 clock chip based upon
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A 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,…

12345678910>>...137