/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/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/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/sound/hda/codecs/hdmi/ |
H A D | atihdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 ((codec)->core.vendor_id == 0x1002aa01 && \ 19 ((codec)->core.revision_id & 0xff00) >= 0x0300) 106 return -EINVAL; in get_eld_ati() 170 /* format is supported, copy SAD as-is */ in get_eld_ati() 189 return -EINVAL; in get_eld_ati() 196 * [1..251] msecs = (x-1)*2 (max 500ms with x = 251 = 0xfb) in get_eld_ati() 212 buf[6] = video_latency_hdmi - audio_latency_hdmi; in get_eld_ati() 217 buf[5] |= ((pos - ELD_FIXED_BYTES - sink_desc_len) / 3) << 4; in get_eld_ati() 219 /* Baseline ELD block length is 4-byte aligned */ in get_eld_ati() [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 …]
|
H A D | libata-sff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-sff.c - helper library for PCI IDE BMDMA 5 * Copyright 2003-2006 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2006 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 12 * http://www.sata-io.org/ 53 * ata_sff_check_status - Read device status reg & clear interrupt 56 * Reads ATA taskfile status register for currently-selected device 65 return ioread8(ap->ioaddr.status_addr); in ata_sff_check_status() 70 * ata_sff_altstatus - Read device alternate status reg [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/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/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/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/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 …]
|
/linux/drivers/pinctrl/starfive/ |
H A D | pinctrl-starfive-jh7100.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h> 29 #include "../pinctrl-utils.h" 33 #define DRIVER_NAME "pinctrl-starfive" 37 * https://github.com/starfive-tech/JH7100_Docs 48 * The following 32-bit registers come in pairs, but only the offset of the 49 * first register is defined. The first controls (interrupts for) GPIO 0-31 and 50 * the second GPIO 32-63. 54 * Interrupt Type. If set to 1 the interrupt is edge-triggered. If set to 0 the 55 * interrupt is level-triggered. [all …]
|
/linux/net/netfilter/ |
H A D | nft_set_pipapo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2019-2020 Red Hat GmbH 15 * ------- 17 * Match packet bytes against entries composed of ranged or non-ranged packet 22 * --- fields ---> 33 * ------------------ 65 * next-field rules the current rule maps to. 73 * A stand-alone, reference implementation, also including notes about possible 78 * --------- 80 * - For each packet field: [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|