Home
last modified time | relevance | path

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

12345678910>>...115

/linux-6.12.1/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-6.12.1/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-6.12.1/tools/perf/pmu-events/arch/x86/jaketown/
Duncore-interconnect.json48 …ip in each cycle. This can be used with the write transaction count to calculate the average writ…
58 …ip in each cycle. This can be used with the write transaction count to calculate the average writ…
68 …ore in each cycle. This can be used with the read transaction count to calculate the average read…
78 …ore in each cycle. This can be used with the read transaction count to calculate the average read…
108 …re in each cycle. This can be used with the transaction count event to calculate the average late…
118 …re in each cycle. This can be used with the transaction count event to calculate the average late…
322 … This can be used in conjunction with the allocations event in order to calculate average latency …
523 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
532calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
542calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
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 …]
/linux-6.12.1/include/linux/
Doverflow.h57 * check_add_overflow() - Calculate addition with overflow checking
103 * check_sub_overflow() - Calculate subtraction with overflow checking
149 * check_mul_overflow() - Calculate multiplication with overflow checking
179 * check_shl_overflow() - Calculate a left-shifted value and check overflow
258 * size_mul() - Calculate size_t multiplication with saturation at SIZE_MAX
262 * Returns: calculate @factor1 * @factor2, both promoted to size_t,
277 * size_add() - Calculate size_t addition with saturation at SIZE_MAX
281 * Returns: calculate @addend1 + @addend2, both promoted to size_t,
296 * size_sub() - Calculate size_t subtraction with saturation at SIZE_MAX
300 * Returns: calculate @minuend - @subtrahend, both promoted to size_t,
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/ivytown/
Duncore-interconnect.json48 …ip in each cycle. This can be used with the write transaction count to calculate the average writ…
58 …ip in each cycle. This can be used with the write transaction count to calculate the average writ…
68 …ore in each cycle. This can be used with the read transaction count to calculate the average read…
78 …ore in each cycle. This can be used with the read transaction count to calculate the average read…
108 …re in each cycle. This can be used with the transaction count event to calculate the average late…
118 …re in each cycle. This can be used with the transaction count event to calculate the average late…
332 … This can be used in conjunction with the allocations event in order to calculate average latency …
864 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
873 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
883 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
[all …]
/linux-6.12.1/drivers/memory/
Dstm32-fmc2-ebi.c221 * @calculate: this callback is called to calculate for exemple a timing
235 u32 (*calculate)(struct stm32_fmc2_ebi *ebi, int cs, u32 setup); member
989 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
997 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
1005 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
1013 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
1020 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
1027 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
1034 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
1040 .calculate = stm32_fmc2_ebi_ns_to_clk_period,
[all …]
/linux-6.12.1/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()
/linux-6.12.1/tools/perf/pmu-events/arch/x86/haswellx/
Duncore-interconnect.json7calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
17calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
552 … This can be used in conjunction with the allocations event in order to calculate average latency …
844 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
853 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
863 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
873 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
883 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
893 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
903 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/broadwellx/
Duncore-interconnect.json7calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
17calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as …
552 … This can be used in conjunction with the allocations event in order to calculate average latency …
843 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
852 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
862 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
872 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
882 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
892 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
902 …used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occu…
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/libeth/
Drx.c10 * @pp: &page_pool_params of the netdev to calculate the size for
31 * @pp: &page_pool_params of the netdev to calculate the size for
57 * libeth_rx_page_pool_params - calculate params with the stack overhead
58 * @fq: buffer queue to calculate the size for
99 * libeth_rx_page_pool_params_zc - calculate params without the stack overhead
100 * @fq: buffer queue to calculate the size for
/linux-6.12.1/drivers/gpu/drm/
Ddrm_rect.c37 * Calculate the intersection of rectangles @r1 and @r2.
152 * drm_rect_calc_hscale - calculate the horizontal scaling factor
158 * Calculate the horizontal scaling factor as
162 * 1 << 16, round up. This will calculate the scale with the most
187 * drm_rect_calc_vscale - calculate the vertical scaling factor
193 * Calculate the vertical scaling factor as
197 * 1 << 16, round up. This will calculate the scale with the most
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
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, …
/linux-6.12.1/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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.h35 // This function calls <get_rq_param> and <extract_rq_regs> fucntions 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-6.12.1/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-6.12.1/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-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.h36 // This function calls <get_rq_param> and <extract_rq_regs> fucntions to calculate
48 // Calculate and return DLG and TTU register struct given the system setting
56 // cstate - 0: when calculate min_ttu_vblank it is assumed cstate is not required. 1: Normal mode,…
/linux-6.12.1/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
/linux-6.12.1/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-6.12.1/drivers/media/platform/mediatek/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-6.12.1/drivers/clk/mmp/
Dclk-frac.c60 /* calculate numerator */ in clk_factor_recalc_rate()
63 /* calculate denominator */ in clk_factor_recalc_rate()
130 /* calculate numerator */ in clk_factor_init()
133 /* calculate denominator */ in clk_factor_init()
/linux-6.12.1/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()

12345678910>>...115