Home
last modified time | relevance | path

Searched +full:max +full:- +full:burst +full:- +full:len (Results 1 – 25 of 202) sorted by relevance

123456789

/linux/drivers/char/tpm/
H A Dtpm_tis_i2c_cr50.c1 // 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/net/core/
H A Dpktgen.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 * MAC address typo fixed. 010417 --ro
24 * Integrated. 020301 --DaveM
25 * Added multiskb option 020301 -
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
847 ssize_t len; get_imix_entries() local
908 size_t i = 0, max; get_labels() local
909 ssize_t len; get_labels() local
982 size_t i, max; pktgen_if_write() local
983 ssize_t len; pktgen_if_write() local
1917 size_t i, max; pktgen_thread_write() local
1918 ssize_t len, ret; pktgen_thread_write() local
2817 int i, len; pktgen_finalize_skb() local
3501 unsigned int burst = 1; pktgen_xmit() local
3759 size_t len = strlen(ifname); pktgen_find_dev() local
[all...]
/linux/drivers/media/dvb-frontends/
H A Dcx24116.c1 // 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 */
115 /* DiSEqC burst */
119 /* DiSEqC tone burst */
128 MODULE_PARM_DESC(esno_snr, "SNR return units, 0=PERCENTAGE 0-100, "\
[all …]
/linux/net/netfilter/
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/misc/
H A Ddw-xdata-pcie.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/pci-epf.h>
20 #define DW_XDATA_DRIVER_NAME "dw-xdata-pcie"
66 size_t max_wr_len; /* max wr xfer len */
67 size_t max_rd_len; /* max rd xfer len */
75 return dw->rg_region.vaddr; in __dw_regs()
80 u32 burst; in dw_xdata_stop() local
82 mutex_lock(&dw->mutex); in dw_xdata_stop()
84 burst = readl(&(__dw_regs(dw)->burst_cnt)); in dw_xdata_stop()
86 if (burst & BURST_REPEAT) { in dw_xdata_stop()
[all …]
/linux/drivers/net/ethernet/broadcom/
H A Dbcm4908_enet.h1 /* SPDX-License-Identifier: GPL-2.0-only */
67 #define ENET_DMA_CH_CFG_BURST_HALT 0x00000004 /* idle after finish current memory burst */
74 #define ENET_DMA_CH_CFG_MAX_BURST 0x0c /* max burst length permitted */
80 #define ENET_DMA_CH_STATE_RAM_DESC_LEN_STATUS 0x08 /* buffer descriptor status and len */
H A Dbcm63xx_enet.h1 /* 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
259 /* maximum dma burst size */
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
44 * - PKO indexes are no longer stored in the FAU. A large
48 * - The PKO <b>use_locking</b> parameter can now have a global
52 * - PKO 3 word commands are now supported. Use
60 #include <asm/octeon/cvmx-fpa.h>
61 #include <asm/octeon/cvmx-pow.h>
62 #include <asm/octeon/cvmx-cmd-queue.h>
63 #include <asm/octeon/cvmx-pko-defs.h>
[all …]
/linux/drivers/spi/
H A Dspi-meson-spicc.c7 * SPDX-License-Identifier: GPL-2.0+
12 #include <linux/clk-provider.h>
24 #include <linux/dma-mapping.h>
31 * DMA achieves a transfer with one or more SPI bursts, each SPI burst is made
32 * up of one or more DMA bursts. The DMA burst implementation mechanism is,
34 * reading threshold, SPICC starts a reading DMA burst, which reads the preset
37 * writing threshold, SPICC starts a writing request burst, which reads the
40 * - 64 bits per word
41 * - The transfer length in word must be multiples of the dma_burst_len, and
77 #define SPICC_TH_EN BIT(1) /* TX FIFO Half-Full Interrupt */
[all …]
H A Dspi-imx.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
11 #include <linux/dma-mapping.h>
30 #include <linux/dma/imx-dma.h>
138 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi()
143 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi()
148 return d->devtype_data->devtype == IMX51_ECSPI; in is_imx51_ecspi()
153 return d->devtype_data->devtype == IMX53_ECSPI; in is_imx53_ecspi()
159 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \
161 if (spi_imx->rx_buf) { \
[all …]
/linux/drivers/dma/
H A Dsun4i-dma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/dma-mapping.h>
22 #include "virt-dma.h"
28 #define SUN4I_DMA_CFG_DST_BURST_LENGTH(len) ((len) << 23) argument
32 #define SUN4I_DMA_CFG_SRC_BURST_LENGTH(len) ((len) << 7) argument
92 #define SUN4I_DDMA_PARA_DST_DATA_BLK_SIZE(n) (((n) - 1) << 24)
93 #define SUN4I_DDMA_PARA_DST_WAIT_CYCLES(n) (((n) - 1) << 16)
94 #define SUN4I_DDMA_PARA_SRC_DATA_BLK_SIZE(n) (((n) - 1) << 8)
95 #define SUN4I_DDMA_PARA_SRC_WAIT_CYCLES(n) (((n) - 1) << 0)
130 #define SUN4I_NDMA_NR_MAX_VCHANS (29 * 2 - 1)
[all …]
H A Dpl330.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <linux/dma-mapping.h>
46 CCTRL6, /* Cacheable write-through, allocate on writes only */
47 CCTRL7, /* Cacheable write-back, allocate on writes only */
245 * at 1byte/burst for P<->M and M<->M respectively.
246 * For typical scenario, at 1word/burst, 10MB and 20MB xfers per req
247 * should be enough for P<->M and M<->M respectively.
303 * and burst size/length are assumed same.
351 BURST, enumerator
382 /* Index of the last submitted request or -1 if the DMA is stopped */
[all …]
H A Dnbpfaxi.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2013-2014 Renesas Electronics Europe Ltd.
10 #include <linux/dma-mapping.h>
22 #include <dt-bindings/dma/nbpfaxi.h>
104 * 1. high-level descriptor, containing a struct dma_async_tx_descriptor object
108 * allocated from coherent memory - one per SG segment
115 * Therefore for both cases (a) and (b) at run-time objects (2) and (3) shall be
142 * struct nbpf_desc - DMA transfer descriptor
161 #define NBPF_DESCS_PER_PAGE ((PAGE_SIZE - sizeof(struct list_head)) / \
175 * struct nbpf_channel - one DMAC channel
[all …]
H A Damba-pl08x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2010 ST-Ericsson SA
27 * - CH_CONFIG register at different offset,
28 * - separate CH_CONTROL2 register for transfer size,
29 * - bigger maximum transfer size,
30 * - 8-word aligned LLI, instead of 4-word, due to extra CCTL2 word,
31 * - no support for peripheral flow control.
36 * On burst request from peripheral
37 * Destination burst from DMAC to peripheral
38 * Clear burst request
[all …]
/linux/drivers/iio/imu/
H A Dadis16475.c1 // SPDX-License-Identifier: GPL-2.0
70 /* number of data elements in burst mode */
75 /* spi max speed in brust mode */
171 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision()
173 size_t len; in adis16475_show_firmware_revision() local
177 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision()
181 len = scnprintf(buf, sizeof(buf), "%x.%x\n", rev >> 8, rev & 0xff); in adis16475_show_firmware_revision()
183 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16475_show_firmware_revision()
197 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date()
200 size_t len; in adis16475_show_firmware_date() local
[all …]
/linux/include/linux/
H A Ddmaengine.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
18 * typedef dma_cookie_t - an opaque DMA cookie
31 * enum dma_status - DMA transaction status
46 * enum dma_transaction_type - DMA transaction types/indexes
73 * enum dma_transfer_direction - dma transfer mode and direction indicator
89 * ----------------------------
91 * The gap(in bytes) between two chunks is called inter-chunk-gap(ICG).
96 * it is to be repeated and other per-transfer attributes.
103 * | Frame-1 | Frame-2 | ~ | Frame-'numf' |
[all …]
/linux/drivers/dma/stm32/
H A Dstm32-dma3.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/dma-mapping.h>
24 #include "../virt-dma.h"
56 /* MISR DMA non-secure/secure masked interrupt status register */
140 CTR1_PAM_0S_LT, /* if DDW > SDW, padded with 0s else left-truncated */
141 CTR1_PAM_SE_RT, /* if DDW > SDW, sign extended else right-truncated */
163 /* CxLLR DMA channel x linked-list address register */
192 AXI64, /* 1x AXI: 64-bit port 0 */
193 AHB32, /* 1x AHB: 32-bit port 0 */
194 AHB32_AHB32, /* 2x AHB: 32-bit port 0 and 32-bit port 1 */
[all …]
/linux/drivers/comedi/drivers/
H A Ddas1800.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards
6 * COMEDI - Linux Control and Measurement Device Interface
14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st),
15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao),
16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da),
17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da),
18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st),
19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc),
20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st),
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-debug.h1 /* 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()
180 int ep_id = TRB_TO_EP_INDEX(field3) - 1; in cdnsp_decode_trb()
205 " len %ld slot %ld flags %c:%c", in cdnsp_decode_trb()
380 "type '%s' -> raw %08x %08x %08x %08x", in cdnsp_decode_trb()
385 if (ret == size - 1) in cdnsp_decode_trb()
[all …]
/linux/drivers/dma/dw/
H A Dregs.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2005-2007 Atmel Corporation
6 * Copyright (C) 2010-2011 ST Microelectronics
14 #include <linux/io-64-nonatomic-hi-lo.h>
33 * Redefine this macro to handle differences between 32- and 64-bit
64 /* per-channel registers */
89 /* iDMA 32-bit support */
96 /* per-channel configuration registers */
101 /* top-level parameters */
108 /* iDMA 32-bit support */
[all …]
H A Dof.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2007-2008 Atmel Corporation
6 * Copyright (C) 2010-2011 ST Microelectronics
19 struct dw_dma *dw = ofdma->of_dma_data; in dw_dma_of_xlate()
21 .dma_dev = dw->dma.dev, in dw_dma_of_xlate()
25 if (dma_spec->args_count < 3 || dma_spec->args_count > 4) in dw_dma_of_xlate()
28 slave.src_id = dma_spec->args[0]; in dw_dma_of_xlate()
29 slave.dst_id = dma_spec->args[0]; in dw_dma_of_xlate()
30 slave.m_master = dma_spec->args[1]; in dw_dma_of_xlate()
31 slave.p_master = dma_spec->args[2]; in dw_dma_of_xlate()
[all …]
/linux/Documentation/netlink/specs/
H A Dethtool.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
8 uapi-header: linux/ethtool_netlink_generated.h
10 c-family-name: ethtool-genl-name
11 c-version-name: ethtool-genl-version
14 -
15 name: udp-tunnel-type
16 enum-name:
18 entries: [vxlan, geneve, vxlan-gpe]
[all …]
/linux/block/
H A Dbfq-iosched.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 #include "blk-cgroup-rwstat.h"
29 * Soft real-time applications are extremely more latency sensitive
30 * than interactive ones. Over-raise the weight of the former to
38 * per-actuator data. The current value is hopefully a good upper
46 * struct bfq_service_tree - per ioprio_class service tree.
48 * Each service tree represents a B-WF2Q+ scheduler on its own. Each
71 * struct bfq_sched_data - multi-class scheduler.
81 * queue requests are served according to B-WF2Q+.
86 * before the current in-service entity is expired, 2) the in-service
[all …]
/linux/drivers/crypto/qce/
H A Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved.
25 /* max of AES_BLOCK_SIZE, DES3_EDE_BLOCK_SIZE */
32 /* burst size alignment requirement */
99 void qce_cpu_to_be32p_array(__be32 *dst, const u8 *src, unsigned int len);
/linux/drivers/pci/pcie/
H A Daer.c1 // SPDX-License-Identifier: GPL-2.0
11 * (C) Copyright 2009 Hewlett-Packard Development Company, L.P.
22 #include <linux/pci-acpi.h>
41 dev_printk(level, &(pdev)->dev, fmt, ##arg)
147 * enable_ecrc_checking - enable PCIe ECRC checking for a device
154 int aer = dev->aer_cap; in enable_ecrc_checking()
158 return -ENODEV; in enable_ecrc_checking()
171 * disable_ecrc_checking - disable PCIe ECRC checking for a device
178 int aer = dev->aer_cap; in disable_ecrc_checking()
182 return -ENODEV; in disable_ecrc_checking()
[all …]

123456789