/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | renesas,nbpfaxi.txt | 1 * 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 D | img-mdc-dma.txt | 1 * 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 D | snps,dw-axi-dmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/snps,dw-axi-dmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> 16 - $ref: dma-controller.yaml# 21 - snps,axi-dma-1.01a 22 - intel,kmb-axi-dma 23 - starfive,jh7110-axi-dma 28 - description: Address range of the DMAC registers [all …]
|
H A D | snps,dma-spear1340.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/dma/snps,dma-spear1340.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <vireshk@kernel.org> 11 - Andy Shevchenko <andriy.shevchenko@linux.intel.com> 14 - $ref: dma-controller.yaml# 19 - const: snps,dma-spear1340 20 - items: 21 - enum: [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | throttle-options.h | 7 * See the COPYING file in the top-level directory for details. 13 #define QEMU_OPT_IOPS_TOTAL "iops-total" 14 #define QEMU_OPT_IOPS_TOTAL_MAX "iops-total-max" 15 #define QEMU_OPT_IOPS_TOTAL_MAX_LENGTH "iops-total-max-length" 16 #define QEMU_OPT_IOPS_READ "iops-read" 17 #define QEMU_OPT_IOPS_READ_MAX "iops-read-max" 18 #define QEMU_OPT_IOPS_READ_MAX_LENGTH "iops-read-max-length" 19 #define QEMU_OPT_IOPS_WRITE "iops-write" 20 #define QEMU_OPT_IOPS_WRITE_MAX "iops-write-max" 21 #define QEMU_OPT_IOPS_WRITE_MAX_LENGTH "iops-write-max-length" [all …]
|
H A D | throttle.h | 4 * Copyright (C) Nodalink, EURL. 2013-2014 5 * Copyright (C) Igalia, S.L. 2015-2016 28 #include "qapi/qapi-types-block-core.h" 50 * - avg: the desired I/O limits in units per second. 51 * - max: the limit during bursts, also in units per second. 52 * - burst_length: the maximum length of the burst period, in seconds. 56 * - The bucket level (number of performed I/O units) is kept in 59 * - The size of the bucket is bkt.max * bkt.burst_length. Once the 63 * - The bkt.avg rate does not apply until the bucket is full, 65 * bursts is bkt.max. To enforce this limit we keep an additional [all …]
|
/openbmc/linux/include/uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 /* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490 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 39 __u32 max; /* max number of entries */ member 59 __u32 burst; /* Period multiplier for upper limit. */ member 62 __u32 size; /* how many buckets */ member 63 __u32 max; /* max number of entries */ member 72 __u64 burst; /* Period multiplier for upper limit. */ member [all …]
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_police.c | 1 // 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 …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_policer.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test devlink-trap policer functionality over mlxsw. 6 # +---------------------------------+ 12 # +----|----------------------------+ 14 # +----|----------------------------------------------------------------------+ 22 # +----|----------------------------------------------------------------------+ 24 # +----|----------------------------+ 30 # +---------------------------------+ 50 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 55 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | samsung-sxgbe.txt | 4 - 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 …]
|
H A D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@foss.st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.40a 25 - snps,dwmac-3.50a 26 - snps,dwmac-3.610 [all …]
|
/openbmc/qemu/util/ |
H A D | throttle.c | 4 * Copyright (C) Nodalink, EURL. 2013-2014 41 leak = (bkt->avg * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket() 44 bkt->level = MAX(bkt->level - leak, 0); in throttle_leak_bucket() 47 * keep track of bkt->burst_level so the bkt->max goal per second in throttle_leak_bucket() 49 if (bkt->burst_length > 1) { in throttle_leak_bucket() 50 leak = (bkt->max * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket() 51 bkt->burst_level = MAX(bkt->burst_level - leak, 0); in throttle_leak_bucket() 62 int64_t delta_ns = now - ts->previous_leak; in throttle_do_leak() 65 ts->previous_leak = now; in throttle_do_leak() 73 throttle_leak_bucket(&ts->cfg.buckets[i], delta_ns); in throttle_do_leak() [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/net/ |
H A D | stmmac.txt | 4 - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac" 5 For backwards compatibility: "st,spear600-gmac" is also supported. 6 - reg: Address and length of the register set for the device 7 - interrupt-parent: Should be the phandle for the interrupt controller 9 - interrupts: Should contain the STMMAC interrupts 10 - interrupt-names: Should contain the interrupt names "macirq" 13 - phy-mode: See ethernet.txt file in the same directory. 14 - snps,reset-gpio gpio number for phy reset. 15 - snps,reset-active-low boolean flag to indicate if phy reset is active low. 16 - snps,reset-delays-us is triplet of delays [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | snps,dwc3.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Felipe Balbi <balbi@kernel.org> 14 be presented as a standalone DT node with an optional vendor-specific 18 - $ref: usb-drd.yaml# 19 - if: 25 - dr_mode 29 $ref: usb-xhci.yaml# 35 - const: snps,dwc3 [all …]
|
H A D | ci-hdrc-usb2.yaml | 1 # 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 …]
|
/openbmc/linux/net/netfilter/ |
H A D | xt_hashlimit.c | 1 // 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 50 MODULE_DESCRIPTION("Xtables: per hash-bucket rate-limit match"); 90 /* static / read-only parts in the beginning */ 109 int64_t burst; member 144 to->mode = cfg->mode; in cfg_copy() 145 to->avg = cfg->avg; in cfg_copy() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,coresight-tmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,coresight-tmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mathieu Poirier <mathieu.poirier@linaro.org> 11 - Mike Leach <mike.leach@linaro.org> 12 - Leo Yan <leo.yan@linaro.org> 13 - Suzuki K Poulose <suzuki.poulose@arm.com> 32 const: arm,coresight-tmc 34 - compatible [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | dma_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 59 /*! Set maximum burst size of DMA[ID] 62 \param conn[in] Connection to set max burst size for 63 \param max_burst_size[in] Maximum burst size in words
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k.c | 1 // SPDX-License-Identifier: GPL-2.0 33 if (!test_bit(CN10K_LMTST, &pfvf->hw.cap_flag)) { in cn10k_lmtst_init() 34 pfvf->hw_ops = &otx2_hw_ops; in cn10k_lmtst_init() 38 pfvf->hw_ops = &cn10k_hw_ops; in cn10k_lmtst_init() 39 /* Total LMTLINES = num_online_cpus() * 32 (For Burst flush).*/ in cn10k_lmtst_init() 40 pfvf->tot_lmt_lines = (num_online_cpus() * LMT_BURST_SIZE); in cn10k_lmtst_init() 41 pfvf->hw.lmt_info = alloc_percpu(struct otx2_lmt_info); in cn10k_lmtst_init() 43 mutex_lock(&pfvf->mbox.lock); in cn10k_lmtst_init() 44 req = otx2_mbox_alloc_msg_lmtst_tbl_setup(&pfvf->mbox); in cn10k_lmtst_init() 46 mutex_unlock(&pfvf->mbox.lock); in cn10k_lmtst_init() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/clock/imx6qdl-clock.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 15 * pre-existing /chosen node to be available to insert the 58 compatible = "fixed-clock"; 59 #clock-cells = <0>; 60 clock-frequency = <32768>; [all …]
|
H A D | imx6sl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6sl-pinfunc.h" 7 #include <dt-bindings/clock/imx6sl-clock.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 * pre-existing /chosen node to be available to insert the 50 #address-cells = <1>; 51 #size-cells = <0>; 54 compatible = "arm,cortex-a9"; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx6qdl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/clock/imx6qdl-clock.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 * pre-existing /chosen node to be available to insert the 16 * Also for U-Boot there must be a pre-existing /memory node. 55 compatible = "fsl,imx-ckil", "fixed-clock"; 56 #clock-cells = <0>; 57 clock-frequency = <32768>; [all …]
|
H A D | imx6sl.dtsi | 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include "imx6sl-pinfunc.h" 12 #include <dt-bindings/clock/imx6sl-clock.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 19 * pre-existing /chosen node to be available to insert the 21 * Also for U-Boot there must be a pre-existing /memory node. 47 #address-cells = <1>; 48 #size-cells = <0>; 51 compatible = "arm,cortex-a9"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n950-n9.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff) 13 cpu0-supply = <&vcc>; 23 compatible = "regulator-fixed"; 24 regulator-name = "VEMMC"; 25 regulator-min-microvolt = <2900000>; 26 regulator-max-microvolt = <2900000>; 28 startup-delay-us = <150>; 29 enable-active-high; 33 compatible = "regulator-fixed"; [all …]
|
/openbmc/linux/samples/pktgen/ |
H A D | parameters.sh | 2 # 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 …]
|