Searched refs:thresh (Results 1 - 25 of 82) sorted by path

1234

/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-fpa-defs.h1079 uint64_t thresh:32; member in struct:cvmx_fpa_packet_threshold::cvmx_fpa_packet_threshold_s
1081 uint64_t thresh:32;
1118 uint64_t thresh:32; member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_s
1120 uint64_t thresh:32;
1127 uint64_t thresh:29; member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_cn61xx
1129 uint64_t thresh:29;
1244 uint64_t thresh:32; member in struct:cvmx_fpa_wqe_threshold::cvmx_fpa_wqe_threshold_s
1246 uint64_t thresh:32;
H A Dcvmx-gmxx-defs.h2224 uint64_t thresh:6; member in struct:cvmx_gmxx_tx_spi_thresh::cvmx_gmxx_tx_spi_thresh_s
2226 uint64_t thresh:6;
/linux-master/fs/jfs/
H A Djfs_types.h132 u8 thresh; /* Alert Threshold (in percent) */ member in struct:dasd
/linux-master/include/trace/events/
H A Dhost1x.h180 TP_PROTO(const char *name, int count, u32 thresh),
182 TP_ARGS(name, count, thresh),
187 __field(u32, thresh)
193 __entry->thresh = thresh;
196 TP_printk("name=%s, count=%d, thresh=%d",
197 __entry->name, __entry->count, __entry->thresh)
237 TP_PROTO(struct host1x_bo *bo, u32 offset, u32 syncpt_id, u32 thresh,
240 TP_ARGS(bo, offset, syncpt_id, thresh, min),
246 __field(u32, thresh)
[all...]
/linux-master/arch/arm/mach-pxa/
H A Dsharpsl_pm.c183 struct battery_thresh *thresh; local
186 thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_acin;
188 thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noac;
190 while (i > 0 && (voltage > thresh[i].voltage))
193 return thresh[i].percentage;
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-spi.c372 gmxx_tx_spi_thresh.s.thresh = 4;
/linux-master/arch/powerpc/perf/
H A Dmpc7450-pmu.c155 int thresh, tuse; local
171 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK;
173 value |= thresh << 24;
269 u32 ev, pmc, thresh; local
304 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK;
305 mmcr0 |= thresh << 16;
/linux-master/arch/x86/events/intel/
H A Dbts.c149 unsigned long index, thresh = 0, end = phys->size; local
161 thresh = end - BTS_SAFETY_MARGIN;
163 thresh = end - BTS_RECORD_SIZE;
165 thresh = end;
172 ? ds->bts_buffer_base + thresh
H A Duncore_discovery.c353 DEFINE_UNCORE_FORMAT_ATTR(thresh, thresh, "config:24-31");
H A Duncore_nhmex.c195 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
H A Duncore_snbep.c485 DEFINE_UNCORE_FORMAT_ATTR(thresh9, thresh, "config:24-35");
486 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
487 DEFINE_UNCORE_FORMAT_ATTR(thresh6, thresh, "config:24-29");
488 DEFINE_UNCORE_FORMAT_ATTR(thresh5, thresh, "config:24-28");
/linux-master/arch/x86/kernel/cpu/mce/
H A Dintel.c137 static void cmci_set_threshold(int bank, int thresh) argument
145 wrmsrl(MSR_IA32_MCx_CTL2(bank), val | thresh); local
/linux-master/arch/x86/kernel/
H A Dtsc.c356 u64 thresh = tsc_khz ? tsc_khz >> 5 : TSC_DEFAULT_THRESHOLD; local
366 if ((t2 - t1) < thresh)
/linux-master/block/
H A Dblk-iolatency.c236 u64 thresh = div64_u64(stat->ps.total, 10); local
237 thresh = max(thresh, 1ULL);
238 return stat->ps.missed < thresh;
/linux-master/drivers/cpuidle/governors/
H A Dmenu.c174 unsigned int min, max, thresh, avg; local
177 thresh = INT_MAX; /* Discard outliers above this value */
188 if (value <= thresh) {
211 if (value <= thresh) {
252 thresh = max - 1;
/linux-master/drivers/gpu/drm/tegra/
H A Ddrm.c423 return host1x_syncpt_wait(sp, args->thresh,
/linux-master/drivers/gpu/host1x/
H A Ddev.h79 struct host1x *host, unsigned int id, u32 thresh);
232 u32 thresh)
234 host->intr_op->set_syncpt_threshold(host, id, thresh);
230 host1x_hw_intr_set_syncpt_threshold(struct host1x *host, unsigned int id, u32 thresh) argument
H A Djob.c126 void host1x_job_add_wait(struct host1x_job *job, u32 id, u32 thresh, argument
133 cmd->wait.threshold = thresh;
H A Dsyncpt.c216 * @thresh: threshold
220 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, argument
231 if (host1x_syncpt_is_expired(sp, thresh))
239 fence = host1x_fence_create(sp, thresh, false);
257 if (wait_err == 0 && !host1x_syncpt_is_expired(sp, thresh))
269 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) argument
277 return ((current_val - thresh) & 0x80000000U) == 0U;
H A Dsyncpt.h106 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
/linux-master/drivers/gpu/host1x/hw/
H A Dintr_hw.c120 u32 thresh)
122 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id));
118 host1x_intr_set_syncpt_threshold(struct host1x *host, unsigned int id, u32 thresh) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Dpio.c662 u32 thresh; local
771 thresh = sc_percent_to_threshold(sc, 50);
773 thresh = sc_percent_to_threshold(sc,
776 thresh = min(sc_percent_to_threshold(sc, 50),
780 reg = thresh << SC(CREDIT_CTRL_THRESHOLD_SHIFT);
830 thresh);
/linux-master/drivers/input/misc/
H A Diqs269a.c278 u8 thresh[3]; member in struct:iqs269_ch_reg
742 if (!fwnode_property_read_u32(ev_node, "azoteq,thresh", &val)) {
751 ch_reg->thresh[iqs269_events[i].th_offs] = val;
1159 "azoteq,thresh-swipe", &val)) {
H A Diqs626a.c288 u8 thresh[2]; member in struct:iqs626_ch_reg_ulp
300 u8 thresh; member in struct:iqs626_ch_reg_tp
313 u8 thresh[3]; member in struct:iqs626_ch_reg_gen
328 u8 thresh; member in struct:iqs626_ch_reg_hall
467 u8 *thresh, *hyst; local
473 thresh = sys_reg->ch_reg_ulp.thresh;
479 thresh = &sys_reg->tp_grp_reg.ch_reg_tp[0].thresh;
487 thresh
776 u8 *thresh = &sys_reg->tp_grp_reg.ch_reg_tp[i].thresh; local
[all...]
/linux-master/drivers/input/mouse/
H A Dtrackpoint.c191 TRACKPOINT_INT_ATTR(thresh, TP_THRESH, TP_DEF_THRESH);
333 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, thresh);
354 TRACKPOINT_SET_POWER_ON_DEFAULT(tp, thresh);

Completed in 599 milliseconds

1234