| /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/net/wireless/morsemicro/mm81x/ |
| H A D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2026 Morse Micro 24 * Value to indicate that the base address for bulk/register 46 struct sdio_func *func = func1->card->sdio_func[1]; in irq_handler() 55 struct sdio_func *func = sdio->func; in mm81x_sdio_enable_irq() 56 struct sdio_func *func1 = func->card->sdio_func[0]; in mm81x_sdio_enable_irq() 62 dev_err(mors->dev, "Failed to enable sdio irq: %d\n", ret); in mm81x_sdio_enable_irq() 70 struct sdio_func *func = sdio->func; in mm81x_sdio_disable_irq() 71 struct sdio_func *func1 = func->card->sdio_func[0]; in mm81x_sdio_disable_irq() 80 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; in mm81x_sdio_set_irq() [all …]
|
| /linux/drivers/hwmon/ |
| 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 …]
|
| H A D | sch56xx-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010-2012 Hans de Goede <hdegoede@redhat.com> * 21 #include "sch56xx-common.h" 30 #define SIO_UNLOCK_KEY 0x55 /* Key to enable Super-I/O */ 31 #define SIO_LOCK_KEY 0xAA /* Key to disable Super-I/O */ 36 #define SIO_REG_ADDR 0x66 /* Logical device address (2 bytes) */ 81 pr_err("I/O address 0x%04x already in use\n", base); in superio_enter() 82 return -EBUSY; in superio_enter() 109 * responds within 15-32 reads, so we first busy poll, and if in sch56xx_send_cmd() 116 /* (Optional) Write-Clear the EC to Host Mailbox Register */ in sch56xx_send_cmd() [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/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/acpi/pmic/ |
| 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_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 …]
|
| /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/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/tools/perf/pmu-events/arch/x86/amdzen5/ |
| H A D | load-store.json | 5 "BriefDescription": "Store-to-load conflicts (load unable to complete due to a non-forwardable conflict with an older store).", 33 "BriefDescription": "Number of memory load operations dispatched to the load-store unit.", 39 "BriefDescription": "Number of memory store operations dispatched to the load-store unit.", 45 "BriefDescription": "Number of memory load-store operations dispatched to the load-store unit.", 51 "BriefDescription": "Number of memory operations dispatched to the load-store unit.", 67 "BriefDescription": "Store-to-loa [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/acpi/ |
| H A D | sbshc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 .name = "acpi-smbus-hc", 79 ACPI_SMB_ADDRESS = 2, /* address */ 81 ACPI_SMB_DATA = 4, /* 32 data registers */ 82 ACPI_SMB_BLOCK_COUNT = 0x24, /* number of data bytes */ 83 ACPI_SMB_ALARM_ADDRESS = 0x25, /* alarm address */ 84 ACPI_SMB_ALARM_DATA = 0x26, /* 2 bytes alarm data */ 87 static inline int smb_hc_read(struct acpi_smb_hc *hc, u8 address, u8 *data) in smb_hc_read() argument 89 return ec_read(hc->offset + address, data); in smb_hc_read() 92 static inline int smb_hc_write(struct acpi_smb_hc *hc, u8 address, u8 data) in smb_hc_write() argument [all …]
|
| /linux/include/linux/dma/ |
| H A D | qcom_bam_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. 12 * This data type corresponds to the native Command Element 15 * @cmd_and_addr - upper 8 bits command and lower 24 bits register address. 16 * @data - For write command: content to be written into peripheral register. 17 * For read command: lower 32 bits of destination address. 18 * @mask - For write command: register write mask. 19 * For read command on BAM v1.6.0+: upper 4 bits of destination address. 21 * Setting to 0 ensures 32-bit addressing compatibility. 22 * @reserved - for future usage. [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/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/devicetree/bindings/memory-controllers/ |
| H A D | mvebu-devbus.txt | 9 - 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 D | st,stm32-fmc2-ebi-props.yaml | 1 # 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/net/ethernet/xilinx/ |
| H A D | xilinx_emaclite.c | 1 // 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/scsi/ |
| H A D | qla1280.h | 1 /* 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/net/sctp/ |
| H A D | primitive.c | 1 // 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 …]
|
| /linux/arch/mips/pci/ |
| H A D | pci-rt2880.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <asm/mach-ralink/rt288x.h> 63 u32 address; in rt2880_pci_config_read() local 64 u32 data; in rt2880_pci_config_read() local 66 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_read() 69 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); in rt2880_pci_config_read() 70 data = rt2880_pci_reg_read(RT2880_PCI_REG_CONFIG_DATA); in rt2880_pci_config_read() 74 *val = (data >> ((where & 3) << 3)) & 0xff; in rt2880_pci_config_read() 77 *val = (data >> ((where & 3) << 3)) & 0xffff; in rt2880_pci_config_read() 80 *val = data; in rt2880_pci_config_read() [all …]
|
| /linux/drivers/misc/eeprom/ |
| H A D | idt_89hpesx.c | 1 // 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 …]
|