/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/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 */ 115 /* DiSEqC burst */ 119 /* DiSEqC tone burst */ 128 MODULE_PARM_DESC(esno_snr, "SNR return units, 0=PERCENTAGE 0-100, "\ [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 --DaveM 26 * Scaling of results. 020417--sigurdur@linpro.no 27 * Significant re-work of the module: 31 * * Allow configuration of ranges, like min/max IP address, MACs, 32 * and UDP-ports, for both source and destination, and can 35 * * Place 12-byte packet in UDP payload with magic number, 37 * * Add receiver code that detects dropped pkts, re-ordered pkts, and [all …]
|
/linux/drivers/misc/ |
H A D | dw-xdata-pcie.c | 1 // 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 D | bcm4908_enet.h | 1 /* 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 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 259 /* maximum dma burst size */
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko.h | 7 * 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/iio/imu/ |
H A D | adis16475.c | 1 // 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 …]
|
H A D | adis16480.c | 1 // SPDX-License-Identifier: GPL-2.0-only 109 /* total number of segments in burst */ 116 ADIS16480_REG((page) + 1, (x) - 60 + 8)) 199 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_revision() 201 size_t len; in adis16480_show_firmware_revision() local 205 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_REV, &rev); in adis16480_show_firmware_revision() 209 len = scnprintf(buf, sizeof(buf), "%x.%x\n", rev >> 8, rev & 0xff); in adis16480_show_firmware_revision() 211 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16480_show_firmware_revision() 224 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_date() 227 size_t len; in adis16480_show_firmware_date() local [all …]
|
/linux/include/linux/ |
H A D | dmaengine.h | 1 /* 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/ |
H A D | pl330.c | 1 // 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 D | amba-pl08x.c | 1 // 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/spi/ |
H A D | spi-imx.c | 1 // 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 …]
|
H A D | spi-meson-spicc.c | 7 * SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/clk-provider.h> 30 * - all transfers are cutted in 16 words burst because the FIFO hangs on 31 * TX underflow, and there is no TX "Half-Empty" interrupt, so we go by 32 * FIFO max size chunk only 33 * - CS management is dumb, and goes UP between every burst, so is really a 69 #define SPICC_TH_EN BIT(1) /* TX FIFO Half-Full Interrupt */ 72 #define SPICC_RH_EN BIT(4) /* RX FIFO Half-Full Interrupt */ 89 #define SPICC_TH BIT(1) /* TX FIFO Half-Full Interrupt */ 92 #define SPICC_RH BIT(4) /* RX FIFO Half-Full Interrupt */ [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | ethtool.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 8 uapi-header: linux/ethtool_netlink_generated.h 11 - 12 name: udp-tunnel-type 13 enum-name: 15 entries: [ vxlan, geneve, vxlan-gpe ] 16 enum-cnt-name: __ethtool-udp-tunnel-type-cnt 17 render-max: true 18 - [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | das1800.c | 1 // 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 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() 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() 379 "type '%s' -> raw %08x %08x %08x %08x", in cdnsp_decode_trb() 384 if (ret == size - 1) in cdnsp_decode_trb() [all …]
|
/linux/drivers/dma/dw/ |
H A D | regs.h | 1 /* 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 D | of.c | 1 // 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/block/ |
H A D | bfq-iosched.h | 1 /* 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 D | common.h | 1 /* 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/gpu/drm/i915/display/ |
H A D | intel_gmbus.c | 3 * Copyright © 2006-2008,2010 Intel Corporation 27 * Chris Wilson <chris@chris-wilson.co.uk> 31 #include <linux/i2c-algo-bit.h> 155 struct drm_i915_private *i915 = to_i915(display->drm); in get_gmbus_pin() 242 struct intel_display *display = bus->display; in get_reserved() 243 struct drm_i915_private *i915 = to_i915(display->drm); in get_reserved() 248 reserved = intel_de_read_notrace(display, bus->gpio_reg) & in get_reserved() 257 struct intel_display *display = bus->display; in get_clock() 260 intel_de_write_notrace(display, bus->gpio_reg, reserved | GPIO_CLOCK_DIR_MASK); in get_clock() 261 intel_de_write_notrace(display, bus->gpio_reg, reserved); in get_clock() [all …]
|
H A D | vlv_dsi.c | 89 struct intel_display *display = to_intel_display(&intel_dsi->base); in vlv_dsi_wait_for_fifo_empty() 97 drm_err(display->drm, "DPI FIFOs are not empty\n"); in vlv_dsi_wait_for_fifo_empty() 102 const u8 *data, u32 len) in write_data() argument 106 for (i = 0; i < len; i += 4) { in write_data() 109 for (j = 0; j < min_t(u32, len - i, 4); j++) in write_data() 118 u8 *data, u32 len) in read_data() argument 122 for (i = 0; i < len; i += 4) { in read_data() 125 for (j = 0; j < min_t(u32, len - i, 4); j++) in read_data() 134 struct intel_dsi *intel_dsi = intel_dsi_host->intel_dsi; in intel_dsi_host_transfer() 135 struct intel_display *display = to_intel_display(&intel_dsi->base); in intel_dsi_host_transfer() [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2006-2012 Wilocity 70 * Each ID maps to a bit in a 32-bit bitmask value provided by the FW to 444 * - WMI_RX_MGMT_PACKET_EVENTID - for every probe resp. 445 * - WMI_SCAN_COMPLETE_EVENTID 461 /* Max duration in the home channel(ms) */ 470 * 0 - 58320 MHz 471 * 1 - 60480 MHz [all …]
|
/linux/arch/arm/boot/dts/ti/davinci/ |
H A D | da850-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "ti,da850-evm", "ti,da850"; 13 model = "DA850/AM1808/OMAP-L138 EVM"; 16 stdout-path = &serial2; 27 backlight: backlight-pwm { 28 pinctrl-names = "default"; 29 pinctrl-0 = <&ecap2_pins>; [all …]
|