/openbmc/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta-v4l2.c | 19 #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 D | delta-ipc.c | 9 #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 D | Makefile | 2 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 D | delta-mem.c | 7 #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()
|
/openbmc/linux/kernel/sched/ |
H A D | stats.c | 23 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 D | loadavg.c | 40 * 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 D | stats.h | 13 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 208 * delta taken on each CPU would annul the skew. [all …]
|
/openbmc/qemu/hw/core/ |
H A D | ptimer.c | 26 uint64_t delta; member 55 uint64_t delta; in ptimer_reload() local 62 * that we would otherwise generate for a zero delta. in ptimer_reload() 68 if (s->delta == 0 && !(s->policy_mask & PTIMER_POLICY_NO_IMMEDIATE_TRIGGER) in ptimer_reload() 78 delta = s->delta; in ptimer_reload() 82 if (delta == 0 && !(s->policy_mask & PTIMER_POLICY_NO_IMMEDIATE_RELOAD)) { in ptimer_reload() 83 delta = s->delta = s->limit; in ptimer_reload() 97 delta += delta_adjust; in ptimer_reload() 101 if (delta == 0 && (s->policy_mask & PTIMER_POLICY_CONTINUOUS_TRIGGER)) { in ptimer_reload() 103 delta = 1; in ptimer_reload() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_check_mtu.c | 38 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 …]
|
/openbmc/linux/lib/ |
H A D | test_objagg.c | 42 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 …]
|
/openbmc/linux/Documentation/sound/designs/ |
H A D | timestamping.rst | 152 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 …]
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | stack_expansion_ldst.c | 38 * (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 …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | gpio-ir-tx.c | 54 * 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 …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | HalPhyRf.c | 19 /* 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | delta,tn48m-cpld.yaml | 4 $id: http://devicetree.org/schemas/mfd/delta,tn48m-cpld.yaml# 7 title: Delta Networks TN48M CPLD controller 24 const: delta,tn48m-cpld 45 $ref: ../gpio/delta,tn48m-gpio.yaml 48 $ref: ../reset/delta,tn48m-reset.yaml 59 compatible = "delta,tn48m-cpld"; 65 compatible = "delta,tn48m-gpo"; 72 compatible = "delta,tn48m-gpi"; 79 compatible = "delta,tn48m-gpi"; 86 compatible = "delta,tn48m-reset";
|
/openbmc/u-boot/test/ |
H A D | time_ut.c | 48 long delta; in test_timer_get_us() local 51 /* Find the minimum delta we can measure, in microseconds */ in test_timer_get_us() 56 delta = next - prev; in test_timer_get_us() 57 if (delta < 0) { in test_timer_get_us() 61 } else if (delta != 0) { in test_timer_get_us() 62 if (delta < min) in test_timer_get_us() 63 min = delta; in test_timer_get_us() 71 printf("%s: Minimum microsecond delta should be 1 but is %lu\n", in test_timer_get_us() 103 ulong start, delta; in test_udelay() local 109 delta = get_timer(start); in test_udelay() [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_benchmark.c | 41 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 D | trace_benchmark.h | 17 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),
|
/openbmc/phosphor-hwmon/ |
H A D | average.cpp | 31 int64_t delta = curInterval - preInterval; in calcAverage() local 33 assert(delta >= 0); in calcAverage() 34 // 0 means the delta interval is too short, the value of in calcAverage() 36 if (delta == 0) in calcAverage() 43 // (a2*(i1+delta)-a1*i1)/delta = in calcAverage() 44 // (a2-a1)(i1/delta)+a2 in calcAverage() 46 (curAverage - preAverage) * (static_cast<double>(preInterval) / delta) + in calcAverage()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | debug_private.h | 57 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | delta,tn48m-gpio.yaml | 4 $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
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | pvclock.h | 36 * 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()
|
/openbmc/linux/kernel/ |
H A D | tsacct.c | 26 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 …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_gop.c | 92 efi_uintn_t delta, in gop_blt_int() argument 101 if (delta) { in gop_blt_int() 103 if (delta & 3) in gop_blt_int() 105 linelen = delta >> 2; in gop_blt_int() 259 efi_uintn_t height, efi_uintn_t delta, in gop_blt_video_fill() argument 263 dy, width, height, delta, vid_bpp); in gop_blt_video_fill() 271 efi_uintn_t height, efi_uintn_t delta) in gop_blt_buf_to_vid16() argument 274 dy, width, height, delta, 16); in gop_blt_buf_to_vid16() 282 efi_uintn_t height, efi_uintn_t delta) in gop_blt_buf_to_vid32() argument 285 dy, width, height, delta, 32); in gop_blt_buf_to_vid32() [all …]
|
/openbmc/linux/scripts/ |
H A D | bloat-o-meter | 18 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 …]
|