/openbmc/linux/kernel/power/ |
H A D | swap.c | 588 struct task_struct *thr; /* thread */ member 611 d->thr = NULL; in crc32_threadfn() 630 struct task_struct *thr; /* thread */ member 654 d->thr = NULL; in lzo_compress_threadfn() 689 unsigned thr, run_threads, nr_threads; in save_image_lzo() local 727 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo() 728 init_waitqueue_head(&data[thr].go); in save_image_lzo() 729 init_waitqueue_head(&data[thr].done); in save_image_lzo() 731 data[thr].thr = kthread_run(lzo_compress_threadfn, in save_image_lzo() 732 &data[thr], in save_image_lzo() [all …]
|
/openbmc/linux/tools/perf/tests/shell/coresight/thread_loop/ |
H A D | thread_loop.c | 59 unsigned int i, len, thr; in main() local 68 thr = atoi(argv[1]); in main() 69 if ((thr < 1) || (thr > 256)) { in main() 79 for (i = 0; i < thr; i++) { in main() 83 for (i = 0; i < thr; i++) in main()
|
/openbmc/linux/tools/perf/tests/shell/coresight/memcpy_thread/ |
H A D | memcpy_thread.c | 44 unsigned long i, len, size, thr; in main() local 60 thr = atol(argv[2]); in main() 61 if ((thr < 1) || (thr > 256)) { in main() 71 for (i = 0; i < thr; i++) { in main() 76 for (i = 0; i < thr; i++) in main()
|
/openbmc/linux/tools/perf/tests/shell/coresight/unroll_loop_thread/ |
H A D | unroll_loop_thread.c | 53 unsigned int i, thr; in main() local 62 thr = atoi(argv[1]); in main() 63 if ((thr > 256) || (thr < 1)) { in main() 67 for (i = 0; i < thr; i++) { in main() 71 for (i = 0; i < thr; i++) in main()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 819 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-kukui-audio-da7219.dtsi | 29 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>;
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_heartbeat.c | 143 size_t thr; in check_ae() local 146 for (thr = 0; thr < hb_ctrs; thr++) { in check_ae() 147 u16 req = curr[thr].req_heartbeat_cnt; in check_ae() 148 u16 resp = curr[thr].resp_heartbeat_cnt; in check_ae() 149 u16 last = prev[thr].resp_heartbeat_cnt; in check_ae() 151 if ((thr == ADF_AE_ADMIN_THREAD || req != resp) && resp == last) { in check_ae() 152 u16 retry = ++count[thr]; in check_ae() 158 count[thr] = 0; in check_ae()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | atmel_serial.h | 145 #define ATMEL_US_TXFTHRES(thr) FIELD_PREP(GENMASK(13, 8), (thr)) /* TX FIFO Threshold */ argument 146 #define ATMEL_US_RXFTHRES(thr) FIELD_PREP(GENMASK(21, 16), (thr)) /* RX FIFO Threshold */ argument 147 #define ATMEL_US_RXFTHRES2(thr) FIELD_PREP(GENMASK(29, 24), (thr)) /* RX FIFO Threshold2 */ argument
|
/openbmc/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_private_mapped_file.c | 74 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()
|
H A D | futex_wait_uninitialized_heap.c | 70 pthread_t thr; in main() local 104 ret = pthread_create(&thr, NULL, wait_thread, NULL); in main()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
H A D | ia_css_bnlm.host.c | 71 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()
|
H A D | ia_css_bnlm_param.h | 23 VMEM_ARRAY(thr, ISP_VEC_NELEMS); /* thresholds */
|
/openbmc/qemu/hw/net/ |
H A D | stellaris_enet.c | 68 uint32_t thr; member 141 VMSTATE_UINT32(thr, stellaris_enet_state), 195 return (s->thr < 0x3f && in stellaris_tx_thr_reached() 196 (s->tx_fifo_len >= 4 * (s->thr * 8 + 1))); in stellaris_tx_thr_reached() 334 return s->thr; in stellaris_enet_read() 424 s->thr = value; in stellaris_enet_write() 473 s->thr = 0x3f; in stellaris_enet_reset()
|
/openbmc/qemu/tests/tcg/hppa/ |
H A D | stby.c | 72 pthread_t thr; in main() local 78 err = pthread_create(&thr, NULL, child, NULL); in main()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | process.c | 933 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() argument 953 giveup_all(container_of(thr, struct task_struct, thread)); in tm_reclaim_thread() 955 tm_reclaim(thr, cause); in tm_reclaim_thread() 969 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread() 970 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread() 972 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread() 973 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread() 995 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() local 997 if (!thr->regs) in tm_reclaim_task() 1000 if (!MSR_TM_ACTIVE(thr->regs->msr)) in tm_reclaim_task() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | mmio_warning_test.c | 39 void *thr(void *arg) in thr() function 72 pthread_create(&th[i], NULL, thr, (void *)(uintptr_t)&tc); in test()
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_mtk.c | 39 #define thr rbr macro 143 writel(ch, &priv->regs->thr); in mtk_serial_putc() 263 writel(ch, ®s->thr); in _debug_uart_putc()
|
H A D | atmel_usart.c | 95 writel(c, &usart->thr); in atmel_serial_putc() 198 writel(ch, &priv->usart->thr); in atmel_serial_putc() 319 writel(ch, &usart->thr); in _debug_uart_putc()
|
/openbmc/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-pagefault.c | 140 pthread_t thr; in setup_uf_mem() local 186 ret = pthread_create(&thr, NULL, fault_handler_thread, (void *) uffd); in setup_uf_mem()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 828 int thr; in kvmppc_doorbell_pending() local 842 thr = vcpu->vcpu_id - vc->first_vcpuid; in kvmppc_doorbell_pending() 843 return !!(vc->dpdes & (1 << thr)); in kvmppc_doorbell_pending() 1446 int thr, cpu, pcpu, nthreads; in kvmppc_read_dpdes() local 1453 for (thr = 0; thr < nthreads; ++thr, ++cpu) { in kvmppc_read_dpdes() 1466 dpdes |= 1 << thr; in kvmppc_read_dpdes() 1479 u32 inst, rb, thr; in kvmppc_emulate_doorbell_instr() local 1491 thr = vcpu->vcpu_id & (kvm->arch.emul_smt_mode - 1); in kvmppc_emulate_doorbell_instr() 1500 tvcpu = kvmppc_find_vcpu(kvm, vcpu->vcpu_id - thr + arg); in kvmppc_emulate_doorbell_instr() 1518 arg = thr; in kvmppc_emulate_doorbell_instr() [all …]
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | at91_dbu.h | 23 u32 thr; /* Transmit Holding Register WO */ member
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmci_stm32_sdmmc.c | 414 u32 thr = 0; in sdmmc_get_dctrl_cfg() local 418 thr = ffs(min_t(unsigned int, host->data->blksz, in sdmmc_get_dctrl_cfg() 420 thr = min_t(u32, thr, MMCI_STM32_THR_MASK); in sdmmc_get_dctrl_cfg() 423 writel_relaxed(thr, host->base + MMCI_STM32_FIFOTHRR); in sdmmc_get_dctrl_cfg()
|
/openbmc/qemu/tests/migration/ |
H A D | stress.c | 224 pthread_t thr; in stress() local 225 pthread_create(&thr, NULL, in stress()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rx.c | 214 u16 thr; in iwl_mvm_rx_handle_tcm() local 252 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK_V1]; in iwl_mvm_rx_handle_tcm() 253 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK_V1) >> in iwl_mvm_rx_handle_tcm() 259 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm() 260 thr *= 1 + FIELD_GET(RATE_MCS_NSS_MSK, rate_n_flags); in iwl_mvm_rx_handle_tcm() 263 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK_V1) >> in iwl_mvm_rx_handle_tcm() 267 ewma_rate_add(&mdata->uapsd_nonagg_detect.rate, thr); in iwl_mvm_rx_handle_tcm()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | mcs7830.c | 371 uint8_t thr; in mcs7830_apply_fixup() local 383 thr = PAUSE_THRESHOLD_DEFAULT; in mcs7830_apply_fixup() 386 sizeof(thr), &thr); in mcs7830_apply_fixup()
|