Home
last modified time | relevance | path

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

12345678910>>...112

/linux-6.8/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.8/tools/perf/pmu-events/arch/x86/jaketown/
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 …]
/linux-6.8/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.8/include/linux/
Doverflow.h55 * check_add_overflow() - Calculate addition with overflow checking
70 * check_sub_overflow() - Calculate subtraction with overflow checking
85 * check_mul_overflow() - Calculate multiplication with overflow checking
100 * check_shl_overflow() - Calculate a left-shifted value and check overflow
179 * size_mul() - Calculate size_t multiplication with saturation at SIZE_MAX
183 * Returns: calculate @factor1 * @factor2, both promoted to size_t,
198 * size_add() - Calculate size_t addition with saturation at SIZE_MAX
202 * Returns: calculate @addend1 + @addend2, both promoted to size_t,
217 * size_sub() - Calculate size_t subtraction with saturation at SIZE_MAX
221 * Returns: calculate @minuend - @subtrahend, both promoted to size_t,
[all …]
/linux-6.8/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.8/tools/perf/pmu-events/arch/x86/ivytown/
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 conjunction 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 …]
/linux-6.8/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.8/tools/perf/pmu-events/arch/x86/haswellx/
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 …]
/linux-6.8/tools/perf/pmu-events/arch/x86/broadwellx/
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 …]
/linux-6.8/drivers/memory/
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
786 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
794 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
802 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
810 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
817 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
824 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
831 .calculate = stm32_fmc2_ebi_ns_to_clock_cycles,
837 .calculate = stm32_fmc2_ebi_ns_to_clk_period,
[all …]
/linux-6.8/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.h61 * @tx_par_clk: Frequency used to calculate P_REG_PAR_TX_TUS
62 * @rx_par_clk: Frequency used to calculate P_REG_PAR_RX_TUS
63 * @tx_pcs_clk: Frequency used to calculate P_REG_PCS_TX_TUS
64 * @rx_pcs_clk: Frequency used to calculate P_REG_PCS_RX_TUS
65 * @tx_desk_rsgb_par: Frequency used to calculate P_REG_DESK_PAR_TX_TUS
66 * @rx_desk_rsgb_par: Frequency used to calculate P_REG_DESK_PAR_RX_TUS
67 * @tx_desk_rsgb_pcs: Frequency used to calculate P_REG_DESK_PCS_TX_TUS
68 * @rx_desk_rsgb_pcs: Frequency used to calculate P_REG_DESK_PCS_RX_TUS
70 * @pmd_adj_divisor: Divisor used to calculate PDM alignment adjustment
/linux-6.8/drivers/gpu/drm/
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
/linux-6.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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>>...112