Home
last modified time | relevance | path

Searched full:thresh (Results 1 – 25 of 273) sorted by relevance

1234567891011

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dasync-thread.c46 int thresh; member
70 * to support "thresh == NO_THRESHOLD" case, but it requires in btrfs_workqueue_normal_congested()
74 if (wq->normal->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested()
77 return atomic_read(&wq->normal->pending) > wq->normal->thresh * 2; in btrfs_workqueue_normal_congested()
82 unsigned int flags, int limit_active, int thresh) in __btrfs_alloc_workqueue() argument
92 if (thresh == 0) in __btrfs_alloc_workqueue()
93 thresh = DFT_THRESHOLD; in __btrfs_alloc_workqueue()
95 if (thresh < DFT_THRESHOLD) { in __btrfs_alloc_workqueue()
97 ret->thresh = NO_THRESHOLD; in __btrfs_alloc_workqueue()
105 ret->thresh = thresh; in __btrfs_alloc_workqueue()
[all …]
/OK3568_Linux_fs/kernel/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)
254 __entry->thresh = thresh;
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/
H A Dintr.c40 u32 thresh = waiter->thresh; in add_waiter_to_queue() local
43 if ((s32)(pos->thresh - thresh) <= 0) { in add_waiter_to_queue()
63 if ((s32)(waiter->thresh - sync) > 0) in remove_completed_waiters()
92 u32 thresh = in reset_threshold_interrupt() local
93 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt()
95 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in reset_threshold_interrupt()
107 waiter->count, waiter->thresh); in action_submit_complete()
203 u32 thresh, enum host1x_intr_action action, in host1x_intr_add_action() argument
219 waiter->thresh = thresh; in host1x_intr_add_action()
231 host1x_hw_intr_set_syncpt_threshold(host, syncpt->id, thresh); in host1x_intr_add_action()
H A Dsyncpt.c191 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired() argument
195 return host1x_syncpt_is_expired(sp, thresh); in syncpt_load_min_is_expired()
201 * @thresh: threshold
205 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait() argument
218 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
227 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
247 err = host1x_intr_add_action(sp->host, sp, thresh, in host1x_syncpt_wait()
264 syncpt_load_min_is_expired(sp, thresh), in host1x_syncpt_wait()
266 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
286 thresh, timeout); in host1x_syncpt_wait()
[all …]
H A Dintr.h49 u32 thresh; member
60 * @thresh the threshold
69 u32 thresh, enum host1x_intr_action action,
/OK3568_Linux_fs/kernel/mm/
H A Dpage-writeback.c142 unsigned long thresh; /* dirty threshold */ member
387 * domain_dirty_limits - calculate thresh and bg_thresh for a wb_domain
390 * Calculate @dtc->thresh and ->bg_thresh considering
404 unsigned long thresh; in domain_dirty_limits() local
429 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); in domain_dirty_limits()
431 thresh = (ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
438 if (bg_thresh >= thresh) in domain_dirty_limits()
439 bg_thresh = thresh / 2; in domain_dirty_limits()
443 thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
445 dtc->thresh = thresh; in domain_dirty_limits()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dtda7419.c130 unsigned int reg, rreg, mask, thresh; member
157 int min, int thresh, in tda7419_vol_get_value() argument
161 if (val < thresh) { in tda7419_vol_get_value()
164 } else if (val > thresh) { in tda7419_vol_get_value()
166 val = val - thresh; in tda7419_vol_get_value()
168 val = thresh - val; in tda7419_vol_get_value()
187 int thresh = tvc->thresh; in tda7419_vol_get() local
193 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
198 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
204 static inline int tda7419_vol_put_value(int val, int thresh, in tda7419_vol_put_value() argument
[all …]
H A Dmax98373.c227 SOC_SINGLE("BDE LVL1 Thresh", MAX98373_R2097_BDE_L1_THRESH, 0, 0xFF, 0),
228 SOC_SINGLE("BDE LVL2 Thresh", MAX98373_R2098_BDE_L2_THRESH, 0, 0xFF, 0),
229 SOC_SINGLE("BDE LVL3 Thresh", MAX98373_R2099_BDE_L3_THRESH, 0, 0xFF, 0),
230 SOC_SINGLE("BDE LVL4 Thresh", MAX98373_R209A_BDE_L4_THRESH, 0, 0xFF, 0),
233 SOC_SINGLE("BDE Thresh Hysteresis", MAX98373_R209B_BDE_THRESH_HYST, 0, 0xFF, 0),
237 SOC_SINGLE_TLV("BDE LVL1 Clip Thresh Volume", MAX98373_R20A9_BDE_L1_CFG_2,
239 SOC_SINGLE_TLV("BDE LVL2 Clip Thresh Volume", MAX98373_R20AC_BDE_L2_CFG_2,
241 SOC_SINGLE_TLV("BDE LVL3 Clip Thresh Volume", MAX98373_R20AF_BDE_L3_CFG_2,
243 SOC_SINGLE_TLV("BDE LVL4 Clip Thresh Volume", MAX98373_R20B2_BDE_L4_CFG_2,
253 SOC_SINGLE_TLV("BDE LVL1 Limiter Thresh Volume", MAX98373_R20A8_BDE_L1_CFG_1,
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/
H A Dfunctional.hpp566 …__host__ __device__ __forceinline__ thresh_binary_func(T thresh_, T maxVal_) : thresh(thresh_), ma… in thresh_binary_func()
570 return (src > thresh) * maxVal; in operator ()()
575 : thresh(other.thresh), maxVal(other.maxVal) {} in thresh_binary_func()
577 T thresh; member
583 …__host__ __device__ __forceinline__ thresh_binary_inv_func(T thresh_, T maxVal_) : thresh(thresh_)… in thresh_binary_inv_func()
587 return (src <= thresh) * maxVal; in operator ()()
592 : thresh(other.thresh), maxVal(other.maxVal) {} in thresh_binary_inv_func()
594 T thresh; member
600 …__device__ __forceinline__ thresh_trunc_func(T thresh_, T maxVal_ = 0) : thresh(thresh_) {CV_UNUSE… in thresh_trunc_func()
604 return minimum<T>()(src, thresh); in operator ()()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/
H A Dfunctional.hpp566 …__host__ __device__ __forceinline__ thresh_binary_func(T thresh_, T maxVal_) : thresh(thresh_), ma… in thresh_binary_func()
570 return (src > thresh) * maxVal; in operator ()()
575 : thresh(other.thresh), maxVal(other.maxVal) {} in thresh_binary_func()
577 T thresh; member
583 …__host__ __device__ __forceinline__ thresh_binary_inv_func(T thresh_, T maxVal_) : thresh(thresh_)… in thresh_binary_inv_func()
587 return (src <= thresh) * maxVal; in operator ()()
592 : thresh(other.thresh), maxVal(other.maxVal) {} in thresh_binary_inv_func()
594 T thresh; member
600 …__device__ __forceinline__ thresh_trunc_func(T thresh_, T maxVal_ = 0) : thresh(thresh_) {CV_UNUSE… in thresh_trunc_func()
604 return minimum<T>()(src, thresh); in operator ()()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/
H A Dfunctional.hpp566 …__host__ __device__ __forceinline__ thresh_binary_func(T thresh_, T maxVal_) : thresh(thresh_), ma… in thresh_binary_func()
570 return (src > thresh) * maxVal; in operator ()()
575 : thresh(other.thresh), maxVal(other.maxVal) {} in thresh_binary_func()
577 T thresh; member
583 …__host__ __device__ __forceinline__ thresh_binary_inv_func(T thresh_, T maxVal_) : thresh(thresh_)… in thresh_binary_inv_func()
587 return (src <= thresh) * maxVal; in operator ()()
592 : thresh(other.thresh), maxVal(other.maxVal) {} in thresh_binary_inv_func()
594 T thresh; member
600 …__device__ __forceinline__ thresh_trunc_func(T thresh_, T maxVal_ = 0) : thresh(thresh_) {CV_UNUSE… in thresh_trunc_func()
604 return minimum<T>()(src, thresh); in operator ()()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/accel/
H A Dlis302.txt29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold
77 st,click-thresh-x = <10>;
78 st,click-thresh-y = <10>;
79 st,click-thresh-z = <10>;
101 st,click-thresh-x = <10>;
102 st,click-thresh-y = <10>;
103 st,click-thresh-z = <10>;
/OK3568_Linux_fs/kernel/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c71 unsigned int thresh; member
75 /* protects .thresh, .stage and chip registers */
153 chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_update_temp_no_adc()
158 chip->thresh * TEMP_THRESH_STEP - in qpnp_tm_update_temp_no_adc()
215 chip->thresh = THRESH_MIN; in qpnp_tm_update_critical_trip_temp()
220 chip->thresh = THRESH_MAX - in qpnp_tm_update_critical_trip_temp()
225 chip->thresh = THRESH_MAX; in qpnp_tm_update_critical_trip_temp()
235 reg |= chip->thresh; in qpnp_tm_update_critical_trip_temp()
317 chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init()
329 chip->temp = chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_init()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/videostab/
H A Dmotion_core.hpp76 float thresh; //!< max error to classify as inlier member
80 RansacParams() : size(0), thresh(0), eps(0), prob(0) {} in RansacParams()
83 @param thresh Maximum re-projection error value to classify as inlier.
87 RansacParams(int size, float thresh, float eps, float prob);
122 : size(_size), thresh(_thresh), eps(_eps), prob(_prob) {} in RansacParams()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/sample/
H A Dsample_adebayer_module.cpp29 printf("\t 3) ADEBAYER v1: set high freq thresh of 250 with AUTO modein sync.\n"); in sample_adebayer_usage()
30 printf("\t 4) ADEBAYER v1: set high freq thresh of 0 with AUTO mode in sync.\n"); in sample_adebayer_usage()
31 printf("\t 5) ADEBAYER v1: set low freq thresh of 250 with AUTO mode in sync.\n"); in sample_adebayer_usage()
32 printf("\t 6) ADEBAYER v1: set low freq thresh of 0 with AUTO mode in sync.\n"); in sample_adebayer_usage()
108 XCamReturn sample_adebayer_setLowFreqThresh_v1(const rk_aiq_sys_ctx_t* ctx, __u8 thresh) in sample_adebayer_setLowFreqThresh_v1() argument
120 attr.stAuto.low_freq_thresh = thresh; in sample_adebayer_setLowFreqThresh_v1()
131 XCamReturn sample_adebayer_setHighFreqThresh_v1(const rk_aiq_sys_ctx_t* ctx, __u8 thresh) in sample_adebayer_setHighFreqThresh_v1() argument
143 attr.stAuto.high_freq_thresh = thresh; in sample_adebayer_setHighFreqThresh_v1()
527 printf("test the high freq thresh of 250 in sync mode...\n"); in sample_adebayer_module()
531 printf("test the high freq thresh of 0 in sync mode...\n"); in sample_adebayer_module()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Domap3-gta04a3.dts26 st,click-thresh-x = <8>;
27 st,click-thresh-y = <8>;
28 st,click-thresh-z = <10>;
H A Domap3-overo-common-peripherals.dtsi63 st,click-thresh-x = <10>;
64 st,click-thresh-y = <10>;
65 st,click-thresh-z = <10>;
/OK3568_Linux_fs/u-boot/drivers/dma/
H A Dkeystone_nav.c174 writel(0, &pktdma->rx_flows[j].thresh[0]); in ksnav_rx_disable()
175 writel(0, &pktdma->rx_flows[j].thresh[1]); in ksnav_rx_disable()
176 writel(0, &pktdma->rx_flows[j].thresh[2]); in ksnav_rx_disable()
243 writel(0, &pktdma->rx_flows[pktdma->rx_flow].thresh[0]); in ksnav_init()
244 writel(0, &pktdma->rx_flows[pktdma->rx_flow].thresh[1]); in ksnav_init()
245 writel(0, &pktdma->rx_flows[pktdma->rx_flow].thresh[2]); in ksnav_init()
/OK3568_Linux_fs/kernel/include/linux/sunrpc/
H A Dxprtrdma.h56 #define RPCRDMA_MIN_INLINE (1024) /* min inline thresh */
57 #define RPCRDMA_DEF_INLINE (4096) /* default inline thresh */
58 #define RPCRDMA_MAX_INLINE (65536) /* max inline thresh */
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/
H A Daf_head.h568 // M4_NUMBER_DESC("vertical minluma thresh", "u8", M4_RANGE(0, 255), "64", M4_DIGIT(0))
574 // M4_NUMBER_DESC("vertical maxluma thresh", "u8", M4_RANGE(0, 255), "185", M4_DIGIT(0))
580 // M4_NUMBER_DESC("horizontal minluma thresh", "u8", M4_RANGE(0, 255), "64", M4_DIGIT(0))
586 // M4_NUMBER_DESC("horizontal maxluma thresh", "u8", M4_RANGE(0, 255), "185", M4_DIGIT(0))
592 // M4_NUMBER_DESC("vertical fv thresh", "u16", M4_RANGE(0, 4095), "4", M4_DIGIT(0))
594 // M4_NUMBER_DESC("horizontal fv thresh", "u16", M4_RANGE(0, 4095), "4", M4_DIGIT(0))
596 // M4_NUMBER_DESC("highlight thresh", "u16", M4_RANGE(0, 4095), "912", M4_DIGIT(0))
722 // M4_NUMBER_DESC("vertical minluma thresh", "u8", M4_RANGE(0, 255), "64", M4_DIGIT(0))
728 // M4_NUMBER_DESC("vertical maxluma thresh", "u8", M4_RANGE(0, 255), "185", M4_DIGIT(0))
734 // M4_NUMBER_DESC("horizontal minluma thresh", "u8", M4_RANGE(0, 255), "64", M4_DIGIT(0))
[all …]
H A Daf_uapi_head.h115 …// M4_ARRAY_DESC("horizontal thresh", "u8", M4_SIZE(1,2), M4_RANGE(0,255), "0", M4_DIGIT(0), M4_DY…
121 …// M4_ARRAY_DESC("vertical thresh", "u8", M4_SIZE(1,2), M4_RANGE(0,255), "0", M4_DIGIT(0), M4_DYNA…
128 // M4_NUMBER_DESC("vertical fv thresh", "u16", M4_RANGE(0, 4095), "0", M4_DIGIT(0))
130 // M4_NUMBER_DESC("horizontal fv thresh", "u16", M4_RANGE(0, 4095), "0", M4_DIGIT(0))
142 // M4_NUMBER_DESC("highlight thresh", "u16", M4_RANGE(0, 4095), "0", M4_DIGIT(0))
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Di5500_temp.c78 static SENSOR_DEVICE_ATTR_RO(temp1_crit, thresh, 0xE2);
79 static SENSOR_DEVICE_ATTR_RO(temp1_max_hyst, thresh, 0xEC);
80 static SENSOR_DEVICE_ATTR_RO(temp1_max, thresh, 0xEE);
/OK3568_Linux_fs/kernel/arch/powerpc/perf/
H A Dmpc7450-pmu.c155 int thresh, tuse; in mpc7450_get_constraint() local
171 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_get_constraint()
173 value |= thresh << 24; in mpc7450_get_constraint()
268 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local
303 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_compute_mmcr()
304 mmcr0 |= thresh << 16; in mpc7450_compute_mmcr()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxstat.c158 unsigned long thresh; in dmxStatSync() local
165 for (i = 0, thresh = DMX_STAT_BIN0; i < DMX_STAT_BINS - 1; i++) { in dmxStatSync()
166 if (elapsed < thresh) { in dmxStatSync()
170 thresh *= DMX_STAT_BINMULT; in dmxStatSync()
/OK3568_Linux_fs/kernel/drivers/soc/ti/
H A Dknav_dma.c88 u32 thresh[3]; member
198 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_start()
199 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_start()
200 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_start()
243 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_stop()
244 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_stop()
245 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_stop()
338 seq_printf(s, "\t\t\tdst_q: [%d], thresh: %d fdq: ", in dma_debug_show_channels()
340 chan->cfg.u.rx.thresh); in dma_debug_show_channels()

1234567891011