Home
last modified time | relevance | path

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

12

/linux-5.19.10/kernel/power/
Dswap.c590 struct task_struct *thr; /* thread */ member
613 d->thr = NULL; in crc32_threadfn()
632 struct task_struct *thr; /* thread */ member
656 d->thr = NULL; in lzo_compress_threadfn()
691 unsigned thr, run_threads, nr_threads; in save_image_lzo() local
729 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
730 init_waitqueue_head(&data[thr].go); in save_image_lzo()
731 init_waitqueue_head(&data[thr].done); in save_image_lzo()
733 data[thr].thr = kthread_run(lzo_compress_threadfn, in save_image_lzo()
734 &data[thr], in save_image_lzo()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/sound/
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>;
/linux-5.19.10/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui-audio-da7219.dtsi29 dlg,mic-det-thr = <500>;
34 dlg,a-d-btn-thr = <0xa>;
35 dlg,d-b-btn-thr = <0x16>;
36 dlg,b-c-btn-thr = <0x21>;
37 dlg,c-mic-btn-thr = <0x3E>;
/linux-5.19.10/arch/powerpc/platforms/powernv/
Didle.c817 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local
824 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
825 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch()
826 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch()
830 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
831 if (!paca_ptrs[cpu0+thr]->requested_psscr) in pnv_power9_force_smt4_catch()
834 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch()
840 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
841 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch()
844 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch()
[all …]
/linux-5.19.10/drivers/tty/serial/
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
/linux-5.19.10/tools/testing/selftests/futex/functional/
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()
Dfutex_wait_uninitialized_heap.c70 pthread_t thr; in main() local
104 ret = pthread_create(&thr, NULL, wait_thread, NULL); in main()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
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()
Dia_css_bnlm_param.h23 VMEM_ARRAY(thr, ISP_VEC_NELEMS); /* thresholds */
/linux-5.19.10/arch/powerpc/kernel/
Dprocess.c901 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument
921 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread()
923 tm_reclaim(thr, cause); in tm_reclaim_thread()
937 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
938 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
940 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
941 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
963 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local
965 if (!thr->regs) in tm_reclaim_task()
968 if (!MSR_TM_ACTIVE(thr->regs->msr)) in tm_reclaim_task()
[all …]
/linux-5.19.10/tools/testing/selftests/kvm/x86_64/
Dmmio_warning_test.c39 void *thr(void *arg) in thr() function
72 pthread_create(&th[i], NULL, thr, (void *)(uintptr_t)&tc); in test()
/linux-5.19.10/tools/testing/selftests/powerpc/tm/
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()
/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_hv.c767 int thr; in kvmppc_doorbell_pending() local
781 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending()
782 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending()
1384 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local
1391 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes()
1404 dpdes |= 1 << thr; in kvmppc_read_dpdes()
1417 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local
1427 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr()
1436 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr()
1454 arg = thr; in kvmppc_emulate_doorbell_instr()
[all …]
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c214 u16 thr; in iwl_mvm_rx_handle_tcm() local
248 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK_V1]; in iwl_mvm_rx_handle_tcm()
249 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK_V1) >> in iwl_mvm_rx_handle_tcm()
255 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
256 thr *= 1 + ((rate_n_flags & RATE_VHT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
260 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK_V1) >> in iwl_mvm_rx_handle_tcm()
264 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr); in iwl_mvm_rx_handle_tcm()
/linux-5.19.10/net/mac80211/
Dsta_info.c2304 u32 thr = 0; in sta_set_sinfo() local
2538 thr = sta_get_expected_throughput(sta); in sta_set_sinfo()
2540 if (thr != 0) { in sta_set_sinfo()
2542 sinfo->expected_throughput = thr; in sta_set_sinfo()
2572 u32 thr = 0; in sta_get_expected_throughput() local
2579 thr = ref->ops->get_expected_throughput(sta->rate_ctrl_priv); in sta_get_expected_throughput()
2581 thr = drv_get_expected_throughput(local, sta); in sta_get_expected_throughput()
2583 return thr; in sta_get_expected_throughput()
2596 static void sta_update_codel_params(struct sta_info *sta, u32 thr) in sta_update_codel_params() argument
2601 if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) { in sta_update_codel_params()
[all …]
/linux-5.19.10/tools/perf/util/
Dsvghelper.c703 int thr; in scan_thread_topology() local
709 for_each_set_bit(thr, cpumask_bits(&t->sib_thr[i]), nr_cpus) in scan_thread_topology()
710 if (map[thr] == -1) in scan_thread_topology()
711 map[thr] = (*pos)++; in scan_thread_topology()
/linux-5.19.10/arch/sh/include/asm/
Dsmc37c93x.h85 #define thr rbr macro
/linux-5.19.10/Documentation/devicetree/bindings/usb/
Dsnps,dwc3.yaml274 snps,rx-thr-num-pkt-prd:
286 snps,rx-thr-num-pkt-prd to a valid, non-zero value 1-16 (DWC_usb31
292 snps,tx-thr-num-pkt-prd:
304 snps,tx-thr-num-pkt-prd to a valid, non-zero value 1-16 (DWC_usb31
/linux-5.19.10/drivers/staging/media/meson/vdec/
Dcodec_vp9.c550 unsigned int thr; in vp9_loop_filter_init() local
552 thr = ((lfi->lfthr[i * 2 + 1].lim & 0x3f) << 8) | in vp9_loop_filter_init()
554 thr = (thr << 16) | ((lfi->lfthr[i * 2].lim & 0x3f) << 8) | in vp9_loop_filter_init()
557 amvdec_write_dos(core, HEVC_DBLK_CFG9, thr); in vp9_loop_filter_init()
596 unsigned int thr; in vp9_loop_filter_frame_init() local
598 thr = ((lfi->lfthr[i * 2 + 1].lim & 0x3f) << 8) | in vp9_loop_filter_frame_init()
600 thr = (thr << 16) | in vp9_loop_filter_frame_init()
604 amvdec_write_dos(core, HEVC_DBLK_CFG9, thr); in vp9_loop_filter_frame_init()
/linux-5.19.10/tools/testing/selftests/cgroup/
Dtest_core.c627 pthread_t thr; in test_cgcore_thread_migration() local
651 if (pthread_create(&thr, NULL, migrating_thread_fn, grps)) in test_cgcore_thread_migration()
654 if (pthread_join(thr, &retval)) in test_cgcore_thread_migration()
/linux-5.19.10/arch/arm64/boot/dts/rockchip/
Drk3399-gru.dtsi451 dlg,mic-det-thr = <500>;
456 dlg,a-d-btn-thr = <0xa>;
457 dlg,d-b-btn-thr = <0x16>;
458 dlg,b-c-btn-thr = <0x21>;
459 dlg,c-mic-btn-thr = <0x3E>;
/linux-5.19.10/drivers/ipack/devices/
Dscc2698.h33 u8 d3, thr; /* Transmit holding register */ member
Dipoctal.c213 iowrite8(value, &channel->regs->w.thr); in ipoctal_irq_tx()
/linux-5.19.10/arch/x86/events/intel/
Duncore_nhmex.c875 DEFINE_UNCORE_FORMAT_ATTR(thr, thr, "config1:0-31");
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c4349 u32 thr, retry; in mwifiex_register_cfg80211() local
4497 HostCmd_ACT_GEN_GET, FRAG_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4498 wiphy->frag_threshold = thr; in mwifiex_register_cfg80211()
4500 HostCmd_ACT_GEN_GET, RTS_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4501 wiphy->rts_threshold = thr; in mwifiex_register_cfg80211()

12