clkmgr 2.0
Clock Manager API library to receive events from the PTP service
Loading...
Searching...
No Matches
timebase_configs_c.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 SPDX-FileCopyrightText: Copyright © 2025 Intel Corporation. */
3
12#ifndef CLIENT_TIMEBASE_CONFIGS_C_H
13#define CLIENT_TIMEBASE_CONFIGS_C_H
14
15#include <stddef.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
26bool clkmgr_isTimeBaseIndexPresent(size_t timeBaseIndex);
32const char *clkmgr_ifName(size_t timeBaseIndex);
37int clkmgr_ifIndex(size_t timeBaseIndex);
42int clkmgr_ptpIndex(size_t timeBaseIndex);
47uint8_t clkmgr_transportSpecific(size_t timeBaseIndex);
52uint8_t clkmgr_domainNumber(size_t timeBaseIndex);
57const char *clkmgr_timeBaseName(size_t timeBaseIndex);
62bool clkmgr_havePtp(size_t timeBaseIndex);
67bool clkmgr_haveSysClock(size_t timeBaseIndex);
74bool clkmgr_BaseNameToBaseIndex(const char *timeBaseName,
75 size_t *timeBaseIndex);
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif /* CLIENT_TIMEBASE_CONFIGS_C_H */
bool clkmgr_haveSysClock(size_t timeBaseIndex)
const char * clkmgr_timeBaseName(size_t timeBaseIndex)
bool clkmgr_BaseNameToBaseIndex(const char *timeBaseName, size_t *timeBaseIndex)
uint8_t clkmgr_domainNumber(size_t timeBaseIndex)
const char * clkmgr_ifName(size_t timeBaseIndex)
int clkmgr_ifIndex(size_t timeBaseIndex)
uint8_t clkmgr_transportSpecific(size_t timeBaseIndex)
int clkmgr_ptpIndex(size_t timeBaseIndex)
bool clkmgr_isTimeBaseIndexPresent(size_t timeBaseIndex)
bool clkmgr_havePtp(size_t timeBaseIndex)