Home
last modified time | relevance | path

Searched full:delta (Results 1 – 25 of 1053) sorted by relevance

12345678910>>...43

/Linux-v5.10/drivers/media/platform/sti/delta/
Ddelta-v4l2.c19 #include "delta.h"
20 #include "delta-debug.h"
21 #include "delta-ipc.h"
23 #define DELTA_NAME "st-delta"
63 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
[all …]
Ddelta-ipc.c9 #include "delta.h"
10 #include "delta-ipc.h"
11 #include "delta-mem.h"
58 * this IPC shared memory, avoiding de-facto recopies inside delta-ipc.
114 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()
[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.c7 #include "delta.h"
8 #include "delta-mem.h"
13 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-dec.c9 #include "delta.h"
10 #include "delta-ipc.h"
11 #include "delta-mjpeg.h"
12 #include "delta-mjpeg-fw.h"
174 struct delta_dev *delta = pctx->dev; in delta_mjpeg_check_status() local
181 dev_warn_ratelimited(delta->dev, in delta_mjpeg_check_status()
187 dev_warn_ratelimited(delta->dev, in delta_mjpeg_check_status()
196 dev_dbg(delta->dev, in delta_mjpeg_check_status()
205 struct delta_dev *delta = pctx->dev; in delta_mjpeg_ipc_open() local
219 dev_vdbg(delta->dev, in delta_mjpeg_ipc_open()
[all …]
Ddelta-mjpeg-hdr.c7 #include "delta.h"
8 #include "delta-mjpeg.h"
44 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.10/lib/
Dtest_objagg.c42 struct delta { struct
105 struct delta *delta; in delta_create() local
110 delta = kzalloc(sizeof(*delta), GFP_KERNEL); in delta_create()
111 if (!delta) in delta_create()
113 delta->key_id_diff = diff; in delta_create()
115 return delta; in delta_create()
120 struct delta *delta = delta_priv; in delta_destroy() local
124 kfree(delta); in delta_destroy()
268 pr_err("Stats: incorrect delta user count\n"); in check_stats_nodelta()
428 #define DELTA(key_id, user_count) \ macro
[all …]
/Linux-v5.10/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.10/kernel/sched/
Dloadavg.c41 * Furthermore, in order to avoid synchronizing all per-CPU delta folding
46 * again, being late doesn't loose the delta, just wrecks the sample.
81 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()
171 * The basic idea is to fold the nr_active delta into a global NO_HZ-delta upon
172 * entering NO_HZ state such that we can include this as an 'extra' CPU delta
180 * We avoid this by keeping two NO_HZ-delta counters and flipping them
199 * sample, for this CPU (effectively using the NO_HZ-delta for this CPU which
221 * next NO_HZ-delta. in calc_load_write_idx()
[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
175 * delta taken on each CPU would annul the skew.
[all …]
Dpelt.c106 accumulate_sum(u64 delta, struct sched_avg *sa, in accumulate_sum() argument
109 u32 contrib = (u32)delta; /* p == 0 -> delta < 1024 */ in accumulate_sum()
112 delta += sa->period_contrib; in accumulate_sum()
113 periods = delta / 1024; /* A period is 1024us (~1ms) */ in accumulate_sum()
127 delta %= 1024; in accumulate_sum()
140 1024 - sa->period_contrib, delta); in accumulate_sum()
143 sa->period_contrib = delta; in accumulate_sum()
187 u64 delta; in ___update_load_sum() local
189 delta = now - sa->last_update_time; in ___update_load_sum()
194 if ((s64)delta < 0) { in ___update_load_sum()
[all …]
/Linux-v5.10/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c38 * (load or store) at offset @delta from either the base of the stack or the
42 int consume_stack(unsigned long target_sp, unsigned long stack_high, int delta, enum access_type ty… in consume_stack() argument
48 return consume_stack(target_sp, stack_high, delta, type); in consume_stack()
59 target = stack_high - delta + 1; in consume_stack()
114 int child(unsigned int stack_used, int delta, enum access_type type) in child() argument
120 assert(consume_stack(stack_high - stack_used, stack_high, delta, type) == 0); in child()
122 …printf("Access OK: %s delta %-7d used size 0x%06x stack high 0x%lx top_ptr %p top sp 0x%lx actual … in child()
123 type == LOAD ? "load" : "store", delta, stack_used, stack_high, in child()
129 static int test_one(unsigned int stack_used, int delta, enum access_type type) in test_one() argument
136 exit(child(stack_used, delta, type)); in test_one()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
DHalPhyRf.c34 /* delta of temperature between two TxPowerTracking watch dogs. */
79 u8 ThermalValue = 0, delta, delta_LCK, delta_IQK, p = 0, i = 0; in ODM_TXPowerTrackingCallback_ThermalMeter() local
169 /* 4 5. Calculate delta, delta_LCK, delta_IQK. */ in ODM_TXPowerTrackingCallback_ThermalMeter()
170 /* delta" here is used to determine whether thermal value changes or not. */ in ODM_TXPowerTrackingCallback_ThermalMeter()
171 delta = in ODM_TXPowerTrackingCallback_ThermalMeter()
189 "(delta, delta_LCK, delta_IQK) = (%d, %d, %d)\n", in ODM_TXPowerTrackingCallback_ThermalMeter()
190 delta, in ODM_TXPowerTrackingCallback_ThermalMeter()
197 /* Delta temperature is equal to or larger than 20 centigrade. */ in ODM_TXPowerTrackingCallback_ThermalMeter()
215 if (delta > 0 && pDM_Odm->RFCalibrateInfo.TxPowerTrackControl) { in ODM_TXPowerTrackingCallback_ThermalMeter()
216 /* delta" here is used to record the absolute value of difference. */ in ODM_TXPowerTrackingCallback_ThermalMeter()
[all …]
/Linux-v5.10/drivers/media/rc/
Dgpio-ir-tx.c55 s32 delta; in gpio_ir_tx_unmodulated() local
66 delta = ktime_us_delta(edge, ktime_get()); in gpio_ir_tx_unmodulated()
67 if (delta > 0) in gpio_ir_tx_unmodulated()
68 udelay(delta); in gpio_ir_tx_unmodulated()
79 * delta should never exceed 0.5 seconds (IR_MAX_DURATION) and on in gpio_ir_tx_modulated()
82 s32 delta; in gpio_ir_tx_modulated() local
100 delta = ktime_us_delta(edge, ktime_get()); in gpio_ir_tx_modulated()
101 if (delta > 0) in gpio_ir_tx_modulated()
102 udelay(delta); in gpio_ir_tx_modulated()
110 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
[all …]
/Linux-v5.10/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.10/scripts/
Dbloat-o-meter19 sys.stderr.write("-d Show delta of Data Section\n")
20 sys.stderr.write("-t Show delta of text Section\n")
48 delta, common = [], {}
60 delta.append((-old[name], name))
67 delta.append((new[name], name))
73 delta.append((d, name))
75 delta.sort()
76 delta.reverse()
77 return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot
80 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Ddebug_private.h57 size_t delta = remote_tail - debug_data_ptr->tail; in debug_synch_queue() local
61 (void *)&debug_data_ptr->buf[debug_data_ptr->tail], delta * sizeof(uint32_t)); in debug_synch_queue()
63 size_t delta = DEBUG_BUF_SIZE - debug_data_ptr->tail; in debug_synch_queue() local
67 (void *)&debug_data_ptr->buf[debug_data_ptr->tail], delta * sizeof(uint32_t)); in debug_synch_queue()
81 size_t delta = remote_tail - debug_data_ptr->tail; in debug_synch_queue_isp() local
85 (void *)&debug_data_ptr->buf[debug_data_ptr->tail], delta * sizeof(uint32_t)); in debug_synch_queue_isp()
87 size_t delta = DEBUG_BUF_SIZE - debug_data_ptr->tail; in debug_synch_queue_isp() local
91 (void *)&debug_data_ptr->buf[debug_data_ptr->tail], delta * sizeof(uint32_t)); in debug_synch_queue_isp()
107 size_t delta = remote_tail - debug_data_ptr->tail; in debug_synch_queue_ddr() local
111 (void *)&debug_data_ptr->buf[debug_data_ptr->tail], delta * sizeof(uint32_t)); in debug_synch_queue_ddr()
[all …]
/Linux-v5.10/arch/x86/include/asm/
Dpvclock.h39 * Scale a 64-bit delta by scaling and multiplying by a 32-bit fraction,
42 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()
/Linux-v5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_timestamp.c116 int64_t delta, interval; in inv_icm42600_timestamp_interrupt() local
129 delta = it->up - it->lo; in inv_icm42600_timestamp_interrupt()
131 /* compute period: delta time divided by number of samples */ in inv_icm42600_timestamp_interrupt()
132 period = div_s64(delta, fifo_nb); in inv_icm42600_timestamp_interrupt()
151 /* delta time between last sample and last interrupt */ in inv_icm42600_timestamp_interrupt()
152 delta = it->lo - ts->timestamp; in inv_icm42600_timestamp_interrupt()
154 while (delta >= (fifo_period * 3 / 2)) in inv_icm42600_timestamp_interrupt()
155 delta -= fifo_period; in inv_icm42600_timestamp_interrupt()
158 if (delta > m) in inv_icm42600_timestamp_interrupt()
159 delta = m; in inv_icm42600_timestamp_interrupt()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/media/
Dst,st-delta.txt1 * STMicroelectronics DELTA multi-format video decoder
4 - compatible: should be "st,st-delta".
12 compatible = "st,st-delta";
13 clock-names = "delta", "delta-st231", "delta-flash-promip";
/Linux-v5.10/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.10/sound/pci/ice1712/
Ddelta.h8 * Lowlevel functions for M-Audio Delta 1010, 44, 66, Dio2496, Audiophile
15 "{MidiMan M Audio,Delta 1010},"\
16 "{MidiMan M Audio,Delta 1010LT},"\
17 "{MidiMan M Audio,Delta DiO 2496},"\
18 "{MidiMan M Audio,Delta 66},"\
19 "{MidiMan M Audio,Delta 44},"\
20 "{MidiMan M Audio,Delta 410},"\
44 * MidiMan M-Audio Delta GPIO definitions
47 /* MidiMan M-Audio Delta shared pins */
133 /* M-Audio Delta 66 rev. E definitions.
[all …]
/Linux-v5.10/samples/bpf/
Doffwaketime_kern.c82 static inline int update_counts(void *ctx, u32 pid, u64 delta) in update_counts() argument
107 (*val) += delta; in update_counts()
136 u64 delta, ts, *tsp; local
141 /* calculate current thread's delta time */
148 delta = bpf_ktime_get_ns() - *tsp;
150 delta = delta / 1000;
151 if (delta < MINBLOCK_US)
154 return update_counts(ctx, pid, delta);
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()
96 // negative delta is a credit that allows bursts 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()
/Linux-v5.10/kernel/
Dtsacct.c26 u64 delta; in bacct_add_tsk() local
32 delta = ktime_get_ns() - tsk->start_time; in bacct_add_tsk()
34 do_div(delta, NSEC_PER_USEC); in bacct_add_tsk()
35 stats->ac_etime = delta; in bacct_add_tsk()
37 btime = ktime_get_real_seconds() - div_u64(delta, USEC_PER_SEC); in bacct_add_tsk()
122 u64 time, delta; in __acct_update_integrals() local
128 delta = time - tsk->acct_timexpd; in __acct_update_integrals()
130 if (delta < TICK_NSEC) in __acct_update_integrals()
139 tsk->acct_rss_mem1 += delta * get_mm_rss(tsk->mm) >> 10; in __acct_update_integrals()
140 tsk->acct_vm_mem1 += delta * tsk->mm->total_vm >> 10; in __acct_update_integrals()

12345678910>>...43