/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 …]
|
/linux/arch/arm/boot/dts/xilinx/ |
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"; 24 stdout-path = "serial0:115200n8"; 39 phy-mode = "rgmii-id"; 40 phy-handle = <ðernet_phy>; 42 ethernet_phy: ethernet-phy@7 { 49 clock-frequency = <400000>; 51 si570: clock-generator@55 { [all …]
|
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 #address-cells = <1>; [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 bank-width = <1>; 60 compatible = "fixed-partitions"; [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"; 24 stdout-path = "serial0:115200n8"; 33 compatible = "usb-nop-xceiv"; 34 #phy-cells = <0>; 44 phy-mode = "rgmii-id"; 45 phy-handle = <ðernet_phy>; [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 th [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-decode [all...] |
/linux/drivers/edac/ |
H A D | skx_common.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is linked into both skx_edac and i10nm_edac drivers. In 10 * when linked once into a module and into a built-in object, at the 12 * file is being linked into a built-in object. 63 return -ENODEV; in skx_adxl_get() 84 skx_printk(KERN_NOTICE, "Not enough ADXL components for 2-level memory.\n"); in skx_adxl_get() 97 return -ENOMEM; in skx_adxl_get() 104 return -ENOMEM; in skx_adxl_get() 109 skx_printk(KERN_ERR, "'%s' is not matched from DSM parameters: ", in skx_adxl_get() 115 return -ENODEV; in skx_adxl_get() [all …]
|
H A D | i10nm_base.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <asm/intel-family.h> 24 pci_read_config_dword((d)->uracu, 0xd0, &(reg)) 26 pci_read_config_dword((d)->uracu, \ 27 (res_cfg->type == GNR ? 0xd4 : 0xd8) + (i) * 4, &(reg)) 29 pci_read_config_dword((d)->sad_all, (offset) + (i) * \ 30 (res_cfg->type == GNR ? 12 : 8), &(reg)) 32 pci_read_config_dword((d)->uracu, 0xd4, &(reg)) 34 pci_read_config_dword((d)->pcu_cr3, \ 35 res_cfg->type == GNR ? 0x290 : 0x90, &(reg)) [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.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2008 - 2014 Xilinx, Inc. 7 * based on Blackfin On-Chip SPI Driver (spi_bfin5xx.c) 25 #define CDNS_SPI_NAME "cdns-spi" 63 * SPI Configuration Register - Baud rate and target select 93 * This register is used to enable or disable the SPI controller 102 * struct cdns_spi - This definition defines spi driver instance 136 return readl_relaxed(xspi->regs + offset); in cdns_spi_read() 141 writel_relaxed(val, xspi->regs + offset); in cdns_spi_write() 145 * cdns_spi_init_hw - Initialize the hardware and configure the SPI controller [all …]
|
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" 73 u8 cs; member 324 if (ret != -ETIMEDOUT) in cqspi_wait_for_bit() [all …]
|
/linux/arch/x86/kernel/ |
H A D | alternative.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <asm/text-patching.h> 20 #define MAX_PATCH_LEN (255-1) 41 __setup("debug-alternative", debug_alt); 50 __setup("noreplace-smp", setup_noreplace_smp); 67 for (j = 0; j < (len) - 1; j++) \ 127 void *tmp = krealloc(pages->pages, (pages->num+1) * sizeof(void *), in __its_alloc() 132 pages->pages = tmp; in __its_alloc() 133 pages->pages[pages->num++] = page; in __its_alloc() 163 reg -= 8; in its_init_thunk() [all …]
|
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 23 /* Post-execution fixups. */ 43 #define OPCODE1(insn) ((insn)->opcode.bytes[0]) 44 #define OPCODE2(insn) ((insn)->opcode.bytes[1]) 45 #define OPCODE3(insn) ((insn)->opcode.bytes[2]) 46 #define MODRM_REG(insn) X86_MODRM_REG((insn)->modrm.value) 56 * Good-instruction tables for 32-bit apps. This is non-const and volatile 58 * some versions of gcc to think only *(unsigned long*) is used. [all …]
|
/linux/fs/nfsd/ |
H A D | xdr4.h | 2 * Server-side types for NFSv4. 23 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED 49 #define SET_CSTATE_FLAG(c, f) ((c)->sid_flags |= (f)) 50 #define HAS_CSTATE_FLAG(c, f) ((c)->sid_flags & (f)) 51 #define CLEAR_CSTATE_FLAG(c, f) ((c)->sid_flags &= ~(f)) 54 * nfsd4_encode_bool - Encode an XDR bool type result 74 * nfsd4_encode_uint32_t - Encode an XDR uint32_t type result 104 * nfsd4_encode_uint64_t - Encode an XDR uint64_t type result 129 * nfsd4_encode_opaque_fixed - Encode a fixed-length XDR opaque type result 154 * nfsd4_encode_opaque - Encode a variable-length XDR opaque type result [all …]
|
/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 18 #include <linux/amd-iommu.h> 24 #include <linux/psp-sev.h> 42 #include <asm/spec-ctrl.h> 59 MODULE_DESCRIPTION("KVM support for SVM (AMD-V) extensions"); 84 * These 2 parameters are used to config the controls for Pause-Loop Exiting: 87 * count value. On VMRUN this value is loaded into an internal counter. 88 * Each time a pause instruction is executed, this counter is decremented 89 * until it reaches zero at which time a #VMEXIT is generated if pause 90 * intercept is enabled. Refer to AMD APM Vol 2 Section 15.14.4 Pause 96 * the amount of time a guest is allowed to execute in a pause loop. [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/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> 66 * `auto` - Hashed pointers enabled unless disabled by slub_debug_enabled=true 67 * `always` - Hashed pointers enabled unconditionally 68 * `never` - Hashed pointers disabled unconditionally 86 prefix_chars = cp - startp; in simple_strntoull() [all …]
|
/linux/arch/x86/kvm/ |
H A D | x86.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine driver for Linux 16 * Ben-Ami Yassour <benami@il.ibm.com> 48 #include <linux/user-return-notifier.h> 107 ((struct kvm_vcpu *)(ctxt)->vcpu) 110 * - enable syscall per default because its emulated by KVM 111 * - enable LME and LMA per default on 64 bit KVM 145 *(((struct kvm_x86_ops *)0)->func)); 148 #include <asm/kvm-x86-ops.h> 165 /* tsc tolerance in parts per million - default to 1/2 of the NTP threshold */ [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 …]
|