Home
last modified time | relevance | path

Searched refs:thresh (Results 1 – 70 of 70) sorted by relevance

/linux-4.4.14/fs/btrfs/
Dasync-thread.c53 int thresh; member
98 int thresh) in __btrfs_alloc_workqueue() argument
107 if (thresh == 0) in __btrfs_alloc_workqueue()
108 thresh = DFT_THRESHOLD; in __btrfs_alloc_workqueue()
110 if (thresh < DFT_THRESHOLD) { in __btrfs_alloc_workqueue()
112 ret->thresh = NO_THRESHOLD; in __btrfs_alloc_workqueue()
120 ret->thresh = thresh; in __btrfs_alloc_workqueue()
149 int thresh) in btrfs_alloc_workqueue() argument
157 limit_active, thresh); in btrfs_alloc_workqueue()
165 thresh); in btrfs_alloc_workqueue()
[all …]
Dasync-thread.h73 int thresh);
Dioctl.c886 static int check_defrag_in_cache(struct inode *inode, u64 offset, u32 thresh) in check_defrag_in_cache() argument
900 if (end - offset > thresh) in check_defrag_in_cache()
904 thresh /= 2; in check_defrag_in_cache()
905 end = count_range_bits(io_tree, &offset, offset + thresh, in check_defrag_in_cache()
906 thresh, EXTENT_DELALLOC, 1); in check_defrag_in_cache()
907 if (end >= thresh) in check_defrag_in_cache()
921 u64 *off, u32 thresh) in find_new_extents() argument
955 btrfs_file_extent_num_bytes(leaf, extent) < thresh && in find_new_extents()
956 check_defrag_in_cache(inode, min_key.offset, thresh)) { in find_new_extents()
1030 static int should_defrag_range(struct inode *inode, u64 start, u32 thresh, in should_defrag_range() argument
[all …]
Dsuper.c1978 u64 thresh = 0; in btrfs_statfs() local
2041 thresh = 4 * 1024 * 1024; in btrfs_statfs()
2043 if (total_free_meta - thresh < block_rsv->size) in btrfs_statfs()
Dextent-tree.c4226 u64 thresh; in should_alloc_chunk() local
4244 thresh = btrfs_super_total_bytes(root->fs_info->super_copy); in should_alloc_chunk()
4245 thresh = max_t(u64, 64 * 1024 * 1024, in should_alloc_chunk()
4246 div_factor_fine(thresh, 1)); in should_alloc_chunk()
4248 if (num_bytes - num_allocated < thresh) in should_alloc_chunk()
4285 u64 thresh; in check_system_chunk() local
4305 thresh = btrfs_calc_trunc_metadata_size(root, num_devs) + in check_system_chunk()
4308 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) { in check_system_chunk()
4310 left, thresh, type); in check_system_chunk()
4314 if (left < thresh) { in check_system_chunk()
[all …]
Dextent_io.c3399 int thresh = 8192; in writepage_delalloc() local
3401 if (delalloc_to_write < thresh * 2) in writepage_delalloc()
3402 thresh = delalloc_to_write; in writepage_delalloc()
3404 thresh); in writepage_delalloc()
/linux-4.4.14/include/trace/events/
Dhost1x.h169 TP_PROTO(const char *name, int count, u32 thresh),
171 TP_ARGS(name, count, thresh),
176 __field(u32, thresh)
182 __entry->thresh = thresh;
186 __entry->name, __entry->count, __entry->thresh)
226 TP_PROTO(struct host1x_bo *bo, u32 offset, u32 syncpt_id, u32 thresh,
229 TP_ARGS(bo, offset, syncpt_id, thresh, min),
235 __field(u32, thresh)
243 __entry->thresh = thresh;
249 __entry->syncpt_id, __entry->thresh,
Dwriteback.h520 unsigned long thresh,
532 TP_ARGS(wb, thresh, bg_thresh, dirty, bdi_thresh, bdi_dirty,
555 unsigned long freerun = (thresh + bg_thresh) / 2;
563 bdi_thresh / (thresh + 1);
/linux-4.4.14/mm/
Dpage-writeback.c138 unsigned long thresh; /* dirty threshold */ member
364 unsigned long thresh; in domain_dirty_limits() local
387 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); in domain_dirty_limits()
389 thresh = (ratio * available_memory) / 100; in domain_dirty_limits()
396 if (bg_thresh >= thresh) in domain_dirty_limits()
397 bg_thresh = thresh / 2; in domain_dirty_limits()
401 thresh += thresh / 4; in domain_dirty_limits()
403 dtc->thresh = thresh; in domain_dirty_limits()
408 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits()
427 *pdirty = gdtc.thresh; in global_dirty_limits()
[all …]
/linux-4.4.14/drivers/gpu/host1x/
Dintr.c51 u32 thresh = waiter->thresh; in add_waiter_to_queue() local
54 if ((s32)(pos->thresh - thresh) <= 0) { in add_waiter_to_queue()
74 if ((s32)(waiter->thresh - sync) > 0) in remove_completed_waiters()
103 u32 thresh = in reset_threshold_interrupt() local
104 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt()
106 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in reset_threshold_interrupt()
118 waiter->count, waiter->thresh); in action_submit_complete()
212 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, in host1x_intr_add_action() argument
229 waiter->thresh = thresh; in host1x_intr_add_action()
243 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in host1x_intr_add_action()
Dsyncpt.c179 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired() argument
182 return host1x_syncpt_is_expired(sp, thresh); in syncpt_load_min_is_expired()
188 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait() argument
201 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
209 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
228 err = host1x_intr_add_action(sp->host, sp->id, thresh, in host1x_syncpt_wait()
243 syncpt_load_min_is_expired(sp, thresh), in host1x_syncpt_wait()
245 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
260 thresh, timeout); in host1x_syncpt_wait()
278 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired() argument
[all …]
Dintr.h59 u32 thresh; member
78 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh,
Ddev.h85 struct host1x *host, u32 id, u32 thresh);
185 u32 id, u32 thresh) in host1x_hw_intr_set_syncpt_threshold() argument
187 host->intr_op->set_syncpt_threshold(host, id, thresh); in host1x_hw_intr_set_syncpt_threshold()
Djob.h41 u32 thresh; member
Dsyncpt.h107 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
Djob.c159 wait->syncpt_id, wait->thresh, in do_waitchks()
162 if (host1x_syncpt_is_expired(sp, wait->thresh)) { in do_waitchks()
165 wait->syncpt_id, sp->name, wait->thresh, in do_waitchks()
/linux-4.4.14/drivers/thermal/
Dqcom-spmi-temp-alarm.c62 unsigned int thresh; member
106 chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_update_temp_no_adc()
111 chip->thresh * TEMP_THRESH_STEP - in qpnp_tm_update_temp_no_adc()
168 chip->thresh = THRESH_MIN; in qpnp_tm_init()
178 chip->temp = chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_init()
186 reg = chip->thresh & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init()
/linux-4.4.14/arch/powerpc/perf/
Dmpc7450-pmu.c159 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()
272 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local
307 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_compute_mmcr()
308 mmcr0 |= thresh << 16; in mpc7450_compute_mmcr()
/linux-4.4.14/Documentation/devicetree/bindings/iio/accel/
Dlis302.txt29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold
77 st,click-thresh-x = <10>;
78 st,click-thresh-y = <10>;
79 st,click-thresh-z = <10>;
101 st,click-thresh-x = <10>;
102 st,click-thresh-y = <10>;
103 st,click-thresh-z = <10>;
/linux-4.4.14/drivers/cpuidle/governors/
Dmenu.c202 unsigned int max, thresh; in get_typical_interval() local
205 thresh = UINT_MAX; /* Discard outliers above this value */ in get_typical_interval()
215 if (value <= thresh) { in get_typical_interval()
231 if (value <= thresh) { in get_typical_interval()
275 thresh = max - 1; in get_typical_interval()
/linux-4.4.14/include/linux/
Dnetfilter.h52 int thresh; member
65 int thresh, u_int8_t pf, in nf_hook_state_init() argument
73 p->thresh = thresh; in nf_hook_state_init()
178 int thresh) in nf_hook_thresh() argument
185 nf_hook_state_init(&state, hook_list, hook, thresh, in nf_hook_thresh()
222 int thresh) in NF_HOOK_THRESH() argument
224 int ret = nf_hook_thresh(pf, hook, net, sk, skb, in, out, okfn, thresh); in NF_HOOK_THRESH()
Digmp.h105 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument
106 ((value) < (thresh) ? (value) : \
Dwriteback.h363 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
Dhost1x.h141 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
/linux-4.4.14/drivers/isdn/i4l/
Disdn_audio.c507 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-4.4.14/arch/arm/boot/dts/
Domap3-gta04a3.dts29 st,click-thresh-x = <8>;
30 st,click-thresh-y = <8>;
31 st,click-thresh-z = <10>;
Domap3-overo-common-peripherals.dtsi66 st,click-thresh-x = <10>;
67 st,click-thresh-y = <10>;
68 st,click-thresh-z = <10>;
Dam335x-evmsk.dts466 st,click-thresh-x = <10>;
467 st,click-thresh-y = <10>;
468 st,click-thresh-z = <10>;
Dam335x-evm.dts455 st,click-thresh-x = <10>;
456 st,click-thresh-y = <10>;
457 st,click-thresh-z = <10>;
/linux-4.4.14/Documentation/devicetree/bindings/iio/light/
Dus5182d.txt22 There will be no dark-gain compensation by default when ALS > thresh
23 (0 * dark-gain), and a 1.35 compensation factor when ALS < thresh.
/linux-4.4.14/drivers/soc/ti/
Dknav_dma.c88 u32 thresh[3]; member
191 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_start()
192 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_start()
193 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_start()
236 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_stop()
237 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_stop()
238 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_stop()
333 chan->cfg.u.rx.thresh); in dma_debug_show_channels()
/linux-4.4.14/drivers/gpu/host1x/hw/
Dintr_hw.c109 u32 id, u32 thresh) in _host1x_intr_set_syncpt_threshold() argument
111 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); in _host1x_intr_set_syncpt_threshold()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c140 unsigned long index, thresh = 0, end = phys->size; in bts_config_buffer() local
152 thresh = end - BTS_SAFETY_MARGIN; in bts_config_buffer()
154 thresh = end - BTS_RECORD_SIZE; in bts_config_buffer()
156 thresh = end; in bts_config_buffer()
163 ? ds->bts_buffer_base + thresh in bts_config_buffer()
Dperf_event_intel_ds.c326 int max, thresh; in alloc_bts_buffer() local
339 thresh = max / 16; in alloc_bts_buffer()
346 thresh * BTS_RECORD_SIZE; in alloc_bts_buffer()
Dperf_event_intel_uncore_snbep.c219 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
220 DEFINE_UNCORE_FORMAT_ATTR(thresh5, thresh, "config:24-28");
Dperf_event_intel_uncore_nhmex.c194 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31");
/linux-4.4.14/include/uapi/drm/
Dtegra_drm.h55 __u32 thresh; member
113 __u32 thresh; member
/linux-4.4.14/net/ipv4/
Dinet_connection_sock.c490 static inline void syn_ack_recalc(struct request_sock *req, const int thresh, in syn_ack_recalc() argument
496 *expire = req->num_timeout >= thresh; in syn_ack_recalc()
500 *expire = req->num_timeout >= thresh && in syn_ack_recalc()
563 int max_retries, thresh; in reqsk_timer_handler() local
570 thresh = max_retries; in reqsk_timer_handler()
592 while (thresh > 2) { in reqsk_timer_handler()
595 thresh--; in reqsk_timer_handler()
602 syn_ack_recalc(req, thresh, max_retries, defer_accept, in reqsk_timer_handler()
Dtcp_cdg.c173 s32 thresh = max(ca->delay_min + ca->delay_min / 8U, in tcp_cdg_hystart_update() local
176 if (ca->rtt.min > thresh) { in tcp_cdg_hystart_update()
/linux-4.4.14/drivers/regulator/
Dda903x.c197 int thresh, sel; in da9030_map_ldo14_voltage() local
204 thresh = (info->max_uV + info->desc.min_uV) / 2; in da9030_map_ldo14_voltage()
205 if (min_uV < thresh) { in da9030_map_ldo14_voltage()
206 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); in da9030_map_ldo14_voltage()
209 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); in da9030_map_ldo14_voltage()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.h225 u32 thresh; /* Threshold level for interrupt */ member
249 u16 thresh; member
261 u16 thresh; member
Dnicvf_queues.c178 rbdr->thresh = RBDR_THRESH; in nicvf_init_rbdr()
333 cq->thresh = CMP_QUEUE_CQE_THRESH; in nicvf_init_cmp_queue()
367 sq->thresh = SND_QUEUE_THRESH; in nicvf_init_snd_queue()
595 nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_THRESH, qidx, cq->thresh); in nicvf_cmp_queue_config()
644 nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_THRESH, qidx, sq->thresh); in nicvf_snd_queue_config()
688 qidx, rbdr->thresh - 1); in nicvf_rbdr_config()
/linux-4.4.14/drivers/input/mouse/
Dtrackpoint.c226 TRACKPOINT_INT_ATTR(thresh, TP_THRESH, TP_DEF_THRESH);
313 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, thresh); in trackpoint_sync()
334 TRACKPOINT_SET_POWER_ON_DEFAULT(tp, thresh); in trackpoint_defaults()
Dtrackpoint.h142 unsigned char thresh, upthresh; member
/linux-4.4.14/arch/arm/mach-pxa/
Dsharpsl_pm.c191 struct battery_thresh *thresh; in get_percentage() local
194thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_aci… in get_percentage()
196thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noa… in get_percentage()
198 while (i > 0 && (voltage > thresh[i].voltage)) in get_percentage()
201 return thresh[i].percentage; in get_percentage()
/linux-4.4.14/include/linux/soc/ti/
Dknav_dma.h112 enum knav_dma_rx_thresholds thresh; member
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-fpa-defs.h1203 uint64_t thresh:32; member
1205 uint64_t thresh:32;
1258 uint64_t thresh:32; member
1260 uint64_t thresh:32;
1267 uint64_t thresh:29; member
1269 uint64_t thresh:29;
1484 uint64_t thresh:32; member
1486 uint64_t thresh:32;
Dcvmx-gmxx-defs.h6853 uint64_t thresh:6; member
6855 uint64_t thresh:6;
6909 uint64_t thresh:4; member
6911 uint64_t thresh:4;
/linux-4.4.14/fs/jfs/
Djfs_types.h145 u8 thresh; /* Alert Threshold (in percent) */ member
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dpio.c675 u32 thresh; in sc_alloc() local
770 thresh = sc_percent_to_threshold(sc, 50); in sc_alloc()
772 thresh = sc_percent_to_threshold(sc, in sc_alloc()
775 thresh = sc_mtu_to_threshold(sc, hfi1_max_mtu, hdrqentsize); in sc_alloc()
777 reg = thresh << SC(CREDIT_CTRL_THRESHOLD_SHIFT); in sc_alloc()
826 thresh); in sc_alloc()
/linux-4.4.14/net/netfilter/
Dnf_queue.c186 entry->state.thresh = INT_MIN; in nf_reinject()
Dcore.c268 if (state->thresh > (*elemp)->priority) in nf_iterate()
/linux-4.4.14/drivers/misc/
Dapds990x.c900 unsigned long thresh; in apds990x_set_lux_thresh() local
903 ret = kstrtoul(buf, 0, &thresh); in apds990x_set_lux_thresh()
907 if (thresh > APDS_RANGE) in apds990x_set_lux_thresh()
911 *target = thresh; in apds990x_set_lux_thresh()
Dbh1770glc.c1066 unsigned long thresh; in bh1770_set_lux_thresh() local
1069 ret = kstrtoul(buf, 0, &thresh); in bh1770_set_lux_thresh()
1073 if (thresh > BH1770_LUX_RANGE) in bh1770_set_lux_thresh()
1077 *target = thresh; in bh1770_set_lux_thresh()
/linux-4.4.14/drivers/crypto/
Dpicoxcell_crypto.c1194 unsigned long thresh; in spacc_stat_irq_thresh_store() local
1196 if (kstrtoul(buf, 0, &thresh)) in spacc_stat_irq_thresh_store()
1199 thresh = clamp(thresh, 1UL, engine->fifo_sz - 1); in spacc_stat_irq_thresh_store()
1201 engine->stat_irq_thresh = thresh; in spacc_stat_irq_thresh_store()
/linux-4.4.14/tools/perf/
Dbuiltin-timechart.c1457 int thresh = tchart->io_events ? BYTES_THRESH : TIME_THRESH; in write_svg_file() local
1468 count = determine_display_io_tasks(tchart, thresh); in write_svg_file()
1470 count = determine_display_tasks(tchart, thresh); in write_svg_file()
1471 thresh /= 10; in write_svg_file()
1472 } while (!process_filter && thresh && count < tchart->proc_num); in write_svg_file()
/linux-4.4.14/fs/ocfs2/
Djournal.h262 int thresh);
Djournal.c471 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans() argument
478 trace_ocfs2_allocate_extend_trans(old_nblks, thresh); in ocfs2_allocate_extend_trans()
480 if (old_nblks < thresh) in ocfs2_allocate_extend_trans()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dar9003_mci.c804 u32 thresh; in ar9003_mci_osla_setup() local
819 thresh = MS(mci->config, ATH_MCI_CONFIG_AGGR_THRESH); in ar9003_mci_osla_setup()
821 AR_BTCOEX_CTRL_AGGR_THRESH, thresh); in ar9003_mci_osla_setup()
/linux-4.4.14/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c372 gmxx_tx_spi_thresh.s.thresh = 4; in cvmx_spi_calendar_setup_cb()
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1544 int unused, thresh; in pch_gbe_clean_tx() local
1555 thresh = tx_ring->count - PCH_GBE_TX_WEIGHT; in pch_gbe_clean_tx()
1556 if ((tx_desc->gbec_status == DSC_INIT16) && (unused < thresh)) in pch_gbe_clean_tx()
/linux-4.4.14/fs/ext4/
Dresize.c380 static int extend_or_restart_transaction(handle_t *handle, int thresh) in extend_or_restart_transaction() argument
384 if (ext4_handle_has_enough_credits(handle, thresh)) in extend_or_restart_transaction()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddrm.c521 return host1x_syncpt_wait(sp, args->thresh, args->timeout, in tegra_syncpt_wait()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dsky2.c1536 unsigned i, thresh; in sky2_rx_start() local
1571 thresh = sky2_get_rx_threshold(sky2); in sky2_rx_start()
1572 if (thresh > 0x1ff) in sky2_rx_start()
1575 sky2_write16(hw, SK_REG(sky2->port, RX_GMF_TR_THR), thresh); in sky2_rx_start()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c3586 wlc_lcnphy_samp_cap(struct brcms_phy *pi, int clip_detect_algo, u16 thresh, in wlc_lcnphy_samp_cap() argument
3652 if (imag > thresh || imag < -thresh) { in wlc_lcnphy_samp_cap()
/linux-4.4.14/firmware/keyspan_pda/
Dkeyspan_pda.S894 ;; a is now write_room. If thresh >= a, we can unthrottle
Dxircom_pgs.S955 ;; a is now write_room. If thresh >= a, we can unthrottle
/linux-4.4.14/kernel/sched/
Dfair.c2980 unsigned long thresh = sysctl_sched_latency; in place_entity() local
2987 thresh >>= 1; in place_entity()
2989 vruntime -= thresh; in place_entity()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_core.c1587 config.u.rx.thresh = DMA_THRESH_NONE; in netcp_setup_navigator_resources()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c2518 u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + in bnx2x_pbf_update() local
2522 REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh); in bnx2x_pbf_update()
2526 init_crd = thresh + 553 - 22; in bnx2x_pbf_update()