Home
last modified time | relevance | path

Searched refs:thr (Results 1 – 25 of 71) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/
H A Dfocaltech_test_ini.c556 static void get_detail_threshold(char *key_name, bool is_prex, int *thr) in get_detail_threshold() argument
570 if (!key_name || !thr) { in get_detail_threshold()
593 thr[i * rx_num + k] = (short)(fts_atoi(str_tmp)); in get_detail_threshold()
676 struct incell_threshold *thr = &tdata->ic.incell.thr; in get_test_threshold_incell() local
681 ret = get_basic_threshold(bthr_name_incell, length, (int *)&thr->basic); in get_test_threshold_incell()
697 fts_init_buffer(thr->rawdata_max, thr->basic.rawdata_max, node_num); in get_test_threshold_incell()
698 fts_init_buffer(thr->rawdata_min, thr->basic.rawdata_min, node_num); in get_test_threshold_incell()
700 fts_init_buffer(thr->rawdata2_max, thr->basic.rawdata2_max, node_num); in get_test_threshold_incell()
701 fts_init_buffer(thr->rawdata2_min, thr->basic.rawdata2_min, node_num); in get_test_threshold_incell()
703 fts_init_buffer(thr->cb_max, thr->basic.cb_max, node_num); in get_test_threshold_incell()
[all …]
H A Dfocaltech_test.c1335 struct incell_threshold *thr = &tdata->ic.incell.thr; in fts_test_malloc_free_incell() local
1340 fts_malloc_r(thr->rawdata_min, buflen); in fts_test_malloc_free_incell()
1341 fts_malloc_r(thr->rawdata_max, buflen); in fts_test_malloc_free_incell()
1343 fts_malloc_r(thr->rawdata2_min, buflen); in fts_test_malloc_free_incell()
1344 fts_malloc_r(thr->rawdata2_max, buflen); in fts_test_malloc_free_incell()
1346 fts_malloc_r(thr->cb_min, buflen); in fts_test_malloc_free_incell()
1347 fts_malloc_r(thr->cb_max, buflen); in fts_test_malloc_free_incell()
1349 fts_free(thr->rawdata_min); in fts_test_malloc_free_incell()
1350 fts_free(thr->rawdata_max); in fts_test_malloc_free_incell()
1352 fts_free(thr->rawdata2_min); in fts_test_malloc_free_incell()
[all …]
H A Dfocaltech_test.h231 struct incell_threshold thr; member
308 struct mc_sc_threshold thr; member
357 struct sc_threshold thr; member
/OK3568_Linux_fs/kernel/kernel/power/
H A Dswap.c586 struct task_struct *thr; /* thread */ member
609 d->thr = NULL; in crc32_threadfn()
628 struct task_struct *thr; /* thread */ member
652 d->thr = NULL; in lzo_compress_threadfn()
687 unsigned thr, run_threads, nr_threads; in save_image_lzo() local
714 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo()
715 memset(&data[thr], 0, offsetof(struct cmp_data, go)); in save_image_lzo()
728 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
729 init_waitqueue_head(&data[thr].go); in save_image_lzo()
730 init_waitqueue_head(&data[thr].done); in save_image_lzo()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/supported_ic/
H A Dfocaltech_test_ft8201.c529 struct incell_threshold *thr = &tdata->ic.incell.thr; in ft8201_short_test() local
563 …tmp_result = compare_data(adcdata, thr->basic.short_res_min, TEST_SHORT_RES_MAX, thr->basic.short_… in ft8201_short_test()
589 struct incell_threshold *thr = &tdata->ic.incell.thr; in ft8201_open_test() local
660 min = thr->basic.open_cb_min; in ft8201_open_test()
709 struct incell_threshold *thr = &tdata->ic.incell.thr; in ft8201_cb_test() local
716 if (!thr->cb_min || !thr->cb_max) { in ft8201_cb_test()
741 key_check = thr->basic.cb_vkey_check; in ft8201_cb_test()
747 tmp_result = compare_array(cbdata, thr->cb_min, thr->cb_max, key_check); in ft8201_cb_test()
771 struct incell_threshold *thr = &tdata->ic.incell.thr; in ft8201_rawdata_test() local
778 if (!thr->rawdata_min || !thr->rawdata_max) { in ft8201_rawdata_test()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Didle.c820 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local
827 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
828 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch()
829 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch()
833 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
834 if (!paca_ptrs[cpu0+thr]->requested_psscr) in pnv_power9_force_smt4_catch()
837 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch()
843 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
844 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch()
847 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dda7219.txt51 - dlg,mic-det-thr : Impedance threshold for mic detection measurement (Ohms)
59 - dlg,a-d-btn-thr : Impedance threshold between buttons A and D
61 - dlg,d-b-btn-thr : Impedance threshold between buttons D and B
63 - dlg,b-c-btn-thr : Impedance threshold between buttons B and C
65 - dlg,c-mic-btn-thr : Impedance threshold between button C and Mic
99 dlg,mic-det-thr = <500>;
104 dlg,a-d-btn-thr = <0xa>;
105 dlg,d-b-btn-thr = <0x16>;
106 dlg,b-c-btn-thr = <0x21>;
107 dlg,c-mic-btn-thr = <0x3E>;
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Datmel_serial.h140 #define ATMEL_US_TXFTHRES(thr) (((thr) & 0x3f) << 8) /* TX FIFO Threshold */ argument
141 #define ATMEL_US_RXFTHRES(thr) (((thr) & 0x3f) << 16) /* RX FIFO Threshold */ argument
142 #define ATMEL_US_RXFTHRES2(thr) (((thr) & 0x3f) << 24) /* RX FIFO Threshold2 */ argument
/OK3568_Linux_fs/external/mpp/mpp/vproc/iep2/
H A Diep2_ff.c46 RK_U32 thr = ffx / 10; in iep2_check_ffo() local
56 … tdiff, bdiff, ff00t, ff00b, ff11t, ff11b, ff0t1b, ff0b1t, ff00, ff11, ffx, ffi, thr); in iep2_check_ffo()
117 thr = (thr == 0) ? 1 : thr; in iep2_check_ffo()
120 field_diff_ratio = RKABS(ff0t1b - ff0b1t) / thr * 10; in iep2_check_ffo()
/OK3568_Linux_fs/kernel/tools/testing/selftests/futex/functional/
H A Dfutex_wait_private_mapped_file.c74 pthread_t thr; in main() local
102 ret = pthread_create(&thr, NULL, thr_futex_wait, NULL); in main()
120 pthread_join(thr, NULL); in main()
H A Dfutex_wait_uninitialized_heap.c70 pthread_t thr; in main() local
104 ret = pthread_create(&thr, NULL, wait_thread, NULL); in main()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c71 lut->thr[0][i] = 0; in bnlm_lut_encode()
77 lut->thr[0][i] = lut_thr[i]; in bnlm_lut_encode()
87 lut->thr[0][blk_offset + i] = lut->thr[0][i]; in bnlm_lut_encode()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dprocess.c915 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument
935 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread()
937 tm_reclaim(thr, cause); in tm_reclaim_thread()
951 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
952 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
954 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
955 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
977 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local
979 if (!thr->regs) in tm_reclaim_task()
982 if (!MSR_TM_ACTIVE(thr->regs->msr)) in tm_reclaim_task()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/
H A D_sdio.c664 ch_thr.thr = R_AX_ACH0_THR; in aval_page_cfg_sdio()
672 ch_thr.thr = R_AX_ACH1_THR; in aval_page_cfg_sdio()
680 ch_thr.thr = R_AX_ACH2_THR; in aval_page_cfg_sdio()
688 ch_thr.thr = R_AX_ACH3_THR; in aval_page_cfg_sdio()
696 ch_thr.thr = R_AX_ACH4_THR; in aval_page_cfg_sdio()
704 ch_thr.thr = R_AX_ACH5_THR; in aval_page_cfg_sdio()
712 ch_thr.thr = R_AX_ACH6_THR; in aval_page_cfg_sdio()
720 ch_thr.thr = R_AX_ACH7_THR; in aval_page_cfg_sdio()
728 ch_thr.thr = R_AX_CH8_THR; in aval_page_cfg_sdio()
736 ch_thr.thr = R_AX_CH9_THR; in aval_page_cfg_sdio()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tests/
H A Dtest_task_service.cpp77 std::thread thr(worker_thread, svc); in main() local
91 thr.join(); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/x86_64/
H A Dmmio_warning_test.c39 void *thr(void *arg) in thr() function
72 pthread_create(&th[i], NULL, thr, (void *)(uintptr_t)&tc); in test()
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A Dbook3s_hv.c734 int thr; in kvmppc_doorbell_pending() local
746 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending()
747 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending()
1198 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local
1205 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes()
1218 dpdes |= 1 << thr; in kvmppc_read_dpdes()
1231 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local
1241 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr()
1250 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr()
1268 arg = thr; in kvmppc_emulate_doorbell_instr()
[all …]
/OK3568_Linux_fs/external/mpp/test/
H A Dmpp_event_trigger.c39 pthread_t thr; member
218 pthread_create(&ctx->thr, NULL, event_trigger_thread, ctx); in event_ctx_create()
236 pthread_join(ictx->thr, &ret); in event_ctx_release()
/OK3568_Linux_fs/u-boot/drivers/serial/
H A Datmel_usart.c96 writel(c, &usart->thr); in atmel_serial_putc()
199 writel(ch, &priv->usart->thr); in atmel_serial_putc()
318 writel(ch, &usart->thr); in _debug_uart_putc()
H A Dns16550.c208 serial_out(c, &com_port->thr); in NS16550_putc()
287 serial_dout(&com_port->thr, ch); in _debug_uart_putc()
428 serial_dout(&com_port->thr, ch); in _debug_uart_putc()
449 serial_out(ch, &com_port->thr); in ns16550_serial_putc()
H A Dserial_pxa.c135 writel(c, &uart_regs->thr); in pxa_putc_dev()
287 writel(ch, &uart_regs->thr); in pxa_serial_putc()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c271 u16 thr; in iwl_mvm_rx_handle_tcm() local
305 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
306 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
312 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
313 thr *= 1 + ((rate_n_flags & RATE_VHT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
317 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK) >> in iwl_mvm_rx_handle_tcm()
321 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr); in iwl_mvm_rx_handle_tcm()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-pagefault.c140 pthread_t thr; in setup_uf_mem() local
186 ret = pthread_create(&thr, NULL, fault_handler_thread, (void *) uffd); in setup_uf_mem()
/OK3568_Linux_fs/u-boot/drivers/usb/eth/
H A Dmcs7830.c372 uint8_t thr; in mcs7830_apply_fixup() local
384 thr = PAUSE_THRESHOLD_DEFAULT; in mcs7830_apply_fixup()
387 sizeof(thr), &thr); in mcs7830_apply_fixup()
/OK3568_Linux_fs/u-boot/arch/arm/mach-at91/include/mach/
H A Dat91_dbu.h24 u32 thr; /* Transmit Holding Register WO */ member

123