coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ecam.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef __COREBOOT_SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_ECAM_H
4
#define __COREBOOT_SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_ECAM_H
5
6
#ifdef __SIMPLE_DEVICE__
7
#include <
device/pci_type.h
>
8
9
uint64_t
ecam0_get_bar_val
(
pci_devfn_t
dev,
u8
bar);
10
#else
11
#include <
device/device.h
>
12
13
uint64_t
ecam0_get_bar_val
(
struct
device
*dev,
u8
bar);
14
#endif
15
16
#endif
ecam0_get_bar_val
uint64_t ecam0_get_bar_val(struct device *dev, u8 bar)
device.h
pci_type.h
pci_devfn_t
u32 pci_devfn_t
Definition:
pci_type.h:8
uint64_t
unsigned long long uint64_t
Definition:
stdint.h:17
u8
uint8_t u8
Definition:
stdint.h:45
device
Definition:
device.h:107
src
soc
cavium
common
include
soc
ecam.h
Generated by
1.9.1