Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.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-v5.10/arch/powerpc/platforms/powernv/
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 …]
/Linux-v5.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
Dpch_uart.c561 unsigned int thr; in pch_uart_hal_write() local
564 thr = buf[i++]; in pch_uart_hal_write()
565 iowrite8(thr, priv->membase + PCH_UART_THR); in pch_uart_hal_write()
/Linux-v5.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-v5.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-v5.10/arch/powerpc/kernel/
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 …]
/Linux-v5.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-v5.10/arch/powerpc/kvm/
Dbook3s_hv.c733 int thr; in kvmppc_doorbell_pending() local
745 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending()
746 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending()
1197 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local
1204 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes()
1217 dpdes |= 1 << thr; in kvmppc_read_dpdes()
1230 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local
1240 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr()
1249 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr()
1267 arg = thr; in kvmppc_emulate_doorbell_instr()
[all …]
Dbook3s_hv_builtin.c684 int thr = local_paca->kvm_hstate.tid; in wait_for_sync() local
686 sip->lpcr_sync.phase[thr] |= phase; in wait_for_sync()
/Linux-v5.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-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
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()
/Linux-v5.10/Documentation/devicetree/bindings/usb/
Ddwc3.txt92 - snps,rx-thr-num-pkt-prd: periodic ESS RX packet threshold count - host mode
97 this and rx-thr-num-pkt-prd to a valid, non-zero value
100 - snps,tx-thr-num-pkt-prd: periodic ESS TX packet threshold count - host mode
105 this and tx-thr-num-pkt-prd to a valid, non-zero value
/Linux-v5.10/net/mac80211/
Dsta_info.c2260 u32 thr = 0; in sta_set_sinfo() local
2494 thr = sta_get_expected_throughput(sta); in sta_set_sinfo()
2496 if (thr != 0) { in sta_set_sinfo()
2498 sinfo->expected_throughput = thr; in sta_set_sinfo()
2528 u32 thr = 0; in sta_get_expected_throughput() local
2535 thr = ref->ops->get_expected_throughput(sta->rate_ctrl_priv); in sta_get_expected_throughput()
2537 thr = drv_get_expected_throughput(local, sta); in sta_get_expected_throughput()
2539 return thr; in sta_get_expected_throughput()
2552 static void sta_update_codel_params(struct sta_info *sta, u32 thr) in sta_update_codel_params() argument
2557 if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) { in sta_update_codel_params()
[all …]
/Linux-v5.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-v5.10/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.10/arch/sh/include/asm/
Dsmc37c93x.h85 #define thr rbr macro
/Linux-v5.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-v5.10/arch/arm64/boot/dts/rockchip/
Drk3399-gru.dtsi418 dlg,mic-det-thr = <500>;
423 dlg,a-d-btn-thr = <0xa>;
424 dlg,d-b-btn-thr = <0x16>;
425 dlg,b-c-btn-thr = <0x21>;
426 dlg,c-mic-btn-thr = <0x3E>;
/Linux-v5.10/drivers/ipack/devices/
Dscc2698.h33 u8 d3, thr; /* Transmit holding register */ member
/Linux-v5.10/arch/x86/events/intel/
Duncore_nhmex.c875 DEFINE_UNCORE_FORMAT_ATTR(thr, thr, "config1:0-31");
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c4303 u32 thr, retry; in mwifiex_register_cfg80211() local
4451 HostCmd_ACT_GEN_GET, FRAG_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4452 wiphy->frag_threshold = thr; in mwifiex_register_cfg80211()
4454 HostCmd_ACT_GEN_GET, RTS_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4455 wiphy->rts_threshold = thr; in mwifiex_register_cfg80211()

12