/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_qca.c | 285 unsigned int diff; in serial_clock_vote() local 292 diff = jiffies_to_msecs(jiffies - qca->vote_last_jif); in serial_clock_vote() 295 qca->vote_off_ms += diff; in serial_clock_vote() 297 qca->vote_on_ms += diff; in serial_clock_vote() 336 diff = jiffies_to_msecs(jiffies - qca->vote_last_jif); in serial_clock_vote() 340 qca->vote_off_ms += diff; in serial_clock_vote() 343 qca->vote_on_ms += diff; in serial_clock_vote()
|
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_sai.c | 427 int diff; in fsl_sai_set_bclk() local 441 diff = abs((long)clk_rate - ratio * freq); in fsl_sai_set_bclk() 447 if (diff != 0 && clk_rate / diff < 1000) in fsl_sai_set_bclk() 455 if (diff < bestdiff) { in fsl_sai_set_bclk() 458 bestdiff = diff; in fsl_sai_set_bclk() 461 if (diff == 0) in fsl_sai_set_bclk()
|
/third_party/ffmpeg/libavcodec/ |
H A D | mpeg4videoenc.c | 653 int diff; in ff_mpeg4_encode_mb() local 667 diff = 0; in ff_mpeg4_encode_mb() 670 diff += FFABS(p_pic[x1 + y1 * s->linesize] - b_pic[x1 + y1 * s->linesize]); in ff_mpeg4_encode_mb() 673 diff = diff * 256 / (xe * ye); in ff_mpeg4_encode_mb() 675 diff = s->mecc.sad[0](NULL, p_pic, b_pic, s->linesize, 16); in ff_mpeg4_encode_mb() 677 if (diff > s->qscale * 70) { // FIXME check that 70 is optimal in ff_mpeg4_encode_mb()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_paletteuse.c | 165 static av_always_inline int diff(const uint8_t *c1, const uint8_t *c2, const PaletteUseContext *s) in diff() function 199 const int d = diff(palargb, argb, s); in colormap_nearest_bruteforce() 225 const int current_to_target = diff(target, current, s); in colormap_nearest_node() 268 const int current_to_target = diff(target, current, s); in colormap_nearest_iterative() 580 const int d1 = diff(palargb1, argb, s); in debug_accuracy() 581 const int d2 = diff(palargb2, argb, s); in debug_accuracy() 826 mean_err += diff(argb1, argb2, s); in debug_mean_error()
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | es1968.c | 1696 ktime_t diff; in es1968_measure_clock() local 1763 diff = ktime_sub(stop_time, start_time); in es1968_measure_clock() 1764 t = ktime_to_us(diff); in es1968_measure_clock() 1833 unsigned int diff; in snd_es1968_suppress_jitter() local 1837 diff = (cp1 > cp2 ? cp1 - cp2 : cp2 - cp1); in snd_es1968_suppress_jitter() 1839 if (diff > 1) in snd_es1968_suppress_jitter() 1849 unsigned int diff; in snd_es1968_update_pcm() local 1858 diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size; in snd_es1968_update_pcm() 1861 es->count += diff; in snd_es1968_update_pcm()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | es1968.c | 1693 ktime_t diff; in es1968_measure_clock() local 1762 diff = ktime_sub(stop_time, start_time); in es1968_measure_clock() 1763 t = ktime_to_us(diff); in es1968_measure_clock() 1834 unsigned int diff; in snd_es1968_suppress_jitter() local 1838 diff = (cp1 > cp2 ? cp1 - cp2 : cp2 - cp1); in snd_es1968_suppress_jitter() 1840 if (diff > 1) in snd_es1968_suppress_jitter() 1850 unsigned int diff; in snd_es1968_update_pcm() local 1859 diff = (es->dma_size + hwptr - es->hwptr) % es->dma_size; in snd_es1968_update_pcm() 1862 es->count += diff; in snd_es1968_update_pcm()
|
/third_party/curl/lib/ |
H A D | multi.c | 3160 timediff_t diff; local 3162 diff = Curl_timediff_us(node->time, now); 3163 if(diff <= 0) 3448 timediff_t diff = Curl_timediff_ceil(multi->timetree->key, now); local 3451 *timeout_ms = (long)diff; 3576 timediff_t diff = Curl_timediff(check->time, node->time); local 3577 if(diff > 0) 3634 timediff_t diff = Curl_timediff(set, *nowp); local 3637 if(diff > 0) {
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | vp8l_enc.c | 46 // palette entry diff. 51 const uint32_t diff = VP8LSubPixels(col1, col2); in PaletteColorDistance() local 54 score = PaletteComponentDistance((diff >> 0) & 0xff); in PaletteColorDistance() 55 score += PaletteComponentDistance((diff >> 8) & 0xff); in PaletteColorDistance() 56 score += PaletteComponentDistance((diff >> 16) & 0xff); in PaletteColorDistance() 58 score += PaletteComponentDistance((diff >> 24) & 0xff); in PaletteColorDistance() 98 const uint32_t diff = VP8LSubPixels(palette[i], predict); in PaletteHasNonMonotonousDeltas() local 99 const uint8_t rd = (diff >> 16) & 0xff; in PaletteHasNonMonotonousDeltas() 100 const uint8_t gd = (diff >> 8) & 0xff; in PaletteHasNonMonotonousDeltas() 101 const uint8_t bd = (diff >> in PaletteHasNonMonotonousDeltas() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | events.c | 1327 struct os_reltime diff; in wpa_scan_res_match() local 1330 &bss->last_update, &diff); in wpa_scan_res_match() 1334 (unsigned int) diff.sec, in wpa_scan_res_match() 1335 (unsigned int) diff.usec); in wpa_scan_res_match() 1661 int min_diff, diff; in wpa_supplicant_need_to_roam() local 1774 diff = abs(current_bss->level - selected->level); in wpa_supplicant_need_to_roam() 1775 if (diff < min_diff) { in wpa_supplicant_need_to_roam() 1778 diff, min_diff); in wpa_supplicant_need_to_roam() 1784 diff, min_diff); in wpa_supplicant_need_to_roam() 4310 struct os_reltime diff; in wpa_supplicant_event() local 4345 struct os_reltime now, diff; wpa_supplicant_event() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
H A D | pmu_intel.c | 63 u64 diff = pmu->global_ctrl ^ data; in global_ctrl_changed() local 67 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) in global_ctrl_changed()
|
/kernel/linux/linux-5.10/drivers/clk/imx/ |
H A D | clk-sscg-pll.c | 116 int diff = temp_setup->fout_error; in clk_sscg_pll2_check_match() local 118 if (abs(diff) > abs(new_diff)) { in clk_sscg_pll2_check_match()
|
/kernel/linux/linux-5.10/net/tls/ |
H A D | tls_device_fallback.c | 40 int diff = walk->offset - src->offset; in chain_to_walk() local 43 src->length - diff, walk->offset); in chain_to_walk()
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | sched-migration.py | 176 diff = new_rq.load() - old_rq.load() 177 self.total_load += diff
|
/kernel/linux/linux-5.10/tools/io_uring/ |
H A D | io_uring-bench.c | 345 int diff = to_submit - ret; in submitter_fn() local 348 prepped -= diff; in submitter_fn()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_keys.c | 426 char *storage, char *output, int diff) in mlxsw_sp_afk_encode_u32() 431 __mlxsw_item_set32(output, output_item, 0, value + diff); in mlxsw_sp_afk_encode_u32() 424 mlxsw_sp_afk_encode_u32(const struct mlxsw_item *storage_item, const struct mlxsw_item *output_item, char *storage, char *output, int diff) mlxsw_sp_afk_encode_u32() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_keys.c | 424 char *storage, char *output, int diff) in mlxsw_sp_afk_encode_u32() 429 __mlxsw_item_set32(output, output_item, 0, value + diff); in mlxsw_sp_afk_encode_u32() 422 mlxsw_sp_afk_encode_u32(const struct mlxsw_item *storage_item, const struct mlxsw_item *output_item, char *storage, char *output, int diff) mlxsw_sp_afk_encode_u32() argument
|
/kernel/linux/linux-6.6/drivers/clk/imx/ |
H A D | clk-sscg-pll.c | 116 int diff = temp_setup->fout_error; in clk_sscg_pll2_check_match() local 118 if (abs(diff) > abs(new_diff)) { in clk_sscg_pll2_check_match()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
H A D | arcpgu.c | 145 long diff = clk_rate / 200; /* +-0.5% allowed by HDMI spec */ in arc_pgu_mode_valid() local 148 if ((max(rate, clk_rate) - min(rate, clk_rate) < diff) && (rate > 0)) in arc_pgu_mode_valid()
|
/kernel/linux/linux-6.6/drivers/iio/addac/ |
H A D | stx104.c | 29 #define STX104_IN_CHAN(chan, diff) { \ 37 .differential = diff \
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | sched-migration.py | 176 diff = new_rq.load() - old_rq.load() 177 self.total_load += diff
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | attr.py | 122 def diff(self, other): member in Event 327 exp_event.diff(res_event)
|
/kernel/linux/linux-6.6/net/tls/ |
H A D | tls_device_fallback.c | 42 int diff = walk->offset - src->offset; in chain_to_walk() local 45 src->length - diff, walk->offset); in chain_to_walk()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | gre_custom_multipath_hash.sh | 361 local diff=$((d222 - d111)) 364 local pct=$(echo "$diff / $sum * 100" | bc -l)
|
H A D | ip6gre_custom_multipath_hash.sh | 363 local diff=$((d222 - d111)) 366 local pct=$(echo "$diff / $sum * 100" | bc -l)
|
/kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm.sh | 437 echo ' ---' Output of "'"git diff HEAD"'": >> $resdir/$ds/testid.txt 438 git diff HEAD >> $resdir/$ds/testid.txt
|