/linux-master/include/linux/ |
H A D | ptp_classify.h | 75 __be64 correction; member in struct:ptp_header 155 * ptp_header_update_correction - Update PTP header's correction field 159 * @correction: new correction value 161 * This updates the correction field of a PTP header and updates the UDP 163 * one-step P2P that does not already modify the correction field of Pdelay_Req 168 struct ptp_header *hdr, s64 correction) 173 /* previous correction value is required for checksum update. */ 174 memcpy(&correction_old, &hdr->correction, sizeof(correction_old)); 176 /* write new correction valu 167 ptp_header_update_correction(struct sk_buff *skb, unsigned int type, struct ptp_header *hdr, s64 correction) argument 238 ptp_header_update_correction(struct sk_buff *skb, unsigned int type, struct ptp_header *hdr, s64 correction) argument [all...] |
/linux-master/lib/lz4/ |
H A D | lz4hc_compress.c | 433 int correction; local 441 correction = new_ml - (int)(start2 - ip); 443 if (correction > 0) { 444 start2 += correction; 445 ref2 += correction; 446 ml2 -= correction; 486 int correction = (int)(ip + ml - start2); local 488 start2 += correction; 489 ref2 += correction; 490 ml2 -= correction; 524 int correction; local [all...] |
/linux-master/net/dsa/ |
H A D | tag_ksz.c | 203 s64 correction; local 219 correction = (s64)get_unaligned_be64(&ptp_hdr->correction); 221 if (correction < 0) { 224 ts = ns_to_timespec64(-correction >> 16); 227 /* Set correction field to 0 and update UDP checksum */
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_pm121.c | 26 * controls have a target correction calculated as : 31 * OD Fan control correction. 41 * HD Fan control correction. 51 * CPU Fan control correction. 63 * Some controls have a target correction which depends on another 64 * control value. The correction is computed in the following way : 85 * In order to have the moste efficient correction with those 312 /* CPUFREQ has no correction (and is not implemented at all) */ 318 struct pm121_correction correction; member in struct:pm121_connection 347 * writing virtual control, we store the control correction wit 469 struct pm121_correction *correction; local [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.c | 247 * @ts_corrections.ptp_tx: Required driver correction of PTP packet transmit 249 * @ts_corrections.ptp_rx: Required driver correction of PTP packet receive 252 * @ts_corrections.pps_in: Required driver correction of PPS input timestamps 253 * @ts_corrections.general_tx: Required driver correction of general packet 255 * @ts_corrections.general_rx: Required driver correction of general packet 305 s32 correction); 449 s32 correction) 452 if (correction >= 0) 453 kt = ktime_add_ns(kt, (u64)correction); 455 kt = ktime_sub_ns(kt, (u64)-correction); 448 efx_ptp_s_ns_to_ktime_correction(u32 nic_major, u32 nic_minor, s32 correction) argument 497 efx_ptp_s27_to_ktime_correction(u32 nic_major, u32 nic_minor, s32 correction) argument 522 efx_ptp_s_qns_to_ktime_correction(u32 nic_major, u32 nic_minor, s32 correction) argument 558 efx_ptp_mac_nic_to_ktime_correction(struct efx_nic *efx, struct efx_ptp_data *ptp, u32 nic_major, u32 nic_minor, s32 correction) argument [all...] |
/linux-master/lib/zstd/compress/ |
H A D | zstd_compress_internal.h | 190 U32 nbOverflowCorrections; /* Number of times overflow correction has run since 889 /* Maximum chunk size before overflow correction needs to be called again */ 937 /* Defining this macro to non-zero tells zstd to run the overflow correction 951 * Returns non-zero if the indices are large enough for overflow correction 966 /* Adjust the min index to backoff the overflow correction frequency, 967 * so we don't waste too much CPU in overflow correction. If this 1008 * Returns the correction made to the indices, which must be applied to every 1017 /* preemptive overflow correction: 1018 * 1. correction is large enough: 1029 * After correction, curren [all...] |
H A D | zstd_ldm.c | 523 * chunks to enforce the maximum distance and handle overflow correction. 537 /* 1. Perform overflow correction if necessary. */ 540 U32 const correction = ZSTD_window_correctOverflow( local 542 ZSTD_ldm_reduceTable(ldmState->hashTable, ldmHSize, correction); 543 /* invalidate dictionaries on overflow correction */
|
H A D | zstd_compress.c | 3819 U32 const correction = ZSTD_window_correctOverflow(&ms->window, cycleLog, maxDist, ip); local 3824 ZSTD_reduceIndex(ms, params, correction); 3826 if (ms->nextToUpdate < correction) ms->nextToUpdate = 0; 3827 else ms->nextToUpdate -= correction; 3828 /* invalidate dictionaries on overflow correction */ 4054 /* overflow check and correction for block mode */ 4126 * correction, but I don't want to insert extra constraints here.
|
/linux-master/arch/arm/kernel/ |
H A D | entry-armv.S | 272 mov r1, #4 @ PC correction to apply 274 THUMB( movne r1, #2 ) @ if so, fix up PC correction 847 .macro vector_stub, name, mode, correction=0 857 .if \correction 858 sub lr, lr, #\correction 891 .if \correction 892 sub lr, lr, #\correction
|
/linux-master/kernel/time/ |
H A D | ntp.c | 876 /* get current phase correction and jitter */ 990 long correction = -error; local 994 pps_phase_filter_add(correction); 995 correction = pps_phase_filter_get(&jitter); 1009 time_offset = div_s64(((s64)correction) << NTP_SCALE_SHIFT,
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 256 * @ts_corrections.ptp_tx: Required driver correction of PTP packet transmit 258 * @ts_corrections.ptp_rx: Required driver correction of PTP packet receive 261 * @ts_corrections.pps_in: Required driver correction of PPS input timestamps 262 * @ts_corrections.general_tx: Required driver correction of general packet 264 * @ts_corrections.general_rx: Required driver correction of general packet 309 s32 correction); 485 s32 correction) 487 /* Apply the correction and deal with carry */ 488 nic_minor += correction; 510 s32 correction) 484 efx_ptp_s27_to_ktime_correction(u32 nic_major, u32 nic_minor, s32 correction) argument 509 efx_ptp_s_qns_to_ktime_correction(u32 nic_major, u32 nic_minor, s32 correction) argument 551 efx_ptp_mac_nic_to_ktime_correction(struct efx_nic *efx, struct efx_ptp_data *ptp, u32 nic_major, u32 nic_minor, s32 correction) argument [all...] |
/linux-master/arch/arm/mm/ |
H A D | alignment.c | 502 unsigned int rd, rn, correction, nr_regs, regbits; local 508 correction = 4; /* processor implementation defined */ 509 regs->ARM_pc += correction; 579 regs->ARM_pc -= correction; 583 regs->ARM_pc -= correction;
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 470 s64 correction; local 489 /* Only subtract the partial time stamp from the correction field. When 490 * the hardware adds the egress time stamp to the correction field of 494 correction = (s64)get_unaligned_be64(&ptp_hdr->correction); 495 correction -= ktime_to_ns(tstamp) << 16; 497 ptp_header_update_correction(skb, type, ptp_hdr, correction);
|
/linux-master/fs/unicode/ |
H A D | mkutf8data.c | 1334 * The correction field is used to indicate that this entry is in the 1336 * corrected in later revisions. The value of the correction field is 1343 int correction; member in struct:unicode_data 1464 return leaf->correction; 1614 if (nextage < data->correction && 1615 data->correction < maxage) 1616 nextage = data->correction; 1635 if (nextage < data->correction && 1636 data->correction < maxage) 1637 nextage = data->correction; [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_eeprom.c | 4805 int *correction, 4813 (correction[0] << AR_PHY_TPC_OLPC_GAIN_DELTA_S), 4817 (correction[1] << AR_PHY_TPC_OLPC_GAIN_DELTA_S), 4821 (correction[2] << AR_PHY_TPC_OLPC_GAIN_DELTA_S), 4956 /* Apply the recorded correction values. */ 4969 int correction[AR9300_MAX_CHAINS], local 5051 correction[ichain] = lcorrection[ichain]; 5062 correction[ichain] = interpolate(frequency, 5094 correction[ichain] = lcorrection[ichain]; 5103 correction[ichai 4803 ar9003_hw_power_control_override(struct ath_hw *ah, int frequency, int *correction, int *voltage, int *temperature) argument [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | stb0899_algo.c | 816 * compute the correction to be applied to symbol rate 821 u32 dec_ratio, correction, master_clk, srate; local 828 correction = (512 * master_clk) / (2 * dec_ratio * srate); 830 return correction; 842 u32 correction, freq_adj, band_lim, decim_cntrl, reg; local 877 correction = stb0899_dvbs2_calc_dev(state); 879 STB0899_SETFIELD_VAL(BTR_FREQ_CORR, reg, correction);
|
/linux-master/arch/x86/kernel/ |
H A D | uprobes.c | 560 long correction = utask->vaddr - utask->xol_vaddr; local 561 regs->ip += correction;
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_tas.c | 610 u64 correction) 613 u32 ptpclkcorp = ns_to_sja1105_ticks(correction); 693 * syntonization happens is the PTP clock correction period (PTPCLKCORP). It is 695 * To be precise, during a correction period, there is logic to determine by 697 * correction period/beginning of new one, the length of a delta is shrunk or 703 * The first implication is that you should choose your schedule correction 705 * In case there are schedules of multiple ports active, then the correction 708 * correction period can simply be the largest cycle time, hence the current 712 * The second implication is that at the beginning of a correction period, the 719 * only adjust for so much drift within a correction perio 609 sja1105_tas_adjust_drift(struct sja1105_private *priv, u64 correction) argument [all...] |
/linux-master/sound/core/ |
H A D | timer.c | 1104 unsigned long correction; member in struct:snd_timer_system_private 1114 priv->correction += (long)jiff - (long)priv->last_expires; 1125 if (priv->correction > timer->sticks - 1) { 1126 priv->correction -= timer->sticks - 1; 1129 njiff += timer->sticks - priv->correction; 1130 priv->correction = 0; 1149 priv->correction = 0;
|
/linux-master/drivers/net/phy/mscc/ |
H A D | mscc_ptp.h | 446 __be64 correction; member in struct:vsc85xx_ptphdr
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_worker.c | 502 int correction; /* Number of sectors more we need in-flight */ local 503 int cps; /* correction per invocation of drbd_rs_controller() */ 521 correction = want - device->rs_in_flight - plan->total; 524 cps = correction / steps; 542 sect_in, device->rs_in_flight, want, correction,
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 139 *correction_offset = (u8 *)&hdr->correction - base;
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 6175 u64 correction; local 6179 * accumulator and a programmable correction value. On each clk, the 6180 * correction value gets added to the accumulator and when it 6183 neg_adj = diff_by_scaled_ppm(1 << 24, scaled_ppm, &correction); 6187 if (correction) 6191 ((u32)correction & TG3_EAV_REF_CLK_CORRECT_MASK));
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 789 *correction_offset = (u8 *)&hdr->correction - base;
|
/linux-master/scripts/ |
H A D | checkpatch.pl | 7791 Wrote EXPERIMENTAL --fix correction(s) to '$newfile'
|