Home
last modified time | relevance | path

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

12345678910>>...52

/linux/drivers/media/platform/st/sti/delta/
H A 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 …]
H A 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 …]
H A 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
H A 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()
H A 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 …]
/linux/kernel/sched/
H A Dstats.c23 u64 delta = rq_clock(rq) - schedstat_val(stats->wait_start); in __update_stats_wait_end() local
32 __schedstat_set(stats->wait_start, delta); in __update_stats_wait_end()
37 trace_sched_stat_wait(p, delta); in __update_stats_wait_end()
41 max(schedstat_val(stats->wait_max), delta)); in __update_stats_wait_end()
43 __schedstat_add(stats->wait_sum, delta); in __update_stats_wait_end()
56 u64 delta = rq_clock(rq) - sleep_start; in __update_stats_enqueue_sleeper() local
58 if ((s64)delta < 0) in __update_stats_enqueue_sleeper()
59 delta = 0; in __update_stats_enqueue_sleeper()
61 if (unlikely(delta > schedstat_val(stats->sleep_max))) in __update_stats_enqueue_sleeper()
62 __schedstat_set(stats->sleep_max, delta); in __update_stats_enqueue_sleeper()
[all …]
H A Dloadavg.c40 * Furthermore, in order to avoid synchronizing all per-CPU delta folding
45 * again, being late doesn't loose the delta, just wrecks the sample.
80 long nr_active, delta = 0; in calc_load_fold_active() local
86 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
90 return delta; in calc_load_fold_active()
170 * The basic idea is to fold the nr_active delta into a global NO_HZ-delta upon
171 * entering NO_HZ state such that we can include this as an 'extra' CPU delta
179 * We avoid this by keeping two NO_HZ-delta counters and flipping them
198 * sample, for this CPU (effectively using the NO_HZ-delta for this CPU which
220 * next NO_HZ-delta. in calc_load_write_idx()
[all …]
H A Dstats.h13 rq_sched_info_arrive(struct rq *rq, unsigned long long delta) in rq_sched_info_arrive() argument
16 rq->rq_sched_info.run_delay += delta; in rq_sched_info_arrive()
25 rq_sched_info_depart(struct rq *rq, unsigned long long delta) in rq_sched_info_depart() argument
28 rq->rq_cpu_time += delta; in rq_sched_info_depart()
32 rq_sched_info_dequeue(struct rq *rq, unsigned long long delta) in rq_sched_info_dequeue() argument
35 rq->rq_sched_info.run_delay += delta; in rq_sched_info_dequeue()
72 static inline void rq_sched_info_arrive (struct rq *rq, unsigned long long delta) { } in rq_sched_info_arrive() argument
73 static inline void rq_sched_info_dequeue(struct rq *rq, unsigned long long delta) { } in rq_sched_info_dequeue() argument
74 static inline void rq_sched_info_depart (struct rq *rq, unsigned long long delta) { } in rq_sched_info_depart() argument
226 * delta taken on each CPU would annul the skew.
[all …]
/linux/drivers/md/dm-vdo/indexer/
H A Ddelta-index.h18 * A delta index is a key-value store, where each entry maps an address (the key) to a payload (the
19 * value). The entries are sorted by address, and only the delta between successive addresses is
24 * form of a delta index is used for the indexes of closed chapters committed to the volume. The
25 * mutable form of a delta index is used by the volume index, and also by the chapter index in an
26 * open chapter. Like the index as a whole, each mutable delta index is divided into a number of
31 /* The offset of the delta list start, in bits */
33 /* The number of bits in the delta list */
42 /* The delta list memory */
44 /* The delta list headers */
46 /* Temporary starts of delta lists */
[all …]
H A Ddelta-index.c5 #include "delta-index.h"
26 * The entries in a delta index could be stored in a single delta list, but to reduce search times
27 * and update costs it uses multiple delta lists. These lists are stored in a single chunk of
29 * memory, so the location of each delta list is recorded as a bit offset into the memory. Because
30 * the volume index can contain over a million delta lists, we want to be efficient with the size
31 * of the delta list header information. This information is encoded into 16 bytes per list. The
32 * volume index delta list memory can easily exceed 4 gigabits, so a 64 bit value is needed to
33 * address the memory. The volume index delta lists average around 6 kilobits, so 16 bits are
34 * sufficient to store the size of a delta list.
36 * Each delta list is stored as a bit stream. Within the delta list encoding, bits and bytes are
[all …]
/linux/lib/
H A 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/Documentation/sound/designs/
H A 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/tools/testing/selftests/bpf/progs/
H A Dtest_check_mtu.c38 int delta = 0; in xdp_use_helper() local
44 if (bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0)) { in xdp_use_helper()
67 int delta; in xdp_exceed_mtu() local
70 /* Exceed MTU with 1 via delta adjust */ in xdp_exceed_mtu()
71 delta = GLOBAL_USER_MTU - (data_len - ETH_HLEN) + 1; in xdp_exceed_mtu()
73 err = bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0); in xdp_exceed_mtu()
93 int delta; in xdp_minus_delta() local
95 /* Borderline test case: Minus delta exceeding packet length allowed */ in xdp_minus_delta()
96 delta = -((data_len - ETH_HLEN) + 1); in xdp_minus_delta()
98 /* Minus length (adjusted via delta) still pass MTU check, other helpers in xdp_minus_delta()
[all …]
/linux/tools/testing/selftests/powerpc/mm/
H A 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/drivers/staging/rtl8723bs/hal/
H A DHalPhyRf.c19 /* delta of temperature between two TxPowerTracking watch dogs. */
64 u8 ThermalValue = 0, delta, delta_LCK, p = 0, i = 0; in ODM_TXPowerTrackingCallback_ThermalMeter() local
125 /* 4 5. Calculate delta, delta_LCK */ in ODM_TXPowerTrackingCallback_ThermalMeter()
126 /* delta" here is used to determine whether thermal value changes or not. */ in ODM_TXPowerTrackingCallback_ThermalMeter()
127 delta = in ODM_TXPowerTrackingCallback_ThermalMeter()
137 /* Delta temperature is equal to or larger than 20 centigrade. */ in ODM_TXPowerTrackingCallback_ThermalMeter()
145 if (delta > 0 && pDM_Odm->RFCalibrateInfo.TxPowerTrackControl) { in ODM_TXPowerTrackingCallback_ThermalMeter()
146 /* delta" here is used to record the absolute value of difference. */ in ODM_TXPowerTrackingCallback_ThermalMeter()
147 delta = in ODM_TXPowerTrackingCallback_ThermalMeter()
152 if (delta >= TXPWR_TRACK_TABLE_SIZE) in ODM_TXPowerTrackingCallback_ThermalMeter()
[all …]
/linux/drivers/media/rc/
H A Dgpio-ir-tx.c54 * delta should never exceed 0.5 seconds (IR_MAX_DURATION) and on in delay_until()
57 s32 delta; in delay_until() local
60 delta = ktime_us_delta(until, ktime_get()); in delay_until()
61 if (delta <= 0) in delay_until()
65 if (delta >= 1000) { in delay_until()
66 mdelay(delta / 1000); in delay_until()
70 udelay(delta); in delay_until()
100 * delta should never exceed 0.5 seconds (IR_MAX_DURATION) and on in gpio_ir_tx_modulated()
103 s32 delta; in gpio_ir_tx_modulated() local
129 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
[all …]
/linux/arch/loongarch/kvm/
H A Dtimer.c15 u64 delta; in ktime_to_tick() local
17 delta = ktime_to_ns(now); in ktime_to_tick()
18 return div_u64(delta * vcpu->arch.timer_mhz, MNSEC_PER_SEC); in ktime_to_tick()
55 unsigned long ticks, delta, period; in kvm_restore_timer() local
112 delta = 0; in kvm_restore_timer()
116 delta = ktime_to_tick(vcpu, ktime_sub(expire, now)); in kvm_restore_timer()
119 delta = ktime_to_tick(vcpu, ktime_sub(now, expire)); in kvm_restore_timer()
120 delta = period - (delta % period); in kvm_restore_timer()
130 write_gcsr_timertick(delta); in kvm_restore_timer()
140 unsigned long ticks, delta, cfg; in _kvm_save_timer() local
[all …]
/linux/kernel/trace/
H A 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 …]
H A Dtrace_benchmark.h17 TP_PROTO(const char *str, u64 delta),
19 TP_ARGS(str, delta),
23 __field( u64, delta)
28 __entry->delta = delta;
31 TP_printk("%s delta=%llu", __entry->str, __entry->delta),
/linux/tools/perf/util/bpf_skel/
H A Dkwork_top.bpf.c123 static __always_inline void update_work(struct work_key *key, __u64 delta) in update_work() argument
129 data->runtime += delta; in update_work()
132 .runtime = delta, in update_work()
141 __u64 delta; in on_sched_out() local
146 delta = ts - pelem->timestamp; in on_sched_out()
148 delta = ts - from_timestamp; in on_sched_out()
156 update_work(&key, delta); in on_sched_out()
231 __u64 delta; in on_irq_handler_exit() local
257 delta = ts - pelem->timestamp; in on_irq_handler_exit()
259 delta = ts - from_timestamp; in on_irq_handler_exit()
[all …]
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A 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/kernel/
H A Dtsacct.c26 u64 now_ns, delta; in bacct_add_tsk() local
34 delta = now_ns - tsk->group_leader->start_time; in bacct_add_tsk()
36 do_div(delta, NSEC_PER_USEC); in bacct_add_tsk()
37 stats->ac_tgetime = delta; in bacct_add_tsk()
38 delta = now_ns - tsk->start_time; in bacct_add_tsk()
39 do_div(delta, NSEC_PER_USEC); in bacct_add_tsk()
40 stats->ac_etime = delta; in bacct_add_tsk()
42 btime = ktime_get_real_seconds() - div_u64(delta, USEC_PER_SEC); in bacct_add_tsk()
127 u64 time, delta; in __acct_update_integrals() local
133 delta = time - tsk->acct_timexpd; in __acct_update_integrals()
[all …]
/linux/tools/arch/x86/include/asm/
H A Dpvclock.h36 * Scale a 64-bit delta by scaling and multiplying by a 32-bit fraction,
39 static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) in pvclock_scale_delta() argument
49 delta >>= -shift; in pvclock_scale_delta()
51 delta <<= shift; in pvclock_scale_delta()
63 : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (mul_frac) ); in pvclock_scale_delta()
69 : "0"(delta), in pvclock_scale_delta()
81 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles() local
82 u64 offset = pvclock_scale_delta(delta, src->tsc_to_system_mul, in __pvclock_read_cycles()
/linux/scripts/
H A Dbloat-o-meter18 group.add_argument('-d', help='Show delta of Data Section', action='store_true')
19 group.add_argument('-t', help='Show delta of text Section', action='store_true')
56 delta, common = [], {}
68 delta.append((-old[name], name))
75 delta.append((new[name], name))
81 delta.append((d, name))
83 delta.sort(reverse=True)
84 return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot
87 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \
92 print("%-40s %7s %7s %+7s" % (symboltype, "old", "new", "delta"))
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Ddelta,tn48m-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/delta,tn48m-gpio.yaml#
7 title: Delta Networks TN48M CPLD GPIO controller
13 This module is part of the Delta TN48M multi-function device. For more
14 details see ../mfd/delta,tn48m-cpld.yaml.
16 Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander.
22 - delta,tn48m-gpo
23 - delta,tn48m-gpi

12345678910>>...52