drm/rockchip: Don't change hdmi reference clock rate
[drm/drm-misc.git] / drivers / accel / habanalabs / include / hw_ip / pci / pci_general.h
bloba75faa00197fd27b625ebfd7c982f314eb6f44e3
1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright 2016-2019 HabanaLabs, Ltd.
4 * All Rights Reserved.
6 */
8 #ifndef INCLUDE_PCI_GENERAL_H_
9 #define INCLUDE_PCI_GENERAL_H_
11 /* PCI CONFIGURATION SPACE */
12 #define mmPCI_CONFIG_ELBI_ADDR 0xFF0
13 #define mmPCI_CONFIG_ELBI_DATA 0xFF4
14 #define mmPCI_CONFIG_ELBI_CTRL 0xFF8
15 #define PCI_CONFIG_ELBI_CTRL_WRITE (1 << 31)
17 #define mmPCI_CONFIG_ELBI_STS 0xFFC
18 #define PCI_CONFIG_ELBI_STS_ERR (1 << 30)
19 #define PCI_CONFIG_ELBI_STS_DONE (1 << 31)
20 #define PCI_CONFIG_ELBI_STS_MASK (PCI_CONFIG_ELBI_STS_ERR | \
21 PCI_CONFIG_ELBI_STS_DONE)
23 enum hl_revision_id {
24 /* PCI revision ID 0 is not legal */
25 REV_ID_INVALID = 0x00,
26 REV_ID_A = 0x01,
27 REV_ID_B = 0x02,
28 REV_ID_C = 0x03,
29 REV_ID_D = 0x04
32 #endif /* INCLUDE_PCI_GENERAL_H_ */