/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 …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | snps,dwc3-common.yaml | 1 # 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 D | chipidea,usb2-common.yaml | 1 # 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 …]
|
/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 …]
|
/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 …]
|
/linux/Documentation/netlink/specs/ |
H A D | net_shaper.yaml | 1 # 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/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 | qca,qca7000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 13 The QCA7000 is a serial-to-powerline bridge with a host interface which could 39 qca,legacy-mode: 44 between each data word. In burst mode these gaps aren't 47 property is missing the driver defaults to burst mode. 50 - $ref: ethernet-controller.yaml# 52 - if: [all …]
|
H A D | ibm,emac.txt | 8 correct clock-frequency property. 13 - device_type : "network" 15 - compatible : compatible list, contains 2 entries, first is 16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx, 18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon", 20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ> 21 - reg : <registers mapping> 22 - local-mac-address : 6 bytes, MAC address 23 - mal-device : phandle of the associated McMAL node 24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated [all …]
|
/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 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/marvell/octeontx2/nic/ |
H A D | cn10k.c | 1 // 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/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 …]
|
H A D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/media/video-interfaces.h> 15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; [all …]
|
/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 …]
|
/linux/Documentation/networking/ |
H A D | pktgen.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel 27 Tuning NIC for max performance 31 overload type of benchmarking, as this could hurt the normal use-case. 35 # ethtool -G ethX tx 1024 44 ring-buffers for various performance reasons, and packets stalling 49 and the cleanup interval is affected by the ethtool --coalesce setting 50 of parameter "rx-usecs". 54 # ethtool -C ethX rx-usecs 30 72 * add_device DEVICE@NAME -- adds a single device [all …]
|
/linux/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 22 #include "../sof-audio.h" 27 #define SDnFMT_MULT(x) (((x) - 1) << 11) 28 #define SDnFMT_DIV(x) (((x) - 1) << 8) 42 static int hda_force_pause_support = -1; 45 "Pause support: -1: Use default, 0: Disable, 1: Enable (default -1)"); 75 dev_warn(sdev->dev, "can't find div rate %d using 48kHz\n", in hda_dsp_get_mult_div() 95 dev_warn(sdev->dev, "can't find %d bits using 16bit\n", in hda_dsp_get_bits() 106 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() 108 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_hw_params() [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bcm63xx_enet.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 /* maximum burst len for dma (4 bytes unit) */ 24 * must be low enough so that a DMA transfer of above burst length can 29 * hardware maximum rx/tx packet size including FCS, max mtu is 30 * actually 2047, but if we set max rx size register to 2047 we won't 31 * get overflow information if packet size is 2048 or above 208 /* allocated size (in bytes) for rx & tx dma ring */ 233 /* size of allocated rx buffers */ 239 /* size of allocated rx frag */ 259 /* maximum dma burst size */ [all …]
|
/linux/net/core/ |
H A D | pktgen.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 * MAC address typo fixed. 010417 --ro 24 * Integrated. 020301 --DaveM 25 * Added multiskb option 020301 - 248 u64 size; global() member 423 unsigned int burst; /* number of duplicated packets to burst */ global() member 518 size_t max; pgctrl_write() local 846 size_t i = 0, max; get_imix_entries() local 854 unsigned long size; get_imix_entries() local 908 size_t i = 0, max; get_labels() local 982 size_t i, max; pktgen_if_write() local 1917 size_t i, max; pktgen_thread_write() local 2891 unsigned int size; pktgen_alloc_skb() local 3501 unsigned int burst = 1; pktgen_xmit() local [all...] |
/linux/drivers/memory/ |
H A D | omap-gpmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2005-2006 Nokia Corporation 10 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 33 #include <linux/omap-gpmc.h> 37 #include <linux/platform_data/mtd-nand-omap2.h> 39 #define DEVICE_NAME "omap-gpmc" 100 * As GPMC minimum partition size is 16MB we can only start from 147 /** CLKACTIVATIONTIME Max Ticks */ 150 /** ATTACHEDDEVICEPAGELENGTH Max Value */ 155 /** WAITMONITORINGTIME Max Ticks */ [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | cx24116.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Conexant cx24116/cx24118 - DVBS/S2 Satellite demod/tuner driver 5 Copyright (C) 2006-2008 Steven Toth <stoth@hauppauge.com> 6 Copyright (C) 2006-2007 Georg Acher 7 Copyright (C) 2007-2008 Darron Broad 45 #define CX24116_DEFAULT_FIRMWARE "dvb-fe-cx24116.fw" 74 /* Select DVB-S demodulator, else DVB-S2 */ 81 /* arg buffer size */ 115 /* DiSEqC burst */ 119 /* DiSEqC tone burst */ [all …]
|
/linux/drivers/usb/host/ |
H A D | xhci-mtk.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 /* support at most 64 ep, use 32 size hash table */ 31 #define XHCI_MTK_BW_INDEX(x) ((x) & (XHCI_MTK_MAX_ESIT - 1)) 41 * @in_ss_cnt: the count of Start-Split for IN eps 68 * @esit: unit is 125us, equal to 2 << Interval field in ep-context 78 * @maxpkt: max packet size of endpoint 90 * @burst_mode: burst mode for scheduling. 0: normal burst mode, 91 * distribute the bMaxBurst+1 packets for a single burst 92 * according to @pkts and @repeat, repeate the burst multiple 180 return dev_get_drvdata(hcd->self.controller); in hcd_to_mtk()
|
/linux/arch/arm64/boot/dts/xilinx/ |
H A D | zynqmp-zc1232-revA.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2017 - 2021, Xilinx, Inc. 10 /dts-v1/; 13 #include "zynqmp-clk-ccf.dtsi" 17 compatible = "xlnx,zynqmp-zc1232-revA", "xlnx,zynqmp-zc1232", "xlnx,zynqmp"; 27 stdout-path = "serial0:115200n8"; 43 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ 44 #address-cells = <1>; 45 #size-cells = <1>; 47 spi-tx-bus-width = <4>; [all …]
|
/linux/drivers/char/tpm/ |
H A D | tpm_tis_i2c_cr50.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * - Use an interrupt for transaction status instead of hardcoded delays. 11 * - Must use write+wait+read read protocol. 12 * - All 4 bytes of status register must be read/written at once. 13 * - Burst count max is 63 bytes, and burst count behaves slightly differently 15 * - When reading from FIFO the full burstcnt must be read instead of just 37 #define TPM_CR50_I2C_MAX_RETRIES 3 /* Max retries due to I2C errors */ 39 #define TPM_CR50_I2C_RETRY_DELAY_HI 65 /* Max usecs between retries on I2C */ 48 * struct tpm_i2c_cr50_priv_data - Driver private data. 63 * tpm_cr50_i2c_int_handler() - cr50 interrupt handler. [all …]
|
/linux/drivers/usb/cdns3/ |
H A D | cdnsp-debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 61 return "Stopped - Length Invalid"; in cdnsp_trb_comp_code_string() 63 return "Stopped - Short Packet"; in cdnsp_trb_comp_code_string() 65 return "Max Exit Latency Too Large Error"; in cdnsp_trb_comp_code_string() 97 return "No-Op"; in cdnsp_trb_type_string() 119 return "No-Op Command"; in cdnsp_trb_type_string() 177 static inline const char *cdnsp_decode_trb(char *str, size_t size, u32 field0, in cdnsp_decode_trb() argument 180 int ep_id = TRB_TO_EP_INDEX(field3) - 1; in cdnsp_decode_trb() 190 ret = scnprintf(str, size, in cdnsp_decode_trb() 203 ret = scnprintf(str, size, in cdnsp_decode_trb() [all …]
|