LCOV - code coverage report
Current view: top level - zephyr/drivers/pcie - ptm.h Coverage Total Hit
Test: new.info Lines: 50.0 % 2 1
Test Date: 2025-09-05 20:47:19

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2021 Intel Corporation
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : 
       8              : #ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_
       9              : #define ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_
      10              : 
      11              : /**
      12              :  * @brief PCIe Host PTM Interface
      13              :  * @defgroup pcie_host_ptm_interface PCIe Host PTM Interface
      14              :  * @ingroup pcie_host_interface
      15              :  * @{
      16              :  */
      17              : 
      18              : #include <stddef.h>
      19              : #include <zephyr/types.h>
      20              : 
      21              : #ifdef __cplusplus
      22              : extern "C" {
      23              : #endif
      24              : 
      25              : /**
      26              :  * @brief Enable PTM on endpoint
      27              :  *
      28              :  * @param bdf the PCI(e) endpoint
      29              :  * @return true if that was successful, false otherwise
      30              :  */
      31            1 : bool pcie_ptm_enable(pcie_bdf_t bdf);
      32              : 
      33              : #ifdef __cplusplus
      34              : }
      35              : #endif
      36              : 
      37              : /**
      38              :  * @}
      39              :  */
      40              : 
      41              : #endif /* ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_ */
        

Generated by: LCOV version 2.0-1