| /linux/arch/s390/kvm/ |
| H A D | gaccess.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #include "kvm-s390.h" 20 * kvm_s390_real_to_abs - convert guest real address to guest absolute address 21 * @prefix - guest prefix 22 * @gra - guest real address 24 * Returns the guest absolute address that corresponds to the passed guest real 25 * address @gra of by applying the given prefix. 32 gra -= prefix; in _kvm_s390_real_to_abs() 37 * kvm_s390_real_to_abs - convert guest real address to guest absolute address 38 * @vcpu - guest virtual cpu [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | rsaddr.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: rsaddr - Address resource descriptors (16/32/64) 17 * acpi_rs_convert_address16 - All WORD (16-bit) address resources 29 /* Resource Type, General Flags, and Type-Specific Flags */ 35 * Address Granularity 36 * Address Range Minimum 37 * Address Range Maximum 38 * Address Translation Offset 39 * Address Length 41 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity), [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic79xx.reg | 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 62 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 69 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 76 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { \ 95 * Controls which of the 5, 512byte, address spaces should be used 100 address 0x000 115 address 0x001 [all …]
|
| H A D | aic7xxx.reg | 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 49 * All page numbers refer to the Adaptec AIC-7770 Data Book available from 50 * Adaptec's Technical Documents Department 1-800-934-2766 65 * SCSI Sequence Control (p. 3-11). 69 address 0x000 82 * SCSI Transfer Control 0 Register (pp. 3-13). 83 * Controls the SCSI module data path. [all …]
|
| /linux/drivers/acpi/pmic/ |
| H A D | intel_pmic_bytcrc.c | 1 // SPDX-License-Identifier: GPL-2.0 21 .address = 0x00, 26 .address = 0x04, 29 }, /* SYSX -> VSYS_SX */ 31 .address = 0x08, 34 }, /* SYSU -> VSYS_U */ 36 .address = 0x0c, 39 }, /* SYSS -> VSYS_S */ 41 .address = 0x10, 44 }, /* V50S -> V5P0S */ [all …]
|
| H A D | tps68470_pmic.c | 1 // SPDX-License-Identifier: GPL-2.0 19 u32 address; /* operation region address */ member 38 .address = 0x00, 44 .address = 0x04, 50 .address = 0x08, 56 .address = 0x0C, 62 .address = 0x10, 68 .address = 0x14, 78 .address = 0x00, 84 .address = 0x04, [all …]
|
| H A D | intel_pmic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * intel_pmic.c - Intel PMIC operation region driver 28 const struct intel_pmic_opregion_data *data; member 34 static int pmic_get_reg_bit(int address, const struct pmic_table *table, in pmic_get_reg_bit() argument 40 if (table[i].address == address) { in pmic_get_reg_bit() 47 return -ENOENT; in pmic_get_reg_bit() 51 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_power_handler() argument 55 struct regmap *regmap = opregion->regmap; in intel_pmic_power_handler() 56 const struct intel_pmic_opregion_data *d = opregion->data; in intel_pmic_power_handler() 65 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler() [all …]
|
| H A D | intel_pmic_xpower.c | 1 // SPDX-License-Identifier: GPL-2.0 31 .address = 0x00, 36 .address = 0x04, 41 .address = 0x08, 46 .address = 0x0c, 51 .address = 0x10, 56 .address = 0x14, 61 .address = 0x18, 66 .address = 0x1c, 71 .address = 0x20, [all …]
|
| /linux/Documentation/arch/sparc/oradax/ |
| H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 13 …The following APIs provide access via the Hypervisor to hardware assisted data processing function… 16 live-migration and other system management activities. 18 36.1. Data Analytics Accelerator 19 …The Data Analytics Accelerator (DAX) functionality is a collection of hardware coprocessors that p… 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 21 …the following data query operations: search, extraction, compression, decompression, and translati… 24 …The DAX is a virtual device to sun4v guests, with supported data operations indicated by the virtu… 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- [all …]
|
| /linux/include/linux/firmware/intel/ |
| H A D | stratix10-smc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2017-2018, Intel Corporation 9 #include <linux/arm-smccc.h> 19 * An ARM SMC instruction takes a function identifier and up to 6 64-bit 20 * register values as arguments, and can return up to 4 64-bit register 24 * EL1 and EL3 communicates pointer as physical address rather than the 25 * virtual address. 31 * STD call starts a operation which can be preempted by a non-secure 88 * a2-7: not used. 92 * a1-3: not used. [all …]
|
| /linux/include/linux/ |
| H A D | psp-sev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016-2017 Advanced Micro Devices, Inc. 15 #include <uapi/linux/psp-sev.h> 116 * struct sev_data_init - INIT command parameters 119 * @tmr_address: system physical address used for SEV-ES 130 * struct sev_data_init_ex - INIT_EX command parameters 134 * @tmr_address: system physical address used for SEV-ES 136 * @nv_address: system physical address used for PSP NV storage 152 * struct sev_data_pek_csr - PEK_CSR command parameters 154 * @address: PEK certificate chain [all …]
|
| /linux/drivers/s390/cio/ |
| H A D | fcx.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * tcw_get_intrg - return pointer to associated interrogate tcw 29 return dma32_to_virt(tcw->intrg); in tcw_get_intrg() 34 * tcw_get_data - return pointer to input/output data associated with tcw 37 * Return the input or output data address specified in the tcw depending 38 * on whether the r-bit or the w-bit is set. If neither bit is set, return 43 if (tcw->r) in tcw_get_data() 44 return dma64_to_virt(tcw->input); in tcw_get_data() 45 if (tcw->w) in tcw_get_data() 46 return dma64_to_virt(tcw->output); in tcw_get_data() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | lm78.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm78.c - Part of lm_sensors, Linux kernel modules for hardware 17 #include <linux/hwmon-vid.h> 18 #include <linux/hwmon-sysfs.h> 35 /* Length of ISA address segment */ 38 /* Where are the ISA address/data registers relative to the base address */ 90 return val == 0 ? -1 : val == 255 ? 0 : 1350000 / (val * div); in FAN_FROM_REG() 94 * TEMP: mC (-128C to +127C) 99 int nval = clamp_val(val, -128000, 127000) ; in TEMP_TO_REG() 100 return nval < 0 ? (nval - 500) / 1000 : (nval + 500) / 1000; in TEMP_TO_REG() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| H A D | link_dpcd.c | 37 #define END_ADDRESS(start, size) (start + size - 1) 38 #define ADDRESS_RANGE_SIZE(start, end) (end - start + 1) 46 uint32_t address, in internal_link_read_dpcd() argument 47 uint8_t *data, in internal_link_read_dpcd() argument 50 if (!link->aux_access_disabled && in internal_link_read_dpcd() 51 !dm_helpers_dp_read_dpcd(link->ctx, in internal_link_read_dpcd() 52 link, address, data, size)) { in internal_link_read_dpcd() 61 uint32_t address, in internal_link_write_dpcd() argument 62 const uint8_t *data, in internal_link_write_dpcd() argument 65 if (!link->aux_access_disabled && in internal_link_write_dpcd() [all …]
|
| /linux/scripts/gdb/linux/ |
| H A D | pgtable.py | 1 # SPDX-License-Identifier: GPL-2.0-only 38 def is_bit_defined_tupled(data, offset): 39 return offset, bool(data >> offset & 1) 41 def content_tupled(data, bit_start, bit_end): 42 return (bit_start, bit_end), data >> bit_start & ((1 << (1 + bit_end - bit_start)) - 40 is_bit_defined_tupled(data, offset) global() argument 43 content_tupled(data, bit_start, bit_end) global() argument 89 __init__(self, address, level) global() argument [all...] |
| /linux/drivers/ssb/ |
| H A D | sdio.c | 3 * SDIO-Hostbus related functions 9 * Copyright 2007-2008 Michael Buesch <m@bues.ch> 59 #define SBSDIO_FUNC1_SBADDRLOW 0x1000a /* SB Address window Low (b15) */ 60 #define SBSDIO_FUNC1_SBADDRMID 0x1000b /* SB Address window Mid (b23-b16) */ 61 #define SBSDIO_FUNC1_SBADDRHIGH 0x1000c /* SB Address window High (b24-b31) */ 64 #define SBSDIO_SBADDRLOW_MASK 0x80 /* Valid address bits in SBADDRLOW */ 65 #define SBSDIO_SBADDRMID_MASK 0xff /* Valid address bits in SBADDRMID */ 66 #define SBSDIO_SBADDRHIGH_MASK 0xff /* Valid address bits in SBADDRHIGH */ 71 #define SBSDIO_SB_ACCESS_2_4B_FLAG 0x8000 /* forces 32-bit SB access */ 75 * Address map within the SDIO function address space (128K). [all …]
|
| /linux/drivers/hwmon/occ/ |
| H A D | p8_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <linux/fsi-occ.h> 18 /* OCB (on-chip control bridge - interface to OCC) registers */ 23 /* OCC SRAM address space */ 36 static int p8_i2c_occ_getscom(struct i2c_client *client, u32 address, u8 *data) in p8_i2c_occ_getscom() argument 43 address <<= 1; in p8_i2c_occ_getscom() 45 msgs[0].addr = client->addr; in p8_i2c_occ_getscom() 46 msgs[0].flags = client->flags & I2C_M_TEN; in p8_i2c_occ_getscom() 48 /* address is a scom address; bus-endian */ in p8_i2c_occ_getscom() 49 msgs[0].buf = (char *)&address; in p8_i2c_occ_getscom() [all …]
|
| /linux/drivers/misc/ |
| H A D | gehc-achc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * datasheet: https://www.nxp.com/docs/en/data-sheet/K20P144M120SF3.pdf 5 * Copyright (C) 2018-2021 Collabora 6 * Copyright (C) 2018-2021 GE Healthcare 36 #define EZPORT_CMD_FAST_READ 0x0b /* flash read data at high speed */ 42 #define EZPORT_SECTOR_MASK (EZPORT_SECTOR_SIZE - 1) 68 spi_bus_lock(spi->controller); in ezport_start_programming() 88 spi_bus_unlock(spi->controller); in ezport_start_programming() 95 spi_bus_lock(spi->controller); in ezport_stop_programming() 97 spi_bus_unlock(spi->controller); in ezport_stop_programming() [all …]
|
| /linux/drivers/media/pci/ddbridge/ |
| H A D | ddbridge-ci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ddbridge-ci.c: Digital Devices bridge CI (DuoFlex, CI Bridge) support 5 * Copyright (C) 2010-2017 Digital Devices GmbH 11 #include "ddbridge-regs.h" 12 #include "ddbridge-ci.h" 13 #include "ddbridge-io.h" 14 #include "ddbridge-i2c.h" 26 if (ddbreadl(ci->port->dev, in wait_ci_ready() 27 CI_CONTROL(ci->nr)) & CI_READY) in wait_ci_ready() 30 if ((--count) == 0) in wait_ci_ready() [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | max6875.rst | 13 Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6874-MAX6875.pdf 19 ----------- 21 The Maxim MAX6875 is an EEPROM-programmable power-supply sequencer/supervisor. 33 - vin gpi vout 43 ------------- 45 eeprom - 512 bytes of user-defined EEPROM space. 49 --------------- 55 The driver does not probe any address, so you explicitly instantiate the 61 $ echo max6875 0x50 > /sys/bus/i2c/devices/i2c-0/new_device 63 The MAX6874/MAX6875 ignores address bit 0, so this driver attaches to multiple [all …]
|
| /linux/arch/arm/mm/ |
| H A D | cache-v7m.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/cache-v7m.S 5 * Based on linux/arch/arm/mm/cache-v7.S 20 #include "proc-macros.S" 22 .arch armv7-m 51 * dcisw: Invalidate data cache by set/way 58 * dccisw: Clean and invalidate data cache by set/way 65 * dccimvac: Clean and invalidate data cache line by MVA to PoC. 74 * dcimvac: Invalidate data cache line by MVA to PoC 83 * dccmvau: Clean data cache line by MVA to PoU [all …]
|
| /linux/drivers/acpi/riscv/ |
| H A D | cppc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Implement CPPC FFH helper routines for RISC-V. 20 /* RISC-V FFH definitions from RISC-V FFH spec */ 51 struct sbi_cppc_data *data = (struct sbi_cppc_data *)read_data; in sbi_cppc_read() local 53 data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_READ, in sbi_cppc_read() 54 data->reg, 0, 0, 0, 0, 0); in sbi_cppc_read() 59 struct sbi_cppc_data *data = (struct sbi_cppc_data *)write_data; in sbi_cppc_write() local 61 data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_WRITE, in sbi_cppc_write() 62 data->reg, data->val, 0, 0, 0, 0); in sbi_cppc_write() 67 struct sbi_cppc_data *data = (struct sbi_cppc_data *)read_data; in cppc_ffh_csr_read() local [all …]
|
| /linux/drivers/crypto/caam/ |
| H A D | pdb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * CAAM Protocol Data Block (PDB) definition header file 5 * Copyright 2008-2016 Freescale Semiconductor, Inc. 14 * PDB- IPSec ESP Header Modification Options 19 * Encap and Decap - Decrement TTL (Hop Limit) - Based on the value of the 27 * Decap - DiffServ Copy - Copy the IPv4 TOS or IPv6 Traffic Class byte 32 * Encap- Copy DF bit -if an IPv4 tunnel mode outer IP header is coming from 47 * PDB - IPSec ESP Encap/Decap Options 50 #define PDBOPTS_ESP_ARS32 0x40 /* 32-entry antireplay window */ 51 #define PDBOPTS_ESP_ARS128 0x80 /* 128-entry antireplay window */ [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 19 addresses in the GMI address space. Should be 2. [all …]
|
| /linux/Documentation/networking/ |
| H A D | j1939.rst | 1 .. SPDX-License-Identifier: (GPL-2.0 OR MIT) 14 ISO-11783 (ISOBUS). This last one specifies the so-called ETP (Extended 16 results in a maximum packet size of ((2 ^ 24) - 1) * 7 bytes == 111 MiB. 19 ------------------- 21 * SAE J1939-21 : data link layer 22 * SAE J1939-81 : network management 23 * ISO 11783-6 : Virtual Terminal (Extended Transport Protocol) 25 .. _j1939-motivation: 35 not necessarily know its source address. Although, at least one process per 36 ECU should know the source address. Other processes should be able to reuse [all …]
|