/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-cadence.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-cadence.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michal Simek <michal.simek@amd.com> 13 - $ref: spi-controller.yaml# 18 - cdns,spi-r1p6 19 - xlnx,zynq-spi-r1p6 27 clock-names: 29 - const: ref_clk [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | nvidia,tegra20-gmi.txt | 10 - compatible : Should contain one of the following: 11 For Tegra20 must contain "nvidia,tegra20-gmi". 12 For Tegra30 must contain "nvidia,tegra30-gmi". 13 - reg: Should contain GMI controller registers location and length. 14 - clocks: Must contain an entry for each entry in clock-names. 15 - clock-names: Must include the following entries: "gmi" 16 - resets : Must contain an entry for each entry in reset-names. 17 - reset-names : Must include the following entries: "gmi" 18 - #address-cells: The number of cells used to represent physical base 20 - #size-cells: The number of cells used to represent the size of an address [all …]
|
H A D | qcom,ebi2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 external memory (such as NAND or other memory-mapped peripherals) whereas 20 Apparently this bus is clocked at 64MHz. It has dedicated pins on the package 25 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 28 memory is referred to as "Chip Peripheral SS FPB0" and is 168MB big. 31 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) 32 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) 33 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) [all …]
|
/linux/arch/arm/boot/dts/xilinx/ |
H A D | zynq-zc770-xm011.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2013-2018 Xilinx, Inc. 7 /dts-v1/; 8 #include "zynq-7000.dtsi" 12 compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; 22 stdout-path = "serial0:115200n8"; 31 compatible = "usb-nop-xceiv"; 32 #phy-cells = <0>; 42 clock-frequency = <400000>; 52 num-cs = <4>; [all …]
|
H A D | zynq-zc770-xm012.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2013-2018 Xilinx, Inc. 7 /dts-v1/; 8 #include "zynq-7000.dtsi" 12 compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; 23 stdout-path = "serial0:115200n8"; 38 clock-frequency = <400000>; 48 clock-frequency = <400000>; 58 num-cs = <4>; 59 is-decoded-cs = <0>;
|
H A D | zynq-zc770-xm013.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 8 #include "zynq-7000.dtsi" 12 compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; 23 stdout-path = "serial0:115200n8"; 38 phy-mode = "rgmii-id"; 39 phy-handle = <ðernet_phy>; 41 ethernet_phy: ethernet-phy@7 { 43 device_type = "ethernet-phy"; 49 clock-frequency = <400000>; [all …]
|
H A D | zynq-zc770-xm010.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2013-2018 Xilinx, Inc. 7 /dts-v1/; 8 #include "zynq-7000.dtsi" 12 compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; 23 stdout-path = "serial0:115200n8"; 32 compatible = "usb-nop-xceiv"; 33 #phy-cells = <0>; 43 phy-mode = "rgmii-id"; 44 phy-handle = <ðernet_phy>; [all …]
|
/linux/arch/x86/lib/ |
H A D | insn-eval.c | 14 #include <asm/insn-eval.h> 29 * is_string_insn() - Determine if instruction is a string instruction 34 * true if the instruction, determined by the opcode, is any of the 40 /* All string instructions have a 1-byte opcode. */ in is_string_insn() 41 if (insn->opcode.nbytes != 1) in is_string_insn() 44 switch (insn->opcode.bytes[0]) { in is_string_insn() 55 * insn_has_rep_prefix() - Determine if instruction has a REP prefix 78 * get_seg_reg_override_idx() - obtain segment register override index 85 * A constant identifying the segment register to use, among CS, SS, DS, 86 * ES, FS, or GS. INAT_SEG_REG_DEFAULT is returned if no segment override [all …]
|
/linux/arch/x86/realmode/rm/ |
H A D | reboot.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <asm/processor-flags.h> 7 #include <asm/msr-index.h> 14 * controller to pulse the CPU reset line, which is more thorough, but 15 * doesn't work with at least one type of 486 motherboard. It is easy 18 * This code is called with the restart type (0 = BIOS, 1 = APM) in 26 /* Switch to trampoline GDT as it is guaranteed < 4 GiB */ 52 * mode. The GDT is not used in real mode; it is just needed here to 58 * Load the data segment registers with 16-bit compatible values 70 * This is 16-bit protected mode code to disable paging and the cache, [all …]
|
/linux/include/media/ |
H A D | v4l2-jpeg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * For reference, see JPEG ITU-T.81 (ISO/IEC 10918-1) 13 #include <linux/v4l2-controls.h> 35 /* Length of reference huffman tables as provided in Table K.3 of ITU-T.81 */ 43 * struct v4l2_jpeg_reference - reference into the JPEG buffer 48 * and length is the size of the segment parameters, excluding the marker code. 58 * struct v4l2_jpeg_frame_component_spec - frame component-specification 72 * struct v4l2_jpeg_frame_header - JPEG frame header 77 * @component: component-specification, see v4l2_jpeg_frame_component_spec 78 * @subsampling: decoded subsampling from component-specification [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_blowfish.c | 17 * how to encode a sample stream to 64-bit blocks that will be encryped 19 * first of all, data is collected until a block of 9 samples are received. 20 * of course, a packet may have much more than 9 sample, but is may have 21 * not excacly the multiple of 9 samples. if there is a rest, the next 24 * the block is then converted to 9 uLAW samples without the least sigificant 25 * bit. the result is a 7-bit encoded sample. 39 * the missing bit 0 of the last byte is filled with some 44 * the result will be converted into 9 bytes. the bit 7 is used for 45 * checksumme (CS) for sync (0, 1) and for the last bit: 53 * CS 4(4) 4(3) 4(2) 4(1) 4(0) 5(7) 5(6) [all …]
|
/linux/tools/perf/util/ |
H A D | cs-etm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(C) 2015-2018 Linaro Limited. 12 #include <linux/coresight-pmu.h> 22 #include "cs-etm.h" 23 #include "cs-etm-decoder/cs-etm-decoder.h" 37 #include "thread-stack.h" 40 #include "util/synthetic-events.h" 61 * Per-thread ignores the trace channel ID and instead assumes that 63 * which CPU it ran on. It also implies no context IDs so the TID is 143 * work with. One option is to modify to auxtrace_heap_XYZ() API or simply [all …]
|
/linux/drivers/atm/ |
H A D | fore200e.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 52 #define RSD_REQUIRED (((MAX_PDU_SIZE - SMALL_BUFFER_SIZE + LARGE_BUFFER_SIZE) / LARGE_BUFFER_SIZE)… 56 /* RSD_REQUIRED receive segment descriptors are enough to describe a max-sized PDU, 61 #define RSD_EXTENSION ((RSD_REQUIRED - RSD_FIXED) + 1) 65 #define FORE200E_DEV(d) ((struct fore200e*)((d)->dev_data)) 66 #define FORE200E_VCC(d) ((struct fore200e_vcc*)((d)->dev_data)) 256 OPCODE_SET_OC3, /* set OC-3 registers */ 257 OPCODE_GET_OC3, /* get OC-3 registers */ 260 OPCODE_SET_VPI_BITS, /* set x bits of those decoded by the 318 /* OC-3 registers */ [all …]
|
/linux/drivers/spi/ |
H A D | spi-cadence-quadspi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright Altera Corporation (C) 2012-2014. All rights reserved. 6 // Copyright Intel Corporation (C) 2019-2020. All rights reserved. 7 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 12 #include <linux/dma-mapping.h> 16 #include <linux/firmware/xlnx-zynqmp.h> 30 #include <linux/spi/spi-mem.h> 33 #define CQSPI_NAME "cadence-qspi" 72 u8 cs; member 321 if (ret != -ETIMEDOUT) in cqspi_wait_for_bit() [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This is the generic MTD driver for NAND flash devices. It should be 7 * Additional technical information is available on 8 * http://www.linux-mtd.infradead.org/doc/nand.html 11 * 2002-2006 Thomas Gleixner (tglx@linutronix.de) 21 * Check, if mtd->ecctype should be set to MTD_ECC_HW 23 * BBT table is not serialized, has to be fixed 38 #include <linux/mtd/nand-ecc-sw-hamming.h> 39 #include <linux/mtd/nand-ecc-sw-bch.h> 52 int lastpage = (mtd->erasesize / mtd->writesize) - 1; in nand_pairing_dist3_get_info() [all …]
|
/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 18 #include <linux/amd-iommu.h> 24 #include <linux/psp-sev.h> 40 #include <asm/spec-ctrl.h> 57 MODULE_DESCRIPTION("KVM support for SVM (AMD-V) extensions"); 87 bool always; /* True if intercept is initially cleared */ 133 * AMD does not virtualize APIC TSC-deadline timer mode, but it is 150 * These 2 parameters are used to config the controls for Pause-Loop Exiting: 153 * count value. On VMRUN this value is loaded into an internal counter. 154 * Each time a pause instruction is executed, this counter is decremented 155 * until it reaches zero at which time a #VMEXIT is generated if pause [all …]
|
/linux/arch/x86/kernel/ |
H A D | uprobes.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * User-space Probes (UProbes) for x86 5 * Copyright (C) IBM Corporation, 2008-2011 22 /* Post-execution fixups. */ 42 #define OPCODE1(insn) ((insn)->opcode.bytes[0]) 43 #define OPCODE2(insn) ((insn)->opcode.bytes[1]) 44 #define OPCODE3(insn) ((insn)->opcode.bytes[2]) 45 #define MODRM_REG(insn) X86_MODRM_REG((insn)->modrm.value) 55 * Good-instruction tables for 32-bit apps. This is non-const and volatile 57 * some versions of gcc to think only *(unsigned long*) is used. [all …]
|
/linux/fs/nfs/ |
H A D | nfs2xdr.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * 04 Aug 1998 Ion Badulescu <ionut@cs.columbia.edu> 33 * number of 32bit-words 72 * functions. For run-time efficiency, some data types are encoded 73 * or decoded inline. 78 if (clnt && clnt->cl_cred) in rpc_userns() 79 return clnt->cl_cred->user_ns; in rpc_userns() 85 if (rqstp->rq_task) in rpc_rqst_userns() 86 return rpc_userns(rqstp->rq_task->tk_client); in rpc_rqst_userns() 100 return -EIO; in decode_nfsdata() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_lrc.c | 1 // SPDX-License-Identifier: MIT 45 return gt_to_xe(lrc->fence_ctx.gt); in lrc_to_xe() 85 * The per-platform tables are u8-encoded in @data. Decode @data and set the 86 * addresses' offset and commands in @regs. The following encoding is used 90 * [7]: create NOPs - number of NOPs are set in lower bits 96 * Addresses: these are decoded after a MI_LOAD_REGISTER_IMM command by "count" 98 * is used for offsets smaller than 0x200 while the latter is for values bigger 120 const u32 base = hwe->mmio_base; in set_offsets() 141 xe_gt_assert(hwe->gt, count); in set_offsets() 154 } while (--count); in set_offsets() [all …]
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 138 * If DSP_MB_WAIT == 0, MB delay is DSP_MB_DELAY * 16 139 * If DSP_MB_DELAY == 1, MB delay is DSP_MB_DELAY * 128 147 /* DDR-DPR Burst Read Enable */ [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 528 * The device node is saved in card->plt_of_node. 534 if (!of_match_node(mwifiex_sdio_of_match_table, dev->of_node)) { in mwifiex_sdio_probe_of() 536 return -EINVAL; in mwifiex_sdio_probe_of() 557 func->vendor, func->device, func->class, func->num); in mwifiex_sdio_probe() 559 card = devm_kzalloc(&func->dev, sizeof(*card), GFP_KERNEL); in mwifiex_sdio_probe() 561 return -ENOMEM; in mwifiex_sdio_probe() 563 init_completion(&card->fw_done); in mwifiex_sdio_probe() 565 card->func = func; in mwifiex_sdio_probe() [all …]
|
/linux/lib/ |
H A D | vsprintf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 /* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */ 10 * Wirzenius wrote this portably, Torvalds fucked it up :-) 15 * - changed to provide snprintf and vsnprintf functions 17 * - scnprintf and vscnprintf 23 #include <linux/clk-provider.h> 72 prefix_chars = cp - startp; in simple_strntoull() 74 rv = _parse_integer_limit(cp, base, &result, max_chars - prefix_chars); in simple_strntoull() 89 * simple_strtoull - convert a string to an unsigned long long 104 * simple_strtoul - convert a string to an unsigned long [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | r600.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 11 * Software is furnished to do so, subject to the following conditions: 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 105 AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL 125 spin_lock_irqsave(&rdev->rcu_idx_lock, flags); in r600_rcu_rreg() 128 spin_unlock_irqrestore(&rdev->rcu_idx_lock, flags); in r600_rcu_rreg() 136 spin_lock_irqsave(&rdev->rcu_idx_lock, flags); in r600_rcu_wreg() 139 spin_unlock_irqrestore(&rdev->rcu_idx_lock, flags); in r600_rcu_wreg() 147 spin_lock_irqsave(&rdev->uvd_idx_lock, flags); in r600_uvd_ctx_rreg() 150 spin_unlock_irqrestore(&rdev->uvd_idx_lock, flags); in r600_uvd_ctx_rreg() [all …]
|