Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/Linux-v5.4/drivers/media/platform/sti/delta/
Ddelta-v4l2.c63 struct delta_dev *delta = ctx->dev; in dump_au() local
68 dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph\n", in dump_au()
72 dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph..%*ph\n", in dump_au()
79 struct delta_dev *delta = ctx->dev; in dump_frame() local
83 dev_dbg(delta->dev, "%s dump frame[%d] dts=%lld type=%s field=%s data=%*ph\n", in dump_frame()
179 struct delta_dev *delta = ctx->dev; in delta_pop_dts() local
187 dev_warn(delta->dev, "%s no dts to pop ... output dts = 0\n", in delta_pop_dts()
282 struct delta_dev *delta = ctx->dev; in delta_find_decoder() local
286 for (i = 0; i < delta->nb_of_decoders; i++) { in delta_find_decoder()
287 dec = delta->decoders[i]; in delta_find_decoder()
[all …]
Ddelta-ipc.c114 struct delta_dev *delta = pctx->dev; in delta_ipc_open() local
115 struct rpmsg_device *rpmsg_device = delta->rpmsg_device; in delta_ipc_open()
122 dev_err(delta->dev, in delta_ipc_open()
130 dev_err(delta->dev, in delta_ipc_open()
137 dev_err(delta->dev, in delta_ipc_open()
144 dev_err(delta->dev, in delta_ipc_open()
151 dev_err(delta->dev, in delta_ipc_open()
188 dev_err(delta->dev, in delta_ipc_open()
198 dev_err(delta->dev, in delta_ipc_open()
208 dev_err(delta->dev, in delta_ipc_open()
[all …]
DMakefile2 obj-$(CONFIG_VIDEO_STI_DELTA_DRIVER) := st-delta.o
3 st-delta-y := delta-v4l2.o delta-mem.o delta-ipc.o delta-debug.o
6 st-delta-$(CONFIG_VIDEO_STI_DELTA_MJPEG) += delta-mjpeg-hdr.o
7 st-delta-$(CONFIG_VIDEO_STI_DELTA_MJPEG) += delta-mjpeg-dec.o
Ddelta-mem.c13 struct delta_dev *delta = ctx->dev; in hw_alloc() local
18 addr = dma_alloc_attrs(delta->dev, size, &dma_addr, in hw_alloc()
21 dev_err(delta->dev, in hw_alloc()
34 dev_dbg(delta->dev, in hw_alloc()
43 struct delta_dev *delta = ctx->dev; in hw_free() local
45 dev_dbg(delta->dev, in hw_free()
49 dma_free_attrs(delta->dev, buf->size, in hw_free()
Ddelta-mjpeg-hdr.c44 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_sof() local
63 dev_err(delta->dev, in delta_mjpeg_read_sof()
77 dev_err(delta->dev, in delta_mjpeg_read_sof()
88 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_header() local
110 dev_err(delta->dev, in delta_mjpeg_read_header()
135 dev_dbg(delta->dev, in delta_mjpeg_read_header()
142 dev_err(delta->dev, in delta_mjpeg_read_header()
/Linux-v5.4/kernel/sched/
Dloadavg.c81 long nr_active, delta = 0; in calc_load_fold_active() local
87 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
91 return delta; in calc_load_fold_active()
237 long delta; in calc_load_nohz_start() local
243 delta = calc_load_fold_active(this_rq, 0); in calc_load_nohz_start()
244 if (delta) { in calc_load_nohz_start()
247 atomic_long_add(delta, &calc_load_nohz[idx]); in calc_load_nohz_start()
274 long delta = 0; in calc_load_nohz_fold() local
277 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_fold()
279 return delta; in calc_load_nohz_fold()
[all …]
Dstats.h9 rq_sched_info_arrive(struct rq *rq, unsigned long long delta) in rq_sched_info_arrive() argument
12 rq->rq_sched_info.run_delay += delta; in rq_sched_info_arrive()
21 rq_sched_info_depart(struct rq *rq, unsigned long long delta) in rq_sched_info_depart() argument
24 rq->rq_cpu_time += delta; in rq_sched_info_depart()
28 rq_sched_info_dequeued(struct rq *rq, unsigned long long delta) in rq_sched_info_dequeued() argument
31 rq->rq_sched_info.run_delay += delta; in rq_sched_info_dequeued()
44 static inline void rq_sched_info_arrive (struct rq *rq, unsigned long long delta) { } in rq_sched_info_arrive() argument
45 static inline void rq_sched_info_dequeued(struct rq *rq, unsigned long long delta) { } in rq_sched_info_dequeued() argument
46 static inline void rq_sched_info_depart (struct rq *rq, unsigned long long delta) { } in rq_sched_info_depart() argument
158 unsigned long long now = rq_clock(rq), delta = 0; in sched_info_dequeued() local
[all …]
Dpelt.c110 accumulate_sum(u64 delta, struct sched_avg *sa, in accumulate_sum() argument
113 u32 contrib = (u32)delta; /* p == 0 -> delta < 1024 */ in accumulate_sum()
116 delta += sa->period_contrib; in accumulate_sum()
117 periods = delta / 1024; /* A period is 1024us (~1ms) */ in accumulate_sum()
131 delta %= 1024; in accumulate_sum()
133 1024 - sa->period_contrib, delta); in accumulate_sum()
135 sa->period_contrib = delta; in accumulate_sum()
179 u64 delta; in ___update_load_sum() local
181 delta = now - sa->last_update_time; in ___update_load_sum()
186 if ((s64)delta < 0) { in ___update_load_sum()
[all …]
/Linux-v5.4/kernel/trace/
Dtrace_benchmark.c41 u64 delta; in trace_do_benchmark() local
60 delta = stop - start; in trace_do_benchmark()
67 bm_first = delta; in trace_do_benchmark()
73 bm_last = delta; in trace_do_benchmark()
75 if (delta > bm_max) in trace_do_benchmark()
76 bm_max = delta; in trace_do_benchmark()
77 if (!bm_min || delta < bm_min) in trace_do_benchmark()
78 bm_min = delta; in trace_do_benchmark()
92 bm_total += delta; in trace_do_benchmark()
93 bm_totalsq += delta * delta; in trace_do_benchmark()
[all …]
/Linux-v5.4/drivers/media/rc/
Dgpio-ir-tx.c63 s32 delta; in gpio_ir_tx() local
81 delta = ktime_us_delta(edge, ktime_get()); in gpio_ir_tx()
82 if (delta > 10) { in gpio_ir_tx()
84 usleep_range(delta, delta + 10); in gpio_ir_tx()
86 } else if (delta > 0) { in gpio_ir_tx()
87 udelay(delta); in gpio_ir_tx()
96 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx()
98 if (delta > 0) in gpio_ir_tx()
99 ndelay(delta); in gpio_ir_tx()
102 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
DHalPhyRf.c79 u8 ThermalValue = 0, delta, delta_LCK, delta_IQK, p = 0, i = 0; in ODM_TXPowerTrackingCallback_ThermalMeter() local
171 delta = in ODM_TXPowerTrackingCallback_ThermalMeter()
190 delta, in ODM_TXPowerTrackingCallback_ThermalMeter()
215 if (delta > 0 && pDM_Odm->RFCalibrateInfo.TxPowerTrackControl) { in ODM_TXPowerTrackingCallback_ThermalMeter()
217 delta = in ODM_TXPowerTrackingCallback_ThermalMeter()
222 if (delta >= TXPWR_TRACK_TABLE_SIZE) in ODM_TXPowerTrackingCallback_ThermalMeter()
223 delta = TXPWR_TRACK_TABLE_SIZE - 1; in ODM_TXPowerTrackingCallback_ThermalMeter()
233 delta, in ODM_TXPowerTrackingCallback_ThermalMeter()
234 deltaSwingTableIdx_TUP_A[delta] in ODM_TXPowerTrackingCallback_ThermalMeter()
240 deltaSwingTableIdx_TUP_A[delta]; in ODM_TXPowerTrackingCallback_ThermalMeter()
[all …]
/Linux-v5.4/drivers/net/fddi/skfp/
Dsmttimer.c63 u_long delta = 0 ; in smt_timer_start() local
87 delta = 0 ; in smt_timer_start()
89 if (delta + tm->tm_delta > time) { in smt_timer_start()
92 delta += tm->tm_delta ; in smt_timer_start()
97 timer->tm_delta = time - delta ; in smt_timer_start()
118 u_long delta ; in timer_done() local
124 delta = hwt_read(smc) ; in timer_done()
128 if (delta >= tm->tm_delta) { in timer_done()
130 delta -= tm->tm_delta ; in timer_done()
135 tm->tm_delta -= delta ; in timer_done()
[all …]
/Linux-v5.4/samples/bpf/
Dhbm_edt_kern.c58 long long delta = 0, delta_send; in _hbm_out_cg() local
93 delta = qdp->lasttime - curtime; in _hbm_out_cg()
95 if (delta < -BURST_SIZE_NS) { in _hbm_out_cg()
98 delta = -BURST_SIZE_NS; in _hbm_out_cg()
115 if (delta > DROP_THRESH_NS || (delta > LARGE_PKT_DROP_THRESH_NS && in _hbm_out_cg()
120 } else if (delta > MARK_THRESH_NS) { in _hbm_out_cg()
134 if (delta >= MARK_THRESH_NS + in _hbm_out_cg()
157 cwr_flag, ecn_ce_flag, &pkti, (int) delta); in _hbm_out_cg()
Doffwaketime_kern.c76 static inline int update_counts(void *ctx, u32 pid, u64 delta) in update_counts() argument
101 (*val) += delta; in update_counts()
130 u64 delta, ts, *tsp; local
142 delta = bpf_ktime_get_ns() - *tsp;
144 delta = delta / 1000;
145 if (delta < MINBLOCK_US)
148 return update_counts(ctx, pid, delta);
/Linux-v5.4/arch/x86/include/asm/
Dpvclock.h42 static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) in pvclock_scale_delta() argument
52 delta >>= -shift; in pvclock_scale_delta()
54 delta <<= shift; in pvclock_scale_delta()
66 : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (mul_frac) ); in pvclock_scale_delta()
72 : "0"(delta), in pvclock_scale_delta()
84 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles() local
85 u64 offset = pvclock_scale_delta(delta, src->tsc_to_system_mul, in __pvclock_read_cycles()
Dextable.h24 #define swap_ex_entry_fixup(a, b, tmp, delta) \ argument
26 (a)->fixup = (b)->fixup + (delta); \
27 (b)->fixup = (tmp).fixup - (delta); \
28 (a)->handler = (b)->handler + (delta); \
29 (b)->handler = (tmp).handler - (delta); \
/Linux-v5.4/kernel/
Dtsacct.c26 u64 delta; in bacct_add_tsk() local
31 delta = ktime_get_ns() - tsk->start_time; in bacct_add_tsk()
33 do_div(delta, NSEC_PER_USEC); in bacct_add_tsk()
34 stats->ac_etime = delta; in bacct_add_tsk()
36 do_div(delta, USEC_PER_SEC); in bacct_add_tsk()
37 stats->ac_btime = get_seconds() - delta; in bacct_add_tsk()
119 u64 time, delta; in __acct_update_integrals() local
125 delta = time - tsk->acct_timexpd; in __acct_update_integrals()
127 if (delta < TICK_NSEC) in __acct_update_integrals()
136 tsk->acct_rss_mem1 += delta * get_mm_rss(tsk->mm) >> 10; in __acct_update_integrals()
[all …]
Dtorture.c85 unsigned long delta; in torture_offline() local
114 delta = jiffies - starttime; in torture_offline()
115 *sum_offl += delta; in torture_offline()
117 *min_offl = delta; in torture_offline()
118 *max_offl = delta; in torture_offline()
120 if (*min_offl > delta) in torture_offline()
121 *min_offl = delta; in torture_offline()
122 if (*max_offl < delta) in torture_offline()
123 *max_offl = delta; in torture_offline()
138 unsigned long delta; in torture_online() local
[all …]
/Linux-v5.4/scripts/
Dbloat-o-meter46 delta, common = [], {}
58 delta.append((-old[name], name))
65 delta.append((new[name], name))
71 delta.append((d, name))
73 delta.sort()
74 delta.reverse()
75 return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot
78 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \
84 for d, n in delta:
/Linux-v5.4/drivers/net/wireless/intersil/prism54/
Disl_38xx.c214 const s32 delta = (le32_to_cpu(cb->driver_curr_frag[queue]) - in isl38xx_in_queue() local
220 BUG_ON(delta < 0); /* driver ptr must be ahead of device ptr */ in isl38xx_in_queue()
225 BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE); in isl38xx_in_queue()
230 BUG_ON(delta > ISL38XX_CB_TX_QSIZE); in isl38xx_in_queue()
231 return delta; in isl38xx_in_queue()
235 BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE); in isl38xx_in_queue()
236 return ISL38XX_CB_MGMT_QSIZE - delta; in isl38xx_in_queue()
240 BUG_ON(delta > ISL38XX_CB_RX_QSIZE); in isl38xx_in_queue()
241 return ISL38XX_CB_RX_QSIZE - delta; in isl38xx_in_queue()
/Linux-v5.4/arch/powerpc/platforms/powermac/
Dtime.c70 s32 delta = 0; in pmac_time_init() local
74 delta = ((s32)pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0x9)) << 16; in pmac_time_init()
75 delta |= ((s32)pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0xa)) << 8; in pmac_time_init()
76 delta |= pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0xb); in pmac_time_init()
77 if (delta & 0x00800000UL) in pmac_time_init()
78 delta |= 0xFF000000UL; in pmac_time_init()
80 printk("GMT Delta read from XPRAM: %d minutes, DST: %s\n", delta/60, in pmac_time_init()
83 return delta; in pmac_time_init()
/Linux-v5.4/tools/lib/traceevent/
Dkbuffer-parse.c281 unsigned int delta; in old_update_pointers() local
290 delta = ts4host(kbuf, type_len_ts); in old_update_pointers()
300 extend += delta; in old_update_pointers()
301 delta = extend; in old_update_pointers()
323 kbuf->timestamp += delta; in old_update_pointers()
346 unsigned long long *delta, int *length) in translate_data() argument
356 *delta = ts4host(kbuf, type_len_ts); in translate_data()
367 extend += *delta; in translate_data()
368 *delta = extend; in translate_data()
393 unsigned long long delta; in update_pointers() local
[all …]
/Linux-v5.4/Documentation/sound/designs/
Dtimestamping.rst152 playback: systime: 341121338 nsec, audio time 342000000 nsec, systime delta -878662
153 playback: systime: 426236663 nsec, audio time 427187500 nsec, systime delta -950837
154 playback: systime: 597080580 nsec, audio time 598000000 nsec, systime delta -919420
155 playback: systime: 682059782 nsec, audio time 683020833 nsec, systime delta -961051
156 playback: systime: 852896415 nsec, audio time 853854166 nsec, systime delta -957751
157 playback: systime: 937903344 nsec, audio time 938854166 nsec, systime delta -950822
163 playback: systime: 341053347 nsec, audio time 341062500 nsec, systime delta -9153
164 playback: systime: 426072447 nsec, audio time 426062500 nsec, systime delta 9947
165 playback: systime: 596899518 nsec, audio time 596895833 nsec, systime delta 3685
166 playback: systime: 681915317 nsec, audio time 681916666 nsec, systime delta -1349
[all …]
/Linux-v5.4/include/net/
Dred.h186 int delta = qth_max - qth_min; in red_set_parms() local
193 if (delta <= 0) in red_set_parms()
194 delta = 1; in red_set_parms()
195 p->qth_delta = delta; in red_set_parms()
198 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ in red_set_parms()
201 max_p_delta = max_P / delta; in red_set_parms()
209 delta /= 5; in red_set_parms()
210 p->target_min = qth_min + 2*delta; in red_set_parms()
211 p->target_max = qth_min + 3*delta; in red_set_parms()
245 s64 delta = ktime_us_delta(ktime_get(), v->qidlestart); in red_calc_qavg_from_idle_time() local
[all …]
/Linux-v5.4/tools/perf/arch/x86/tests/
Drdpmc.c41 u64 count, cyc = 0, time_offset = 0, enabled, running, delta; in mmap_read_self() local
70 delta = time_offset + quot * time_mult + in mmap_read_self()
73 enabled += delta; in mmap_read_self()
75 running += delta; in mmap_read_self()
133 u64 stamp, now, delta; in __test__rdpmc() local
143 delta = now - stamp; in __test__rdpmc()
144 pr_debug("%14d: %14Lu\n", n, (long long)delta); in __test__rdpmc()
146 delta_sum += delta; in __test__rdpmc()

12345678910>>...27