24 #include "../../include/private/mlx_utils_priv.h" 25 #include "../../include/public/mlx_pci.h" 26 #include "../../include/public/mlx_utils.h" mlx_status mlx_utils_init_lock(IN OUT mlx_utils *utils)
mlx_status mlx_utils_delay_in_us(IN mlx_uint32 usecs)
mlx_status mlx_utils_rand_priv(IN mlx_utils *utils, OUT mlx_uint32 *rand_num)
FILE_LICENCE(GPL2_OR_LATER)
#define MLX_INVALID_PARAMETER
mlx_status mlx_utils_rand(IN mlx_utils *utils, OUT mlx_uint32 *rand_num)
mlx_status mlx_utils_teardown(IN mlx_utils *utils)
mlx_status mlx_pci_teardown(IN mlx_utils *utils)
mlx_status mlx_pci_init(IN mlx_utils *utils)
mlx_status mlx_utils_init_lock_priv(OUT void **lock)
mlx_status mlx_utils_acquire_lock(IN OUT mlx_utils *utils)
mlx_status mlx_utils_delay_in_ms_priv(IN mlx_uint32 msecs)
mlx_status mlx_utils_acquire_lock_priv(IN void *lock)
mlx_status mlx_utils_ilog2_priv(IN mlx_uint32 i, OUT mlx_uint32 *log)
mlx_status mlx_utils_release_lock_priv(IN void *lock)
mlx_status mlx_utils_ilog2(IN mlx_uint32 i, OUT mlx_uint32 *log)
mlx_status mlx_utils_release_lock(IN OUT mlx_utils *utils)
mlx_status mlx_utils_free_lock(IN OUT mlx_utils *utils)
mlx_status mlx_utils_free_lock_priv(IN void *lock)
mlx_status mlx_utils_init(IN mlx_utils *utils, IN mlx_pci *pci)
mlx_status mlx_utils_delay_in_us_priv(IN mlx_uint32 usecs)
#define NULL
NULL pointer (VOID *)
mlx_status mlx_utils_delay_in_ms(IN mlx_uint32 msecs)