| /linux/include/linux/dma/ |
| H A D | sprd-dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * The Spreadtrum DMA controller supports channel 2-stage tansfer, that means 16 * we can request 2 dma channels, one for source channel, and another one for 18 * configurations. Once the source channel's transaction is done, it will 22 * To support 2-stage tansfer, we must configure the channel mode and trigger 27 * enum sprd_dma_chn_mode: define the DMA channel mode for 2-stage transfer 29 * support the 2-stage transfer. 30 * @SPRD_DMA_SRC_CHN0: Channel used as source channel 0. 31 * @SPRD_DMA_SRC_CHN1: Channel used as source channel 1. 35 * Now the DMA controller can supports 2 groups 2-stage transfer. [all …]
|
| /linux/drivers/crypto/ |
| H A D | hifn_795x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/interrupt.h> 16 #include <linux/dma-mapping.h> 63 #define HIFN_DMA_SDRA 0x1C /* DMA Source Data Ring Address */ 67 #define HIFN_DMA_INTREN 0x44 /* DMA Interrupt Enable */ 77 #define HIFN_0_PUISR 0x08 /* Processing Unit Interrupt Status */ 79 #define HIFN_0_PUIER 0x10 /* Processing Unit Interrupt Enable */ 86 #define HIFN_PUCTRL_CLRSRCFIFO 0x0010 /* clear source fifo */ 92 /* Processing Unit Interrupt Status Register (HIFN_0_PUISR) */ 93 #define HIFN_PUISR_CMDINVAL 0x8000 /* Invalid command interrupt */ [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <asm/cpu-features.h> 25 #include <asm/cpu-type.h> 40 struct cpumask *cpus = freq->policy->cpus; in cpufreq_callback() 45 * Skip lpj numbers adjustment if the CPU-freq transition is safe for in cpufreq_callback() 48 if (freq->flags & CPUFREQ_CONST_LOOPS) in cpufreq_callback() 54 glb_lpj_ref_freq = freq->old; in cpufreq_callback() 59 per_cpu(pcp_lpj_ref_freq, cpu) = freq->old; in cpufreq_callback() 64 * Adjust global lpj variable and per-CPU udelay_val number in in cpufreq_callback() 67 if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) || in cpufreq_callback() [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | rtc.rst | 8 the local time zone or daylight savings time -- unless they dual boot 9 with MS-Windows -- but will instead be set to Coordinated Universal Time 12 The newest non-PC hardware tends to just count seconds, like the time(2) 16 Linux has two largely-compatible userspace RTC API families you may 20 so it's not very portable to non-x86 systems. 35 Old PC/AT-Compatible driver: /dev/rtc 36 -------------------------------------- 44 a few ways (enabling longer alarm periods, and wake-from-hibernate). 49 are reported by interrupt number 8. (Oh! So *that* is what IRQ 8 is 54 The clock can also be set to generate an interrupt upon every clock [all …]
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | pq3-mpic.dtsi | 6 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 36 interrupt-controller; 37 #address-cells = <0>; 38 #interrupt-cells = <4>; 41 device_type = "open-pic"; 42 big-endian; 43 single-cpu-affinity; 44 last-interrupt-source = <255>; 48 compatible = "fsl,mpic-global-timer"; [all …]
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * copyrights (c) 1994 by Michael Hipp (hippm@informatik.uni-tuebingen.de) 11 * crynwr-packet-driver by Russ Nelson 12 * Garret A. Wollman's i82586-driver for BSD 26 #define IEOB_IENAB 0x10 /* interrupt enable */ 30 #define IEOB_INT 0x01 /* interrupt */ 53 char *iscp; /* pointer to the iscp-block */ 65 char *scb_base; /* base-address of all 16-bit offsets */ 79 unsigned short crc_errs; /* CRC-Error counter */ 89 #define RUC_NOP 0x0000 /* NOP-command */ [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-power | 15 labels, which may be "mem" (suspend), "standby" (power-on 16 suspend), "freeze" (suspend-to-idle) and "disk" (hibernation). 21 See Documentation/admin-guide/pm/sleep-states.rst for more 39 See Documentation/admin-guide/pm/sleep-states.rst for more 47 suspend-to-disk mechanism. Reading from this file returns 51 'firmware' - means that the memory image will be saved to disk 55 'platform' - the memory image will be saved by the kernel and 59 'shutdown' - the memory image will be saved by the kernel and 62 'reboot' - the memory image will be saved by the kernel and 66 two testing modes of the suspend-to-disk mechanism: 'testproc' [all …]
|
| H A D | sysfs-class-rnbd-client | 1 What: /sys/class/rnbd-client 5 Description: Provide information about RNBD-client. 6 All sysfs files that are not read-only provide the usage information on read: 10 # cat /sys/class/rnbd-client/ctl/map_device 18 What: /sys/class/rnbd-client/ctl/map_device 34 I.e. "clt_hostname-srv_hostname" could be a natural choice. 38 specifying destination and, when required, the source address. 56 First addr is the source address and the second is the destination. 70 directory and an entry in /sys/class/rnbd-client/ctl/devices 75 the following parameter "dev_search_path=/run/rnbd-devs/%SESSNAME%", [all …]
|
| H A D | sysfs-firmware-acpi | 36 since the last full boot sequence. 38 logged since the last full boot sequence, 55 image: The image bitmap. Currently a 32-bit BMP. 93 cause -EINVAL to be returned. 100 the System Control Interrupt (SCI), which appears 121 every possible source, and the count of how many 170 has been called and claimed an interrupt. 173 has been called and NOT claimed an interrupt. 177 gpeXX count for individual GPE source 189 error an interrupt that can't be accounted for above. [all …]
|
| /linux/sound/pci/pcxhr/ |
| H A D | pcxhr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 #include <linux/interrupt.h> 69 struct mutex lock; /* interrupt lock */ 96 int timer_toggle; /* timer interrupt toggles between the two values 0x200 and 0x300 */ 97 int dsp_time_last; /* the last dsp time (read by interrupt) */ 99 unsigned int src_it_dsp; /* dsp interrupt source */ 133 …u_int32_t timer_period_frag; /* timer: samples elapsed since last call to snd_pcm_period_elapsed (… 176 int audio_capture_source; /* Mixer : Audio Capture Source */
|
| /linux/drivers/soc/fsl/qbman/ |
| H A D | dpaa_sys.h | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 3 * Redistribution and use in source and binary forms, with or without 5 * * Redistributions of source code must retain the above copyright 37 #include <linux/interrupt.h> 50 /* For 2-element tables related to cache-inhibited and cache-enabled mappings */ 57 * Only PPC needs to flush the cache currently - on ARM the mapping in dpaa_flush() 92 static inline u8 dpaa_cyc_diff(u8 ringsize, u8 first, u8 last) in dpaa_cyc_diff() argument 94 /* 'first' is included, 'last' is excluded */ in dpaa_cyc_diff() 95 if (first <= last) in dpaa_cyc_diff() 96 return last - first; in dpaa_cyc_diff() [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | nxp,pcf8575.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PCF857x-compatible I/O expanders 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 13 The PCF857x-compatible chips have "quasi-bidirectional" I/O lines that can be 14 driven high by a pull-up current source or driven low to ground. This 18 input and reporting a low/high value, without knowing the last value written 25 - maxim,max7328 26 - maxim,max7329 [all …]
|
| /linux/Documentation/driver-api/dmaengine/ |
| H A D | provider.rst | 20 DMA-eligible devices to the controller itself. Whenever the device 38 Moreover, some DMA controllers, whenever the RAM is used as a source 44 transfer into smaller sub-transfers. 49 non-contiguous buffers to a contiguous buffer, which is called 50 scatter-gather. 53 scatter-gather. So we're left with two cases here: either we have a 56 that implements in hardware scatter-gather. 70 but all of them will require, for every chunk, at least the source and 75 The one last thing is that usually, slave devices won't issue DRQ by 79 These were just the general memory-to-memory (also called mem2mem) or [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | ce.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 15 /* no interrupt on copy completion */ 25 /* Threshold to poll for tx completion in case of Interrupt disabled CE's */ 38 * as with a WiFi Tx operation. This is somewhat awkward for the "middle-man" 43 #define PIPEDIR_IN 1 /* Target-->Host, WiFi Rx direction */ 44 #define PIPEDIR_OUT 2 /* Host->Target, WiFi Tx direction */ 108 /* #entries in source ring - Must be a power of 2 */ 112 * Max source send size for this CE. 117 /* #entries in destination ring - Must be a power of 2 */ [all …]
|
| /linux/include/linux/ |
| H A D | hil_mlc.h | 7 * Redistribution and use in source and binary forms, with or without 10 * 1. Redistributions of source code must retain the above copyright 30 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 36 #include <linux/interrupt.h> 56 * the last configured/running device on the loop. 61 * the next device past the last configured/running one. 70 /* HILSE_IN simply expects any non-errored packet to arrive 80 /* HILSE_EXPECT_LAST as above but dev field should be last 104 /* Methods for back-end drivers, e.g. hp_sdc_mlc */ 150 int ddi; /* Last operational device id */
|
| 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 68 /* last transaction type for creation of the capabilities mask */ 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. [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 22 # - integrated/SOC controllers first 23 # - licensed IP used in both SOC and discrete versions 24 # - discrete ones (including all PCI-only controllers) [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | adapter.h | 2 * Copyright (c) 2003-2008 Chelsio, Inc. All rights reserved. 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 40 #include <linux/interrupt.h> 102 struct sge_fl { /* SGE per free-buffer list state */ 105 unsigned int pend_cred; /* new buffers since last FL DB ring */ 136 unsigned int holdoff_tmr; /* interrupt holdoff timer in 100ns */ 137 unsigned int next_holdoff; /* holdoff time for next interrupt */ [all …]
|
| /linux/samples/pktgen/ |
| H A D | pktgen_sample01_simple.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # * flow variation via random UDP source port 9 source ${basedir}/functions.sh 13 # - go look in parameters.sh to see which setting are avail 14 # - required param is the interface "-i" stored in $DEV 15 source ${basedir}/parameters.sh 22 if [ -z "$DEST_IP" ]; then 23 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1" 25 [ -z "$CLONE_SKB" ] && CLONE_SKB="0" 26 # Example enforce param "-m" for dst_mac [all …]
|
| H A D | pktgen_sample02_multiqueue.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # * flow variation via random UDP source port 11 source ${basedir}/functions.sh 14 # Required param: -i dev in $DEV 15 source ${basedir}/parameters.sh 20 [ -z "$COUNT" ] && COUNT="100000" # Zero means indefinitely 23 [ -z "$CLONE_SKB" ] && CLONE_SKB="0" 25 # Flow variation random source port between min and max 30 if [ -z "$DEST_IP" ]; then 31 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1" [all …]
|
| H A D | pktgen_sample05_flow_per_thread.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Script will generate one flow per thread (-t N) 5 # - Same destination IP 6 # - Fake source IPs for each flow (fixed based on thread number) 10 # separate-flow should not access shared variables/data. This script 14 source ${basedir}/functions.sh 18 source ${basedir}/parameters.sh 24 if [ -z "$DEST_IP" ]; then 25 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1" 27 [ -z "$DST_MAC" ] && DST_MAC="90:e2:ba:ff:ff:ff" [all …]
|
| /linux/drivers/media/platform/st/sti/bdisp/ |
| H A D | bdisp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <media/v4l2-ctrls.h> 13 #include <media/v4l2-device.h> 14 #include <media/v4l2-mem2mem.h> 16 #include <media/videobuf2-dma-contig.h> 21 * Max nb of nodes in node-list: 22 * - 2 nodes to handle wide 4K pictures 23 * - 2 nodes to handle two planes (Y & CbCr) */ 28 /* struct bdisp_ctrls - bdisp control set 38 * struct bdisp_fmt - driver's internal color format data [all …]
|
| /linux/arch/arm/mach-omap1/ |
| H A D | ams-delta-fiq-handler.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mach-omap1/ams-delta-fiq-handler.S 14 #include <linux/platform_data/ams-delta-fiq.h> 15 #include <linux/platform_data/gpio-omap.h> 16 #include <linux/soc/ti/omap1-io.h> 22 #include "ams-delta-fiq.h" 23 #include "board-ams-delta.h" 27 * OMAP1510 GPIO related symbol copied from arch/arm/mach-omap1/gpio15xx.c. 79 * r8 - temporary 80 * r9 - the driver buffer [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_reg.h | 3 * Copyright (c) 2007-2013 Broadcom Corporation 13 * R - Read only 14 * RC - Clear on read 15 * RW - Read/Write 16 * ST - Statistics register (clear on read) 17 * W - Write only 18 * WB - Wide bus register - the size is over 32 bits and it should be 20 * WR - Write Clear (write 1 to clear the bit) 32 /* [RW 1] Initiate the ATC array - reset all the valid bits */ 36 /* [RC 6] Interrupt register #0 read clear */ [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | ce.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 20 * Copy Engine support: low-level Target-side Copy Engine API. 38 #define CE_DESC_FLAGS_META_DATA_MASK ar->hw_values->ce_desc_meta_data_mask 39 #define CE_DESC_FLAGS_META_DATA_LSB ar->hw_values->ce_desc_meta_data_lsb 69 * For src ring, this is the last descriptor that was sent 92 /* Start of DMA-coherent area reserved for descriptors */ 100 * Aligned to descriptor-size boundary. 101 * Points into reserved DMA-coherent area, above. [all …]
|