/drivers/gpu/host1x/ |
H A D | intr.h | 59 u32 thresh; member in struct:host1x_waitlist 70 * @thresh the threshold 78 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh,
|
H A D | job.h | 41 u32 thresh; member in struct:host1x_waitchk
|
H A D | intr.c | 51 u32 thresh = waiter->thresh; local 54 if ((s32)(pos->thresh - thresh) <= 0) { 74 if ((s32)(waiter->thresh - sync) > 0) 103 u32 thresh = local 104 list_first_entry(head, struct host1x_waitlist, list)->thresh; 106 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); 118 waiter->count, waiter->thresh); 212 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, argument [all...] |
H A D | syncpt.c | 179 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) argument 182 return host1x_syncpt_is_expired(sp, thresh); 188 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, argument 201 if (host1x_syncpt_is_expired(sp, thresh)) { 209 if (host1x_syncpt_is_expired(sp, thresh)) { 228 err = host1x_intr_add_action(sp->host, sp->id, thresh, 243 syncpt_load_min_is_expired(sp, thresh), 245 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { 260 thresh, timeout); 278 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) argument [all...] |
H A D | syncpt.h | 107 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
|
H A D | dev.h | 85 struct host1x *host, u32 id, u32 thresh); 185 u32 id, u32 thresh) 187 host->intr_op->set_syncpt_threshold(host, id, thresh); 184 host1x_hw_intr_set_syncpt_threshold(struct host1x *host, u32 id, u32 thresh) argument
|
H A D | job.c | 159 wait->syncpt_id, wait->thresh, 162 if (host1x_syncpt_is_expired(sp, wait->thresh)) { 164 "drop WAIT id %d (%s) thresh 0x%x, min 0x%x\n", 165 wait->syncpt_id, sp->name, wait->thresh,
|
/drivers/media/tuners/ |
H A D | msi001.c | 94 unsigned int n, m, thresh, frac, vco_step, tmp, f_if1; local 209 thresh = (F_REF * R_REF) / vco_step; 210 frac = 1ul * thresh * m / (F_REF * R_REF); 213 tmp = gcd(thresh, frac); 214 thresh /= tmp; 218 tmp = DIV_ROUND_UP(thresh, 4095); 219 thresh = DIV_ROUND_CLOSEST(thresh, tmp); 224 tmp += 1ul * F_REF * R_REF * frac / thresh; 227 dev_dbg(&s->spi->dev, "rf=%u:%u n=%d thresh [all...] |
/drivers/cpuidle/governors/ |
H A D | menu.c | 213 unsigned int max, thresh; local 216 thresh = UINT_MAX; /* Discard outliers above this value */ 226 if (value <= thresh) { 242 if (value <= thresh) { 286 thresh = max - 1;
|
/drivers/gpu/host1x/hw/ |
H A D | intr_hw.c | 109 u32 id, u32 thresh) 111 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); 108 _host1x_intr_set_syncpt_threshold(struct host1x *host, u32 id, u32 thresh) argument
|
/drivers/input/mouse/ |
H A D | trackpoint.h | 138 unsigned char thresh, upthresh; member in struct:trackpoint_data
|
H A D | trackpoint.c | 226 TRACKPOINT_INT_ATTR(thresh, TP_THRESH, TP_DEF_THRESH); 311 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, thresh); 331 TRACKPOINT_SET_POWER_ON_DEFAULT(tp, thresh);
|
/drivers/isdn/i4l/ |
H A D | isdn_audio.c | 507 int thresh; local 514 thresh = 0; 517 if (result[i] > thresh) 518 thresh = result[i]; 526 if (thresh > 0) { 527 thresh = thresh >> 4; /* touchtones must match within 12 dB */ 529 if (result[i] < thresh)
|
/drivers/soc/ti/ |
H A D | knav_dma.c | 88 u32 thresh[3]; member in struct:reg_rx_flow 191 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); 192 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); 193 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); 236 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); 237 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); 238 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); 331 seq_printf(s, "\t\t\tdst_q: [%d], thresh: %d fdq: ", 333 chan->cfg.u.rx.thresh);
|
/drivers/regulator/ |
H A D | da903x.c | 197 int thresh, sel; local 204 thresh = (info->max_uV + info->desc.min_uV) / 2; 205 if (min_uV < thresh) { 206 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); 209 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step);
|
/drivers/misc/ |
H A D | apds990x.c | 900 unsigned long thresh; local 903 ret = kstrtoul(buf, 0, &thresh); 907 if (thresh > APDS_RANGE) 911 *target = thresh;
|
H A D | bh1770glc.c | 1066 unsigned long thresh; local 1069 ret = kstrtoul(buf, 0, &thresh); 1073 if (thresh > BH1770_LUX_RANGE) 1077 *target = thresh;
|
/drivers/crypto/ |
H A D | picoxcell_crypto.c | 1283 unsigned long thresh; local 1285 if (kstrtoul(buf, 0, &thresh)) 1288 thresh = clamp(thresh, 1UL, engine->fifo_sz - 1); 1290 engine->stat_irq_thresh = thresh;
|
/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_mci.c | 796 u32 thresh; local 811 thresh = MS(mci->config, ATH_MCI_CONFIG_AGGR_THRESH); 813 AR_BTCOEX_CTRL_AGGR_THRESH, thresh);
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 1544 int unused, thresh; local 1555 thresh = tx_ring->count - PCH_GBE_TX_WEIGHT; 1556 if ((tx_desc->gbec_status == DSC_INIT16) && (unused < thresh))
|
/drivers/gpu/drm/tegra/ |
H A D | drm.c | 368 return host1x_syncpt_wait(sp, args->thresh, args->timeout,
|
/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 1539 unsigned i, thresh; local 1574 thresh = sky2_get_rx_threshold(sky2); 1575 if (thresh > 0x1ff) 1578 sky2_write16(hw, SK_REG(sky2->port, RX_GMF_TR_THR), thresh);
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 3586 wlc_lcnphy_samp_cap(struct brcms_phy *pi, int clip_detect_algo, u16 thresh, argument 3652 if (imag > thresh || imag < -thresh) {
|
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 2512 u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + local 2516 REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh); 2520 init_crd = thresh + 553 - 22;
|