| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | arb.c | 38 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/lib/ |
| H A D | ratelimit.c | 34 int burst = READ_ONCE(rs->burst); in ___ratelimit() local 42 if (interval <= 0 || burst <= 0) { in ___ratelimit() 43 …ONCE(interval < 0 || burst < 0, "Negative interval (%d) or burst (%d): Uninitialized ratelimit_sta… in ___ratelimit() 44 ret = interval == 0 || burst > 0; in ___ratelimit() 45 if (!(READ_ONCE(rs->flags) & RATELIMIT_INITIALIZED) || (!interval && !burst) || in ___ratelimit() 70 atomic_set(&rs->rs_n_left, rs->burst); in ___ratelimit() 80 atomic_set(&rs->rs_n_left, rs->burst); in ___ratelimit()
|
| /linux/Documentation/devicetree/bindings/dma/ |
| H A D | renesas,nbpfaxi.txt | 26 - 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
|
| H A D | img-mdc-dma.txt | 13 - 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/net/netfilter/ |
| H A D | xt_limit.c | 111 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()
|
| H A D | xt_hashlimit.c | 108 int64_t burst; member 146 to->burst = cfg->burst; in cfg_copy() 158 to->burst = cfg->burst; in cfg_copy() 587 if (hinfo->cfg.burst) in rateinfo_init() 588 dh->rateinfo.burst = in rateinfo_init() 589 hinfo->cfg.burst * dh->rateinfo.rate; in rateinfo_init() 591 dh->rateinfo.burst = dh->rateinfo.rate; in rateinfo_init() 594 dh->rateinfo.burst = in rateinfo_init() 595 hinfo->cfg.burst + dh->rateinfo.rate; in rateinfo_init() 601 dh->rateinfo.credit_cap = hinfo->cfg.burst; in rateinfo_init() [all …]
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_police.c | 15 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/include/net/tc_act/ |
| H A D | tc_police.h | 42 u32 burst; member 62 u32 burst; in tcf_police_burst() local 90 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst() 93 return burst; in tcf_police_burst() 110 u32 burst; in tcf_police_burst_pkt() local 138 burst = div_u64(params->tcfp_pkt_burst * params->ppsrate.rate_pkts_ps, in tcf_police_burst_pkt() 141 return burst; in tcf_police_burst_pkt()
|
| /linux/net/bridge/netfilter/ |
| H A D | ebt_limit.c | 74 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/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | meter.c | 120 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() 437 meter->params.burst != params->burst) { in __mlx5e_tc_meter_update() [all …]
|
| /linux/drivers/dma/qcom/ |
| H A D | qcom_adm.c | 194 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/include/uapi/linux/netfilter/ |
| H A D | xt_hashlimit.h | 35 __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/Documentation/devicetree/bindings/net/ |
| H A D | samsung-sxgbe.txt | 17 - 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/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | qos_conf.c | 87 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/include/linux/ |
| H A D | ratelimit.h | 10 int interval, int burst) in ratelimit_state_init() argument 16 rs->burst = burst; in ratelimit_state_init() 47 atomic_set(&rs->rs_n_left, rs->burst); in ratelimit_state_reset_interval()
|
| H A D | ratelimit_types.h | 20 int burst; member 30 .burst = burst_init, \
|
| /linux/drivers/dma/dw-edma/ |
| H A D | dw-edma-core.c | 54 desc = kzalloc_flex(*desc, burst, nburst, GFP_NOWAIT); in dw_edma_alloc_desc() 76 chan->dw->core->non_ll_start(chan, &desc->burst[desc->start_burst]); in dw_edma_core_start() 88 dw_edma_core_ll_data(chan, &desc->burst[idx], in dw_edma_core_start() 358 residue -= desc->burst[desc->done_burst - 1].xfer_sz; in dw_edma_device_tx_status() 375 struct dw_edma_burst *burst; in dw_edma_device_transfer() local 467 burst = desc->burst + i; in dw_edma_device_transfer() 470 burst->sz = xfer->xfer.cyclic.len; in dw_edma_device_transfer() 472 burst->sz = sg_dma_len(sg); in dw_edma_device_transfer() 474 burst->sz = xfer->xfer.il->sgl[i % fsz].size; in dw_edma_device_transfer() 476 desc->alloc_sz += burst->sz; in dw_edma_device_transfer() [all …]
|
| H A D | dw-edma-core.h | 65 struct dw_edma_burst burst[] __counted_by(nburst); 138 void (*ll_data)(struct dw_edma_chan *chan, struct dw_edma_burst *burst, 236 dw_edma_core_ll_data(struct dw_edma_chan *chan, struct dw_edma_burst *burst, in dw_edma_core_ll_data() argument 239 chan->dw->core->ll_data(chan, burst, idx, cb, irq); in dw_edma_core_ll_data()
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-gta04a5one.dts | 59 gpmc,burst-length = <16>; 60 gpmc,burst-read; 61 gpmc,burst-wrap; 62 gpmc,burst-write; 78 gpmc,page-burst-access-ns = <15>;
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_tc.c | 35 static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst, in otx2_get_egress_burst_cfg() argument 53 burst = min_t(u32, burst, max_burst); in otx2_get_egress_burst_cfg() 54 if (burst) { in otx2_get_egress_burst_cfg() 55 *burst_exp = ilog2(burst) ? ilog2(burst) - 1 : 0; in otx2_get_egress_burst_cfg() 56 tmp = burst - rounddown_pow_of_two(burst); in otx2_get_egress_burst_cfg() 57 if (burst <= max_mantissa) { in otx2_get_egress_burst_cfg() 104 u64 maxrate, u32 burst) in otx2_get_txschq_rate_regval() argument 111 otx2_get_egress_burst_cfg(nic, burst, &burst_exp, &burst_mantissa); in otx2_get_txschq_rate_regval() 132 u32 burst, u64 maxrate) in otx2_set_matchall_egress_rate() argument 151 req->regval[0] = otx2_get_txschq_rate_regval(nic, maxrate, burst); in otx2_set_matchall_egress_rate() [all …]
|
| H A D | cn10k.h | 35 u32 burst, u64 rate); 40 u32 burst, u64 rate, bool pps);
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | tc_restrictions.sh | 320 action police rate 0.5kbit burst 2k conform-exceed drop/ok 325 action police rate 2.5tbit burst 1g conform-exceed drop/ok 330 action police rate 1.5kbit burst 2k conform-exceed drop/ok 337 action police rate 1.9tbit burst 1g conform-exceed drop/ok 344 action police rate 1.5kbit burst 512b conform-exceed drop/ok 349 action police rate 1.5kbit burst 2k conform-exceed drop/ok 370 action police rate 100mbit burst 100k conform-exceed drop/ok 377 action police rate 100mbit burst 100k conform-exceed drop/pipe \ 378 action police rate 200mbit burst 200k conform-exceed drop/ok
|
| /linux/drivers/memory/tegra/ |
| H A D | tegra210-emc-cc-r21021.c | 749 const u16 *offsets = emc->offsets->burst; in tegra210_emc_r21021_set_clock() 828 const struct tegra210_emc_per_channel_regs *burst = in tegra210_emc_r21021_set_clock() local 831 if (!burst[i].offset) in tegra210_emc_r21021_set_clock() 835 (burst[i].offset == EMC_MRW6 || in tegra210_emc_r21021_set_clock() 836 burst[i].offset == EMC_MRW7 || in tegra210_emc_r21021_set_clock() 837 burst[i].offset == EMC_MRW8 || in tegra210_emc_r21021_set_clock() 838 burst[i].offset == EMC_MRW9 || in tegra210_emc_r21021_set_clock() 839 burst[i].offset == EMC_MRW10 || in tegra210_emc_r21021_set_clock() 840 burst[i].offset == EMC_MRW11 || in tegra210_emc_r21021_set_clock() 841 burst[i].offset == EMC_MRW12 || in tegra210_emc_r21021_set_clock() [all …]
|
| /linux/drivers/dma/ |
| H A D | milbeaut-hdmac.c | 120 u32 width, burst; in milbeaut_chan_start() local 129 burst = mc->cfg.dst_maxburst; in milbeaut_chan_start() 135 burst = mc->cfg.src_maxburst; in milbeaut_chan_start() 148 if (burst == 16) in milbeaut_chan_start() 150 else if (burst == 8) in milbeaut_chan_start() 152 else if (burst == 4) in milbeaut_chan_start() 154 burst *= width; in milbeaut_chan_start() 155 ca |= FIELD_PREP(MLB_HDMAC_TC, (len / burst - 1)); in milbeaut_chan_start()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-pci-devices-aer | 141 Description: Ratelimit burst for correctable error logs. Writing a value 142 changes the number of errors (burst) allowed per interval 144 burst. Default is DEFAULT_RATELIMIT_BURST (10). 159 Description: Ratelimit burst for non-fatal uncorrectable error logs. 160 Writing a value changes the number of errors (burst) 162 current ratelimit burst. Default is DEFAULT_RATELIMIT_BURST
|