/linux/sound/pci/pcxhr/ |
H A D | pcxhr_mix22.c | 104 0x01, /* [001] -49.0 dB: AKM[001] = -48.131 dB (diff=0.86920 dB) */ 105 0x01, /* [002] -48.5 dB: AKM[001] = -48.131 dB (diff=0.36920 dB) */ 106 0x01, /* [003] -48.0 dB: AKM[001] = -48.131 dB (diff=0.13080 dB) */ 107 0x01, /* [004] -47.5 dB: AKM[001] = -48.131 dB (diff=0.63080 dB) */ 108 0x01, /* [005] -46.5 dB: AKM[001] = -48.131 dB (diff=1.63080 dB) */ 109 0x01, /* [006] -47.0 dB: AKM[001] = -48.131 dB (diff=1.13080 dB) */ 110 0x01, /* [007] -46.0 dB: AKM[001] = -48.131 dB (diff=2.13080 dB) */ 111 0x01, /* [008] -45.5 dB: AKM[001] = -48.131 dB (diff=2.63080 dB) */ 112 0x02, /* [009] -45.0 dB: AKM[002] = -42.110 dB (diff=2.88980 dB) */ 113 0x02, /* [010] -44.5 dB: AKM[002] = -42.110 dB (diff=2.38980 dB) */ [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-diff.txt | 1 perf-diff(1) 6 perf-diff - Read perf.data files and display the differential profile 11 'perf diff' [baseline file] [data file1] [[data file2] ... ] 25 could vary. So perf diff is based on the comparison of the files and 74 diff. 95 diff.compute config option. See COMPARISON METHODS section for 117 The default value can be set using the diff.order config option. 134 Select the second 10% time slice to diff: 136 perf diff --time 10%/2 138 Select from 0% to 10% time slice to diff: [all …]
|
/linux/net/ipv6/ila/ |
H A D | ila_common.c | 44 __wsum diff, fval; in ila_csum_do_neutral_fmt() local 46 diff = get_csum_diff_iaddr(iaddr, p); in ila_csum_do_neutral_fmt() 51 diff = csum_add(diff, fval); in ila_csum_do_neutral_fmt() 53 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust))); in ila_csum_do_neutral_fmt() 67 __wsum diff; in ila_csum_do_neutral_nofmt() local 69 diff = get_csum_diff_iaddr(iaddr, p); in ila_csum_do_neutral_nofmt() 71 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust))); in ila_csum_do_neutral_nofmt() 79 __wsum diff; in ila_csum_adjust_transport() local 87 diff = get_csum_diff(ip6h, p); in ila_csum_adjust_transport() 89 diff, true, true); in ila_csum_adjust_transport() [all …]
|
/linux/net/xfrm/ |
H A D | xfrm_replay.c | 124 u32 diff; in xfrm_replay_check_legacy() local 136 diff = x->replay.seq - seq; in xfrm_replay_check_legacy() 137 if (diff >= x->props.replay_window) { in xfrm_replay_check_legacy() 142 if (x->replay.bitmap & (1U << diff)) { in xfrm_replay_check_legacy() 158 u32 diff, seq; in xfrm_replay_advance() local 174 diff = seq - x->replay.seq; in xfrm_replay_advance() 175 if (diff < x->props.replay_window) in xfrm_replay_advance() 176 x->replay.bitmap = ((x->replay.bitmap) << diff) | 1; in xfrm_replay_advance() 181 diff = x->replay.seq - seq; in xfrm_replay_advance() 182 x->replay.bitmap |= (1U << diff); in xfrm_replay_advance() [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | diff.sh | 2 # perf diff tests 56 echo "Basic two file diff test" 68 if ! perf diff "${perfdata1}" "${perfdata2}" | grep -q "${testsym}" 70 echo "Basic two file diff test [Failed diff]" 74 echo "Basic two file diff test [Success]" 78 echo "Basic three file diff test" 95 if ! perf diff "${perfdata1}" "${perfdata2}" "${perfdata3}" | grep -q "${testsym}" 97 echo "Basic three file diff test [Failed diff]" [all...] |
/linux/arch/x86/math-emu/ |
H A D | reg_add_sub.c | 45 int diff, tag, expa, expb; in FPU_add() local 59 diff = expa - expb; in FPU_add() 60 if (!diff) { in FPU_add() 61 diff = a->sigh - b->sigh; /* This works only if the ms bits in FPU_add() 63 if (!diff) { in FPU_add() 64 diff = a->sigl > b->sigl; in FPU_add() 65 if (!diff) in FPU_add() 66 diff = -(a->sigl < b->sigl); in FPU_add() 70 if (diff > 0) { in FPU_add() 74 } else if (diff < 0) { in FPU_add() [all …]
|
/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_getrandom.c | 178 struct timespec start, end, diff; in bench_single() local 183 timespecsub(&end, &start, &diff); in bench_single() 184 printf(" vdso: %u times in %lu.%09lu seconds\n", TRIALS, diff.tv_sec, diff.tv_nsec); in bench_single() 189 timespecsub(&end, &start, &diff); in bench_single() 190 printf(" libc: %u times in %lu.%09lu seconds\n", TRIALS, diff.tv_sec, diff.tv_nsec); in bench_single() 195 timespecsub(&end, &start, &diff); in bench_single() 196 printf("syscall: %u times in %lu.%09lu seconds\n", TRIALS, diff.tv_sec, diff.tv_nsec); in bench_single() 201 struct timespec start, end, diff; in bench_multi() local 210 timespecsub(&end, &start, &diff); in bench_multi() 211 …printf(" vdso: %u x %u times in %lu.%09lu seconds\n", TRIALS, THREADS, diff.tv_sec, diff.tv_nsec… in bench_multi() [all …]
|
/linux/scripts/ |
H A D | objdiff | 20 # $ ./scripts/objdiff diff COMMIT_A COMMIT_B 40 echo >&2 " diff <commitA> <commitB>" 65 # remove addresses for a cleaner diff 66 # http://dummdida.tumblr.com/post/60924060451/binary-diff-between-libc-from-scientificlinux-and 104 DIFF="`which colordiff`" 106 if [ ${#DIFF} -eq 0 ] || [ ! -x "$DIFF" ]; then 107 DIFF="`which diff`" 123 $DIFF -Nurd $SRCD $DSTD 150 diff)
|
H A D | checkkconfigsymbols.py | 58 parser.add_argument('-d', '--diff', dest='diff', action='store', 60 help="diff undefined symbols between two commits " 66 "missing (required to run with --diff)") 87 if args.commit and args.diff: 90 if args.diff and not re.match(r"^[\w\-\.\^]+\.\.[\w\-\.\^]+$", args.diff): 94 if args.commit or args.diff: 125 if args.sim and not args.commit and not args.diff: 137 if args.commit or args.diff: 146 elif args.diff: 147 split = args.diff.split("..") [all …]
|
/linux/tools/perf/bench/ |
H A D | uprobe.c | 112 static int bench_uprobe_format__default_fprintf(const char *name, const char *unit, u64 diff, FILE *fp) in bench_uprobe_format__default_fprintf() 115 s64 diff_to_baseline = diff - baseline, in bench_uprobe_format__default_fprintf() 116 diff_to_previous = diff - previous; in bench_uprobe_format__default_fprintf() 119 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit); in bench_uprobe_format__default_fprintf() 128 printed += fprintf(fp, "\n\n %'.3f %ss/op", (double)diff / (double)loops, unit); in bench_uprobe_format__default_fprintf() 136 baseline = diff; in bench_uprobe_format__default_fprintf() 141 previous = diff; 150 u64 diff; in bench_uprobe() 166 diff = end.tv_sec * NSEC_PER_SEC + end.tv_nsec - (start.tv_sec * NSEC_PER_SEC + start.tv_nsec); in bench_uprobe() 167 diff / in bench_uprobe() 108 bench_uprobe_format__default_fprintf(const char * name,const char * unit,u64 diff,FILE * fp) bench_uprobe_format__default_fprintf() argument 146 u64 diff; bench_uprobe() local [all...] |
H A D | breakpoint.c | 118 struct timeval start, stop, diff; in bench_breakpoint_thread() local 148 timersub(&stop, &start, &diff); in bench_breakpoint_thread() 158 (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_thread() 159 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_thread() 167 printf("%lu.%03lu\n", (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_thread() 204 struct timeval start, stop, diff; in bench_breakpoint_enable() local 238 timersub(&stop, &start, &diff); in bench_breakpoint_enable() 250 (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_enable() 251 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_enable() 255 printf("%lu.%03lu\n", (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_enable()
|
H A D | syscall.c | 77 struct timeval start, stop, diff; in bench_syscall_common() 117 timersub(&stop, &start, &diff); in bench_syscall_common() 140 result_usec = diff.tv_sec * 1000000; in bench_syscall_common() 141 result_usec += diff.tv_usec; in bench_syscall_common() 144 (unsigned long) diff.tv_sec, in bench_syscall_common() 145 (unsigned long) (diff.tv_usec/1000)); in bench_syscall_common() 156 (unsigned long) diff.tv_sec, in bench_syscall_common() 157 (unsigned long) (diff.tv_usec / 1000)); in bench_syscall_common() 78 struct timeval start, stop, diff; bench_syscall_common() local
|
H A D | sched-seccomp-notify.c | 97 struct timeval start, stop, diff; in bench_sched_seccomp_notify() local 143 timersub(&stop, &start, &diff); in bench_sched_seccomp_notify() 150 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_seccomp_notify() 151 result_usec += diff.tv_usec; in bench_sched_seccomp_notify() 154 (unsigned long) diff.tv_sec, in bench_sched_seccomp_notify() 155 (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); in bench_sched_seccomp_notify() 166 (unsigned long) diff.tv_sec, in bench_sched_seccomp_notify() 167 (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); in bench_sched_seccomp_notify()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.h | 396 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \ 397 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \ 400 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \ 401 pstats->mac_stx[1].t##_lo, diff.lo); \ 406 DIFF_64(diff.hi, new->s##_hi, old->s##_hi, \ 407 diff.lo, new->s##_lo, old->s##_lo); \ 408 ADD_64(estats->t##_hi, diff.hi, \ 409 estats->t##_lo, diff.lo); \ 419 #define ADD_STAT64(diff, t) \ argument 421 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \ [all …]
|
/linux/include/sound/ |
H A D | pcm-indirect.h | 40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() local 43 if (diff) { in snd_pcm_indirect_playback_transfer() 44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer() 45 diff += runtime->boundary; in snd_pcm_indirect_playback_transfer() 46 if (diff < 0) in snd_pcm_indirect_playback_transfer() 48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer() 114 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() local 116 if (diff) { in snd_pcm_indirect_capture_transfer() 117 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer() 118 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer() [all …]
|
/linux/fs/hfs/ |
H A D | sysdep.c | 20 int diff; in hfs_revalidate_dentry() local 30 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry() 31 if (diff) { in hfs_revalidate_dentry() 34 inode_set_ctime(inode, ts.tv_sec + diff, ts.tv_nsec); in hfs_revalidate_dentry() 36 inode_set_atime(inode, ts.tv_sec + diff, ts.tv_nsec); in hfs_revalidate_dentry() 38 inode_set_mtime(inode, ts.tv_sec + diff, ts.tv_nsec); in hfs_revalidate_dentry() 39 HFS_I(inode)->tz_secondswest += diff; in hfs_revalidate_dentry()
|
/linux/drivers/gpu/drm/ |
H A D | drm_rect.c | 94 int diff; in drm_rect_clip_scaled() local 96 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() 97 if (diff > 0) { in drm_rect_clip_scaled() 99 drm_rect_width(dst), &diff); in drm_rect_clip_scaled() 102 dst->x1 += diff; in drm_rect_clip_scaled() 104 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() 105 if (diff > 0) { in drm_rect_clip_scaled() 107 drm_rect_height(dst), &diff); in drm_rect_clip_scaled() 110 dst->y1 += diff; in drm_rect_clip_scaled() 112 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled() [all …]
|
/linux/drivers/iio/adc/ |
H A D | ad7380.c | 320 #define _AD7380_CHANNEL(index, bits, diff, sign, gain) { \ argument 324 ((diff) ? 0 : BIT(IIO_CHAN_INFO_OFFSET)), \ 330 .differential = (diff), \ 331 .channel = (diff) ? (2 * (index)) : (index), \ 332 .channel2 = (diff) ? (2 * (index) + 1) : 0, \ 341 #define _AD7380_OFFLOAD_CHANNEL(index, bits, diff, sign, gain) { \ argument 345 ((diff) ? 0 : BIT(IIO_CHAN_INFO_OFFSET)), \ 353 .differential = (diff), \ 354 .channel = (diff) ? (2 * (index)) : (index), \ 355 .channel2 = (diff) ? (2 * (index) + 1) : 0, \ [all …]
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_phc.c | 524 u64 delay, diff, mult; in ionic_lif_alloc_phc() local 567 diff = U64_MAX / phc->cc.mult / 2; in ionic_lif_alloc_phc() 570 diff = (u64)IONIC_PHC_UPDATE_NS << (phc->cc.shift + 2); in ionic_lif_alloc_phc() 571 diff = DIV_ROUND_UP(diff, phc->cc.mult); in ionic_lif_alloc_phc() 575 diff |= diff >> 1; in ionic_lif_alloc_phc() 576 diff |= diff >> 2; in ionic_lif_alloc_phc() 577 diff |= diff >> 4; in ionic_lif_alloc_phc() 578 diff |= diff >> 8; in ionic_lif_alloc_phc() 579 diff |= diff >> 16; in ionic_lif_alloc_phc() 580 diff |= diff >> 32; in ionic_lif_alloc_phc() [all …]
|
/linux/tools/perf/scripts/python/ |
H A D | powerpc-hcalls.py | 176 diff = nsecs(sec, nsec) - d_enter[cpu][opcode] 179 output[opcode]['time'] += diff 181 if (output[opcode]['min'] > diff): 182 output[opcode]['min'] = diff 183 if (output[opcode]['max'] < diff): 184 output[opcode]['max'] = diff 187 'time': diff, 189 'min': diff, 190 'max': diff,
|
/linux/tools/perf/util/bpf_skel/ |
H A D | bpf_prog_profiler.bpf.c | 55 struct bpf_perf_event_value *before, diff; in fexit_update_maps() local 63 diff.counter = after->counter - before->counter; in fexit_update_maps() 64 diff.enabled = after->enabled - before->enabled; in fexit_update_maps() 65 diff.running = after->running - before->running; in fexit_update_maps() 69 accum->counter += diff.counter; in fexit_update_maps() 70 accum->enabled += diff.enabled; in fexit_update_maps() 71 accum->running += diff.running; in fexit_update_maps()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ptp.c | 52 u64 diff; in iwl_mvm_ptp_get_adj_time() local 71 diff = base_time_ns - last_gp2_ns; in iwl_mvm_ptp_get_adj_time() 72 IWL_DEBUG_INFO(mvm, "diff ns=%llu\n", (unsigned long long)diff); in iwl_mvm_ptp_get_adj_time() 74 diff = mul_u64_u64_div_u64(diff, data->scaled_freq, in iwl_mvm_ptp_get_adj_time() 76 IWL_DEBUG_INFO(mvm, "scaled diff ns=%llu\n", (unsigned long long)diff); in iwl_mvm_ptp_get_adj_time() 78 res = data->scale_update_adj_time_ns + data->delta + diff; in iwl_mvm_ptp_get_adj_time() 130 u64 diff = 0, new_diff; in iwl_mvm_phc_get_crosstimestamp_loop() local 139 if (!diff || new_diff < diff) { in iwl_mvm_phc_get_crosstimestamp_loop() 142 diff = new_diff; in iwl_mvm_phc_get_crosstimestamp_loop()
|
/linux/tools/bpf/bpftool/skeleton/ |
H A D | profiler.bpf.c | 79 struct bpf_perf_event_value___local *before, diff; in fexit_update_maps() local 86 diff.counter = after->counter - before->counter; in fexit_update_maps() 87 diff.enabled = after->enabled - before->enabled; in fexit_update_maps() 88 diff.running = after->running - before->running; in fexit_update_maps() 92 accum->counter += diff.counter; in fexit_update_maps() 93 accum->enabled += diff.enabled; in fexit_update_maps() 94 accum->running += diff.running; in fexit_update_maps()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | rf.c | 35 * legacy OFDM pwr diff. NO BB register in _rtl92s_get_powerbase() 46 /* Check HT20 to HT40 diff */ in _rtl92s_get_powerbase() 50 /* HT 20<->40 pwr diff */ in _rtl92s_get_powerbase() 69 * diff from Ant-B to Ant-A */ in _rtl92s_get_powerbase() 76 * of the power diff for Ant-B to Ant-A. */ in _rtl92s_get_powerbase() 128 "Antenna Diff from RF-B to RF-A = %d (0x%x)\n", in _rtl92s_set_antennadiff() 146 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, "Write BCD-Diff(0x%x) = 0x%x\n", in _rtl92s_set_antennadiff() 165 /* Realtek better performance increase power diff in _rtl92s_get_txpower_writeval_byregulatory() 176 /* Realtek regulatory increase power diff defined in _rtl92s_get_txpower_writeval_byregulatory() 208 /* Better regulatory don't increase any power diff */ in _rtl92s_get_txpower_writeval_byregulatory() [all …]
|
/linux/scripts/package/ |
H A D | mkdebian | 104 echo "diff-ignore" 105 echo "extend-diff-ignore = .*" 116 diff -u /dev/null "${KCONFIG_CONFIG}" | tail -n +3 120 "${srctree}/scripts/package/gen-diff-patch" debian/patches/diff.patch 121 if [ -s debian/patches/diff.patch ]; then 123 1iSubject: Add local diff 126 " debian/patches/diff.patch 128 echo diff.patch >> debian/patches/series 130 rm -f debian/patches/diff.patch
|