Home
last modified time | relevance | path

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

12

/Linux-v4.19/kernel/power/
Dswap.c579 struct task_struct *thr; /* thread */ member
602 d->thr = NULL; in crc32_threadfn()
621 struct task_struct *thr; /* thread */ member
645 d->thr = NULL; in lzo_compress_threadfn()
680 unsigned thr, run_threads, nr_threads; in save_image_lzo() local
707 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo()
708 memset(&data[thr], 0, offsetof(struct cmp_data, go)); in save_image_lzo()
721 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
722 init_waitqueue_head(&data[thr].go); in save_image_lzo()
723 init_waitqueue_head(&data[thr].done); in save_image_lzo()
[all …]
/Linux-v4.19/arch/powerpc/platforms/powernv/
Didle.c400 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local
407 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
408 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch()
409 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch()
413 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
414 if (!paca_ptrs[cpu0+thr]->requested_psscr) in pnv_power9_force_smt4_catch()
417 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch()
423 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
424 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch()
427 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch()
[all …]
/Linux-v4.19/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-v4.19/drivers/tty/serial/
Datmel_serial.h139 #define ATMEL_US_TXFTHRES(thr) (((thr) & 0x3f) << 8) /* TX FIFO Threshold */ argument
140 #define ATMEL_US_RXFTHRES(thr) (((thr) & 0x3f) << 16) /* RX FIFO Threshold */ argument
141 #define ATMEL_US_RXFTHRES2(thr) (((thr) & 0x3f) << 24) /* RX FIFO Threshold2 */ argument
Dpch_uart.c565 unsigned int thr; in pch_uart_hal_write() local
568 thr = buf[i++]; in pch_uart_hal_write()
569 iowrite8(thr, priv->membase + PCH_UART_THR); in pch_uart_hal_write()
/Linux-v4.19/tools/testing/selftests/futex/functional/
Dfutex_wait_private_mapped_file.c78 pthread_t thr; in main() local
105 ret = pthread_create(&thr, NULL, thr_futex_wait, NULL); in main()
123 pthread_join(thr, NULL); in main()
Dfutex_wait_uninitialized_heap.c74 pthread_t thr; in main() local
107 ret = pthread_create(&thr, NULL, wait_thread, NULL); in main()
/Linux-v4.19/arch/powerpc/kernel/
Dprocess.c271 #define loadvec(thr) ((thr).load_vec) argument
351 #define loadvec(thr) 0 argument
870 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument
890 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread()
892 tm_reclaim(thr, cause); in tm_reclaim_thread()
906 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
907 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
909 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
910 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
932 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local
[all …]
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv.c725 int thr; in kvmppc_doorbell_pending() local
738 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending()
739 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending()
1001 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local
1008 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes()
1021 dpdes |= 1 << thr; in kvmppc_read_dpdes()
1034 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local
1044 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr()
1053 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr()
1071 arg = thr; in kvmppc_emulate_doorbell_instr()
[all …]
Dbook3s_hv_builtin.c667 int thr = local_paca->kvm_hstate.tid; in wait_for_sync() local
669 sip->lpcr_sync.phase[thr] |= phase; in wait_for_sync()
/Linux-v4.19/arch/ia64/include/asm/sn/
Dioc3.h32 char thr; /* write only, DLAB == 0 */ member
42 #define iu_thr u1.thr
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c272 u16 thr; in iwl_mvm_rx_handle_tcm() local
306 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
307 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
313 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm()
314 thr *= 1 + ((rate_n_flags & RATE_VHT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm()
318 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK) >> in iwl_mvm_rx_handle_tcm()
322 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr); in iwl_mvm_rx_handle_tcm()
/Linux-v4.19/Documentation/devicetree/bindings/usb/
Ddwc3.txt81 - snps,rx-thr-num-pkt-prd: periodic ESS RX packet threshold count - host mode
86 this and rx-thr-num-pkt-prd to a valid, non-zero value
89 - snps,tx-thr-num-pkt-prd: periodic ESS TX packet threshold count - host mode
94 this and tx-thr-num-pkt-prd to a valid, non-zero value
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_ipipeif_user.h41 unsigned short thr; member
Ddm365_ipipeif.c85 val |= dpc->thr & IPIPEIF_DPC2_THR_MASK; in ipipeif_config_dpc()
412 ipipeif->config.if_5_1.dpc.thr = config->if_5_1.dpc.thr; in ipipeif_set_config()
448 config->if_5_1.dpc.thr = ipipeif->config.if_5_1.dpc.thr; in ipipeif_get_config()
Ddavinci_vpfe_user.h742 unsigned short thr[VPFE_IPIPE_NF_THR_TABLE_SIZE]; member
780 unsigned short thr; member
Ddm365_ipipe_hw.c563 regw_ip(base_addr, noise_filter->thr[count] & D2F_THR_VAL_MASK, in ipipe_set_d2f_regs()
596 regw_ip(base_addr, gic->thr & GIC_THR_MASK, GIC_THR); in ipipe_set_gic_regs()
/Linux-v4.19/net/mac80211/
Dsta_info.c2100 u32 thr = 0; in sta_set_sinfo() local
2313 thr = sta_get_expected_throughput(sta); in sta_set_sinfo()
2315 if (thr != 0) { in sta_set_sinfo()
2317 sinfo->expected_throughput = thr; in sta_set_sinfo()
2341 u32 thr = 0; in sta_get_expected_throughput() local
2348 thr = ref->ops->get_expected_throughput(sta->rate_ctrl_priv); in sta_get_expected_throughput()
2350 thr = drv_get_expected_throughput(local, sta); in sta_get_expected_throughput()
2352 return thr; in sta_get_expected_throughput()
2364 static void sta_update_codel_params(struct sta_info *sta, u32 thr) in sta_update_codel_params() argument
2369 if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) { in sta_update_codel_params()
[all …]
/Linux-v4.19/tools/perf/util/
Dsvghelper.c704 int thr; in scan_thread_topology() local
710 for_each_set_bit(thr, in scan_thread_topology()
713 if (map[thr] == -1) in scan_thread_topology()
714 map[thr] = (*pos)++; in scan_thread_topology()
/Linux-v4.19/arch/sh/include/asm/
Dsmc37c93x.h85 #define thr rbr macro
/Linux-v4.19/arch/arm64/boot/dts/rockchip/
Drk3399-gru.dtsi424 dlg,mic-det-thr = <500>;
429 dlg,a-d-btn-thr = <0xa>;
430 dlg,d-b-btn-thr = <0x16>;
431 dlg,b-c-btn-thr = <0x21>;
432 dlg,c-mic-btn-thr = <0x3E>;
/Linux-v4.19/arch/mips/include/asm/sn/
Dioc3.h15 volatile u8 thr; /* write only, DLAB == 0 */ member
34 #define iu_thr u1.thr
/Linux-v4.19/drivers/ipack/devices/
Dscc2698.h36 u8 d3, thr; /* Transmit holding register */ member
/Linux-v4.19/arch/x86/events/intel/
Duncore_nhmex.c875 DEFINE_UNCORE_FORMAT_ATTR(thr, thr, "config1:0-31");
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h1180 __le16 thr; member

12