/linux/Documentation/filesystems/nfs/ |
H A D | localio.rst | 26 But unlike the LOCALIO protocol, the sockaddr-based matching didn't 42 - With LOCALIO: 48 - Without LOCALIO: 55 - With LOCALIO: 61 - Without LOCALIO: 93 deciding if the NFS client and server are co-located on the same 103 in shared kernel memory if they are truly co-located. 115 onus on the server to somehow discover that the client is co-located 122 6. Why is having the client perform a server-side file OPEN, without 131 client perform a server-side file open, without using RPC, is ideal. [all …]
|
/linux/drivers/tty/serial/ |
H A D | sifive.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2018-2019 SiFive 8 * - drivers/tty/serial/pxa.c 9 * - drivers/tty/serial/amba-pl011.c 10 * - drivers/tty/serial/uartlite.c 11 * - drivers/tty/serial/omap-serial.c 12 * - drivers/pwm/pwm-sifive.c 15 * - Chapter 19 "Universal Asynchronous Receiver/Transmitter (UART)" of 16 * SiFive FE310-G000 v2p3 17 * - The tree/master/src/main/scala/devices/uart directory of [all …]
|
H A D | fsl_lpuart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright 2012-2014 Freescale Semiconductor, Inc. 14 #include <linux/dma-mapping.h> 30 /* All registers are 8-bit width */ 119 /* 32-bit global registers only for i.MX7ULP/i.MX8x 124 /* 32-bit register definition */ 246 #define DRIVER_NAME "fsl-lpuart" 250 /* IMX lpuart has four extra unused regs located at the beginning */ 349 { .compatible = "fsl,vf610-lpuart", .data = &vf_data, }, 350 { .compatible = "fsl,ls1021a-lpuart", .data = &ls1021a_data, }, [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | nixge.txt | 4 - compatible: Should be "ni,xge-enet-3.00", but can be "ni,xge-enet-2.00" for 5 older device trees with DMA engines co-located in the address map, 7 - reg: Address and length of the register set for the device. It contains the 8 information of registers in the same order as described by reg-names. 9 - reg-names: Should contain the reg names 12 - interrupts: Should contain tx and rx interrupt 13 - interrupt-names: Should be "rx" and "tx" 14 - phy-mode: See ethernet.txt file in the same directory. 15 - nvmem-cells: Phandle of nvmem cell containing the MAC address 16 - nvmem-cell-names: Should be "address" [all …]
|
/linux/Documentation/filesystems/ |
H A D | virtiofs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 virtiofs: virtio-fs host<->guest shared file system 9 - Copyright (C) 2019 Red Hat, Inc. 14 VIRTIO "virtio-fs" device for guest<->host file system sharing. It allows a 19 booting from a root file system located on the host, persistent storage for 24 expose the storage network to the guest. The virtio-fs device was designed to 27 Furthermore the virtio-fs device takes advantage of the co-location of the 35 .. code-block:: sh 37 guest# mount -t virtiofs myfs /mnt 39 Please see https://virtio-fs.gitlab.io/ for details on how to configure QEMU [all …]
|
/linux/drivers/reset/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 via GPIOs or SoC-internal reset controller modules. 79 Registers are located in a shared register region called OLB. EyeQ6H 87 GPIOs. Typically for OF platforms this driver expects "reset-gpios" 90 If compiled as module, it will be called reset-gpio. 132 Support for the Canaan Kendryte K210 RISC-V SoC reset controller. 208 Raspberry Pi 4's co-processor controls some of the board's HW 211 interfacing with RPi4's co-processor and model these firmware 242 - Altera SoCFPGAs 243 - ASPEED BMC SoCs [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-bd71815.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright 2014 Embest Technology Co. Ltd. Inc. 8 * Author: yanglsh@embest-tech.com 18 #include <linux/mfd/rohm-bd71815.h> 33 ret = regmap_read(bd71815->regmap, BD71815_REG_GPO, &val); in bd71815gpo_get() 49 ret = regmap_set_bits(bd71815->regmap, BD71815_REG_GPO, bit); in bd71815gpo_set() 51 ret = regmap_clear_bits(bd71815->regmap, BD71815_REG_GPO, bit); in bd71815gpo_set() 54 dev_warn(bd71815->dev, "failed to toggle GPO\n"); in bd71815gpo_set() 64 return regmap_update_bits(bdgpio->regmap, in bd71815_gpio_set_config() 69 return regmap_update_bits(bdgpio->regmap, in bd71815_gpio_set_config() [all …]
|
H A D | gpio-winbond.c | 1 // SPDX-License-Identifier: GPL-2.0+ 145 return -EBUSY; in winbond_sio_enter() 206 * struct winbond_gpio_port_conflict - possibly conflicting device information 209 * is located (or WB_SIO_DEV_NONE - don't select any 211 * @testreg: register number where the testbit bit is located 226 * struct winbond_gpio_info - information about a particular GPIO port (device) 232 * @outputppbit: index of a push-pull output driver mode bit 361 *gpio_num -= 8; in winbond_gpio_get_info() 396 winbond_sio_select_logical(*base, info->dev); in winbond_gpio_get() 398 val = winbond_sio_reg_btest(*base, info->datareg, offset); in winbond_gpio_get() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | riscv,imsics.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,imsics.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V Incoming MSI Controller (IMSIC) 10 - Anup Patel <anup@brainfault.org> 13 The RISC-V advanced interrupt architecture (AIA) defines a per-CPU incoming 14 MSI controller (IMSIC) for handling MSIs in a RISC-V platform. The RISC-V 15 AIA specification can be found at https://github.com/riscv/riscv-aia. 17 The IMSIC is a per-CPU (or per-HART) device with separate interrupt file [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | fimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. 16 availability, LCD writeback support, etc. The driver is located at 17 drivers/media/platform/samsung/exynos4-is directory. 20 -------------- 22 S5PC100 (mem-to-mem only), S5PV210, Exynos4210 25 ------------------ 27 - camera parallel interface capture (ITU-R.BT601/565); 28 - camera serial interface capture (MIPI-CSI2); 29 - memory-to-memory processing (color space conversion, scaling, mirror [all …]
|
/linux/Documentation/power/ |
H A D | opp.rst | 5 (C) 2009-2010 Nishanth Menon <nm@ti.com>, Texas Instruments Incorporated 20 ------------------------------------------------- 22 Complex SoCs of today consists of a multiple sub-modules working in conjunction. 25 facilitate this, sub-modules in a SoC are grouped into domains, allowing some 41 - {300000000, 1000000} 42 - {800000000, 1200000} 43 - {1000000000, 1300000} 46 ---------------------------------------- 49 information. The library is located in drivers/opp/ directory and the header 50 is located in include/linux/pm_opp.h. OPP library can be enabled by enabling [all …]
|
/linux/drivers/iommu/iommufd/ |
H A D | iova_bitmap.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * struct iova_bitmap_map - A bitmap representing an IOVA range 55 * struct iova_bitmap - The IOVA bitmap object 72 * 4G - 68G-1 (64G) 73 * 68G - 128G-1 (64G) 97 * The IOVA bitmap is usually located on what tracks DMA mapped ranges or 98 * some form of IOVA range tracking that co-relates to the user passed 133 unsigned long pgsize = 1 << bitmap->mapped.pgshift; in iova_bitmap_offset_to_index() 135 return iova / (BITS_PER_TYPE(*bitmap->bitmap) * pgsize); in iova_bitmap_offset_to_index() 144 unsigned long pgshift = bitmap->mapped.pgshift; in iova_bitmap_index_to_offset() [all …]
|
/linux/mm/kasan/ |
H A D | report_generic.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 8 * Some code borrowed from https://github.com/xairy/kasan-prototype by 61 while (size < cache->object_size) { in kasan_get_alloc_size() 64 else if (*shadow >= 1 && *shadow <= KASAN_GRANULE_SIZE - 1) in kasan_get_alloc_size() 71 return cache->object_size; in kasan_get_alloc_size() 76 const char *bug_type = "unknown-crash"; in get_shadow_bug_type() 79 shadow_addr = (u8 *)kasan_mem_to_shadow(info->first_bad_addr); in get_shadow_bug_type() 85 if (*shadow_addr > 0 && *shadow_addr <= KASAN_GRANULE_SIZE - 1) in get_shadow_bug_type() 89 case 0 ... KASAN_GRANULE_SIZE - 1: in get_shadow_bug_type() [all …]
|
H A D | report.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 8 * Some code borrowed from https://github.com/xairy/kasan-prototype by 57 return -EINVAL; in early_kasan_fault() 66 return -EINVAL; in early_kasan_fault() 84 * 1. False-positive reports when accessing slab metadata, 87 * Hardware Tag-Based KASAN instead relies on: 94 if (current->kasan_depth) in report_suppressed_sw() 193 test = current->kunit_test; in fail_non_kasan_kunit_test() 247 pr_err("BUG: KASAN: %s in %pS\n", info->bug_type, (void *)info->ip); in print_error_description() [all …]
|
/linux/fs/exfat/ |
H A D | exfat_fs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. 52 (ES_IDX_FIRST_FILENAME + EXFAT_FILENAME_ENTRY_NUM(name_len) - 1) 78 #define MAX_CHARSET_SIZE 6 /* max size of multi-byte character */ 82 #define EXFAT_HINT_NONE -1 88 #define EXFAT_CLU_TO_B(b, sbi) ((b) << (sbi)->cluster_size_bits) 89 #define EXFAT_B_TO_CLU(b, sbi) ((b) >> (sbi)->cluster_size_bits) 91 (((b - 1) >> (sbi)->cluster_size_bits) + 1) 92 #define EXFAT_CLU_OFFSET(off, sbi) ((off) & ((sbi)->cluster_size - 1)) 97 #define EXFAT_BLK_TO_B(b, sb) ((b) << (sb)->s_blocksize_bits) [all …]
|
/linux/drivers/phy/hisilicon/ |
H A D | phy-hi3670-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017 HiSilicon Electronics Co., Ltd. 7 * Copyright (C) 2021 Huawei Technologies Co., Ltd. 128 /* info located in sysctrl */ 171 writel(val, phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_writel() 176 return readl(phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_readl() 193 writel(val, phy->base + reg); in kirin_apb_natural_phy_writel() 199 return readl(phy->base + reg); in kirin_apb_natural_phy_readl() 206 regmap_read(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, &val); in hi3670_pcie_phy_oe_enable() 212 regmap_write(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, val); in hi3670_pcie_phy_oe_enable() [all …]
|
/linux/fs/smb/server/ |
H A D | smb2misc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2018 Samsung Electronics Co., Ltd. 19 if (hdr->Flags & SMB2_FLAGS_SERVER_TO_REDIR) in check_smb2_hdr() 56 * located in different fields for various SMB2 requests. SMB2 requests 98 switch (hdr->Command) { in smb2_get_data_area_len() 100 *off = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferOffset); in smb2_get_data_area_len() 101 *len = le16_to_cpu(((struct smb2_sess_setup_req *)hdr)->SecurityBufferLength); in smb2_get_data_area_len() 105 le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathOffset), in smb2_get_data_area_len() 107 *len = le16_to_cpu(((struct smb2_tree_connect_req *)hdr)->PathLength); in smb2_get_data_area_len() 113 le16_to_cpu(((struct smb2_create_req *)hdr)->NameOffset), in smb2_get_data_area_len() [all …]
|
/linux/include/media/ |
H A D | v4l2-fwnode.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd. 22 #include <media/v4l2-mediabus.h> 25 * struct v4l2_fwnode_endpoint - the endpoint data structure 55 * V4L2_FWNODE_PROPERTY_UNSET - identify a non initialized property 60 #define V4L2_FWNODE_PROPERTY_UNSET (-1U) 63 * enum v4l2_fwnode_orientation - possible device orientation 66 * @V4L2_FWNODE_ORIENTATION_EXTERNAL: device externally located 75 * struct v4l2_fwnode_device_properties - fwnode device properties 85 * struct v4l2_fwnode_link - a link between two endpoints [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | README.rst | 7 __ /Documentation/bpf/bpf_devel_QA.rst#q-how-to-run-bpf-selftests 31 trampoline support on IBM's s390x architecture. For cases like this, an in-tree 32 deny list file, located at ``tools/testing/selftests/bpf/DENYLIST.<arch>``, can 45 This last entry helps identify tests that can be re-enabled once such support is 54 would be run post-submit in the CI used by the Maintainers, with the exception 57 This script uses the in-tree kernel configuration and downloads a VM userspace 64 - clang (preferably built from sources, https://github.com/llvm/llvm-project); 65 - pahole (preferably built from sources, https://git.kernel.org/pub/scm/devel/pahole/pahole.git/); 66 - qemu; 67 - docutils (for ``rst2man``); [all …]
|
/linux/Documentation/arch/s390/ |
H A D | vfio-ccw.rst | 2 vfio-ccw: the basic infrastructure 6 ------------ 9 Linux/s390. Motivation for vfio-ccw is to passthrough subchannels to a 16 - Channel programs run asynchronously on a separate (co)processor. 17 - The channel subsystem will access any memory designated by the caller 31 - A good start to know Channel I/O in general: 33 - s390 architecture: 34 s390 Principles of Operation manual (IBM Form. No. SA22-7832) 35 - The existing QEMU code which implements a simple emulated channel 41 - Documentation/driver-api/vfio-mediated-device.rst [all …]
|
/linux/arch/arm/mm/ |
H A D | proc-xscale.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/proc-xscale.S 26 #include <asm/pgtable-hwdef.h> 29 #include "proc-macros.S" 60 * Reminder: the vector table is located at 0xffff0000-0xffff0fff. 66 * when we have to ensure that the last operation to the co-pro 150 mcr p15, 0, r1, c10, c4, 1 @ unlock I-TLB 151 mcr p15, 0, r1, c8, c5, 0 @ invalidate I-TLB 229 * - start - start address (may not be aligned) 230 * - end - end address (exclusive, may not be aligned) [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * With some ideas taken from pinctrl-samsung: 9 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 14 * and pinctrl-at91: 15 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 30 #include <linux/pinctrl/pinconf-generic.h> 37 #include <dt-bindings/pinctrl/rockchip.h> 41 #include "pinctrl-rockchip.h" 67 { .offset = -1 }, \ 68 { .offset = -1 }, \ [all …]
|
/linux/arch/arc/mm/ |
H A D | tlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 26 * Utility Routine to erase a J-TLB entry 88 * Otherwise, Probe would have located the entry and set INDEX Reg in tlb_entry_insert() 89 * with existing location. This will cause Write CMD to over-write in tlb_entry_insert() 131 * Un-conditionally (without lookup) erase the entire MMU contents 139 int num_tlb = mmu->sets * mmu->ways; in local_flush_tlb_all() 185 if (atomic_read(&mm->mm_users) == 0) in local_flush_tlb_mm() 189 * - Move to a new ASID, but only if the mm is still wired in in local_flush_tlb_mm() 190 * (Android Binder ended up calling this for vma->mm != tsk->mm, in local_flush_tlb_mm() [all …]
|
/linux/arch/mips/lantiq/xway/ |
H A D | sysctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2011-2012 John Crispin <john@phrozen.org> 5 * Copyright (C) 2013-2015 Lantiq Beteiligungs-GmbH & Co.KG 124 #define PMU1_PCIE_PHY BIT(0) /* vr9-specific,moved in ar10/grx390 */ 165 do {} while (--retry && (pmu_r32(PMU_PWDSR) & module)); in ltq_pmu_enable() 180 do {} while (--retry && (!(pmu_r32(PMU_PWDSR) & module))); in ltq_pmu_disable() 191 ltq_cgu_w32(ltq_cgu_r32(ifccr) | clk->bits, ifccr); in cgu_enable() 198 ltq_cgu_w32(ltq_cgu_r32(ifccr) & ~clk->bits, ifccr); in cgu_disable() 208 pmu_w32(clk->bits, PWDCR_EN_XRX(clk->module)); in pmu_enable() 209 do {} while (--retry && in pmu_enable() [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852bt.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 199 {255, 0, 0, 7}, /* 0 -> original */ 200 {255, 2, 0, 7}, /* 1 -> for BT-connected ACI issue && BTG co-rx */ 201 {255, 0, 0, 7}, /* 2 ->reserved for shared-antenna */ 202 {255, 0, 0, 7}, /* 3- >reserved for shared-antenna */ 203 {255, 0, 0, 7}, /* 4 ->reserved for shared-antenna */ 204 {255, 1, 0, 7}, /* the below id is for non-shared-antenna free-run */ 211 {255, 0, 0, 7}, /* 0 -> original */ 212 {255, 2, 0, 7}, /* 1 -> reserved for shared-antenna */ 213 {255, 0, 0, 7}, /* 2 ->reserved for shared-antenna */ [all …]
|