Home
last modified time | relevance | path

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

12

/linux/tools/perf/tests/shell/coresight/thread_loop/
H A Dthread_loop.c
/linux/tools/perf/tests/shell/coresight/memcpy_thread/
H A Dmemcpy_thread.c
/linux/tools/perf/tests/shell/coresight/unroll_loop_thread/
H A Dunroll_loop_thread.c
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat.c138 size_t thr; in check_ae() local
141 for (thr = 0; thr < hb_ctrs; thr++) { in check_ae()
142 u16 req = curr[thr].req_heartbeat_cnt; in check_ae()
143 u16 resp = curr[thr].resp_heartbeat_cnt; in check_ae()
144 u16 last = prev[thr].resp_heartbeat_cnt; in check_ae()
146 if ((thr == ADF_AE_ADMIN_THREAD || req != resp) && resp == last) { in check_ae()
147 u16 retry = ++count[thr]; in check_ae()
153 count[thr] = 0; in check_ae()
/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
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_private_mapped_file.c67 pthread_t thr; in TEST()
70 res = pthread_create(&thr, NULL, thr_futex_wait, _metadata); in TEST()
83 pthread_join(thr, NULL);
61 pthread_t thr; TEST() local
H A Dfutex_wait_uninitialized_heap.c62 pthread_t thr; in TEST()
72 ret = pthread_create(&thr, NULL, wait_thread, _metadata); in TEST()
84 pthread_join(thr, NULL);
59 pthread_t thr; TEST() local
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_meta.h44 #define META_CR_PERF_COUNT(ctrl, thr) \ argument
46 ((thr) << META_CR_PERF_COUNT_THR_SHIFT))
73 #define META_CR_CORE_REG(thr, reg_num, unit) \ argument
74 (((u32)(thr) << META_CR_TXUXXRXRQ_TX_S) | \
/linux/tools/testing/selftests/mm/
H A Dpkey_sighandler_tests.c208 pthread_t thr; in test_sigsegv_handler_with_pkey0_disabled()
223 ret = pthread_create(&thr, &attr, thread_segv_with_pkey0_disabled, NULL); in test_sigsegv_handler_with_pkey0_disabled()
251 pthread_t thr; in test_sigsegv_handler_cannot_access_stack()
266 ret = pthread_create(&thr, &attr, thread_segv_pkuerr_stack, NULL); in test_sigsegv_handler_cannot_access_stack()
209 pthread_t thr; test_sigsegv_handler_with_pkey0_disabled() local
249 pthread_t thr; test_sigsegv_handler_cannot_access_stack() local
/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()
/linux/drivers/mmc/host/
H A Dmmci_stm32_sdmmc.c415 u32 thr = 0; in sdmmc_get_dctrl_cfg() local
419 thr = ffs(min_t(unsigned int, host->data->blksz, in sdmmc_get_dctrl_cfg()
421 thr = min_t(u32, thr, MMCI_STM32_THR_MASK); in sdmmc_get_dctrl_cfg()
424 writel_relaxed(thr, host->base + MMCI_STM32_FIFOTHRR); in sdmmc_get_dctrl_cfg()
/linux/net/mac80211/
H A Dsta_info.c375 u32 thr; in sta_accumulate_removed_link_stats() local
394 thr = sta_get_expected_throughput(sta); in sta_accumulate_removed_link_stats()
395 if (thr != 0) in sta_accumulate_removed_link_stats()
396 sta->rem_link_stats.expected_throughput += thr; in sta_accumulate_removed_link_stats()
2846 u32 thr = 0; in sta_set_link_sinfo() local
3050 thr = sta_get_expected_throughput(sta); in sta_set_link_sinfo()
3051 if (!thr && (link_sinfo->filled & BIT_ULL(NL80211_STA_INFO_TX_BITRATE))) in sta_set_link_sinfo()
3052 thr = sta_estimate_expected_throughput(sta, in sta_set_link_sinfo()
3056 if (thr != 0) { in sta_set_link_sinfo()
3059 link_sinfo->expected_throughput = thr; in sta_set_link_sinfo()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c214 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()
/linux/tools/testing/selftests/kvm/arm64/
H A Dvgic_irq.c986 pthread_t thr[2]; in test_vgic_two_cpus() local
1007 kvm_pthread_create(&thr[0], NULL, test_vcpu_run, vcpus[0]); in test_vgic_two_cpus()
1008 kvm_pthread_create(&thr[1], NULL, test_vcpu_run, vcpus[1]); in test_vgic_two_cpus()
1010 kvm_pthread_join(thr[0], NULL); in test_vgic_two_cpus()
1011 kvm_pthread_join(thr[1], NULL); in test_vgic_two_cpus()
/linux/arch/sh/include/asm/
H A Dsmc37c93x.h85 #define thr rbr macro
/linux/drivers/staging/media/meson/vdec/
H A 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/tools/testing/selftests/cgroup/
H A Dtest_core.c653 pthread_t thr; in test_cgcore_thread_migration() local
679 if (pthread_create(&thr, NULL, migrating_thread_fn, grps)) in test_cgcore_thread_migration()
682 if (pthread_join(thr, &retval)) in test_cgcore_thread_migration()
/linux/drivers/ipack/devices/
H A Dscc2698.h33 u8 d3, thr; /* Transmit holding register */ member
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h766 typeof(decay) thr = 1 << (decay); \
768 if (((old) < thr) || ((new) < thr)) { \
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dcfg80211.c3756 u32 thr, retry; in nxpwifi_register_cfg80211() local
3920 nxpwifi_get_802_11_snmp_mib(priv, FRAG_THRESH_I, &thr); in nxpwifi_register_cfg80211()
3921 wiphy->frag_threshold = thr; in nxpwifi_register_cfg80211()
3922 nxpwifi_get_802_11_snmp_mib(priv, RTS_THRESH_I, &thr); in nxpwifi_register_cfg80211()
3923 wiphy->rts_threshold = thr; in nxpwifi_register_cfg80211()
/linux/sound/soc/codecs/
H A Dtas2781-i2c.c1428 reg = TASDEVICE_REG(t->thr[0], t->thr[1], t->thr[2]); in cali_reg_update()
/linux/drivers/nvme/target/
H A Dadmin-cmd.c1283 .thr = cdw11 & 0xff, in nvmet_set_feat_irq_coalesce()
1433 nvmet_set_result(req, ((u32)irqc.time << 8) | (u32)irqc.thr); in nvmet_get_feat_irq_coalesce()
H A Dnvmet.h986 u8 thr; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c4705 u32 thr, retry; in mwifiex_register_cfg80211() local
4909 HostCmd_ACT_GEN_GET, FRAG_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4910 wiphy->frag_threshold = thr; in mwifiex_register_cfg80211()
4912 HostCmd_ACT_GEN_GET, RTS_THRESH_I, &thr, true); in mwifiex_register_cfg80211()
4913 wiphy->rts_threshold = thr; in mwifiex_register_cfg80211()
/linux/arch/mips/include/asm/octeon/
H A 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;

12