drivers/gpu/drm/xe/regs/xe_i2c_regs.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/regs/xe_i2c_regs.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/regs/xe_i2c_regs.h
Extension
.h
Size
701 bytes
Lines
24
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _XE_I2C_REGS_H_
#define _XE_I2C_REGS_H_

#include <linux/pci_regs.h>

#include "xe_reg_defs.h"
#include "xe_regs.h"

#define I2C_BRIDGE_OFFSET		(SOC_BASE + 0xd9000)
#define I2C_CONFIG_SPACE_OFFSET		(SOC_BASE + 0xf6000)
#define I2C_MEM_SPACE_OFFSET		(SOC_BASE + 0xf7400)

#define REG_SG_REMAP_ADDR_PREFIX	XE_REG(SOC_BASE + 0x0164)
#define REG_SG_REMAP_ADDR_POSTFIX	XE_REG(SOC_BASE + 0x0168)

#define I2C_BRIDGE_PCICFGCTL		XE_REG(I2C_BRIDGE_OFFSET + 0x200)
#define   ACPI_INTR_EN			REG_BIT(1)

#define I2C_CONFIG_CMD			XE_REG(I2C_CONFIG_SPACE_OFFSET + PCI_COMMAND)
#define I2C_CONFIG_PMCSR		XE_REG(I2C_CONFIG_SPACE_OFFSET + 0x84)

#endif /* _XE_I2C_REGS_H_ */

Annotation

Implementation Notes