Home
last modified time | relevance | path

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

12

/Linux-v5.15/kernel/power/
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 …]
/Linux-v5.15/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-v5.15/arch/powerpc/platforms/powernv/
Didle.c819 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local
826 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
827 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch()
828 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch()
832 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
833 if (!paca_ptrs[cpu0+thr]->requested_psscr) in pnv_power9_force_smt4_catch()
836 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch()
842 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
843 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch()
846 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch()
[all …]
/Linux-v5.15/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
Dpch_uart.c557 unsigned int thr; in pch_uart_hal_write() local
560 thr = buf[i++]; in pch_uart_hal_write()
561 iowrite8(thr, priv->membase + PCH_UART_THR); in pch_uart_hal_write()
/Linux-v5.15/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-v5.15/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-v5.15/arch/powerpc/kernel/
Dprocess.c904 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument
924 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread()
926 tm_reclaim(thr, cause); in tm_reclaim_thread()
940 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
941 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
943 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
944 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
966 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local
968 if (!thr->regs) in tm_reclaim_task()
971 if (!MSR_TM_ACTIVE(thr->regs->msr)) in tm_reclaim_task()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c219 u16 thr; in iwl_mvm_rx_handle_tcm() local
253 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
254 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
260 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
261 thr *= 1 + ((rate_n_flags & RATE_VHT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
265 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK) >> in iwl_mvm_rx_handle_tcm()
269 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr); in iwl_mvm_rx_handle_tcm()
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_hv.c729 int thr; in kvmppc_doorbell_pending() local
741 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending()
742 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending()
1337 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local
1344 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes()
1357 dpdes |= 1 << thr; in kvmppc_read_dpdes()
1370 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local
1380 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr()
1389 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr()
1407 arg = thr; in kvmppc_emulate_doorbell_instr()
[all …]
/Linux-v5.15/net/mac80211/
Dsta_info.c2287 u32 thr = 0; in sta_set_sinfo() local
2519 thr = sta_get_expected_throughput(sta); in sta_set_sinfo()
2521 if (thr != 0) { in sta_set_sinfo()
2523 sinfo->expected_throughput = thr; in sta_set_sinfo()
2553 u32 thr = 0; in sta_get_expected_throughput() local
2560 thr = ref->ops->get_expected_throughput(sta->rate_ctrl_priv); in sta_get_expected_throughput()
2562 thr = drv_get_expected_throughput(local, sta); in sta_get_expected_throughput()
2564 return thr; in sta_get_expected_throughput()
2577 static void sta_update_codel_params(struct sta_info *sta, u32 thr) in sta_update_codel_params() argument
2582 if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) { in sta_update_codel_params()
[all …]
/Linux-v5.15/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-v5.15/tools/testing/selftests/cgroup/
Dtest_core.c624 pthread_t thr; in test_cgcore_thread_migration() local
648 if (pthread_create(&thr, NULL, migrating_thread_fn, grps)) in test_cgcore_thread_migration()
651 if (pthread_join(thr, &retval)) in test_cgcore_thread_migration()
/Linux-v5.15/arch/sh/include/asm/
Dsmc37c93x.h85 #define thr rbr macro
/Linux-v5.15/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-v5.15/arch/arm64/boot/dts/rockchip/
Drk3399-gru.dtsi423 dlg,mic-det-thr = <500>;
428 dlg,a-d-btn-thr = <0xa>;
429 dlg,d-b-btn-thr = <0x16>;
430 dlg,b-c-btn-thr = <0x21>;
431 dlg,c-mic-btn-thr = <0x3E>;
/Linux-v5.15/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-v5.15/arch/x86/events/intel/
Duncore_nhmex.c875 DEFINE_UNCORE_FORMAT_ATTR(thr, thr, "config1:0-31");
/Linux-v5.15/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c4317 u32 thr, retry; in mwifiex_register_cfg80211() local
4465 HostCmd_ACT_GEN_GET, FRAG_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4466 wiphy->frag_threshold = thr; in mwifiex_register_cfg80211()
4468 HostCmd_ACT_GEN_GET, RTS_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4469 wiphy->rts_threshold = thr; in mwifiex_register_cfg80211()
/Linux-v5.15/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h3952 uint64_t thr:8; member
3954 uint64_t thr:8;
4367 uint64_t thr:8; member
4369 uint64_t thr:8;

12