DOKK / manpages / debian 10 / libcxl-dev / cxl_get_psl_timebase_synced.3.en
CXL_GET_PSL_TIMEBASE_SYNCED(3) CXL Manual CXL_GET_PSL_TIMEBASE_SYNCED(3)

cxl_get_psl_timebase_synced - get the status of timebase on the CXL device

#include <libcxl.h>

int cxl_get_psl_timebase_synced(struct cxl_adapter_h *adapter, long *valp);

cxl_get_psl_timebase_synced() copies the status of timebase on the CXL adapter to the long integer pointed to by valp. This value will be 1 if the PSL timebase register is synchronized with the core timebase register, 0 otherwise.

On success, 0 is returned. On error, -1 is returned and errno is set appropriately.

Invalid argument value.
The kernel does not export the PSL timebase status.
Insufficient memory.

cxl(3), cxl_adapter_next(3), cxl_get_base_image(3), cxl_get_caia_version(3), cxl_get_image_loaded(3), cxl_get_psl_revision(3), cxl_get_tunneled_ops_supported(3)

2017-05-24 LIBCXL 1.5