Home
last modified time | relevance | path

Searched +full:burst +full:- +full:size (Results 1 – 25 of 542) sorted by relevance

12345678910>>...22

/linux/Documentation/devicetree/bindings/dma/
H A Drenesas,nbpfaxi.txt1 * Renesas "Type-AXI" NBPFAXI* DMA controllers
7 - compatible: must be one of
17 - #dma-cells: must be 2: the first integer is a terminal number, to which this
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
35 You can use dma-channels and dma-requests as described in dma.txt, although they
40 dma: dma-controller@48000000 {
[all …]
H A Dimg-mdc-dma.txt1 * IMG Multi-threaded DMA Controller (MDC)
4 - compatible: Must be "img,pistachio-mdc-dma".
5 - reg: Must contain the base address and length of the MDC registers.
6 - interrupts: Must contain all the per-channel DMA interrupts.
7 - clocks: Must contain an entry for each entry in clock-names.
8 See ../clock/clock-bindings.txt for details.
9 - clock-names: Must include the following entries:
10 - sys: MDC system interface clock.
11 - img,cr-periph: Must contain a phandle to the peripheral control syscon
13 - img,max-burst-multiplier: Must be the maximum supported burst size multiplier.
[all …]
H A Darm-pl08x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/arm-pl08x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vinod Koul <vkoul@kernel.org>
13 - $ref: /schemas/arm/primecell.yaml#
14 - $ref: dma-controller.yaml#
22 - arm,pl080
23 - arm,pl081
25 - compatible
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dchipidea,usb2-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/chipidea,usb2-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Xu Yang <xu.yang_2@nxp.com>
25 clock-names:
31 power-domains:
37 reset-names:
40 "#reset-cells":
48 itc-setting:
[all …]
H A Dsnps,dwc3-common.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/snps,dwc3-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Felipe Balbi <balbi@kernel.org>
14 vendor-specific implementation or as a standalone component.
17 - $ref: usb-drd.yaml#
18 - if:
24 - dr_mode
28 $ref: usb-xhci.yaml#
[all …]
H A Dci-hdrc-usb2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Xu Yang <xu.yang_2@nxp.com>
11 - Peng Fan <peng.fan@nxp.com>
16 - enum:
17 - chipidea,usb2
18 - lsi,zevio-usb
19 - nuvoton,npcm750-udc
[all …]
/linux/drivers/net/ethernet/mscc/
H A Docelot_police.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
10 /* Types for ANA:POL[0-192]:POL_MODE_CFG.FRM_MODE */
17 #define POL_IX_PORT 0 /* 0-11 : Port policers */
18 #define POL_IX_QUEUE 32 /* 32-127 : Queue policers */
21 #define POL_ORDER 0x1d3 /* Ocelot policer order: Serial (QoS -> Port -> VCAP) */
33 pir = conf->pir; in qos_policer_conf_set()
34 pbs = conf->pbs; in qos_policer_conf_set()
36 switch (conf->mode) { in qos_policer_conf_set()
39 if (conf->mode == MSCC_QOS_RATE_MODE_LINE) { in qos_policer_conf_set()
41 ipg = min_t(u8, GENMASK(4, 0), conf->ipg); in qos_policer_conf_set()
[all …]
/linux/drivers/atm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
36 chipset such as the Speedstream 3010 and the ENI-25p. The
38 have the code to drive the on-board Alcatel DSL chipset (yet).
46 2MB on-board RAM (Efficient calls them "C" and "S", respectively),
48 The driver works with MMF (-MF or ...F) and UTP-5 (-U5 or ...D)
65 bool "Fine-tune burst settings"
69 multiple words of data per PCI bus access cycle. Such a multi-word
70 transfer is called a burst.
72 The default settings for the burst sizes are suitable for most PCI
76 The burst sizes can be set independently in the send (TX) and
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dsamsung-sxgbe.txt4 - compatible: Should be "samsung,sxgbe-v2.0a"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the SXGBE interrupts
9 index 0 - this is fixed common interrupt of SXGBE and it is always
11 index 1 to 25 - 8 variable transmit interrupts, variable 16 receive interrupts
13 - phy-mode: String, operation mode of the PHY interface.
15 - samsung,pbl: Integer, Programmable Burst Length.
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.
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/fsl/
H A Dfsl,imx-weim.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,imx-weim.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - Sascha Hauer <s.hauer@pengutronix.de>
16 wireless and mobile applications that use low-power technology. The actual
21 pattern: "^memory-controller@[0-9a-f]+$"
25 - enum:
26 - fsl,imx1-weim
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.c1 // SPDX-License-Identifier: GPL-2.0
30 if (!test_bit(CN10K_LMTST, &pfvf->hw.cap_flag)) { in otx2_init_hw_ops()
31 pfvf->hw_ops = &otx2_hw_ops; in otx2_init_hw_ops()
35 pfvf->hw_ops = &cn10k_hw_ops; in otx2_init_hw_ops()
46 if (!test_bit(CN10K_LMTST, &pfvf->hw.cap_flag)) in cn10k_lmtst_init()
49 /* Total LMTLINES = num_online_cpus() * 32 (For Burst flush).*/ in cn10k_lmtst_init()
50 pfvf->tot_lmt_lines = (num_online_cpus() * LMT_BURST_SIZE); in cn10k_lmtst_init()
51 pfvf->hw.lmt_info = alloc_percpu(struct otx2_lmt_info); in cn10k_lmtst_init()
53 mutex_lock(&pfvf->mbox.lock); in cn10k_lmtst_init()
54 req = otx2_mbox_alloc_msg_lmtst_tbl_setup(&pfvf->mbox); in cn10k_lmtst_init()
[all …]
/linux/arch/sparc/include/asm/
H A Ddma.h1 /* SPDX-License-Identifier: GPL-2.0 */
38 #define DMA_ACC_SZ_ERR 0x00000040 /* The access size was bad */
50 #define DMA_SCSI_SBUS64 0x00008000 /* HME: Enable 64-bit SBUS mode. */
55 #define DMA_E_BURSTS 0x000c0000 /* ENET: SBUS r/w burst mask */
56 #define DMA_E_BURST32 0x00040000 /* ENET: SBUS 32 byte r/w burst */
57 #define DMA_E_BURST16 0x00000000 /* ENET: SBUS 16 byte r/w burst */
58 #define DMA_BRST_SZ 0x000c0000 /* SCSI: SBUS r/w burst size */
62 #define DMA_BRST0 0x00080000 /* SCSI: no bursts (non-HME gate arrays) */
66 #define DMA_EN_ENETAUI DMA_3CLKS /* Put lance into AUI-cable mode */
75 /* Values describing the burst-size property from the PROM */
[all …]
/linux/net/netfilter/
H A Dnft_limit.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net>
28 u32 burst; member
37 spin_lock_bh(&priv->limit->lock); in nft_limit_eval()
39 tokens = priv->limit->tokens + now - priv->limit->last; in nft_limit_eval()
40 if (tokens > priv->tokens_max) in nft_limit_eval()
41 tokens = priv->tokens_max; in nft_limit_eval()
43 priv->limit->last = now; in nft_limit_eval()
44 delta = tokens - cost; in nft_limit_eval()
46 priv->limit->tokens = delta; in nft_limit_eval()
[all …]
H A Dxt_hashlimit.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * xt_hashlimit - Netfilter module to limit the number of packets per time
6 * (C) 2003-2004 by Harald Welte <laforge@netfilter.org>
7 * (C) 2006-2012 Patrick McHardy <kaber@trash.net>
8 * Copyright © CC Computer Consultants GmbH, 2007 - 2008
49 MODULE_DESCRIPTION("Xtables: per hash-bucket rate-limit match");
89 /* static / read-only parts in the beginning */
108 int64_t burst; member
143 to->mode = cfg->mode; in cfg_copy()
144 to->avg = cfg->avg; in cfg_copy()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_policer.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
61 /* Provided burst size is in bytes. The ASIC burst size value is in mlxsw_sp_policer_burst_bytes_hw_units()
62 * (2 ^ bs) * 512 bits. Convert the provided size to 512-bit units. in mlxsw_sp_policer_burst_bytes_hw_units()
69 return fls64(bs512) - 1; in mlxsw_sp_policer_burst_bytes_hw_units()
76 return atomic_read(&family->policers_count); in mlxsw_sp_policer_single_rate_occ_get()
82 struct mlxsw_core *core = family->mlxsw_sp->core; in mlxsw_sp_policer_single_rate_family_init()
90 return -EIO; in mlxsw_sp_policer_single_rate_family_init()
92 family->start_index = MLXSW_CORE_RES_GET(core, MAX_CPU_POLICERS); in mlxsw_sp_policer_single_rate_family_init()
93 family->end_index = MLXSW_CORE_RES_GET(core, MAX_GLOBAL_POLICERS); in mlxsw_sp_policer_single_rate_family_init()
95 atomic_set(&family->policers_count, 0); in mlxsw_sp_policer_single_rate_family_init()
[all …]
/linux/include/uapi/linux/netfilter/
H A Dxt_hashlimit.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
16 /* packet length accounting is done in 16-byte steps */
35 __u32 burst; /* Period multiplier for upper limit. */ member
38 __u32 size; /* how many buckets */ member
59 __u32 burst; /* Period multiplier for upper limit. */ member
62 __u32 size; /* how many buckets */ member
72 __u64 burst; /* Period multiplier for upper limit. */ member
76 __u32 size; /* how many buckets */ member
86 __u64 burst; /* Period multiplier for upper limit. */ member
90 __u32 size; /* how many buckets */ member
/linux/arch/arm/boot/dts/ti/omap/
H A Domap2420-n8x0-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 stdout-path = &uart3;
16 compatible = "i2c-cbus-gpio";
21 #address-cells = <1>;
22 #size-cells = <0>;
25 interrupt-parent = <&gpio4>;
34 clock-frequency = <400000>;
44 clock-frequency = <400000>;
50 /* gpio-irq for dma: 26 */
53 #address-cells = <1>;
[all …]
H A Domap3-gta04a5one.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com>
6 #include "omap3-gta04a5.dts"
13 gpmc_pins: gpmc-pins {
14 pinctrl-single,pins = <
45 pinctrl-names = "default";
46 pinctrl-0 = <&gpmc_pins>;
48 /delete-node/ nand@0,0;
52 #address-cells = <1>;
53 #size-cells = <1>;
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink_trap.sh2 # SPDX-License-Identifier: GPL-2.0
4 # This test is for checking devlink-trap functionality. It makes use of
40 if [ ! -d "$NETDEVSIM_PATH" ]; then
45 if [ -d "${NETDEVSIM_PATH}/devices/netdevsim${DEV_ADDR}" ]; then
54 if [ $((state & 1)) -ne 0 ]; then
65 test $(devlink_traps_num_get) -ne 0
80 # The action of non-drop traps cannot be changed.
137 check_fail $? "Did not get an error for non-existing trap"
139 log_test "Non-existing trap"
154 check_fail $? "Did not get an error for non-existing trap action"
[all …]
/linux/drivers/dma/
H A Dfsl-edma-common.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (c) 2013-2014 Freescale Semiconductor, Inc
11 #include <linux/dma-mapping.h>
15 #include "fsl-edma-common.h"
49 spin_lock(&fsl_chan->vchan.lock); in fsl_edma_tx_chan_handler()
51 if (!fsl_chan->edesc) { in fsl_edma_tx_chan_handler()
53 spin_unlock(&fsl_chan->vchan.lock); in fsl_edma_tx_chan_handler()
57 if (!fsl_chan->edesc->iscyclic) { in fsl_edma_tx_chan_handler()
58 list_del(&fsl_chan->edesc->vdesc.node); in fsl_edma_tx_chan_handler()
59 vchan_cookie_complete(&fsl_chan->edesc->vdesc); in fsl_edma_tx_chan_handler()
[all …]
/linux/Documentation/netlink/specs/
H A Dnet_shaper.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: net-shaper
33 @cap-get operation.
36 -
40 render-max: true
42 - name: unspec
44 -
47 -
52 -
[all …]
/linux/samples/pktgen/
H A Dparameters.sh2 # SPDX-License-Identifier: GPL-2.0
8 echo "Usage: $0 [-vx] -i ethX"
9 echo " -i : (\$DEV) output interface/device (required)"
10 echo " -s : (\$PKT_SIZE) packet size"
11 echo " -d : (\$DEST_IP) destination IP. CIDR (e.g. 198.18.0.0/15) is also allowed"
12 echo " -m : (\$DST_MAC) destination MAC-addr"
13 echo " -p : (\$DST_PORT) destination PORT range (e.g. 433-444) is also allowed"
14 echo " -k : (\$UDP_CSUM) enable UDP tx checksum"
15 echo " -t : (\$THREADS) threads to start"
16 echo " -f : (\$F_THREAD) index of first thread (zero indexed CPU number)"
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh2 # SPDX-License-Identifier: GPL-2.0
41 # It is forbidden in mlxsw driver to have mixed-bound
90 # egress-bound block.
172 # bound on egress. Spectrum-1 specific restriction
199 # On ingress, all matchall-mirror and matchall-sample
254 # On egress, all matchall-mirror rules have to be behind the flower rules
320 action police rate 0.5kbit burst 1m conform-exceed drop/ok
325 action police rate 2.5tbit burst 1g conform-exceed drop/ok
330 action police rate 1.5kbit burst 1m conform-exceed drop/ok
337 action police rate 1.9tbit burst 1g conform-exceed drop/ok
[all …]
/linux/sound/soc/kirkwood/
H A Dkirkwood-dma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * kirkwood-dma.c
6 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org>
15 #include <linux/dma-mapping.h>
46 mask = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_dma_irq()
47 status = readl(priv->io + KIRKWOOD_INT_CAUSE) & mask; in kirkwood_dma_irq()
49 cause = readl(priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq()
53 writel(cause, priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq()
65 writel(status, priv->io + KIRKWOOD_INT_CAUSE); in kirkwood_dma_irq()
68 snd_pcm_period_elapsed(priv->substream_play); in kirkwood_dma_irq()
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_police.c1 // SPDX-License-Identifier: GPL-2.0+
5 /* 0-8 : 9 port policers */
8 /* Policer order: Serial (QoS -> Port -> VCAP) */
15 u32 burst; member
22 struct lan966x *lan966x = port->lan966x; in lan966x_police_add()
25 pol->rate = DIV_ROUND_UP(pol->rate * 3, 100); in lan966x_police_add()
26 /* Avoid zero burst size */ in lan966x_police_add()
27 pol->burst = pol->burst ?: 1; in lan966x_police_add()
29 pol->burst = DIV_ROUND_UP(pol->burst, 4096); in lan966x_police_add()
31 if (pol->rate > GENMASK(15, 0) || in lan966x_police_add()
[all …]

12345678910>>...22