Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.15/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-v5.15/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>;
Dimg-mdc-dma.txt13 - img,max-burst-multiplier: Must be the maximum supported burst size multiplier.
14 The maximum burst size is this value multiplied by the hardware-reported bus
46 img,max-burst-multiplier = <16>;
/Linux-v5.15/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-v5.15/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.c24 u32 burst; member
70 limit->burst = ntohl(nla_get_be32(tb[NFTA_LIMIT_BURST])); in nft_limit_init()
72 if (pkts && limit->burst == 0) in nft_limit_init()
73 limit->burst = NFT_LIMIT_PKT_BURST_DEFAULT; in nft_limit_init()
75 if (limit->rate + limit->burst < limit->rate) in nft_limit_init()
79 tokens = div64_u64(limit->nsecs, limit->rate) * limit->burst; in nft_limit_init()
85 tokens = div64_u64(limit->nsecs * (limit->rate + limit->burst), in nft_limit_init()
114 nla_put_be32(skb, NFTA_LIMIT_BURST, htonl(limit->burst)) || in nft_limit_dump()
/Linux-v5.15/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-v5.15/drivers/dma/dw-edma/
Ddw-edma-core.c45 struct dw_edma_burst *burst; in dw_edma_alloc_burst() local
47 burst = kzalloc(sizeof(*burst), GFP_NOWAIT); in dw_edma_alloc_burst()
48 if (unlikely(!burst)) in dw_edma_alloc_burst()
51 INIT_LIST_HEAD(&burst->list); in dw_edma_alloc_burst()
52 if (chunk->burst) { in dw_edma_alloc_burst()
55 list_add_tail(&burst->list, &chunk->burst->list); in dw_edma_alloc_burst()
59 chunk->burst = burst; in dw_edma_alloc_burst()
62 return burst; in dw_edma_alloc_burst()
102 chunk->burst = NULL; in dw_edma_alloc_chunk()
132 list_for_each_entry_safe(child, _next, &chunk->burst->list, list) { in dw_edma_free_burst()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/usb/
Dci-hdrc-usb2.txt44 - ahb-burst-config: it is vendor dependent, the required value should be
46 property is used to change AHB burst configuration, check the chipidea
49 - tx-burst-size-dword: it is vendor dependent, the tx burst size in dword
50 (4 bytes), This register represents the maximum length of a the burst
53 "ahb-burst-config" is set to 0, if this property is missing the reset
55 - rx-burst-size-dword: it is vendor dependent, the rx burst size in dword
56 (4 bytes), This register represents the maximum length of a the burst
59 "ahb-burst-config" is set to 0, if this property is missing the reset
124 /* Incremental burst of unspecified length */
125 ahb-burst-config = <0x0>;
[all …]
/Linux-v5.15/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
291 devlink trap policer set $DEVLINK_DEV policer $id rate 1000 burst 512
Dtc_restrictions.sh319 action police rate 0.5kbit burst 1m conform-exceed drop/ok
324 action police rate 2.5tbit burst 1g conform-exceed drop/ok
329 action police rate 1.5kbit burst 1m conform-exceed drop/ok
336 action police rate 1.9tbit burst 1g conform-exceed drop/ok
343 action police rate 1.5kbit burst 512b conform-exceed drop/ok
348 action police rate 1.5kbit burst 2k conform-exceed drop/ok
369 action police rate 100mbit burst 100k conform-exceed drop/ok
376 action police rate 100mbit burst 100k conform-exceed drop/pipe \
377 action police rate 200mbit burst 200k conform-exceed drop/ok
/Linux-v5.15/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-v5.15/drivers/dma/qcom/
Dqcom_adm.c191 static int adm_get_blksize(unsigned int burst) in adm_get_blksize() argument
195 switch (burst) { in adm_get_blksize()
200 ret = ffs(burst >> 4) - 1; in adm_get_blksize()
228 u32 burst, in adm_process_fc_descriptors() argument
241 row_offset = burst; in adm_process_fc_descriptors()
246 row_offset = burst << 16; in adm_process_fc_descriptors()
251 while (remainder >= burst) { in adm_process_fc_descriptors()
258 rows = remainder / burst; in adm_process_fc_descriptors()
261 box_desc->row_len = burst << 16 | burst; in adm_process_fc_descriptors()
263 *incr_addr += burst * rows; in adm_process_fc_descriptors()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/net/
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-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c80 static void otx2_get_egress_burst_cfg(u32 burst, u32 *burst_exp, in otx2_get_egress_burst_cfg() argument
89 burst = min_t(u32, burst, MAX_BURST_SIZE); in otx2_get_egress_burst_cfg()
90 if (burst) { in otx2_get_egress_burst_cfg()
91 *burst_exp = ilog2(burst) ? ilog2(burst) - 1 : 0; in otx2_get_egress_burst_cfg()
92 tmp = burst - rounddown_pow_of_two(burst); in otx2_get_egress_burst_cfg()
93 if (burst < MAX_BURST_MANTISSA) in otx2_get_egress_burst_cfg()
135 static int otx2_set_matchall_egress_rate(struct otx2_nic *nic, u32 burst, u32 maxrate) in otx2_set_matchall_egress_rate() argument
147 otx2_get_egress_burst_cfg(burst, &burst_exp, &burst_mantissa); in otx2_set_matchall_egress_rate()
222 err = otx2_set_matchall_egress_rate(nic, entry->police.burst, rate); in otx2_tc_egress_matchall_install()
255 u64 rate, u32 burst, u32 mark, in otx2_tc_act_set_police() argument
[all …]
Dcn10k.c237 static void cn10k_get_ingress_burst_cfg(u32 burst, u32 *burst_exp, in cn10k_get_ingress_burst_cfg() argument
247 *burst_exp = ilog2(burst); in cn10k_get_ingress_burst_cfg()
248 if (burst < 256) { in cn10k_get_ingress_burst_cfg()
261 tmp = burst - rounddown_pow_of_two(burst); in cn10k_get_ingress_burst_cfg()
360 u32 burst, u64 rate, bool pps) in cn10k_set_ipolicer_rate() argument
368 cn10k_get_ingress_burst_cfg(burst, &burst_exp, &burst_mantissa); in cn10k_set_ipolicer_rate()
461 u32 burst, u64 rate) in cn10k_set_matchall_ipolicer_rate() argument
468 rc = cn10k_set_ipolicer_rate(pfvf, hw->matchall_ipolicer, burst, in cn10k_set_matchall_ipolicer_rate()
/Linux-v5.15/include/linux/
Dratelimit.h10 int interval, int burst) in ratelimit_state_init() argument
16 rs->burst = burst; in ratelimit_state_init()
/Linux-v5.15/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.tx_count + size > ARRAY_SIZE(ctx->burst.tx_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-v5.15/arch/arm/boot/dts/
Domap3-gta04a5one.dts57 gpmc,burst-length = <16>;
58 gpmc,burst-read;
59 gpmc,burst-wrap;
60 gpmc,burst-write;
76 gpmc,page-burst-access-ns = <15>;
Domap2420-n8x0-common.dtsi59 gpmc,burst-length = <16>;
60 gpmc,burst-read;
61 gpmc,burst-wrap;
77 gpmc,page-burst-access-ns = <27>;
/Linux-v5.15/arch/arm/plat-omap/
Ddma.c288 unsigned int burst = 0; in omap_set_dma_src_burst_mode() local
299 burst = 0x1; in omap_set_dma_src_burst_mode()
301 burst = 0x2; in omap_set_dma_src_burst_mode()
305 burst = 0x2; in omap_set_dma_src_burst_mode()
315 burst = 0x3; in omap_set_dma_src_burst_mode()
324 l |= (burst << 7); in omap_set_dma_src_burst_mode()
369 unsigned int burst = 0; in omap_set_dma_dest_burst_mode() local
380 burst = 0x1; in omap_set_dma_dest_burst_mode()
382 burst = 0x2; in omap_set_dma_dest_burst_mode()
386 burst = 0x2; in omap_set_dma_dest_burst_mode()
[all …]
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c87 u32 burst; in nfp_flower_install_rate_limiter() local
161 burst = action->police.burst; in nfp_flower_install_rate_limiter()
164 burst = action->police.burst_pkt; in nfp_flower_install_rate_limiter()
182 config->bkt_tkn_p = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
183 config->bkt_tkn_c = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
184 config->pbs = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
185 config->cbs = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
/Linux-v5.15/Documentation/devicetree/bindings/ata/
Dahci-ceva.txt24 - ceva,p0-burst-params: Burst timing value for COM parameter for port 0.
25 - ceva,p1-burst-params: Burst timing value for COM parameter for port 1.
27 ceva,pN-burst-params = /bits/ 8 <BMX BNM SFD PTST>;
53 ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
58 ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
/Linux-v5.15/Documentation/devicetree/bindings/memory-controllers/
Domap-gpmc.txt82 - gpmc,page-burst-access-ns: Multiple access word delay
106 burst accesses, defines the number of
116 - gpmc,burst-length Page/burst length. Must be 4, 8 or 16.
117 - gpmc,burst-wrap Enables wrap bursting
118 - gpmc,burst-read Enables read page/burst mode
119 - gpmc,burst-write Enables write page/burst mode

12345678910>>...13