File Index
Files and directories
Sign in
FILE

xe_i2c_regs.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/xe/regs/xe_i2c_regs.h C
 1/* SPDX-License-Identifier: MIT */
 2#ifndef _XE_I2C_REGS_H_
 3#define _XE_I2C_REGS_H_
 4
 5#include <linux/pci_regs.h>
 6
 7#include "xe_reg_defs.h"
 8#include "xe_regs.h"
 9
10#define I2C_BRIDGE_OFFSET		(SOC_BASE + 0xd9000)
11#define I2C_CONFIG_SPACE_OFFSET		(SOC_BASE + 0xf6000)
12#define I2C_MEM_SPACE_OFFSET		(SOC_BASE + 0xf7400)
13
14#define REG_SG_REMAP_ADDR_PREFIX	XE_REG(SOC_BASE + 0x0164)
15#define REG_SG_REMAP_ADDR_POSTFIX	XE_REG(SOC_BASE + 0x0168)
16
17#define I2C_BRIDGE_PCICFGCTL		XE_REG(I2C_BRIDGE_OFFSET + 0x200)
18#define   ACPI_INTR_EN			REG_BIT(1)
19
20#define I2C_CONFIG_CMD			XE_REG(I2C_CONFIG_SPACE_OFFSET + PCI_COMMAND)
21#define I2C_CONFIG_PMCSR		XE_REG(I2C_CONFIG_SPACE_OFFSET + 0x84)
22
23#endif /* _XE_I2C_REGS_H_ */
~/ Read-only file preview.