Home
last modified time | relevance | path

Searched +full:address +full:- +full:data (Results 1 – 25 of 1067) sorted by relevance

12345678910>>...43

/linux/arch/s390/kvm/
H A Dgaccess.h1 /* 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 Drsaddr.c1 // 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 Daic79xx.reg4 * 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 Daic7xxx.reg4 * 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/hwmon/
H A Dlm78.c1 // 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/Documentation/arch/sparc/oradax/
H A Ddax-hv-api.txt3 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 Dstratix10-smc.h1 /* 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/scripts/gdb/linux/
H A Dpgtable.py1 # 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/s390/cio/
H A Dfcx.c1 // 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/acpi/pmic/
H A Dtps68470_pmic.c1 // 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 Dintel_pmic_bytcrc.c1 // 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 Dintel_pmic.c1 // 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 …]
/linux/drivers/acpi/riscv/
H A Dcppc.c1 // 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/ssb/
H A Dsdio.c3 * 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/media/pci/ddbridge/
H A Dddbridge-ci.c1 // 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/drivers/hwmon/occ/
H A Dp8_i2c.c1 // 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/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dpcd.c37 #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/include/linux/
H A Dpsp-sev.h1 /* 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 …]
H A Dkfifo.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 * - Modify the declaration of the "struct kfifo *" object into a
15 * in-place "struct kfifo" object
16 * - Init the in-place object with kfifo_alloc() or kfifo_init()
17 * Note: The address of the in-place "struct kfifo" object must be
19 * - Replace the use of __kfifo_put into kfifo_in and __kfifo_get
21 * - Replace the use of kfifo_put into kfifo_in_spinlocked and kfifo_get
26 * - The formerly __kfifo_* functions are renamed into kfifo_*
54 void *data; member
70 type buf[((size < 2) || (size & (size - 1))) ? -1 : size]; \
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dmvebu-devbus.txt9 - compatible: Armada 370/XP SoC are supported using the
10 "marvell,mvebu-devbus" compatible string.
13 "marvell,orion-devbus" compatible string.
15 - reg: A resource specifier for the register space.
16 This is the base address of a chip select within
20 - #address-cells: Must be set to 1
21 - #size-cells: Must be set to 1
22 - ranges: Must be set up to reflect the memory layout with four
23 integer values for each chip-select line in use:
24 0 <physical address of mapping> <size>
[all …]
H A Dst,stm32-fmc2-ebi-props.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christophe Kerello <christophe.kerello@foss.st.com>
11 - Marek Vasut <marex@denx.de>
14 st,fmc2-ebi-cs-transaction-type:
33 st,fmc2-ebi-cs-cclk-enable:
40 st,fmc2-ebi-cs-mux-enable:
41 description: Address/Data multiplexed on databus (valid only with
[all …]
/linux/drivers/scsi/
H A Dqla1280.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 * Data bit definitions.
53 #define WRT_REG_WORD(addr, data) writew(data, addr) argument
57 #define WRT_REG_WORD(addr, data) outw(data, (unsigned long)addr) argument
77 /* Command retry count (0-65535) */
85 /* ISP request and response entry counts (37-65535) */
95 /* NOTE: the sp->cmd will be NULL when this completion is
126 #define ISP_CFG1_F128 BIT_6 /* 128-byte FIFO threshold */
127 #define ISP_CFG1_F64 BIT_4|BIT_5 /* 128-byte FIFO threshold */
128 #define ISP_CFG1_F32 BIT_5 /* 128-byte FIFO threshold */
[all …]
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_emaclite.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2007 - 2013 Xilinx, Inc.
32 #define XEL_MDIOADDR_OFFSET 0x07E4 /* MDIO Address Register */
33 #define XEL_MDIOWR_OFFSET 0x07E8 /* MDIO Write Data Register */
34 #define XEL_MDIORD_OFFSET 0x07EC /* MDIO Read Data Register */
46 /* MDIO Address Register Bit Masks */
47 #define XEL_MDIOADDR_REGADR_MASK 0x0000001F /* Register Address */
48 #define XEL_MDIOADDR_PHYADR_MASK 0x000003E0 /* PHY Address */
52 /* MDIO Write Data Register Bit Masks */
53 #define XEL_MDIOWR_WRDATA_MASK 0x0000FFFF /* Data to be Written */
[all …]
/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 T-Platforms. All Rights Reserved.
5 * IDT PCIe-switch NTB Linux driver
8 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru>
11 * NOTE of the IDT 89HPESx SMBus-slave interface driver
13 * IDT PCIe-switches. IDT provides a simple SMBus interface to perform IO-
16 * binary sysfs-file in the device directory:
17 * /sys/bus/i2c/devices/<bus>-<devaddr>/eeprom
18 * In case if read-only flag is specified in the dts-node of device desription,
19 * User-space applications won't be able to write to the EEPROM sysfs-node.
[all …]
/linux/net/sctp/
H A Dprimitive.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1999-2000 Cisco, Inc.
4 * Copyright (c) 1999-2001 Motorola, Inc.
11 * functions--this file is the functions which populate the struct proto
15 * email address(es):
16 * lksctp developers <linux-sctp@vger.kernel.org>
47 state = asoc ? asoc->state : SCTP_STATE_CLOSED; \
48 ep = asoc ? asoc->ep : NULL; \
55 /* 10.1 ULP-to-SCTP
60 * -> association id [,destination transport addr list] [,outbound stream
[all …]

12345678910>>...43