| /linux/sound/soc/fsl/ |
| H A D | fsl_sai.c | 467 int diff; in fsl_sai_set_bclk() local 481 diff = abs((long)clk_rate - ratio * freq); in fsl_sai_set_bclk() 487 if (diff != 0 && clk_rate / diff < 1000) in fsl_sai_set_bclk() 495 if (diff < bestdiff) { in fsl_sai_set_bclk() 498 bestdiff = diff; in fsl_sai_set_bclk() 501 if (diff == 0) in fsl_sai_set_bclk()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf.txt | 89 linkperf:perf-config[1], linkperf:perf-data[1], linkperf:perf-diff[1],
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe.c | 852 struct mtk_foe_accounting *diff) in mtk_foe_entry_get_mib() argument 869 if (diff) { in mtk_foe_entry_get_mib() 870 diff->bytes = bytes; in mtk_foe_entry_get_mib() 871 diff->packets = packets; in mtk_foe_entry_get_mib()
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_tas.c | 731 struct timespec64 diff; in sja1105_tas_state_machine() local 800 diff = ns_to_timespec64(tas_data->oper_base_time - now); in sja1105_tas_state_machine() 802 diff.tv_sec, diff.tv_nsec); in sja1105_tas_state_machine()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.c | 429 struct timespec64 diff; in ksz_tstamp_reconstruct() local 443 diff = timespec64_sub(ts, ptp_clock_time); in ksz_tstamp_reconstruct() 444 if (diff.tv_sec > 2) in ksz_tstamp_reconstruct() 446 else if (diff.tv_sec < -2) in ksz_tstamp_reconstruct()
|
| /linux/tools/perf/scripts/python/ |
| H A D | sched-migration.py | 176 diff = new_rq.load() - old_rq.load() 177 self.total_load += diff
|
| /linux/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()
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | custom_multipath_hash.sh | 266 local diff=$((d_rp12 - d_rp11)) 269 local pct=$(echo "$diff / $sum * 100" | bc -l)
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_igd.c | 220 * Due to the RVDA definition diff in OpRegion VBT (also the only diff in vfio_pci_igd_opregion_init()
|
| /linux/fs/f2fs/ |
| H A D | f2fs.h | 2461 long long diff = 0, release = 0; in inc_valid_block_count() local 2483 diff = (long long)sbi->total_valid_block_count + *count - in inc_valid_block_count() 2485 if (unlikely(diff > 0)) { in inc_valid_block_count() 2491 if (diff > *count) in inc_valid_block_count() 2492 diff = *count; in inc_valid_block_count() 2493 *count -= diff; in inc_valid_block_count() 2494 release = diff; in inc_valid_block_count() 3298 block_t diff, bool add, bool claim) in f2fs_i_blocks_write() argument 3306 dquot_claim_block(inode, diff); in f2fs_i_blocks_write() 3308 dquot_alloc_block_nofail(inode, diff); in f2fs_i_blocks_write() [all …]
|
| H A D | segment.h | 940 time64_t diff, now = ktime_get_boottime_seconds(); in get_mtime() local 947 diff = sit_i->mounted_time - now; in get_mtime() 948 if (sit_i->elapsed_time >= diff) in get_mtime() 949 return sit_i->elapsed_time - diff; in get_mtime()
|
| /linux/drivers/usb/dwc2/ |
| H A D | hcd.h | 608 u16 diff = fr_idx1 - fr_idx2; in dwc2_frame_idx_num_gt() local 609 u16 sign = diff & (FRLISTEN_64_SIZE >> 1); in dwc2_frame_idx_num_gt() 611 return diff && !sign; in dwc2_frame_idx_num_gt()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | sock.c | 78 test_cnt diff; in __skpair_poll_should_stop() local 83 diff = test_cmp_counters(c, &c2); in __skpair_poll_should_stop() 85 return (diff & condition) == condition; in __skpair_poll_should_stop()
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | smu_helper.c | 331 unsigned int i, diff; in phm_trim_voltage_table_to_fit_state_table() local 336 diff = vol_table->count - max_vol_steps; in phm_trim_voltage_table_to_fit_state_table() 339 vol_table->entries[i] = vol_table->entries[i + diff]; in phm_trim_voltage_table_to_fit_state_table()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | pmu_intel.c | 389 u64 reserved_bits, diff; in intel_pmu_set_msr() local 404 diff = pmu->pebs_enable ^ data; in intel_pmu_set_msr() 406 reprogram_counters(pmu, diff); in intel_pmu_set_msr()
|
| /linux/tools/perf/ |
| H A D | Build | 5 perf-y += builtin-diff.o
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-qp.c | 252 u64 diff = dw_hdmi_qp_audio_math_diff(freq, n, pixel_clk); in dw_hdmi_qp_compute_n() local 254 if (diff < best_diff || in dw_hdmi_qp_compute_n() 255 (diff == best_diff && abs(n - ideal_n) < best_n_distance)) { in dw_hdmi_qp_compute_n() 257 best_diff = diff; in dw_hdmi_qp_compute_n()
|
| /linux/fs/xfs/ |
| H A D | xfs_zone_gc.c | 303 int diff; in xfs_zone_gc_rmap_rec_cmp() local 305 diff = cmp_int(reca->rm_owner, recb->rm_owner); in xfs_zone_gc_rmap_rec_cmp() 306 if (diff) in xfs_zone_gc_rmap_rec_cmp() 307 return diff; in xfs_zone_gc_rmap_rec_cmp()
|
| /linux/drivers/comedi/drivers/ |
| H A D | amplc_pci230.c | 794 /* Specify uni/bip, se/diff, conversion source, and reset FIFO. */ in pci230_ai_insn_read() 1560 #define MAX_SPEED_AI_DIFF 8000 /* PCI230 DIFF: 8000 ns => 125 kHz */ in pci230_ai_cmdtest() 1846 * Keep se/diff and bip/uni settings. in pci230_ai_stop() 2079 unsigned int i, chan, range, diff; in pci230_ai_cmd() local 2113 * - Enable and reset FIFO, specify uni/bip, se/diff, and set in pci230_ai_cmd() 2132 diff = 1; in pci230_ai_cmd() 2136 diff = 0; in pci230_ai_cmd() 2152 if (diff) { in pci230_ai_cmd() 2195 * uni/bip, se/diff, and temporarily set the start conversion source in pci230_ai_cmd()
|
| /linux/net/tls/ |
| H A D | tls_device_fallback.c | 43 int diff = walk->offset - src->offset; chain_to_walk() local
|
| /linux/scripts/ |
| H A D | diffconfig | 17 Using standard diff to compare .config files often includes extraneous and
|
| /linux/include/scsi/fc/ |
| H A D | fc_encaps.h | 107 return class + FC_SOF_N3 - FC_SOF_I3; /* diff is always 8 */ in fc_sof_normal()
|
| /linux/Documentation/scsi/ |
| H A D | ncr53c8xx.rst | 929 diff:0 never set up diff mode 930 diff:1 set up diff mode if BIOS set it 931 diff:2 always set up diff mode 932 diff:3 set diff mode if GPIO3 is not set 1066 differential support from BIOS settings diff:1 1079 tags:0,sync:50,debug:0,burst:7,led:0,wide:1,settle:2,diff:0,irqm:0 1092 tags:32,sync:12,debug:0,burst:7,led:1,wide:1,settle:2,diff:0,irqm:0 1805 adaptors. This is used to disable the Symbios compatible "diff" setting 1809 "diff" support. ("led pin" support for Symbios compatible cards can remain
|
| /linux/net/ipv4/ |
| H A D | tcp_bbr.c | 190 /* If 2 intervals have a bw diff <= 4 Kbit/sec their bw is "consistent": */ 661 u32 diff; in bbr_lt_bw_interval_done() local 665 diff = abs(bw - bbr->lt_bw); in bbr_lt_bw_interval_done() 666 if ((diff * BBR_UNIT <= bbr_lt_bw_ratio * bbr->lt_bw) || in bbr_lt_bw_interval_done() 667 (bbr_rate_bytes_per_sec(sk, diff, BBR_UNIT) <= in bbr_lt_bw_interval_done()
|
| /linux/drivers/tty/serial/ |
| H A D | serial-tegra.c | 366 long diff; in tegra_check_rate_in_range() local 368 diff = ((long)(tup->configured_rate - tup->required_rate) * 10000) in tegra_check_rate_in_range() 370 if (diff < (tup->cdata->error_tolerance_low_range * 100) || in tegra_check_rate_in_range() 371 diff > (tup->cdata->error_tolerance_high_range * 100)) { in tegra_check_rate_in_range() 373 "configured baud rate is out of range by %ld", diff); in tegra_check_rate_in_range()
|