/linux-2.6.39/arch/powerpc/kernel/ |
D | mpc7450-pmu.c | 159 int thresh, tuse; in mpc7450_get_constraint() local 175 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_get_constraint() 177 value |= thresh << 24; in mpc7450_get_constraint() 271 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local 306 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_compute_mmcr() 307 mmcr0 |= thresh << 16; in mpc7450_compute_mmcr()
|
/linux-2.6.39/drivers/isdn/i4l/ |
D | isdn_audio.c | 507 int thresh; in isdn_audio_eval_dtmf() local 514 thresh = 0; in isdn_audio_eval_dtmf() 517 if (result[i] > thresh) in isdn_audio_eval_dtmf() 518 thresh = result[i]; in isdn_audio_eval_dtmf() 526 if (thresh > 0) { in isdn_audio_eval_dtmf() 527 thresh = thresh >> 4; /* touchtones must match within 12 dB */ in isdn_audio_eval_dtmf() 529 if (result[i] < thresh) in isdn_audio_eval_dtmf()
|
/linux-2.6.39/include/linux/ |
D | netfilter.h | 166 int (*okfn)(struct sk_buff *), int thresh); 179 int (*okfn)(struct sk_buff *), int thresh) in nf_hook_thresh() argument 185 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh); in nf_hook_thresh() 215 int (*okfn)(struct sk_buff *), int thresh) in NF_HOOK_THRESH() argument 217 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh); in NF_HOOK_THRESH() 354 int (*okfn)(struct sk_buff *), int thresh) in nf_hook_thresh() argument
|
D | igmp.h | 212 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument 213 ((value) < (thresh) ? (value) : \
|
/linux-2.6.39/include/net/ |
D | mld.h | 68 #define MLDV2_EXP(thresh, nbmant, nbexp, value) \ argument 69 ((value) < (thresh) ? (value) : \
|
/linux-2.6.39/net/ipv4/ |
D | inet_connection_sock.c | 447 static inline void syn_ack_recalc(struct request_sock *req, const int thresh, in syn_ack_recalc() argument 453 *expire = req->retrans >= thresh; in syn_ack_recalc() 457 *expire = req->retrans >= thresh && in syn_ack_recalc() 477 int thresh = max_retries; in inet_csk_reqsk_queue_prune() local 505 while (thresh > 2) { in inet_csk_reqsk_queue_prune() 508 thresh--; in inet_csk_reqsk_queue_prune() 525 syn_ack_recalc(req, thresh, max_retries, in inet_csk_reqsk_queue_prune()
|
/linux-2.6.39/arch/x86/kernel/cpu/ |
D | perf_event_intel_ds.c | 81 int max, thresh = 1; /* always use a single PEBS record */ in alloc_pebs_buffer() local 99 thresh * x86_pmu.pebs_record_size; in alloc_pebs_buffer() 119 int max, thresh; in alloc_bts_buffer() local 130 thresh = max / 16; in alloc_bts_buffer() 137 thresh * BTS_RECORD_SIZE; in alloc_bts_buffer()
|
/linux-2.6.39/drivers/regulator/ |
D | da903x.c | 226 int thresh; in da9030_set_ldo14_voltage() local 233 thresh = (info->max_uV + info->min_uV) / 2; in da9030_set_ldo14_voltage() 234 if (min_uV < thresh) { in da9030_set_ldo14_voltage() 235 val = (thresh - min_uV + info->step_uV - 1) / info->step_uV; in da9030_set_ldo14_voltage() 238 val = (min_uV - thresh + info->step_uV - 1) / info->step_uV; in da9030_set_ldo14_voltage()
|
/linux-2.6.39/drivers/input/mouse/ |
D | trackpoint.c | 152 TRACKPOINT_INT_ATTR(thresh, TP_THRESH); 225 trackpoint_write(&psmouse->ps2dev, TP_THRESH, tp->thresh); in trackpoint_sync() 256 tp->thresh = TP_DEF_THRESH; in trackpoint_defaults()
|
D | trackpoint.h | 136 unsigned char thresh, upthresh; member
|
/linux-2.6.39/arch/arm/mach-pxa/ |
D | sharpsl_pm.c | 192 struct battery_thresh *thresh; in get_percentage() local 195 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_aci… in get_percentage() 197 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noa… in get_percentage() 199 while (i > 0 && (voltage > thresh[i].voltage)) in get_percentage() 202 return thresh[i].percentage; in get_percentage()
|
/linux-2.6.39/fs/jfs/ |
D | jfs_types.h | 134 u8 thresh; /* Alert Threshold (in percent) */ member
|
/linux-2.6.39/drivers/misc/ |
D | apds990x.c | 897 unsigned long thresh; in apds990x_set_lux_thresh() local 899 if (strict_strtoul(buf, 0, &thresh)) in apds990x_set_lux_thresh() 902 if (thresh > APDS_RANGE) in apds990x_set_lux_thresh() 906 *target = thresh; in apds990x_set_lux_thresh()
|
D | bh1770glc.c | 1051 unsigned long thresh; in bh1770_set_lux_thresh() local 1053 if (strict_strtoul(buf, 0, &thresh)) in bh1770_set_lux_thresh() 1056 if (thresh > BH1770_LUX_RANGE) in bh1770_set_lux_thresh() 1060 *target = thresh; in bh1770_set_lux_thresh()
|
/linux-2.6.39/drivers/crypto/ |
D | picoxcell_crypto.c | 1292 unsigned long thresh; in spacc_stat_irq_thresh_store() local 1294 if (strict_strtoul(buf, 0, &thresh)) in spacc_stat_irq_thresh_store() 1297 thresh = clamp(thresh, 1UL, engine->fifo_sz - 1); in spacc_stat_irq_thresh_store() 1299 engine->stat_irq_thresh = thresh; in spacc_stat_irq_thresh_store()
|
/linux-2.6.39/fs/btrfs/ |
D | ioctl.c | 659 int thresh, u64 *last_len, u64 *skip, in should_defrag_range() argument 668 if (thresh == 0) in should_defrag_range() 669 thresh = 256 * 1024; in should_defrag_range() 705 if ((*last_len == 0 || *last_len >= thresh) && em->len >= thresh) in should_defrag_range()
|
D | disk-io.c | 872 unsigned long thresh = 32 * 1024 * 1024; in btree_writepages() local 879 if (num_dirty < thresh) in btree_writepages() 2663 unsigned long thresh = 32 * 1024 * 1024; in btrfs_btree_balance_dirty() local 2670 if (num_dirty > thresh) { in btrfs_btree_balance_dirty()
|
D | extent-tree.c | 3274 u64 thresh; in should_alloc_chunk() local 3284 thresh = btrfs_super_total_bytes(&root->fs_info->super_copy); in should_alloc_chunk() 3285 thresh = max_t(u64, 64 * 1024 * 1024, in should_alloc_chunk() 3286 div_factor_fine(thresh, 1)); in should_alloc_chunk() 3288 if (num_bytes - num_allocated < thresh) in should_alloc_chunk() 3306 thresh = btrfs_super_total_bytes(&root->fs_info->super_copy); in should_alloc_chunk() 3309 thresh = max_t(u64, 256 * 1024 * 1024, div_factor_fine(thresh, 5)); in should_alloc_chunk() 3311 if (num_bytes > thresh && sinfo->bytes_used < div_factor(num_bytes, 3)) in should_alloc_chunk()
|
D | extent_io.c | 2285 int thresh = 8192; in __extent_writepage() local 2287 if (delalloc_to_write < thresh * 2) in __extent_writepage() 2288 thresh = delalloc_to_write; in __extent_writepage() 2290 thresh); in __extent_writepage()
|
/linux-2.6.39/fs/ext3/ |
D | resize.c | 161 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction() argument 166 if (handle->h_buffer_credits >= thresh) in extend_or_restart_transaction()
|
/linux-2.6.39/fs/ext4/ |
D | resize.c | 135 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction() argument 140 if (ext4_handle_has_enough_credits(handle, thresh)) in extend_or_restart_transaction()
|
/linux-2.6.39/drivers/staging/octeon/ |
D | cvmx-spi.c | 371 gmxx_tx_spi_thresh.s.thresh = 4; in cvmx_spi_calendar_setup_cb()
|
/linux-2.6.39/kernel/ |
D | sched_fair.c | 950 unsigned long thresh = sysctl_sched_latency; in place_entity() local 957 thresh >>= 1; in place_entity() 959 vruntime -= thresh; in place_entity()
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_link.c | 1262 u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + in bnx2x_pbf_update() local 1266 REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh); in bnx2x_pbf_update() 1270 init_crd = thresh + 553 - 22; in bnx2x_pbf_update() 1274 init_crd = thresh + 664 - 22; in bnx2x_pbf_update() 1278 init_crd = thresh + 742 - 22; in bnx2x_pbf_update() 1282 init_crd = thresh + 778 - 22; in bnx2x_pbf_update()
|
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/ |
D | wlc_phy_lcn.c | 1013 u16 thresh, s16 *ptr, int mode); 3849 wlc_lcnphy_samp_cap(phy_info_t *pi, int clip_detect_algo, u16 thresh, in wlc_lcnphy_samp_cap() argument 3912 if (imag > thresh || imag < -thresh) { in wlc_lcnphy_samp_cap()
|