Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/power/
Dswap.c577 struct task_struct *thr; /* thread */ member
600 d->thr = NULL; in crc32_threadfn()
619 struct task_struct *thr; /* thread */ member
643 d->thr = NULL; in lzo_compress_threadfn()
678 unsigned thr, run_threads, nr_threads; in save_image_lzo() local
705 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo()
706 memset(&data[thr], 0, offsetof(struct cmp_data, go)); in save_image_lzo()
719 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
720 init_waitqueue_head(&data[thr].go); in save_image_lzo()
721 init_waitqueue_head(&data[thr].done); in save_image_lzo()
[all …]
/Linux-v5.4/arch/powerpc/platforms/powernv/
Didle.c887 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local
894 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
895 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch()
896 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch()
900 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
901 if (!paca_ptrs[cpu0+thr]->requested_psscr) in pnv_power9_force_smt4_catch()
904 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch()
910 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
911 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch()
914 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch()
[all …]
/Linux-v5.4/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.4/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.c563 unsigned int thr; in pch_uart_hal_write() local
566 thr = buf[i++]; in pch_uart_hal_write()
567 iowrite8(thr, priv->membase + PCH_UART_THR); in pch_uart_hal_write()
/Linux-v5.4/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.4/arch/powerpc/kernel/
Dprocess.c254 #define loadvec(thr) ((thr).load_vec) argument
334 #define loadvec(thr) 0 argument
829 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument
849 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread()
851 tm_reclaim(thr, cause); in tm_reclaim_thread()
865 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
866 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
868 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
869 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
891 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local
[all …]
/Linux-v5.4/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.4/arch/powerpc/kvm/
Dbook3s_hv.c740 int thr; in kvmppc_doorbell_pending() local
752 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending()
753 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending()
1163 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local
1170 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes()
1183 dpdes |= 1 << thr; in kvmppc_read_dpdes()
1196 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local
1206 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr()
1215 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr()
1233 arg = thr; in kvmppc_emulate_doorbell_instr()
[all …]
Dbook3s_hv_builtin.c692 int thr = local_paca->kvm_hstate.tid; in wait_for_sync() local
694 sip->lpcr_sync.phase[thr] |= phase; in wait_for_sync()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c270 u16 thr; in iwl_mvm_rx_handle_tcm() local
304 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
305 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
311 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
312 thr *= 1 + ((rate_n_flags & RATE_VHT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
316 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK) >> in iwl_mvm_rx_handle_tcm()
320 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr); in iwl_mvm_rx_handle_tcm()
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Ddwc3.txt88 - snps,rx-thr-num-pkt-prd: periodic ESS RX packet threshold count - host mode
93 this and rx-thr-num-pkt-prd to a valid, non-zero value
96 - snps,tx-thr-num-pkt-prd: periodic ESS TX packet threshold count - host mode
101 this and tx-thr-num-pkt-prd to a valid, non-zero value
/Linux-v5.4/net/mac80211/
Dsta_info.c2177 u32 thr = 0; in sta_set_sinfo() local
2408 thr = sta_get_expected_throughput(sta); in sta_set_sinfo()
2410 if (thr != 0) { in sta_set_sinfo()
2412 sinfo->expected_throughput = thr; in sta_set_sinfo()
2442 u32 thr = 0; in sta_get_expected_throughput() local
2449 thr = ref->ops->get_expected_throughput(sta->rate_ctrl_priv); in sta_get_expected_throughput()
2451 thr = drv_get_expected_throughput(local, sta); in sta_get_expected_throughput()
2453 return thr; in sta_get_expected_throughput()
2466 static void sta_update_codel_params(struct sta_info *sta, u32 thr) in sta_update_codel_params() argument
2471 if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) { in sta_update_codel_params()
[all …]
/Linux-v5.4/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.4/arch/sh/include/asm/
Dsmc37c93x.h85 #define thr rbr macro
/Linux-v5.4/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.4/drivers/ipack/devices/
Dscc2698.h33 u8 d3, thr; /* Transmit holding register */ member
Dipoctal.c202 iowrite8(value, &channel->regs->w.thr); in ipoctal_irq_tx()
/Linux-v5.4/arch/x86/events/intel/
Duncore_nhmex.c875 DEFINE_UNCORE_FORMAT_ATTR(thr, thr, "config1:0-31");
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h1237 __le32 thr; member
Dcommands.c1505 mac_info->frag_thr = le32_to_cpu(phy_thr->thr); in qtnf_cmd_resp_proc_phy_params()
1509 mac_info->rts_thr = le32_to_cpu(phy_thr->thr); in qtnf_cmd_resp_proc_phy_params()
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c4308 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()
/Linux-v5.4/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;
/Linux-v5.4/include/net/
Dmac80211.h4522 u32 thr);