iPXE
|
#include <stddef.h>
#include "../../include/private/mlx_pci_priv.h"
#include "../../include/public/mlx_pci.h"
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER) | |
mlx_status | mlx_pci_init (IN mlx_utils *utils) |
mlx_status | mlx_pci_teardown (IN mlx_utils *utils) |
mlx_status | mlx_pci_read (IN mlx_utils *utils, IN mlx_pci_width width, IN mlx_uint32 offset, IN mlx_uintn count, OUT mlx_void *buffer) |
mlx_status | mlx_pci_write (IN mlx_utils *utils, IN mlx_pci_width width, IN mlx_uint32 offset, IN mlx_uintn count, IN mlx_void *buffer) |
mlx_status | mlx_pci_mem_read (IN mlx_utils *utils, IN mlx_pci_width width, IN mlx_uint8 bar_index, IN mlx_uint64 offset, IN mlx_uintn count, OUT mlx_void *buffer) |
mlx_status | mlx_pci_mem_write (IN mlx_utils *utils, IN mlx_pci_width width, IN mlx_uint8 bar_index, IN mlx_uint64 offset, IN mlx_uintn count, IN mlx_void *buffer) |
FILE_LICENCE | ( | GPL2_OR_LATER | ) |
mlx_status mlx_pci_init | ( | IN mlx_utils * | utils | ) |
Definition at line 28 of file mlx_pci.c.
References MLX_INVALID_PARAMETER, mlx_pci_init_priv(), MLX_SUCCESS, NULL, and status.
Referenced by mlx_utils_init().
mlx_status mlx_pci_teardown | ( | IN mlx_utils * | utils | ) |
Definition at line 43 of file mlx_pci.c.
References MLX_INVALID_PARAMETER, mlx_pci_teardown_priv(), MLX_SUCCESS, NULL, and status.
Referenced by mlx_utils_teardown().
mlx_status mlx_pci_read | ( | IN mlx_utils * | utils, |
IN mlx_pci_width | width, | ||
IN mlx_uint32 | offset, | ||
IN mlx_uintn | count, | ||
OUT mlx_void * | buffer | ||
) |
Definition at line 58 of file mlx_pci.c.
References buffer, count, MLX_INVALID_PARAMETER, mlx_pci_read_priv(), MLX_SUCCESS, NULL, offset, and status.
Referenced by mlx_pci_gw_check_capability_id(), mlx_pci_gw_get_ownership(), mlx_pci_gw_read(), mlx_pci_gw_search_capability(), mlx_pci_gw_set_space(), and mlx_pci_gw_wait_for_flag_value().
mlx_status mlx_pci_write | ( | IN mlx_utils * | utils, |
IN mlx_pci_width | width, | ||
IN mlx_uint32 | offset, | ||
IN mlx_uintn | count, | ||
IN mlx_void * | buffer | ||
) |
Definition at line 77 of file mlx_pci.c.
References buffer, count, MLX_INVALID_PARAMETER, mlx_pci_write_priv(), MLX_SUCCESS, NULL, offset, and status.
Referenced by mlx_pci_gw_free_ownership(), mlx_pci_gw_get_ownership(), mlx_pci_gw_read(), mlx_pci_gw_set_space(), and mlx_pci_gw_write().
mlx_status mlx_pci_mem_read | ( | IN mlx_utils * | utils, |
IN mlx_pci_width | width, | ||
IN mlx_uint8 | bar_index, | ||
IN mlx_uint64 | offset, | ||
IN mlx_uintn | count, | ||
OUT mlx_void * | buffer | ||
) |
Definition at line 96 of file mlx_pci.c.
References buffer, count, MLX_INVALID_PARAMETER, mlx_pci_mem_read_priv(), MLX_SUCCESS, NULL, offset, and status.
Referenced by nodnic_device_clear_int().
mlx_status mlx_pci_mem_write | ( | IN mlx_utils * | utils, |
IN mlx_pci_width | width, | ||
IN mlx_uint8 | bar_index, | ||
IN mlx_uint64 | offset, | ||
IN mlx_uintn | count, | ||
IN mlx_void * | buffer | ||
) |
Definition at line 116 of file mlx_pci.c.
References buffer, count, MLX_INVALID_PARAMETER, mlx_pci_mem_write_priv(), MLX_SUCCESS, NULL, offset, and status.
Referenced by flexboot_nodnic_arm_cq(), and nodnic_device_clear_int().