Home
last modified time | relevance | path

Searched refs:interval_us (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/net/ipv4/
Dtcp_rate.c104 rs->interval_us = tcp_stamp_us_delta(tp->first_tx_mstamp, in tcp_rate_skb_delivered()
143 rs->interval_us = -1; in tcp_rate_gen()
157 snd_us = rs->interval_us; /* send phase */ in tcp_rate_gen()
160 rs->interval_us = max(snd_us, ack_us); in tcp_rate_gen()
173 if (unlikely(rs->interval_us < tcp_min_rtt(tp))) { in tcp_rate_gen()
176 rs->interval_us, rs->delivered, in tcp_rate_gen()
179 rs->interval_us = -1; in tcp_rate_gen()
186 (u64)tp->rate_delivered * rs->interval_us)) { in tcp_rate_gen()
188 tp->rate_interval_us = rs->interval_us; in tcp_rate_gen()
Dtcp_bbr.c440 u64 now_ns, edt_ns, interval_us; in bbr_packets_in_net_at_edt() local
445 interval_us = div_u64(edt_ns - now_ns, NSEC_PER_USEC); in bbr_packets_in_net_at_edt()
446 interval_delivered = (u64)bbr_bw(sk) * interval_us >> BW_SCALE; in bbr_packets_in_net_at_edt()
767 if (rs->delivered < 0 || rs->interval_us <= 0) in bbr_update_bw()
784 bw = div64_long((u64)rs->delivered * BW_UNIT, rs->interval_us); in bbr_update_bw()
824 rs->delivered < 0 || rs->interval_us <= 0) in bbr_update_ack_aggregation()
/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve_dqo.h60 static inline u32 gve_setup_itr_interval_dqo(u32 interval_us) in gve_setup_itr_interval_dqo() argument
65 interval_us >>= 1; in gve_setup_itr_interval_dqo()
67 interval_us &= GVE_ITR_INTERVAL_DQO_MASK; in gve_setup_itr_interval_dqo()
68 result |= (interval_us << GVE_ITR_INTERVAL_DQO_SHIFT); in gve_setup_itr_interval_dqo()
/linux-6.6.21/net/bridge/
Dbr_cfm.c130 u32 interval_us; in ccm_rx_timer_start() local
132 interval_us = interval_to_us(peer_mep->mep->cc_config.exp_interval); in ccm_rx_timer_start()
138 usecs_to_jiffies(interval_us / 4)); in ccm_rx_timer_start()
272 u32 interval_us; in ccm_tx_work_expired() local
287 interval_us = interval_to_us(mep->cc_config.exp_interval); in ccm_tx_work_expired()
289 usecs_to_jiffies(interval_us)); in ccm_tx_work_expired()
/linux-6.6.21/kernel/irq/
Dtimings.c441 u64 interval_us = (interval >> 10) / PREDICTION_FACTOR; in irq_timings_interval_index() local
443 return likely(interval_us) ? ilog2(interval_us) : 0; in irq_timings_interval_index()
/linux-6.6.21/mm/damon/
Dsysfs-schemes.c610 unsigned long interval_us; member
617 enum damos_wmark_metric metric, unsigned long interval_us, in damon_sysfs_watermarks_alloc() argument
627 watermarks->interval_us = interval_us; in damon_sysfs_watermarks_alloc()
672 return sysfs_emit(buf, "%lu\n", watermarks->interval_us); in interval_us_show()
680 int err = kstrtoul(buf, 0, &watermarks->interval_us); in interval_us_store()
751 __ATTR_RW_MODE(interval_us, 0600);
1610 .interval = sysfs_wmarks->interval_us, in damon_sysfs_mk_scheme()
1656 scheme->wmarks.interval = sysfs_wmarks->interval_us; in damon_sysfs_update_scheme()
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst83 │ │ │ │ │ │ │ watermarks/metric,interval_us,high,mid,low
263 在水位目录下,存在五个文件(``metric``, ``interval_us``,``high``, ``mid``, and ``low``)
330 # echo 5000000 > watermarks/interval_us
/linux-6.6.21/drivers/bus/mhi/host/
Dpm.c165 u32 interval_us = 25000; /* poll register field every 25 milliseconds */ in mhi_ready_state_transition() local
176 MHICTRL_RESET_MASK, 0, interval_us); in mhi_ready_state_transition()
183 MHISTATUS_READY_MASK, 1, interval_us); in mhi_ready_state_transition()
1074 u32 interval_us = 25000; /* poll register field every 25 milliseconds */ in mhi_async_power_up() local
1114 MHICTRL_RESET_MASK, 0, interval_us); in mhi_async_power_up()
/linux-6.6.21/drivers/iio/adc/
Dqcom-spmi-iadc.c246 static int iadc_poll_wait_eoc(struct iadc_chip *iadc, unsigned int interval_us) in iadc_poll_wait_eoc() argument
252 retry = interval_us / IADC_CONV_TIME_MIN_US; in iadc_poll_wait_eoc()
Dqcom-spmi-vadc.c251 static int vadc_poll_wait_eoc(struct vadc_priv *vadc, unsigned int interval_us) in vadc_poll_wait_eoc() argument
257 retry = interval_us / VADC_CONV_TIME_MIN_US; in vadc_poll_wait_eoc()
/linux-6.6.21/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h144 long interval_us; /* time for tp->delivered to incr "delivered" */ member
/linux-6.6.21/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c1427 u32 resp, interval, interval_us; in cdns_mhdp_link_up() local
1486 interval_us = cdns_mhdp_get_training_interval_us(mhdp, interval); in cdns_mhdp_link_up()
1487 if (!interval_us || in cdns_mhdp_link_up()
1488 cdns_mhdp_link_training(mhdp, interval_us)) { in cdns_mhdp_link_up()
/linux-6.6.21/sound/soc/sof/
Dops.h625 u32 interval_us);
/linux-6.6.21/Documentation/admin-guide/mm/damon/
Dusage.rst86 │ │ │ │ │ │ │ watermarks/metric,interval_us,high,mid,low
342 Under the watermarks directory, five files (``metric``, ``interval_us``,
489 # echo 5000000 > watermarks/interval_us
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon238 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/interval_us
/linux-6.6.21/include/net/
Dtcp.h1051 long interval_us; /* time for tp->delivered to incr "delivered" */ member
/linux-6.6.21/drivers/ufs/core/
Dufshcd.c708 u32 val, unsigned long interval_us, in ufshcd_wait_for_register() argument
718 usleep_range(interval_us, interval_us + 50); in ufshcd_wait_for_register()