/linux/Documentation/driver-api/media/drivers/ |
H A 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)
|
/linux/drivers/macintosh/ |
H A 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()
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-interconnect.json | 48 …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… 532 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … 542 …calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as … [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-interconnect.json | 48 …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/include/linux/ |
H A D | overflow.h | 57 * 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 328 * size_mul() - Calculate size_t multiplication with saturation at SIZE_MAX 332 * Returns: calculate @factor1 * @factor2, both promoted to size_t, 347 * size_add() - Calculate size_t addition with saturation at SIZE_MAX 351 * Returns: calculate @addend1 + @addend2, both promoted to size_t, 366 * size_sub() - Calculate size_t subtraction with saturation at SIZE_MAX 370 * Returns: calculate [all...] |
/linux/drivers/memory/ |
H A D | stm32-fmc2-ebi.c | 221 * @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/arch/mips/kernel/ |
H A 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()
|
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-interconnect.json | 532 "PublicDescription": "Accumulates the number of outstanding outbound requests from the IRP to the switch (towards the devices). This can be used in conjunction with the allocations event in order to calculate average latency of outbound requests.", 824 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.", 833 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors DRS flits only.", 843 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors DRS flits only.", 853 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors HOM flits only.", 863 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors HOM flits only.", 873 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors NCB flits only.", 883 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors NCB flits only.", 893 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors NCS flits only.", 903 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate th [all...] |
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-interconnect.json | 532 "PublicDescription": "Accumulates the number of outstanding outbound requests from the IRP to the switch (towards the devices). This can be used in conjunction with the allocations event in order to calculate average latency of outbound requests.", 823 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.", 832 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors DRS flits only.", 842 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors DRS flits only.", 852 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors HOM flits only.", 862 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors HOM flits only.", 872 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors NCB flits only.", 882 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors NCB flits only.", 892 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy. This monitors NCS flits only.", 902 "PublicDescription": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate th [all...] |
/linux/drivers/net/ethernet/intel/libeth/ |
H A D | rx.c | 14 * @pp: &page_pool_params of the netdev to calculate the size for 35 * @pp: &page_pool_params of the netdev to calculate the size for 61 * libeth_rx_page_pool_params - calculate params with the stack overhead 62 * @fq: buffer queue to calculate the size for 103 * libeth_rx_page_pool_params_zc - calculate params without the stack overhead 104 * @fq: buffer queue to calculate the size for
|
/linux/drivers/gpu/drm/ |
H A D | drm_rect.c | 37 * 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/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20.h | 36 // 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 D | display_rq_dlg_calc_20v2.h | 36 // 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/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.h | 36 * 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/fs/xfs/libxfs/ |
H A D | xfs_cksum.h | 8 * 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/drivers/cpufreq/ |
H A D | cpufreq-nforce2.c | 62 * 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/arch/arm64/lib/ |
H A D | strnlen.S | 56 /* 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/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.h | 37 // 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/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.h | 35 // 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/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.h | 36 // 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/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.h | 35 // 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/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_regs.c | 97 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/drivers/net/wireless/ath/ath9k/ |
H A D | common-beacon.c | 68 * TSF and calculate dtim state for the result. in ath9k_cmn_beacon_config_sta() 81 * Calculate the number of consecutive beacons to miss* before taking in ath9k_cmn_beacon_config_sta() 83 * need calculate based on the beacon interval. Note that we clamp the in ath9k_cmn_beacon_config_sta() 93 * Calculate sleep duration. The configuration is given in ms. in ath9k_cmn_beacon_config_sta()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.h | 94 * @tx_par_clk: Frequency used to calculate P_REG_PAR_TX_TUS 95 * @rx_par_clk: Frequency used to calculate P_REG_PAR_RX_TUS 96 * @tx_pcs_clk: Frequency used to calculate P_REG_PCS_TX_TUS 97 * @rx_pcs_clk: Frequency used to calculate P_REG_PCS_RX_TUS 98 * @tx_desk_rsgb_par: Frequency used to calculate P_REG_DESK_PAR_TX_TUS 99 * @rx_desk_rsgb_par: Frequency used to calculate P_REG_DESK_PAR_RX_TUS 100 * @tx_desk_rsgb_pcs: Frequency used to calculate P_REG_DESK_PCS_TX_TUS 101 * @rx_desk_rsgb_pcs: Frequency used to calculate P_REG_DESK_PCS_RX_TUS 103 * @pmd_adj_divisor: Divisor used to calculate PDM alignment adjustment
|
/linux/arch/loongarch/include/asm/ |
H A D | cmpxchg.h | 37 * Calculate a shift & mask that correspond to the value we wish to in __xchg_small() 46 * Calculate a pointer to the naturally aligned 4 byte integer that in __xchg_small() 127 * Calculate a shift & mask that correspond to the value we wish to in __cmpxchg_small() 138 * Calculate a pointer to the naturally aligned 4 byte integer that in __cmpxchg_small()
|