hist 239 arch/parisc/kernel/irq.c int hist = action->cr16_hist[k]; hist 241 arch/parisc/kernel/irq.c if (hist) { hist 242 arch/parisc/kernel/irq.c avg += hist; hist 246 arch/parisc/kernel/irq.c if (hist > max) max = hist; hist 247 arch/parisc/kernel/irq.c if (hist < min) min = hist; hist 30 drivers/media/platform/omap3isp/isphist.c static void hist_reset_mem(struct ispstat *hist) hist 32 drivers/media/platform/omap3isp/isphist.c struct isp_device *isp = hist->isp; hist 33 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *conf = hist->priv; hist 56 drivers/media/platform/omap3isp/isphist.c hist->wait_acc_frames = conf->num_acc_frames; hist 62 drivers/media/platform/omap3isp/isphist.c static void hist_setup_regs(struct ispstat *hist, void *priv) hist 64 drivers/media/platform/omap3isp/isphist.c struct isp_device *isp = hist->isp; hist 72 drivers/media/platform/omap3isp/isphist.c if (!hist->update || hist->state == ISPSTAT_DISABLED || hist 73 drivers/media/platform/omap3isp/isphist.c hist->state == ISPSTAT_DISABLING) hist 121 drivers/media/platform/omap3isp/isphist.c hist_reset_mem(hist); hist 134 drivers/media/platform/omap3isp/isphist.c hist->update = 0; hist 135 drivers/media/platform/omap3isp/isphist.c hist->config_counter += hist->inc_config; hist 136 drivers/media/platform/omap3isp/isphist.c hist->inc_config = 0; hist 137 drivers/media/platform/omap3isp/isphist.c hist->buf_size = conf->buf_size; hist 140 drivers/media/platform/omap3isp/isphist.c static void hist_enable(struct ispstat *hist, int enable) hist 143 drivers/media/platform/omap3isp/isphist.c isp_reg_set(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_PCR, hist 145 drivers/media/platform/omap3isp/isphist.c omap3isp_subclk_enable(hist->isp, OMAP3_ISP_SUBCLK_HIST); hist 147 drivers/media/platform/omap3isp/isphist.c isp_reg_clr(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_PCR, hist 149 drivers/media/platform/omap3isp/isphist.c omap3isp_subclk_disable(hist->isp, OMAP3_ISP_SUBCLK_HIST); hist 153 drivers/media/platform/omap3isp/isphist.c static int hist_busy(struct ispstat *hist) hist 155 drivers/media/platform/omap3isp/isphist.c return isp_reg_readl(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_PCR) hist 161 drivers/media/platform/omap3isp/isphist.c struct ispstat *hist = data; hist 165 drivers/media/platform/omap3isp/isphist.c isp_reg_clr(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, hist 168 drivers/media/platform/omap3isp/isphist.c omap3isp_stat_dma_isr(hist); hist 169 drivers/media/platform/omap3isp/isphist.c if (hist->state != ISPSTAT_DISABLED) hist 170 drivers/media/platform/omap3isp/isphist.c omap3isp_hist_dma_done(hist->isp); hist 173 drivers/media/platform/omap3isp/isphist.c static int hist_buf_dma(struct ispstat *hist) hist 175 drivers/media/platform/omap3isp/isphist.c dma_addr_t dma_addr = hist->active_buf->dma_addr; hist 182 drivers/media/platform/omap3isp/isphist.c dev_dbg(hist->isp->dev, "hist: invalid DMA buffer address\n"); hist 186 drivers/media/platform/omap3isp/isphist.c isp_reg_writel(hist->isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR); hist 187 drivers/media/platform/omap3isp/isphist.c isp_reg_set(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, hist 189 drivers/media/platform/omap3isp/isphist.c omap3isp_flush(hist->isp); hist 192 drivers/media/platform/omap3isp/isphist.c cfg.src_addr = hist->isp->mmio_hist_base_phys + ISPHIST_DATA; hist 194 drivers/media/platform/omap3isp/isphist.c cfg.src_maxburst = hist->buf_size / 4; hist 196 drivers/media/platform/omap3isp/isphist.c ret = dmaengine_slave_config(hist->dma_ch, &cfg); hist 198 drivers/media/platform/omap3isp/isphist.c dev_dbg(hist->isp->dev, hist 203 drivers/media/platform/omap3isp/isphist.c tx = dmaengine_prep_slave_single(hist->dma_ch, dma_addr, hist 204 drivers/media/platform/omap3isp/isphist.c hist->buf_size, DMA_DEV_TO_MEM, hist 207 drivers/media/platform/omap3isp/isphist.c dev_dbg(hist->isp->dev, hist 213 drivers/media/platform/omap3isp/isphist.c tx->callback_param = hist; hist 216 drivers/media/platform/omap3isp/isphist.c dev_dbg(hist->isp->dev, "hist: DMA submission failed\n"); hist 220 drivers/media/platform/omap3isp/isphist.c dma_async_issue_pending(hist->dma_ch); hist 225 drivers/media/platform/omap3isp/isphist.c hist_reset_mem(hist); hist 229 drivers/media/platform/omap3isp/isphist.c static int hist_buf_pio(struct ispstat *hist) hist 231 drivers/media/platform/omap3isp/isphist.c struct isp_device *isp = hist->isp; hist 232 drivers/media/platform/omap3isp/isphist.c u32 *buf = hist->active_buf->virt_addr; hist 237 drivers/media/platform/omap3isp/isphist.c hist_reset_mem(hist); hist 255 drivers/media/platform/omap3isp/isphist.c for (i = hist->buf_size / 16; i > 0; i--) { hist 261 drivers/media/platform/omap3isp/isphist.c isp_reg_clr(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, hist 270 drivers/media/platform/omap3isp/isphist.c static int hist_buf_process(struct ispstat *hist) hist 272 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *user_cfg = hist->priv; hist 275 drivers/media/platform/omap3isp/isphist.c if (atomic_read(&hist->buf_err) || hist->state != ISPSTAT_ENABLED) { hist 276 drivers/media/platform/omap3isp/isphist.c hist_reset_mem(hist); hist 280 drivers/media/platform/omap3isp/isphist.c if (--(hist->wait_acc_frames)) hist 283 drivers/media/platform/omap3isp/isphist.c if (hist->dma_ch) hist 284 drivers/media/platform/omap3isp/isphist.c ret = hist_buf_dma(hist); hist 286 drivers/media/platform/omap3isp/isphist.c ret = hist_buf_pio(hist); hist 288 drivers/media/platform/omap3isp/isphist.c hist->wait_acc_frames = user_cfg->num_acc_frames; hist 304 drivers/media/platform/omap3isp/isphist.c static int hist_validate_params(struct ispstat *hist, void *new_conf) hist 360 drivers/media/platform/omap3isp/isphist.c static int hist_comp_params(struct ispstat *hist, hist 363 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *cur_cfg = hist->priv; hist 404 drivers/media/platform/omap3isp/isphist.c static void hist_set_params(struct ispstat *hist, void *new_conf) hist 407 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *cur_cfg = hist->priv; hist 409 drivers/media/platform/omap3isp/isphist.c if (!hist->configured || hist_comp_params(hist, user_cfg)) { hist 413 drivers/media/platform/omap3isp/isphist.c hist->inc_config++; hist 414 drivers/media/platform/omap3isp/isphist.c hist->update = 1; hist 476 drivers/media/platform/omap3isp/isphist.c struct ispstat *hist = &isp->isp_hist; hist 484 drivers/media/platform/omap3isp/isphist.c hist->isp = isp; hist 498 drivers/media/platform/omap3isp/isphist.c hist->dma_ch = dma_request_chan_by_mask(&mask); hist 499 drivers/media/platform/omap3isp/isphist.c if (IS_ERR(hist->dma_ch)) { hist 500 drivers/media/platform/omap3isp/isphist.c ret = PTR_ERR(hist->dma_ch); hist 504 drivers/media/platform/omap3isp/isphist.c hist->dma_ch = NULL; hist 509 drivers/media/platform/omap3isp/isphist.c dma_chan_name(hist->dma_ch)); hist 513 drivers/media/platform/omap3isp/isphist.c hist->ops = &hist_ops; hist 514 drivers/media/platform/omap3isp/isphist.c hist->priv = hist_cfg; hist 515 drivers/media/platform/omap3isp/isphist.c hist->event_type = V4L2_EVENT_OMAP3ISP_HIST; hist 517 drivers/media/platform/omap3isp/isphist.c ret = omap3isp_stat_init(hist, "histogram", &hist_subdev_ops); hist 521 drivers/media/platform/omap3isp/isphist.c if (!IS_ERR_OR_NULL(hist->dma_ch)) hist 522 drivers/media/platform/omap3isp/isphist.c dma_release_channel(hist->dma_ch); hist 534 drivers/media/platform/omap3isp/isphist.c struct ispstat *hist = &isp->isp_hist; hist 536 drivers/media/platform/omap3isp/isphist.c if (hist->dma_ch) hist 537 drivers/media/platform/omap3isp/isphist.c dma_release_channel(hist->dma_ch); hist 539 drivers/media/platform/omap3isp/isphist.c omap3isp_stat_cleanup(hist); hist 1552 drivers/net/wireless/ath/ath5k/phy.c struct ath5k_nfcal_hist *hist = &ah->ah_nfcal_hist; hist 1553 drivers/net/wireless/ath/ath5k/phy.c hist->index = (hist->index + 1) & (ATH5K_NF_CAL_HIST_MAX - 1); hist 1554 drivers/net/wireless/ath/ath5k/phy.c hist->nfval[hist->index] = noise_floor; hist 202 fs/cachefiles/internal.h #define cachefiles_hist(hist, start_jif) do {} while (0) hist 86 fs/fscache/internal.h #define fscache_hist(hist, start_jif) do {} while (0) hist 395 fs/ocfs2/ioctl.c static void o2ffg_update_histogram(struct ocfs2_info_free_chunk_list *hist, hist 404 fs/ocfs2/ioctl.c hist->fc_chunks[index]++; hist 405 fs/ocfs2/ioctl.c hist->fc_clusters[index] += chunksize; hist 1642 kernel/trace/trace.h bool hist; hist 1282 kernel/trace/trace_events_trigger.c enable_data->hist ? hist 1358 kernel/trace/trace_events_trigger.c bool hist = false; hist 1384 kernel/trace/trace_events_trigger.c hist = ((strcmp(cmd, ENABLE_HIST_STR) == 0) || hist 1411 kernel/trace/trace_events_trigger.c enable_data->hist = hist; hist 38 samples/bpf/lathist_user.c struct cpu_hist *hist; hist 45 samples/bpf/lathist_user.c hist = &cpu_hist[j]; hist 48 samples/bpf/lathist_user.c if (hist->max == 0) hist 54 samples/bpf/lathist_user.c stars(starstr, hist->data[i - 1], hist->max, MAX_STARS); hist 57 samples/bpf/lathist_user.c hist->data[i - 1], MAX_STARS, starstr);