blob: d0fc5c847568d1282bac059f983210bd852a6025 [file] [log] [blame]
AlexeiFedorov9f2de632024-09-10 11:48:22 +01001/*
2 * Copyright (c) 2024, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef DOE_HELPERS_H
9#define DOE_HELPERS_H
10
Soby Mathew2c2810f2024-11-15 17:11:24 +000011#include <stdint.h>
12
AlexeiFedorov9f2de632024-09-10 11:48:22 +010013void pcie_init(void);
14int find_doe_device(uint32_t *bdf_ptr, uint32_t *cap_base_ptr);
15int doe_discovery(uint32_t bdf, uint32_t doe_cap_base);
16int get_spdm_version(uint32_t bdf, uint32_t doe_cap_base);
17
18#endif /* DOE_HELPERS_H */