Searched refs:threshold (Results 26 - 50 of 297) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/xe/
H A Dxe_gpu_scheduler.h44 xe_sched_invalidate_job(struct xe_sched_job *job, int threshold) argument
46 return drm_sched_invalidate_job(&job->drm, threshold);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/
H A Dia_css_ynr.host.c46 to->threshold =
87 from->ee.threshold) >> 8;
90 from->ee.threshold) >> 8;
122 "ynr_threshold", ynr->threshold);
208 "config.threshold=%d, config.gain=%d, config.detail_gain=%d\n",
209 config->threshold, config->gain, config->detail_gain);
/linux-master/lib/zstd/common/
H A Dentropy_common.c67 int threshold; local
95 threshold = 1<<nbBits;
149 int const max = (2*threshold-1) - remaining;
152 if ((bitStream & (threshold-1)) < (U32)max) {
153 count = bitStream & (threshold-1);
156 count = bitStream & (2*threshold-1);
157 if (count >= threshold) count -= max;
174 assert(threshold > 1);
175 if (remaining < threshold) {
177 * threshold updat
[all...]
/linux-master/drivers/gpu/host1x/hw/
H A Dchannel_hw.c50 static void submit_wait(struct host1x_job *job, u32 id, u32 threshold, argument
75 threshold,
92 threshold,
104 host1x_class_host_wait_syncpt(id, threshold)
120 u32 threshold; local
127 threshold = job_syncpt_base + cmd->wait.threshold;
129 threshold = cmd->wait.threshold;
131 submit_wait(job, cmd->wait.id, threshold, cm
[all...]
/linux-master/drivers/iio/adc/
H A Dxilinx-xadc-events.c34 /* Temperature threshold error, we don't handle this yet */
52 * lower threshold event. Userspace will have to check the
168 *val = xadc->threshold[offset];
202 xadc->threshold[offset] = val;
216 * threshold.
221 * Since we store the hysteresis as relative (to the threshold)
224 * threshold changes.
226 if (xadc->threshold[offset] < xadc->temp_hysteresis)
227 xadc->threshold[offset + 4] = 0;
229 xadc->threshold[offse
[all...]
/linux-master/drivers/nvme/host/
H A Dhwmon.c22 unsigned int threshold = sensor << NVME_TEMP_THRESH_SELECT_SHIFT; local
27 threshold |= NVME_TEMP_THRESH_TYPE_UNDER;
29 ret = nvme_get_features(ctrl, NVME_FEAT_TEMP_THRESH, threshold, NULL, 0,
43 unsigned int threshold = sensor << NVME_TEMP_THRESH_SELECT_SHIFT; local
47 threshold |= clamp_val(temp, 0, NVME_TEMP_THRESH_MASK);
50 threshold |= NVME_TEMP_THRESH_TYPE_UNDER;
52 ret = nvme_set_features(ctrl, NVME_FEAT_TEMP_THRESH, threshold, NULL, 0,
/linux-master/drivers/md/persistent-data/
H A Ddm-space-map-metadata.c22 * An edge triggered threshold.
24 struct threshold { struct
27 dm_block_t threshold; member in struct:threshold
33 static void threshold_init(struct threshold *t)
39 static void set_threshold(struct threshold *t, dm_block_t value,
43 t->threshold = value;
48 static bool below_threshold(struct threshold *t, dm_block_t value)
50 return t->threshold_set && value <= t->threshold;
53 static bool threshold_already_triggered(struct threshold *t)
58 static void check_threshold(struct threshold *
180 struct threshold threshold; member in struct:sm_metadata
524 sm_metadata_register_threshold_callback(struct dm_space_map *sm, dm_block_t threshold, dm_sm_threshold_fn fn, void *context) argument
[all...]
H A Ddm-space-map.h67 * You can register one threshold callback which is edge-triggered
68 * when the free space in the space map drops below the threshold.
71 dm_block_t threshold,
158 dm_block_t threshold,
163 return sm->register_threshold_callback(sm, threshold, fn, context);
157 dm_sm_register_threshold_callback(struct dm_space_map *sm, dm_block_t threshold, dm_sm_threshold_fn fn, void *context) argument
/linux-master/tools/perf/util/
H A Dprint-events.h27 const char *threshold,
/linux-master/drivers/dma/idxd/
H A Ddefaults.c22 wq->threshold = 0;
/linux-master/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_mtl.h83 int threshold);
86 int threshold);
H A Dsxgbe_mtl.c104 int threshold)
110 reg_val |= (threshold << RX_FC_ACTIVE);
125 int threshold)
131 reg_val |= (threshold << RX_FC_DEACTIVE);
103 sxgbe_mtl_fc_active(void __iomem *ioaddr, int queue_num, int threshold) argument
124 sxgbe_mtl_fc_deactive(void __iomem *ioaddr, int queue_num, int threshold) argument
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/dp/dp_1.0/
H A Dia_css_dp.host.c61 uDIGIT_FITTING(from->threshold, 16, SH_CSS_BAYER_BITS);
122 "config.threshold=%d, config.gain=%d\n",
123 config->threshold, config->gain);
/linux-master/drivers/perf/arm_cspmu/
H A Dampere_cspmu.c36 SOC_PMU_EVENT_ATTR_EXTRACTOR(threshold, config1, 0, 7);
105 ARM_CSPMU_FORMAT_ATTR(threshold, "config1:0-7"),
150 u32 threshold, rank, bank; local
161 threshold = get_threshold(event);
165 writel(threshold, cspmu->base0 + PMAUXR0);
/linux-master/drivers/md/bcache/
H A Dio.c144 unsigned int threshold = op_is_write(bio_op(bio)) local
148 if (threshold) {
153 if (us > (int) threshold) {
/linux-master/sound/soc/ti/
H A Domap-mcpdm.c35 u32 threshold; /* FIFO threshold */ member in struct:mcpdm_link_config
185 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold);
187 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold);
301 u32 threshold; local
335 threshold = mcpdm->config[stream].threshold;
345 (MCPDM_DN_THRES_MAX - threshold) * channels;
346 latency = threshold;
352 dma_data->maxburst = threshold * channel
[all...]
/linux-master/drivers/soc/tegra/fuse/
H A Dspeedo-tegra210.c58 u8 speedo_rev, int *threshold)
66 *threshold = THRESHOLD_INDEX_0;
57 rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, u8 speedo_rev, int *threshold) argument
/linux-master/drivers/spi/
H A Dspi-pxa2xx.h66 u32 threshold; member in struct:chip_data
130 u32 *threshold);
/linux-master/drivers/iio/light/
H A Dmax44009.c41 /* The maximum rising threshold for the max44009 */
55 /* The fixed-point fractional multiplier for de-scaling threshold values */
346 int reg, threshold; local
351 threshold = max44009_threshold_byte_from_fraction(val, val2);
352 if (threshold < 0)
353 return threshold;
359 return i2c_smbus_write_byte_data(data->client, reg, threshold);
381 * To get the upper threshold, always adds the minimum upper threshold
388 * Exponent is base 2 to the power of the threshold exponen
405 int threshold; local
[all...]
/linux-master/drivers/staging/pi433/
H A Drf69.h41 int rf69_set_rssi_threshold(struct spi_device *spi, u8 threshold);
60 int rf69_set_fifo_threshold(struct spi_device *spi, u8 threshold);
/linux-master/net/bridge/netfilter/
H A Debt_nflog.c33 li.u.ulog.qthreshold = info->threshold;
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_internal.h25 u32 threshold; member in struct:adf_etr_ring_data
/linux-master/net/devlink/
H A Dsb.c456 u32 threshold; local
461 pool_index, &threshold);
477 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold))
612 u32 threshold,
620 pool_index, threshold, extack);
631 u32 threshold; local
646 threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]);
648 pool_index, threshold, info->extack);
661 u32 threshold; local
667 &pool_index, &threshold);
610 devlink_sb_port_pool_set(struct devlink_port *devlink_port, unsigned int sb_index, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
848 devlink_sb_tc_pool_bind_set(struct devlink_port *devlink_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
873 u32 threshold; local
[all...]
/linux-master/arch/parisc/kernel/
H A Dcache.c519 #define FLUSH_TLB_THRESHOLD (16*1024) /* 16 KiB minimum TLB threshold */
526 unsigned long threshold, threshold2; local
540 threshold = L1_CACHE_ALIGN((unsigned long)((uint64_t)size * alltime / rangetime));
541 pr_info("Calculated flush threshold is %lu KiB\n",
542 threshold/1024);
545 * The threshold computed above isn't very reliable. The following
550 printk(KERN_INFO "Cache flush threshold set to %lu KiB\n",
553 /* calculate TLB flush threshold */
558 threshold = max(cache_info.it_size, cache_info.dt_size);
559 threshold *
[all...]
/linux-master/sound/soc/meson/
H A Daxg-fifo.c117 unsigned int burst_num, period, threshold, irq_en; local
136 threshold = min(period / 2, fifo->depth / 2);
139 * With the threshold in bytes, register value is:
140 * V = (threshold / burst) - 1
142 threshold /= AXG_FIFO_BURST;
144 threshold ? threshold - 1 : 0);

Completed in 203 milliseconds

1234567891011>>