/linux/Documentation/devicetree/bindings/dma/ |
H A D | apple,admac.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 The controller has been seen with up to 24 channels. Even-numbered channels 14 are TX-only, odd-numbered are RX-only. Individual channels are coupled to 18 - Martin Povišer <povik+lin@cutebit.org> 21 - $ref: dma-controller.yaml# 26 - enum: 27 - apple,t6000-admac 28 - apple,t8103-admac [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | thine,thc63lvd1024.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 34 even-numbered pixels are received on port@0 and odd-numbered pixels on 60 - port@0 61 - port@2 63 oe-gpios: 67 powerdown-gpios: [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad4695.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/linux/Documentation/iio/ |
H A D | ad4695.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 26 ------ [all...] |
/linux/include/linux/ |
H A D | asn1_ber_bytecode.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 28 /* The tag-matching ops come first and the odd-numbered slots 66 /* The following eight have bit 0 -> SET, 1 -> OF, 2 -> ACT */
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 45 * +----------+ connect() +----------+ 46 * | CLOSED | --------------> | CONNECT | 47 * +----------+ +----------+ 54 * +----------+ disconnect() +----------+ 55 * |DISCONNECT| <-------------- | OPEN | 56 * +----------+ +----------+ 90 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 92 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [all …]
|
/linux/drivers/gpu/drm/tiny/ |
H A D | repaper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DRM driver for Pervasive Displays RePaper branded e-ink panels 5 * Copyright 2013-2017 Pervasive Displays, Inc. 52 enum repaper_stage { /* Image pixel -> Display pixel */ 53 REPAPER_COMPENSATE, /* B -> W, W -> B (Current Image) */ 54 REPAPER_WHITE, /* B -> N, W -> W (Current Image) */ 55 REPAPER_INVERSE, /* B -> N, W -> B (New Image) */ 56 REPAPER_NORMAL /* B -> B, W -> W (New Image) */ 112 return -ENOMEM; in repaper_spi_transfer() 122 ret = -ENOMEM; in repaper_spi_transfer() [all …]
|
/linux/arch/arm/probes/kprobes/ |
H A D | test-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/kernel/kprobes-test.c 12 * supported instruction sets: ARM, 16-bit Thumb, and 32-bit Thumb. These tests 23 * The individual test cases are in kprobes-test-arm.c and kprobes-test-thumb.c 24 * which use the macros defined in kprobes-test.h. The rest of this 31 * ------------------- 41 * post-handler of the test_before probe is used to modify the saved CPU 43 * pre-handler of the of the test_after probe saves a copy of the CPU 83 * (branch backwards). In these, the local variables numbered 1, 50, 2 and 87 * --------- [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-pko.c | 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 34 #include <asm/octeon/cvmx-config.h> 35 #include <asm/octeon/cvmx-pko.h> 36 #include <asm/octeon/cvmx-helper.h> 64 return -1; in __cvmx_pko_int() 85 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config() 95 (CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE - in __cvmx_pko_iport_config() 190 * Set the size of the PKO command buffers to an odd number of in cvmx_pko_initialize_global() [all …]
|
/linux/drivers/clk/berlin/ |
H A D | berlin2-avpll.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Alexandre Belloni <alexandre.belloni@free-electrons.com> 8 #include <linux/clk-provider.h> 15 #include "berlin2-avpll.h" 19 * VCO with 8 channels each, channel 8 is the odd-one-out and does 22 * Unfortunately, its registers are not named but just numbered. To 118 reg = readl_relaxed(vco->base + VCO_CTRL0); in berlin2_avpll_vco_is_enabled() 119 if (vco->flags & BERLIN2_AVPLL_BIT_QUIRK) in berlin2_avpll_vco_is_enabled() 130 reg = readl_relaxed(vco->base + VCO_CTRL0); in berlin2_avpll_vco_enable() 131 if (vco->flags & BERLIN2_AVPLL_BIT_QUIRK) in berlin2_avpll_vco_enable() [all …]
|
/linux/drivers/ata/ |
H A D | pata_artop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_artop.c - ARTOP ATA controller driver 9 * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org> 11 * driver by Thibaut VARENE <varenet@parisc-linux.org> 43 * artop62x0_pre_reset - probe begin 57 struct ata_port *ap = link->ap; in artop62x0_pre_reset() 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop62x0_pre_reset() 60 /* Odd numbered device ids are the units with enable bits. */ in artop62x0_pre_reset() 61 if ((pdev->device & 1) && in artop62x0_pre_reset() 62 !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no])) in artop62x0_pre_reset() [all …]
|
/linux/lib/ |
H A D | asn1_decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 66 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length() 78 if (--indef_level <= 0) { in asn1_find_indefinite_length() 79 *_len = dp - *_dp; in asn1_find_indefinite_length() 88 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length() 107 n = len - 0x80; in asn1_find_indefinite_length() 108 if (unlikely(n > sizeof(len) - 1)) in asn1_find_indefinite_length() 110 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length() 113 for (; n > 0; n--) { in asn1_find_indefinite_length() 118 if (len > datalen - dp) in asn1_find_indefinite_length() [all …]
|
/linux/Documentation/filesystems/ |
H A D | vfat.rst | 10 mount -t vfat /dev/fd0 /mnt 42 **-20**: If current process is in group of file's group ID, 45 **-2**: Other users can change timestamp. 69 There is also an option of doing UTF-8 translations 76 UTF-8 is the filesystem safe version of Unicode that 79 If 'uni_xlate' gets set, UTF-8 gets disabled. 156 cases in presence of DST - time stamps in a different DST 176 FAT has the ATTR_RO (read-only) attribute. On Windows, 181 If you want to use ATTR_RO as read-only flag even for 184 **errors=panic|continue|remount-ro** [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.c | 1 // SPDX-License-Identifier: GPL-2.0-only 46 return (*data != 0xffff) ? 0 : -ETIME; in aq_mss_mdio_read() 118 * packed_record - [OUT] The table row data (raw). 269 return -EINVAL; in set_ingress_prectlf_record() 273 packed_record[0] = rec->sa_da[0] & 0xFFFF; in set_ingress_prectlf_record() 274 packed_record[1] = (rec->sa_da[0] >> 16) & 0xFFFF; in set_ingress_prectlf_record() 275 packed_record[2] = rec->sa_da[1] & 0xFFFF; in set_ingress_prectlf_record() 276 packed_record[3] = rec->eth_type & 0xFFFF; in set_ingress_prectlf_record() 277 packed_record[4] = rec->match_mask & 0xFFFF; in set_ingress_prectlf_record() 278 packed_record[5] = rec->match_type & 0xF; in set_ingress_prectlf_record() [all …]
|
/linux/arch/mips/kernel/ |
H A D | perf_event_mipsxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Author: Deng-Cheng Zhu 29 #define MIPS_CPUID_TO_COUNTER_MASK (MIPS_TCS_PER_COUNTER - 1) 122 #define CNTR_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) 159 /* 0: Not Loongson-3 160 * 1: Loongson-3A1000/3B1000/3B1500 161 * 2: Loongson-3A2000/3A3000 162 * 3: Loongson-3A4000+ 325 cntr_mask = (hwc->event_base >> 10) & 0xffff; in mipsxx_pmu_alloc_counter() 327 cntr_mask = (hwc->event_base >> 8) & 0xffff; in mipsxx_pmu_alloc_counter() [all …]
|
/linux/sound/soc/atmel/ |
H A D | mchp-i2s-mcc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Driver for Microchip I2S Multi-channel controller 29 * ---- I2S Controller Register map ---- 75 * ---- Control Register (Write-only) ---- 86 * ---- Mode Register A (Read/Write) ---- 135 /* Number of TDM Channels - 1 */ 138 ((((ch) - 1) << 13) & MCHP_I2SMCC_MRA_NBCHAN_MASK) 169 * ---- Mode Register B (Read/Write) ---- 183 (((fls(no_words) - 1) << 8) & MCHP_I2SMCC_MRB_DMACHUNK_MASK) 190 * ---- Status Registers (Read-only) ---- [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * PowerPC-64 Support added by Dave Engebretsen, Peter Bergner, and 117 * On big-cores system, thread_group_l1_cache_map for each CPU corresponds to 118 * the set its siblings that share the L1-cache. 123 * On some big-cores system, thread_group_l2_cache_map for each CPU 125 * L2-cache. 150 /* Special case - we inhibit secondary thread startup in smp_generic_cpu_bootable() 169 return -EINVAL; in smp_generic_kick_cpu() 173 * cpu_start field to become non-zero After we set cpu_start, in smp_generic_kick_cpu() 176 if (!paca_ptrs[nr]->cpu_start) { in smp_generic_kick_cpu() [all …]
|
/linux/drivers/scsi/isci/ |
H A D | init.c | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 136 return sysfs_emit(buf, "%d\n", ihost->id); in isci_show_id() 184 /* ata recovery called from ata-eh */ 206 * isci_register_sas_ha() - This method initializes various lldd 219 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha() 223 sas_phys = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha() 227 return -ENOMEM; in isci_register_sas_ha() 229 sas_ports = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha() [all …]
|
/linux/Documentation/ |
H A D | memory-barriers.txt | 19 documentation at tools/memory-model/. Nevertheless, even this memory 37 Note also that it is possible that a barrier may be a no-op for an 48 - Device operations. 49 - Guarantees. 53 - Varieties of memory barrier. 54 - What may not be assumed about memory barriers? 55 - Address-dependency barriers (historical). 56 - Control dependencies. 57 - SMP barrier pairing. 58 - Examples of memory barrier sequences. [all …]
|
/linux/drivers/md/ |
H A D | raid0.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 1994-96 Marc ZYNGIER 5 <zyngier@ufr-info-p7.ibp.fr> or 9 RAID-0 management functions. 40 struct r0conf *conf = mddev->private; in dump_zones() 41 int raid_disks = conf->strip_zone[0].nb_dev; in dump_zones() 42 pr_debug("md: RAID0 configuration for %s - %d zone%s\n", in dump_zones() 44 conf->nr_strip_zones, conf->nr_strip_zones==1?"":"s"); in dump_zones() 45 for (j = 0; j < conf->nr_strip_zones; j++) { in dump_zones() 49 for (k = 0; k < conf->strip_zone[j].nb_dev; k++) in dump_zones() [all …]
|
/linux/Documentation/process/ |
H A D | adding-syscalls.rst | 9 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`. 13 ------------------------ 18 kernel, there are other possibilities -- choose what fits best for your 21 - If the operations involved can be made to look like a filesystem-like 26 - If the new functionality involves operations where the kernel notifies 30 - However, operations that don't map to 31 :manpage:`read(2)`/:manpage:`write(2)`-like operations 35 - If you're just exposing runtime system information, a new node in sysfs 41 - If the operation is specific to a particular file or file descriptor, then 47 - If the operation is specific to a particular task or process, then an [all …]
|
/linux/drivers/usb/host/ |
H A D | uhci-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com 15 * support from usb-ohci.c by Adam Richter, adam@yggdrasil.com). 16 * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) 17 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu 40 #include <linux/dma-mapping.h> 50 #include "uhci-hcd.h" 105 * There's not much to be done about period-1 interrupts; they have in uhci_frame_skel_link() 106 * to occur in every frame. But we can schedule period-2 interrupts in uhci_frame_skel_link() 107 * in odd-numbered frames, period-4 interrupts in frames congruent in uhci_frame_skel_link() [all …]
|
/linux/Documentation/RCU/Design/Data-Structures/ |
H A D | Data-Structures.rst | 15 Data-Structure Relationships 25 .. kernel-figure:: BigTreeClassicRCU.svg 34 which results in a three-level ``rcu_node`` tree. 38 The purpose of this combining tree is to allow per-CPU events 39 such as quiescent states, dyntick-idle transitions, 42 Quiescent states are recorded by the per-CPU ``rcu_data`` structures, 43 and other events are recorded by the leaf-level ``rcu_node`` 54 As can be seen from the diagram, on a 64-bit system 55 a two-level tree with 64 leaves can accommodate 1,024 CPUs, with a fanout 58 +-----------------------------------------------------------------------+ [all …]
|
/linux/sound/usb/ |
H A D | midi.c | 2 * usbmidi.c - ALSA USB MIDI driver 4 * Copyright (c) 2002-2009 Clemens Ladisch 7 * Based on the OSS usb-midi driver by NAGANO Daisuke, 179 if (err < 0 && err != -ENODEV) in snd_usbmidi_submit_urb() 180 dev_err(&urb->dev->dev, "usb_submit_urb: %d\n", err); in snd_usbmidi_submit_urb() 189 switch (urb->status) { in snd_usbmidi_urb_error() 191 case -ENOENT: in snd_usbmidi_urb_error() 192 case -ECONNRESET: in snd_usbmidi_urb_error() 193 case -ESHUTDOWN: in snd_usbmidi_urb_error() 194 case -ENODEV: in snd_usbmidi_urb_error() [all …]
|
/linux/drivers/bus/mhi/ep/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/dma-direction.h> 31 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_send_event() 36 mutex_lock(&mhi_cntrl->event_lock); in mhi_ep_send_event() 37 ring = &mhi_cntrl->mhi_event[ring_idx].ring; in mhi_ep_send_event() 38 ctx = (union mhi_ep_ring_ctx *)&mhi_cntrl->ev_ctx_cache[ring_idx]; in mhi_ep_send_event() 39 if (!ring->started) { in mhi_ep_send_event() 54 mutex_unlock(&mhi_cntrl->event_lock); in mhi_ep_send_event() 70 if (READ_ONCE(ring->irq_pending)) in mhi_ep_send_event() 71 cancel_delayed_work(&ring->intmodt_work); in mhi_ep_send_event() [all …]
|