iPXE
|
Go to the source code of this file.
|
static |
Definition at line 15 of file mlx_pci_priv.c.
References buffer, MLX_SUCCESS, offset, pci_read_config_byte(), pci_write_config_byte(), read, and status.
Referenced by mlx_pci_config().
|
static |
Definition at line 33 of file mlx_pci_priv.c.
References buffer, MLX_SUCCESS, offset, pci_read_config_word(), pci_write_config_word(), read, and status.
Referenced by mlx_pci_config().
|
static |
Definition at line 51 of file mlx_pci_priv.c.
References buffer, MLX_SUCCESS, offset, pci_read_config_dword(), pci_write_config_dword(), read, and status.
Referenced by mlx_pci_config().
|
static |
Definition at line 68 of file mlx_pci_priv.c.
References buffer, count, MLX_INVALID_PARAMETER, mlx_pci_config_byte(), mlx_pci_config_dword(), mlx_pci_config_word(), MLX_SUCCESS, MlxPciWidthUint16, MlxPciWidthUint32, MlxPciWidthUint64, MlxPciWidthUint8, offset, read, status, and tmp.
Referenced by mlx_pci_read_priv(), and mlx_pci_write_priv().
mlx_status mlx_pci_init_priv | ( | IN mlx_utils * | utils | ) |
Definition at line 111 of file mlx_pci_priv.c.
References adjust_pci_device(), MLX_SUCCESS, pci_bar_start(), PCI_BASE_ADDRESS_0, pci_ioremap(), and status.
Referenced by mlx_pci_init().
mlx_status mlx_pci_teardown_priv | ( | IN mlx_utils * | utils | ) |
Definition at line 125 of file mlx_pci_priv.c.
References iounmap(), MLX_SUCCESS, and status.
Referenced by mlx_pci_teardown().
mlx_status mlx_pci_read_priv | ( | IN mlx_utils * | utils, |
IN mlx_pci_width | width, | ||
IN mlx_uint32 | offset, | ||
IN mlx_uintn | count, | ||
OUT mlx_void * | buffer | ||
) |
Definition at line 137 of file mlx_pci_priv.c.
References buffer, count, mlx_pci_config(), MLX_SUCCESS, offset, status, and TRUE.
Referenced by mlx_pci_read().
mlx_status mlx_pci_write_priv | ( | IN mlx_utils * | utils, |
IN mlx_pci_width | width, | ||
IN mlx_uint32 | offset, | ||
IN mlx_uintn | count, | ||
IN mlx_void * | buffer | ||
) |
Definition at line 151 of file mlx_pci_priv.c.
References buffer, count, FALSE, mlx_pci_config(), MLX_SUCCESS, offset, and status.
Referenced by mlx_pci_write().
mlx_status mlx_pci_mem_read_priv | ( | 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 165 of file mlx_pci_priv.c.
References buffer, MLX_INVALID_PARAMETER, MLX_SUCCESS, MlxPciWidthUint32, NULL, offset, and readl().
Referenced by mlx_pci_mem_read().
mlx_status mlx_pci_mem_write_priv | ( | 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 181 of file mlx_pci_priv.c.
References barrier, buffer, MLX_INVALID_PARAMETER, MLX_SUCCESS, MlxPciWidthUint32, NULL, offset, and writel().
Referenced by mlx_pci_mem_write().