]> Git Repo - linux.git/blob - drivers/misc/habanalabs/include/hw_ip/pci/pci_general.h
net: dsa: sja1105: Implement state machine for TAS with PTP clock source
[linux.git] / drivers / misc / habanalabs / include / hw_ip / pci / pci_general.h
1 /* SPDX-License-Identifier: GPL-2.0
2  *
3  * Copyright 2016-2019 HabanaLabs, Ltd.
4  * All Rights Reserved.
5  *
6  */
7
8 #ifndef INCLUDE_PCI_GENERAL_H_
9 #define INCLUDE_PCI_GENERAL_H_
10
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)
16
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)
22
23 #endif /* INCLUDE_PCI_GENERAL_H_ */
This page took 0.028413 seconds and 4 git commands to generate.