/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvzacas.c.inc | 2 * RISC-V translation routines for the RV64 Zacas Standard Extension. 4 * Copyright (c) 2020-2023 PLCT Lab 20 if (!ctx->cfg_ptr->ext_zacas) { \ 68 * Encodings with odd numbered registers specified in rs2 and rd are 71 if ((a->rs2 | a->rd) & 1) { 75 TCGv_i64 dest = get_gpr_pair(ctx, a->rd); 76 TCGv src1 = get_address(ctx, a->rs1, 0); 77 TCGv_i64 src2 = get_gpr_pair(ctx, a->rs2); 80 tcg_gen_atomic_cmpxchg_i64(dest, src1, dest, src2, ctx->mem_idx, mop); 82 gen_set_gpr_pair(ctx, a->rd, dest); [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 9 * See the COPYING.LIB file in the top-level directory. 16 #include "host-utils.h" 28 (((~0ULL) >> (64 - (length))) << (shift)) 33 * We provide a set of functions which work on arbitrary-length arrays of 37 * - Bits stored in an array of 'unsigned long': set_bit(), clear_bit(), etc 38 * - Bits stored in an array of 'uint32_t': set_bit32(), clear_bit32(), etc 43 * be some guest-visible register view of the bit array. 63 * set_bit - Set a bit in memory 76 * set_bit_atomic - Set a bit in memory atomically 89 * clear_bit - Clears a bit in memory [all …]
|
/openbmc/qemu/tcg/s390x/ |
H A D | tcg-target-con-str.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Define S390 target-specific operand constraints. 13 REGS('o', 0xaaaa) /* odd numbered general regs */
|
/openbmc/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 …]
|
/openbmc/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 */
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | quorum.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 /* this is horribly heavy-handed. It should instead flip the file 60 switch (o2nm_single_cluster->cl_fence_method) { in o2quo_fence_self() 66 WARN_ON(o2nm_single_cluster->cl_fence_method >= in o2quo_fence_self() 96 spin_lock_bh(&qs->qs_lock); in o2quo_make_decision() 98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision() 100 lowest_reachable = test_bit(lowest_hb, qs->qs_conn_bm); in o2quo_make_decision() 103 "lowest: %d (%sreachable)\n", qs->qs_heartbeating, in o2quo_make_decision() 104 qs->qs_connected, lowest_hb, lowest_reachable ? "" : "un"); in o2quo_make_decision() 106 if (!test_bit(o2nm_this_node(), qs->qs_hb_bm) || in o2quo_make_decision() [all …]
|
/openbmc/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 …]
|
/openbmc/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. 51 enum repaper_stage { /* Image pixel -> Display pixel */ 52 REPAPER_COMPENSATE, /* B -> W, W -> B (Current Image) */ 53 REPAPER_WHITE, /* B -> N, W -> W (Current Image) */ 54 REPAPER_INVERSE, /* B -> N, W -> B (New Image) */ 55 REPAPER_NORMAL /* B -> B, W -> W (New Image) */ 111 return -ENOMEM; in repaper_spi_transfer() 121 ret = -ENOMEM; in repaper_spi_transfer() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 30 * Fushicai USBTV007 Audio-Video Grabber Driver 33 * http://www.fushicai.com/products_detail/&productId=d05449ee-b690-42f9-a661-aa7353894bed.html 42 * reverse-engineering activity 45 #include <media/v4l2-ioctl.h> 46 #include <media/videobuf2-v4l2.h> 76 usbtv->width = params->cap_width; in usbtv_configure_for_norm() 77 usbtv->height = params->cap_height; in usbtv_configure_for_norm() 78 usbtv->n_chunks = usbtv->width * usbtv->height in usbtv_configure_for_norm() 80 usbtv->norm = norm; in usbtv_configure_for_norm() 82 ret = -EINVAL; in usbtv_configure_for_norm() [all …]
|
/openbmc/linux/Documentation/RCU/ |
H A D | stallwarn.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 options that can be used to fine-tune the detector's operation. Finally, 20 - A CPU looping in an RCU read-side critical section. 22 - A CPU looping with interrupts disabled. 24 - A CPU looping with preemption disabled. 26 - A CPU looping with bottom halves disabled. 28 - For !CONFIG_PREEMPTION kernels, a CPU looping anywhere in the 33 - Booting Linux using a console connection that is too slow to 34 keep up with the boot-time console-message rate. For example, 36 with boot-time message rates, and will frequently result in [all …]
|
/openbmc/linux/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * Copyright 2007-2010 Freescale Semiconductor, Inc. 130 unsigned int provider = dev->fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK; in bcm2835_i2s_start_clock() 132 if (dev->clk_prepared) in bcm2835_i2s_start_clock() 138 clk_prepare_enable(dev->clk); in bcm2835_i2s_start_clock() 139 dev->clk_prepared = true; in bcm2835_i2s_start_clock() 148 if (dev->clk_prepared) in bcm2835_i2s_stop_clock() 149 clk_disable_unprepare(dev->clk); in bcm2835_i2s_stop_clock() 150 dev->clk_prepared = false; in bcm2835_i2s_stop_clock() 171 regmap_read(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, &csreg); in bcm2835_i2s_clear_fifos() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/perf/ |
H A D | qcom_l3_pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * See Documentation/admin-guide/perf/qcom_l3_pmu.rst for more details. 13 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. 132 * - config: bits 0-7: event type 138 return (event->attr.config) & L3_EVTYPE_MASK; in get_event_type() 143 return !!(event->attr.config & BIT_ULL(L3_EVENT_LC_BIT)); in event_uses_long_counter() 186 * counters. The PMU only supports chaining of adjacent even/odd pairs 187 * and for simplicity the driver always configures the odd counter to 188 * count the overflows of the lower-numbered even counter. Note that since 195 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__64bit_counter_start() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/fbida/files/ |
H A D | support-jpeg-turbo.patch | 1 Upstream-Status: Pending 3 Add patch by Ondrej Sury to migrate to libjpeg-turbo (Closes: #763263) 5 Index: fbida-2.10/jpeg/62/jpegcomp.h 7 --- /dev/null 8 +++ fbida-2.10/jpeg/62/jpegcomp.h 9 @@ -0,0 +1,30 @@ 40 Index: fbida-2.10/jpeg/62/transupp.c 42 --- fbida-2.10.orig/jpeg/62/transupp.c 43 +++ fbida-2.10/jpeg/62/transupp.c 44 @@ -1,8 +1,10 @@ [all …]
|
/openbmc/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 …]
|
/openbmc/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. 140 return snprintf(buf, PAGE_SIZE, "%d\n", ihost->id); in isci_show_id() 166 .this_id = -1, 201 /* ata recovery called from ata-eh */ 223 * isci_register_sas_ha() - This method initializes various lldd 236 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha() 240 sas_phys = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha() 244 return -ENOMEM; in isci_register_sas_ha() [all …]
|
/openbmc/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 …]
|