/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/net/iucv/ |
H A D | iucv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * www.vm.ibm.com/pubs, manual # SC24-6084 23 * - All positive return codes including zero are reflected back 26 * - Return Code of: 27 * -EINVAL: Invalid value 28 * -ENOMEM: storage allocation failed 33 #include <asm/dma-types.h> 46 * IUCV_IPBUFLST Indicates that an address list is used for the message data. 54 * IUCV_IPANSLST Indicates that an address list is used for the reply data. 74 * Inside the array may be 31- bit addresses and 31-bit lengths. [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> 115 * struct sev_data_init - INIT command parameters 118 * @tmr_address: system physical address used for SEV-ES 129 * struct sev_data_init_ex - INIT_EX command parameters 133 * @tmr_address: system physical address used for SEV-ES 135 * @nv_address: system physical address used for PSP NV storage 151 * struct sev_data_pek_csr - PEK_CSR command parameters 153 * @address: PEK certificate chain [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/drivers/s390/cio/ |
H A D | fcx.c | 1 // SPDX-License-Identifier: GPL-2.0 20 * tcw_get_intrg - return pointer to associated interrogate tcw 28 return dma32_to_virt(tcw->intrg); in tcw_get_intrg() 33 * tcw_get_data - return pointer to input/output data associated with tcw 36 * Return the input or output data address specified in the tcw depending 37 * on whether the r-bit or the w-bit is set. If neither bit is set, return 42 if (tcw->r) in tcw_get_data() 43 return dma64_to_virt(tcw->input); in tcw_get_data() 44 if (tcw->w) in tcw_get_data() 45 return dma64_to_virt(tcw->output); in tcw_get_data() [all …]
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. 41 u32 address: 17; member 42 u32 data: 8; member 50 u32 address: 17; member 68 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd52() 70 u8 data; in wilc_sdio_cmd52() local 74 func->num = cmd->function; in wilc_sdio_cmd52() 75 if (cmd->read_write) { /* write */ in wilc_sdio_cmd52() 76 if (cmd->raw) { in wilc_sdio_cmd52() [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/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 …]
|
H A D | pt5161l.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 /* Reg offset to specify Address for MM assisted accesses */ 27 /* Reg offset to MM SPARE 0 used specify Address[7:0] */ 29 /* Reg offset to MM SPARE 3 used specify Data Byte 0 */ 46 #define ARIES_MAIN_MICRO_FW_INFO (96 * 1024 - 128) 63 /* Each client has this additional data */ 78 * Write multiple data bytes to Aries over I2C 80 static int pt5161l_write_block_data(struct pt5161l_data *data, u32 address, in pt5161l_write_block_data() argument 83 struct i2c_client *client = data->client; in pt5161l_write_block_data() 89 u8 config = 0x40; /* [6]:cfg_type, [4:1]:burst_len, [0]:address bit16 */ in pt5161l_write_block_data() [all …]
|
H A D | lm90.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm90.c - Part of lm_sensors, Linux kernel modules for hardware 5 * Copyright (C) 2003-2010 Jean Delvare <jdelvare@suse.de> 10 * temperature) and a 3-4 deg accuracy. 18 * When device is auto-detected, the driver will assume an LM99. 32 * variants. We use the device address to detect MAX6659, which will result 33 * in a detection as max6657 if it is on address 0x4c. The extra address 35 * explicitly as max6659, or if its address is not 0x4c. 65 * and extended mode. They are mostly compatible with LM90 except for a data 77 * pin-compatible with the LM86, the ED/EDP parts are also address-compatible. [all …]
|
/linux/scripts/gdb/linux/ |
H A D | pgtable.py | 1 # SPDX-License-Identifier: GPL-2.0-only 40 def is_bit_defined_tupled(data, offset): argument 41 return offset, bool(data >> offset & 1) 43 def content_tupled(data, bit_start, bit_end): argument 44 return (bit_start, bit_end), data >> bit_start & ((1 << (1 + bit_end - bit_start)) - 1) 80 {'cr3 binary data': <30} {hex(self.cr3)} 81 {'next entry physical address': <30} {hex(self.next_entry_physical_address)} 82 --- 89 def __init__(self, address, level): argument 90 data = int.from_bytes( [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/Documentation/staging/ |
H A D | rpmsg.rst | 17 flavor of real-time OS. 19 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP. 20 Typically, the dual cortex-A9 is running Linux in a SMP configuration, 25 hardware accelerators, and therefore are often used to offload CPU-intensive 28 These remote processors could also be used to control latency-sensitive 34 hardware accessible only by the remote processor, reserving kernel-controlled 37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate 56 and have a local ("source") rpmsg address, and remote ("destination") rpmsg 57 address. 60 a unique rpmsg local address (a 32-bit integer). This way when inbound messages [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/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/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 …]
|