Home
last modified time | relevance | path

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

123

/openbmc/linux/kernel/power/
H A Dswap.c727 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
750 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
778 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
811 for (run_threads = thr, thr = 0; thr < run_threads; thr++) { in save_image_lzo()
872 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo()
873 if (data[thr].thr) in save_image_lzo()
1219 for (thr = 0; thr < nr_threads; thr++) { in load_image_lzo()
1242 for (thr = 0; thr < nr_threads; thr++) { in load_image_lzo()
1390 for (run_threads = thr, thr = 0; thr < run_threads; thr++) { in load_image_lzo()
1466 for (thr = 0; thr < nr_threads; thr++) in load_image_lzo()
[all …]
/openbmc/linux/tools/perf/tests/shell/coresight/thread_loop/
H A Dthread_loop.c59 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 Dmemcpy_thread.c44 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 Dunroll_loop_thread.c53 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/arm64/boot/dts/mediatek/
H A Dmt8183-kukui-audio-da7219.dtsi29 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/arch/powerpc/platforms/powernv/
H A 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()
832 for (thr = 0; thr < threads_per_core; ++thr) { 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()
851 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
855 poke_threads &= ~(1 << thr); in pnv_power9_force_smt4_catch()
865 int cpu, cpu0, thr; in pnv_power9_force_smt4_release() local
871 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_release()
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat.c143 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 Datmel_serial.h145 #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/Documentation/devicetree/bindings/sound/
H A Ddialog,da7219.yaml113 dlg,mic-det-thr:
143 dlg,a-d-btn-thr:
150 dlg,d-b-btn-thr:
157 dlg,b-c-btn-thr:
164 dlg,c-mic-btn-thr:
222 dlg,mic-det-thr = <500>;
228 dlg,a-d-btn-thr = <0xa>;
229 dlg,d-b-btn-thr = <0x16>;
230 dlg,b-c-btn-thr = <0x21>;
231 dlg,c-mic-btn-thr = <0x3E>;
/openbmc/linux/tools/testing/selftests/futex/functional/
H A 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()
H A Dfutex_wait_uninitialized_heap.c70 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 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()
H A Dia_css_bnlm_param.h23 VMEM_ARRAY(thr, ISP_VEC_NELEMS); /* thresholds */
/openbmc/qemu/hw/net/
H A Dstellaris_enet.c68 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 Dstby.c72 pthread_t thr; in main() local
78 err = pthread_create(&thr, NULL, child, NULL); in main()
/openbmc/linux/arch/powerpc/kernel/
H A Dprocess.c955 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()
997 if (!thr->regs) in tm_reclaim_task()
1000 if (!MSR_TM_ACTIVE(thr->regs->msr)) in tm_reclaim_task()
1007 tsk->pid, thr->regs->nip, in tm_reclaim_task()
1008 thr->regs->ccr, thr->regs->msr, in tm_reclaim_task()
1009 thr->regs->trap); in tm_reclaim_task()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dmmio_warning_test.c39 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 Dserial_mtk.c39 #define thr rbr macro
143 writel(ch, &priv->regs->thr); in mtk_serial_putc()
263 writel(ch, &regs->thr); in _debug_uart_putc()
H A Datmel_usart.c95 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/u-boot/arch/arm/mach-at91/include/mach/
H A Dat91_dbu.h23 u32 thr; /* Transmit Holding Register WO */ member
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A 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()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv.c828 int thr; in kvmppc_doorbell_pending() 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
1518 arg = thr; in kvmppc_emulate_doorbell_instr()
3330 int thr; in on_primary_thread() local
3336 thr = 0; in on_primary_thread()
3342 for (thr = 1; thr < threads_per_subcore; ++thr) { in on_primary_thread()
3722 int pcpu, thr; in kvmppc_run_core() local
3843 for (thr = 0; thr < controlled_threads; ++thr) { in kvmppc_run_core()
[all …]
/openbmc/qemu/tests/migration/
H A Dstress.c224 pthread_t thr; in stress() local
225 pthread_create(&thr, NULL, in stress()
/openbmc/linux/drivers/mmc/host/
H A Dmmci_stm32_sdmmc.c414 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/u-boot/arch/arm/include/asm/arch-pxa/
H A Dregs-uart.h16 uint32_t thr; member

123