| /drivers/crypto/intel/qat/qat_common/ |
| A D | adf_heartbeat.c | 138 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()
|
| A D | adf_hw_arbiter.c | 103 int adf_disable_arb_thd(struct adf_accel_dev *accel_dev, u32 ae, u32 thr) in adf_disable_arb_thd() argument 111 if (ADF_AE_STRAND0_THREAD == thr || ADF_AE_STRAND1_THREAD == thr) in adf_disable_arb_thd() 112 thr = ADF_AE_ADMIN_THREAD; in adf_disable_arb_thd() 121 ae_thr_map &= ~(GENMASK(3, 0) << (thr * BIT(2))); in adf_disable_arb_thd()
|
| A D | adf_heartbeat_inject.c | 24 u32 thr) in adf_set_hb_counters_fail() argument 30 size_t thr_id = ae * hb_ctrs + thr; in adf_set_hb_counters_fail()
|
| A D | adf_common_drv.h | 95 int adf_disable_arb_thd(struct adf_accel_dev *accel_dev, u32 ae, u32 thr);
|
| /drivers/tty/serial/ |
| 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
|
| /drivers/gpu/drm/imagination/ |
| A D | pvr_rogue_meta.h | 44 #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) | \
|
| /drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
| A D | ia_css_bnlm.host.c | 62 lut->thr[0][i] = 0; in bnlm_lut_encode() 68 lut->thr[0][i] = lut_thr[i]; in bnlm_lut_encode() 78 lut->thr[0][blk_offset + i] = lut->thr[0][i]; in bnlm_lut_encode()
|
| A D | ia_css_bnlm_param.h | 14 VMEM_ARRAY(thr, ISP_VEC_NELEMS); /* thresholds */
|
| /drivers/mmc/host/ |
| A D | mmci_stm32_sdmmc.c | 415 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()
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| 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()
|
| /drivers/staging/media/meson/vdec/ |
| A D | codec_vp9.c | 550 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()
|
| /drivers/ipack/devices/ |
| A D | scc2698.h | 33 u8 d3, thr; /* Transmit holding register */ member
|
| A D | ipoctal.c | 211 iowrite8(value, &channel->regs->w.thr); in ipoctal_irq_tx()
|
| /drivers/nvme/target/ |
| A D | admin-cmd.c | 1284 .thr = cdw11 & 0xff, in nvmet_set_feat_irq_coalesce() 1434 nvmet_set_result(req, ((u32)irqc.time << 8) | (u32)irqc.thr); in nvmet_get_feat_irq_coalesce()
|
| A D | nvmet.h | 961 u8 thr; member
|
| A D | pci-epf.c | 1458 irqc->thr = ctrl->irq_vector_threshold; in nvmet_pci_epf_get_feat() 1505 ctrl->irq_vector_threshold = irqc->thr + 1; in nvmet_pci_epf_set_feat()
|
| /drivers/net/wireless/marvell/mwifiex/ |
| A D | cfg80211.c | 4700 u32 thr, retry; in mwifiex_register_cfg80211() local 4904 HostCmd_ACT_GEN_GET, FRAG_THRESH_I, &thr, true); in mwifiex_register_cfg80211() 4905 wiphy->frag_threshold = thr; in mwifiex_register_cfg80211() 4907 HostCmd_ACT_GEN_GET, RTS_THRESH_I, &thr, true); in mwifiex_register_cfg80211() 4908 wiphy->rts_threshold = thr; in mwifiex_register_cfg80211()
|
| /drivers/net/ethernet/airoha/ |
| A D | airoha_eth.c | 762 int qid = q - &qdma->q_rx[0], thr; in airoha_qdma_init_rx_queue() local 794 thr = clamp(ndesc >> 3, 1, 32); in airoha_qdma_init_rx_queue() 796 FIELD_PREP(RX_RING_THR_MASK, thr)); in airoha_qdma_init_rx_queue()
|