LCOV - code coverage report
Current view: top level - zephyr/drivers/mfd - mfd_maxq10xx.h Coverage Total Hit
Test: new.info Lines: 50.0 % 2 1
Test Date: 2025-09-05 16:43:28

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2025 Vogl Electronic GmbH
       3              :  * SPDX-License-Identifier: Apache-2.0
       4              :  */
       5              : 
       6              : #ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_MAXQ10XX_H_
       7              : #define ZEPHYR_INCLUDE_DRIVERS_MFD_MAXQ10XX_H_
       8              : 
       9              : #include <zephyr/device.h>
      10              : #include <zephyr/kernel.h>
      11              : 
      12              : #ifdef __cplusplus
      13              : extern "C" {
      14              : #endif
      15              : 
      16              : /**
      17              :  * @brief Get the semaphore reference for a MAXQ1xx instance. Callers
      18              :  * should pass the return value to k_sem_take/k_sem_give
      19              :  *
      20              :  * @param[in] dev     Pointer to device struct of the driver instance
      21              :  *
      22              :  * @return Address of the semaphore
      23              :  */
      24            1 : struct k_sem *mfd_maxq10xx_get_lock(const struct device *dev);
      25              : 
      26              : 
      27              : #ifdef __cplusplus
      28              : }
      29              : #endif
      30              : 
      31              : #endif /* ZEPHYR_INCLUDE_DRIVERS_MFD_MAXQ10XX_H_ */
        

Generated by: LCOV version 2.0-1