Home
last modified time | relevance | path

Searched refs:hist (Results 1 - 25 of 60) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
H A Disphist.c30 static void hist_reset_mem(struct ispstat *hist) in hist_reset_mem() argument
32 struct isp_device *isp = hist->isp; in hist_reset_mem()
33 struct omap3isp_hist_config *conf = hist->priv; in hist_reset_mem()
56 hist->wait_acc_frames = conf->num_acc_frames; in hist_reset_mem()
62 static void hist_setup_regs(struct ispstat *hist, void *priv) in hist_setup_regs() argument
64 struct isp_device *isp = hist->isp; in hist_setup_regs()
72 if (!hist->update || hist->state == ISPSTAT_DISABLED || in hist_setup_regs()
73 hist->state == ISPSTAT_DISABLING) in hist_setup_regs()
121 hist_reset_mem(hist); in hist_setup_regs()
140 hist_enable(struct ispstat *hist, int enable) hist_enable() argument
153 hist_busy(struct ispstat *hist) hist_busy() argument
161 struct ispstat *hist = data; hist_dma_cb() local
173 hist_buf_dma(struct ispstat *hist) hist_buf_dma() argument
229 hist_buf_pio(struct ispstat *hist) hist_buf_pio() argument
270 hist_buf_process(struct ispstat *hist) hist_buf_process() argument
304 hist_validate_params(struct ispstat *hist, void *new_conf) hist_validate_params() argument
360 hist_comp_params(struct ispstat *hist, struct omap3isp_hist_config *user_cfg) hist_comp_params() argument
404 hist_set_params(struct ispstat *hist, void *new_conf) hist_set_params() argument
476 struct ispstat *hist = &isp->isp_hist; omap3isp_hist_init() local
534 struct ispstat *hist = &isp->isp_hist; omap3isp_hist_cleanup() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
H A Disphist.c30 static void hist_reset_mem(struct ispstat *hist) in hist_reset_mem() argument
32 struct isp_device *isp = hist->isp; in hist_reset_mem()
33 struct omap3isp_hist_config *conf = hist->priv; in hist_reset_mem()
56 hist->wait_acc_frames = conf->num_acc_frames; in hist_reset_mem()
62 static void hist_setup_regs(struct ispstat *hist, void *priv) in hist_setup_regs() argument
64 struct isp_device *isp = hist->isp; in hist_setup_regs()
72 if (!hist->update || hist->state == ISPSTAT_DISABLED || in hist_setup_regs()
73 hist->state == ISPSTAT_DISABLING) in hist_setup_regs()
121 hist_reset_mem(hist); in hist_setup_regs()
140 hist_enable(struct ispstat *hist, int enable) hist_enable() argument
153 hist_busy(struct ispstat *hist) hist_busy() argument
161 struct ispstat *hist = data; hist_dma_cb() local
173 hist_buf_dma(struct ispstat *hist) hist_buf_dma() argument
229 hist_buf_pio(struct ispstat *hist) hist_buf_pio() argument
270 hist_buf_process(struct ispstat *hist) hist_buf_process() argument
304 hist_validate_params(struct ispstat *hist, void *new_conf) hist_validate_params() argument
360 hist_comp_params(struct ispstat *hist, struct omap3isp_hist_config *user_cfg) hist_comp_params() argument
404 hist_set_params(struct ispstat *hist, void *new_conf) hist_set_params() argument
476 struct ispstat *hist = &isp->isp_hist; omap3isp_hist_init() local
534 struct ispstat *hist = &isp->isp_hist; omap3isp_hist_cleanup() local
[all...]
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
H A Dtimerlat_hist.c79 struct timerlat_hist_cpu *hist; member
95 if (data->hist[cpu].irq) in timerlat_free_histogram()
96 free(data->hist[cpu].irq); in timerlat_free_histogram()
98 if (data->hist[cpu].thread) in timerlat_free_histogram()
99 free(data->hist[cpu].thread); in timerlat_free_histogram()
101 if (data->hist[cpu].user) in timerlat_free_histogram()
102 free(data->hist[cpu].user); in timerlat_free_histogram()
107 if (data->hist) in timerlat_free_histogram()
108 free(data->hist); in timerlat_free_histogram()
131 data->hist in timerlat_alloc_histogram()
176 int *hist; timerlat_hist_update() local
[all...]
H A Dosnoise_hist.c60 struct osnoise_hist_cpu *hist; member
76 if (data->hist[cpu].samples) in osnoise_free_histogram()
77 free(data->hist[cpu].samples); in osnoise_free_histogram()
81 if (data->hist) in osnoise_free_histogram()
82 free(data->hist); in osnoise_free_histogram()
104 data->hist = calloc(1, sizeof(*data->hist) * nr_cpus); in osnoise_alloc_histogram()
105 if (!data->hist) in osnoise_alloc_histogram()
109 data->hist[cpu].samples = calloc(1, sizeof(*data->hist in osnoise_alloc_histogram()
133 int *hist; osnoise_hist_update_multiple() local
[all...]
H A Dtrace.c305 * trace_event_save_hist - save the content of an event hist
307 * If the trigger is a hist: one, save the content of the hist file.
315 char *hist; in trace_event_save_hist() local
320 /* trigger enables hist */ in trace_event_save_hist()
324 /* is this a hist: trigger? */ in trace_event_save_hist()
325 retval = strncmp(tevent->trigger, "hist:", strlen("hist:")); in trace_event_save_hist()
331 printf(" Saving event %s:%s hist to %s\n", tevent->system, tevent->event, path); in trace_event_save_hist()
339 hist in trace_event_save_hist()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dbpf_ftrace.c126 u64 *hist; in perf_ftrace__latency_read_bpf() local
131 hist = calloc(ncpus, sizeof(*hist)); in perf_ftrace__latency_read_bpf()
132 if (hist == NULL) in perf_ftrace__latency_read_bpf()
136 err = bpf_map_lookup_elem(fd, &idx, hist); in perf_ftrace__latency_read_bpf()
143 buckets[idx] += hist[i]; in perf_ftrace__latency_read_bpf()
146 free(hist); in perf_ftrace__latency_read_bpf()
/kernel/linux/linux-5.10/samples/bpf/
H A Dlathist_user.c37 struct cpu_hist *hist; in print_hist() local
44 hist = &cpu_hist[j]; in print_hist()
47 if (hist->max == 0) in print_hist()
53 stars(starstr, hist->data[i - 1], hist->max, MAX_STARS); in print_hist()
56 hist->data[i - 1], MAX_STARS, starstr); in print_hist()
/kernel/linux/linux-6.6/samples/bpf/
H A Dlathist_user.c37 struct cpu_hist *hist; in print_hist() local
44 hist = &cpu_hist[j]; in print_hist()
47 if (hist->max == 0) in print_hist()
53 stars(starstr, hist->data[i - 1], hist->max, MAX_STARS); in print_hist()
56 hist->data[i - 1], MAX_STARS, starstr); in print_hist()
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/
H A Dfunc_latency.bpf.c95 __u64 *hist; in BPF_PROG() local
108 hist = bpf_map_lookup_elem(&latency, &key); in BPF_PROG()
109 if (!hist) in BPF_PROG()
112 *hist += 1; in BPF_PROG()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c179 rmon_stats->hist[0] = emac_get_stat_by_name(emac, "rx_bucket1_frames"); in emac_get_rmon_stats()
180 rmon_stats->hist[1] = emac_get_stat_by_name(emac, "rx_bucket2_frames"); in emac_get_rmon_stats()
181 rmon_stats->hist[2] = emac_get_stat_by_name(emac, "rx_bucket3_frames"); in emac_get_rmon_stats()
182 rmon_stats->hist[3] = emac_get_stat_by_name(emac, "rx_bucket4_frames"); in emac_get_rmon_stats()
183 rmon_stats->hist[4] = emac_get_stat_by_name(emac, "rx_bucket5_frames"); in emac_get_rmon_stats()
/kernel/linux/linux-5.10/include/trace/events/
H A Dwalt.h103 __array(u32, hist, RAVG_HIST_SIZE_MAX)
114 memcpy(__entry->hist, p->ravg.sum_history,
119 TP_printk("%d (%s): runtime %u samples %d event %s demand %u (hist: %u %u %u %u %u) cpu %d",
123 __entry->hist[0], __entry->hist[1],
124 __entry->hist[2], __entry->hist[3],
125 __entry->hist[4], __entry->cpu)
/kernel/linux/linux-6.6/include/trace/events/
H A Dwalt.h103 __array(u32, hist, RAVG_HIST_SIZE_MAX)
114 memcpy(__entry->hist, p->ravg.sum_history,
119 TP_printk("%d (%s): runtime %u samples %d event %s demand %u (hist: %u %u %u %u %u) cpu %d",
123 __entry->hist[0], __entry->hist[1],
124 __entry->hist[2], __entry->hist[3],
125 __entry->hist[4], __entry->cpu)
/kernel/linux/linux-6.6/kernel/events/
H A Dhw_breakpoint.c186 bp_slots_histogram_alloc(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_alloc() argument
188 hist->count = kcalloc(hw_breakpoint_slots_cached(type), sizeof(*hist->count), GFP_KERNEL); in bp_slots_histogram_alloc()
189 return hist->count; in bp_slots_histogram_alloc()
192 static __init void bp_slots_histogram_free(struct bp_slots_histogram *hist) in bp_slots_histogram_free() argument
194 kfree(hist->count); in bp_slots_histogram_free()
237 bp_slots_histogram_add(struct bp_slots_histogram *hist, int old, int val) in bp_slots_histogram_add() argument
243 WARN_ON(atomic_dec_return_relaxed(&hist->count[old_idx]) < 0); in bp_slots_histogram_add()
245 WARN_ON(atomic_inc_return_relaxed(&hist->count[new_idx]) < 0); in bp_slots_histogram_add()
249 bp_slots_histogram_max(struct bp_slots_histogram *hist, enu argument
[all...]
/kernel/linux/linux-5.10/lib/zlib_dfltcc/
H A Ddfltcc_util.h33 void *hist in dfltcc()
49 ".insn rrf,0xb9390000,%[r2],%[r4],%[hist],0\n" in dfltcc()
58 , [hist] "r" (hist) in dfltcc()
/kernel/linux/linux-6.6/lib/zlib_dfltcc/
H A Ddfltcc_util.h33 void *hist in dfltcc()
49 ".insn rrf,0xb9390000,%[r2],%[r4],%[hist],0\n" in dfltcc()
58 , [hist] "r" (hist) in dfltcc()
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_stats.c574 rmon_stats->hist[0] = s[OCELOT_STAT_RX_64]; in ocelot_port_rmon_stats_cb()
575 rmon_stats->hist[1] = s[OCELOT_STAT_RX_65_127]; in ocelot_port_rmon_stats_cb()
576 rmon_stats->hist[2] = s[OCELOT_STAT_RX_128_255]; in ocelot_port_rmon_stats_cb()
577 rmon_stats->hist[3] = s[OCELOT_STAT_RX_256_511]; in ocelot_port_rmon_stats_cb()
578 rmon_stats->hist[4] = s[OCELOT_STAT_RX_512_1023]; in ocelot_port_rmon_stats_cb()
579 rmon_stats->hist[5] = s[OCELOT_STAT_RX_1024_1526]; in ocelot_port_rmon_stats_cb()
580 rmon_stats->hist[6] = s[OCELOT_STAT_RX_1527_MAX]; in ocelot_port_rmon_stats_cb()
602 rmon_stats->hist[0] = s[OCELOT_STAT_RX_PMAC_64]; in ocelot_port_pmac_rmon_stats_cb()
603 rmon_stats->hist[1] = s[OCELOT_STAT_RX_PMAC_65_127]; in ocelot_port_pmac_rmon_stats_cb()
604 rmon_stats->hist[ in ocelot_port_pmac_rmon_stats_cb()
[all...]
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dirq.c239 int hist = action->cr16_hist[k]; in show_interrupts() local
241 if (hist) { in show_interrupts()
242 avg += hist; in show_interrupts()
246 if (hist > max) max = hist; in show_interrupts()
247 if (hist < min) min = hist; in show_interrupts()
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dirq.c216 int hist = action->cr16_hist[k]; in show_interrupts() local
218 if (hist) { in show_interrupts()
219 avg += hist; in show_interrupts()
223 if (hist > max) max = hist; in show_interrupts()
224 if (hist < min) min = hist; in show_interrupts()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c457 rmon_stats->hist[0] = umac_rl(intf, UMC_GR64); in bcmasp_get_rmon_stats()
458 rmon_stats->hist[1] = umac_rl(intf, UMC_GR127); in bcmasp_get_rmon_stats()
459 rmon_stats->hist[2] = umac_rl(intf, UMC_GR255); in bcmasp_get_rmon_stats()
460 rmon_stats->hist[3] = umac_rl(intf, UMC_GR511); in bcmasp_get_rmon_stats()
461 rmon_stats->hist[4] = umac_rl(intf, UMC_GR1023); in bcmasp_get_rmon_stats()
462 rmon_stats->hist[5] = umac_rl(intf, UMC_GR1518); in bcmasp_get_rmon_stats()
463 rmon_stats->hist[6] = umac_rl(intf, UMC_GRMGV); in bcmasp_get_rmon_stats()
/kernel/linux/linux-6.6/mm/
H A Dworkingset.c233 int hist; in lru_gen_eviction() local
252 hist = lru_hist_from_seq(min_seq); in lru_gen_eviction()
253 atomic_long_add(delta, &lrugen->evicted[hist][type][tier]); in lru_gen_eviction()
282 int hist, tier, refs; in lru_gen_refault() local
303 hist = lru_hist_from_seq(READ_ONCE(lrugen->min_seq[type])); in lru_gen_refault()
308 atomic_long_add(delta, &lrugen->refaulted[hist][type][tier]); in lru_gen_refault()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c467 rmon_stats->hist[0] = in lan966x_get_eth_rmon_stats()
470 rmon_stats->hist[1] = in lan966x_get_eth_rmon_stats()
473 rmon_stats->hist[2] = in lan966x_get_eth_rmon_stats()
476 rmon_stats->hist[3] = in lan966x_get_eth_rmon_stats()
479 rmon_stats->hist[4] = in lan966x_get_eth_rmon_stats()
482 rmon_stats->hist[5] = in lan966x_get_eth_rmon_stats()
485 rmon_stats->hist[6] = in lan966x_get_eth_rmon_stats()
/kernel/linux/linux-6.6/lib/zstd/
H A DMakefile18 compress/hist.o \
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dtrace.c528 struct hfi1_ctxt_hist hist = { variable
534 int i, len = ARRAY_SIZE(hist.data); in hfi1_trace_print_rsm_hist()
536 unsigned long packet_count = atomic_fetch_inc(&hist.count); in hfi1_trace_print_rsm_hist()
541 atomic_t *count = &hist.data[i]; in hfi1_trace_print_rsm_hist()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dtrace.c491 static struct hfi1_ctxt_hist hist = { variable
497 int i, len = ARRAY_SIZE(hist.data); in hfi1_trace_print_rsm_hist()
499 unsigned long packet_count = atomic_fetch_inc(&hist.count); in hfi1_trace_print_rsm_hist()
504 atomic_t *count = &hist.data[i]; in hfi1_trace_print_rsm_hist()
/kernel/linux/linux-6.6/net/ethtool/
H A Dstats.c314 static int stats_put_rmon_hist(struct sk_buff *skb, u32 attr, const u64 *hist, in stats_put_rmon_hist() argument
326 if (hist[i] == ETHTOOL_STAT_NOT_SET) in stats_put_rmon_hist()
338 hist[i], ETHTOOL_A_STATS_GRP_PAD)) in stats_put_rmon_hist()
355 data->rmon_stats.hist, data->rmon_ranges) || in stats_put_rmon_stats()

Completed in 17 milliseconds

123