Home
last modified time | relevance | path

Searched refs:burst (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Darb.c38 int burst; member
103 fifo->burst = cbs; in nv04_calc_arb()
174 fifo->burst = min(max_burst_o, 1024); in nv10_calc_arb()
178 fifo->burst = min(max_burst_l, fifo->burst); in nv10_calc_arb()
180 fifo->burst = rounddown_pow_of_two(fifo->burst); in nv10_calc_arb()
185 max_lwm = fifo_len - fifo->burst in nv10_calc_arb()
187 + fifo->burst * drain_rate / fill_rate; in nv10_calc_arb()
194 int *burst, int *lwm) in nv04_update_arb() argument
234 *burst = ilog2(fifo_data.burst >> 4); in nv04_update_arb()
239 nv20_update_arb(int *burst, int *lwm) in nv20_update_arb() argument
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/net/
Dlantiq,etop-xway.yaml32 lantiq,tx-burst-length:
35 TX programmable burst length.
38 lantiq,rx-burst-length:
41 RX programmable burst length.
51 - lantiq,tx-burst-length
52 - lantiq,rx-burst-length
65 lantiq,tx-burst-length = <8>;
66 lantiq,rx-burst-length = <8>;
Dsamsung-sxgbe.txt17 - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe
18 This is an integer and represents allowable DMA bursts when fixed burst.
19 Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled.
20 When fixed length is needed for burst mode, it can be set within allowable
48 samsung,burst-map = <0x20>
/linux-6.6.21/Documentation/devicetree/bindings/dma/
Drenesas,nbpfaxi.txt26 - max-burst-mem-read: limit burst size for memory reads
28 than using the maximum burst size allowed by the hardware's buffer size.
29 - max-burst-mem-write: limit burst size for memory writes
31 than using the maximum burst size allowed by the hardware's buffer size.
32 If both max-burst-mem-read and max-burst-mem-write are set, DMA_MEM_TO_MEM
Dqcom_hidma_mgmt.txt15 read/write in a single burst.
21 - max-write-burst-bytes: Maximum write burst in bytes that HIDMA can
26 - max-read-burst-bytes: Maximum read burst in bytes that HIDMA can
31 - max-write-transactions: This value is how many times a write burst is
34 - max-read-transactions: This value is how many times a read burst is
70 max-write-burst-bytes = <1024>;
71 max-read-burst-bytes = <1024>;
Dintel,ldma.yaml36 The third cell is the burst length of the channel.
69 instead of the whole burst.
79 Enable RX dynamic burst write. When it is enabled, the DMA does RX dynamic burst;
80 if it is disabled, the DMA RX will still support programmable fixed burst size of 2,4,8,16.
/linux-6.6.21/net/netfilter/
Dxt_limit.c111 if (r->burst == 0 in limit_mt_check()
112 || user2credits(r->avg * r->burst) < user2credits(r->avg)) { in limit_mt_check()
114 r->avg, r->burst); in limit_mt_check()
127 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check()
146 u_int32_t burst; member
162 .burst = cm->burst, in limit_mt_compat_from_user()
176 .burst = m->burst, in limit_mt_compat_to_user()
Dnft_limit.c28 u32 burst; member
77 priv->burst = ntohl(nla_get_be32(tb[NFTA_LIMIT_BURST])); in nft_limit_init()
79 if (pkts && priv->burst == 0) in nft_limit_init()
80 priv->burst = NFT_LIMIT_PKT_BURST_DEFAULT; in nft_limit_init()
82 if (check_add_overflow(priv->rate, priv->burst, &rate_with_burst)) in nft_limit_init()
88 if (check_mul_overflow(tmp, priv->burst, &tokens)) in nft_limit_init()
136 nla_put_be32(skb, NFTA_LIMIT_BURST, htonl(priv->burst)) || in nft_limit_dump()
158 priv_dst->burst = priv_src->burst; in nft_limit_clone()
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_police.c15 u32 burst; member
27 pol->burst = pol->burst ?: 1; in lan966x_police_add()
29 pol->burst = DIV_ROUND_UP(pol->burst, 4096); in lan966x_police_add()
32 pol->burst > GENMASK(6, 0)) in lan966x_police_add()
46 ANA_POL_PIR_CFG_PIR_BURST_SET(pol->burst), in lan966x_police_add()
153 pol.burst = act->police.burst; in lan966x_police_port_add()
/linux-6.6.21/drivers/dma/dw-edma/
Ddw-edma-core.c56 struct dw_edma_burst *burst; in dw_edma_alloc_burst() local
58 burst = kzalloc(sizeof(*burst), GFP_NOWAIT); in dw_edma_alloc_burst()
59 if (unlikely(!burst)) in dw_edma_alloc_burst()
62 INIT_LIST_HEAD(&burst->list); in dw_edma_alloc_burst()
63 if (chunk->burst) { in dw_edma_alloc_burst()
66 list_add_tail(&burst->list, &chunk->burst->list); in dw_edma_alloc_burst()
70 chunk->burst = burst; in dw_edma_alloc_burst()
73 return burst; in dw_edma_alloc_burst()
113 chunk->burst = NULL; in dw_edma_alloc_chunk()
143 list_for_each_entry_safe(child, _next, &chunk->burst->list, list) { in dw_edma_free_burst()
[all …]
/linux-6.6.21/include/net/tc_act/
Dtc_police.h41 u32 burst; member
70 u32 burst; in tcf_police_burst() local
98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst()
101 return burst; in tcf_police_burst()
118 u32 burst; in tcf_police_burst_pkt() local
146 burst = div_u64(params->tcfp_pkt_burst * params->ppsrate.rate_pkts_ps, in tcf_police_burst_pkt()
149 return burst; in tcf_police_burst_pkt()
/linux-6.6.21/net/bridge/netfilter/
Debt_limit.c74 if (info->burst == 0 || in ebt_limit_mt_check()
75 user2credits(info->avg * info->burst) < user2credits(info->avg)) { in ebt_limit_mt_check()
77 info->avg, info->burst); in ebt_limit_mt_check()
83 info->credit = user2credits(info->avg * info->burst); in ebt_limit_mt_check()
84 info->credit_cap = user2credits(info->avg * info->burst); in ebt_limit_mt_check()
96 compat_uint_t avg, burst; member
/linux-6.6.21/lib/
Dratelimit.c34 int burst = READ_ONCE(rs->burst); in ___ratelimit() local
65 if (burst && burst > rs->printed) { in ___ratelimit()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_police.c13 u32 idx, pup_tokens, max_pup_tokens, burst, thres; in sparx5_policer_service_conf_set() local
21 burst = pol->burst; in sparx5_policer_service_conf_set()
27 thres = DIV_ROUND_UP(burst, g->min_burst); in sparx5_policer_service_conf_set()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.c120 u64 rate, burst; in mlx5e_tc_meter_modify() local
125 burst = meter_params->burst; in mlx5e_tc_meter_modify()
130 burst <<= 7; in mlx5e_tc_meter_modify()
133 if (!rate || rate > MLX5_MAX_CIR || !burst || burst > MLX5_MAX_CBS) in mlx5e_tc_meter_modify()
137 if (burst > MLX5_MAX_HW_CBS) { in mlx5e_tc_meter_modify()
140 burst, MLX5_MAX_HW_CBS); in mlx5e_tc_meter_modify()
141 burst = MLX5_MAX_HW_CBS; in mlx5e_tc_meter_modify()
148 mlx5e_flow_meter_cbs_calc(burst, &cbs_man, &cbs_exp); in mlx5e_tc_meter_modify()
150 burst, MLX5_CALC_CBS((u64)cbs_man, cbs_exp), cbs_exp, cbs_man); in mlx5e_tc_meter_modify()
441 meter->params.burst != params->burst) { in __mlx5e_tc_meter_update()
[all …]
/linux-6.6.21/include/uapi/linux/netfilter/
Dxt_hashlimit.h35 __u32 burst; /* Period multiplier for upper limit. */ member
59 __u32 burst; /* Period multiplier for upper limit. */ member
72 __u64 burst; /* Period multiplier for upper limit. */ member
86 __u64 burst; /* Period multiplier for upper limit. */ member
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_policer.sh162 devlink trap policer set $DEVLINK_DEV policer 1 burst 0 &> /dev/null
164 devlink trap policer set $DEVLINK_DEV policer 1 burst 17 &> /dev/null
166 devlink trap policer set $DEVLINK_DEV policer 1 burst 8 &> /dev/null
169 burst $((2**25)) &> /dev/null
172 devlink trap policer set $DEVLINK_DEV policer 1 burst 16
174 devlink trap policer set $DEVLINK_DEV policer 1 burst $((2**24))
210 devlink trap policer set $DEVLINK_DEV policer $id rate 1000 burst 512
295 devlink trap policer set $DEVLINK_DEV policer $id rate 1000 burst 512
/linux-6.6.21/drivers/dma/qcom/
Dqcom_adm.c194 static int adm_get_blksize(unsigned int burst) in adm_get_blksize() argument
198 switch (burst) { in adm_get_blksize()
203 ret = ffs(burst >> 4) - 1; in adm_get_blksize()
231 u32 burst, in adm_process_fc_descriptors() argument
244 row_offset = burst; in adm_process_fc_descriptors()
249 row_offset = burst << 16; in adm_process_fc_descriptors()
254 while (remainder >= burst) { in adm_process_fc_descriptors()
261 rows = remainder / burst; in adm_process_fc_descriptors()
264 box_desc->row_len = burst << 16 | burst; in adm_process_fc_descriptors()
266 *incr_addr += burst * rows; in adm_process_fc_descriptors()
[all …]
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c87 bool pps, u32 id, u32 rate, u32 burst) in nfp_flower_offload_one_police() argument
109 config->bkt_tkn_p = cpu_to_be32(burst); in nfp_flower_offload_one_police()
110 config->bkt_tkn_c = cpu_to_be32(burst); in nfp_flower_offload_one_police()
111 config->pbs = cpu_to_be32(burst); in nfp_flower_offload_one_police()
112 config->cbs = cpu_to_be32(burst); in nfp_flower_offload_one_police()
179 u32 burst; in nfp_flower_install_rate_limiter() local
260 burst = action->police.burst; in nfp_flower_install_rate_limiter()
263 burst = action->police.burst_pkt; in nfp_flower_install_rate_limiter()
276 rate, burst); in nfp_flower_install_rate_limiter()
652 meter_entry->burst = action->police.burst; in nfp_flower_setup_meter_entry()
[all …]
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c49 u32 burst; member
53 static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst, in otx2_get_egress_burst_cfg() argument
71 burst = min_t(u32, burst, max_burst); in otx2_get_egress_burst_cfg()
72 if (burst) { in otx2_get_egress_burst_cfg()
73 *burst_exp = ilog2(burst) ? ilog2(burst) - 1 : 0; in otx2_get_egress_burst_cfg()
74 tmp = burst - rounddown_pow_of_two(burst); in otx2_get_egress_burst_cfg()
75 if (burst < max_mantissa) in otx2_get_egress_burst_cfg()
118 u64 maxrate, u32 burst) in otx2_get_txschq_rate_regval() argument
125 otx2_get_egress_burst_cfg(nic, burst, &burst_exp, &burst_mantissa); in otx2_get_txschq_rate_regval()
146 u32 burst, u64 maxrate) in otx2_set_matchall_egress_rate() argument
[all …]
Dcn10k.c238 static void cn10k_get_ingress_burst_cfg(u32 burst, u32 *burst_exp, in cn10k_get_ingress_burst_cfg() argument
248 *burst_exp = ilog2(burst); in cn10k_get_ingress_burst_cfg()
249 if (burst < 256) { in cn10k_get_ingress_burst_cfg()
262 tmp = burst - rounddown_pow_of_two(burst); in cn10k_get_ingress_burst_cfg()
361 u32 burst, u64 rate, bool pps) in cn10k_set_ipolicer_rate() argument
369 cn10k_get_ingress_burst_cfg(burst, &burst_exp, &burst_mantissa); in cn10k_set_ipolicer_rate()
465 u32 burst, u64 rate) in cn10k_set_matchall_ipolicer_rate() argument
472 rc = cn10k_set_ipolicer_rate(pfvf, hw->matchall_ipolicer, burst, in cn10k_set_matchall_ipolicer_rate()
/linux-6.6.21/include/linux/
Dratelimit.h10 int interval, int burst) in ratelimit_state_init() argument
16 rs->burst = burst; in ratelimit_state_init()
/linux-6.6.21/Documentation/devicetree/bindings/usb/
Dci-hdrc-usb2.yaml108 ahb-burst-config:
112 used to change AHB burst configuration, check the chipidea spec for
119 tx-burst-size-dword:
121 it is vendor dependent, the tx burst size in dword (4 bytes), This
122 register represents the maximum length of a the burst in 32-bit
124 of this property will only take effect if property "ahb-burst-config"
131 rx-burst-size-dword:
133 it is vendor dependent, the rx burst size in dword (4 bytes), This
134 register represents the maximum length of a the burst in 32-bit words
136 this property will only take effect if property "ahb-burst-config"
[all …]
/linux-6.6.21/drivers/gpu/drm/bridge/
Dsil-sii8620.c101 } burst; member
605 u8 *buf = &ctx->burst.tx_buf[ctx->burst.tx_count]; in sii8620_burst_get_tx_buf()
608 if (ctx->burst.tx_count + size >= ARRAY_SIZE(ctx->burst.tx_buf)) { in sii8620_burst_get_tx_buf()
614 ctx->burst.tx_count += size; in sii8620_burst_get_tx_buf()
622 u8 *buf = &ctx->burst.rx_buf[ctx->burst.rx_count]; in sii8620_burst_get_rx_buf()
625 if (ctx->burst.rx_count + size >= ARRAY_SIZE(ctx->burst.rx_buf)) { in sii8620_burst_get_rx_buf()
631 ctx->burst.rx_count += size; in sii8620_burst_get_rx_buf()
639 int tx_left = ctx->burst.tx_count; in sii8620_burst_send()
640 u8 *d = ctx->burst.tx_buf; in sii8620_burst_send()
645 if (ctx->burst.r_count + len > ctx->burst.r_size) in sii8620_burst_send()
[all …]
/linux-6.6.21/arch/arm/boot/dts/ti/omap/
Domap3-gta04a5one.dts59 gpmc,burst-length = <16>;
60 gpmc,burst-read;
61 gpmc,burst-wrap;
62 gpmc,burst-write;
78 gpmc,page-burst-access-ns = <15>;

12345678910>>...15