#include "ocs.h"
#include "ocs_ras.h"
Go to the source code of this file.
|
| static uint32_t | ocs_ras_get_sli_dev_pci_info (ocs_t *ocs) |
| |
| static ocs_ras_adapter_desc_t * | ocs_ras_lookup_adapter (ocs_t *ocs) |
| |
| static bool | ocs_ras_get_virt_buf_info (ocs_t *ocs, ocs_ras_adapter_desc_t *adapter_desc, int32_t *active_idx, int32_t *offset) |
| |
| static ocs_diag_log_buf_t * | ocs_ras_get_virtual_buf (ocs_t *ocs, int32_t *buf_count) |
| |
| uintptr_t | ocs_ras_get_lwpd_dma_addr (ocs_os_handle_t *ocs_os) |
| |
| uint32_t * | ocs_ras_get_dma_addr_list (ocs_os_handle_t *ocs_os, int32_t *buf_count) |
| |
| static int | ocs_ras_gather_logs (void *log_buf, int32_t user_buf_len, ocs_diag_log_buf_t *buf_desc_tbl, int32_t buf_count) |
| |
| int | ocs_ras_copy_logs (ocs_t *ocs, void *user_buf, int32_t user_buf_len) |
| |
| static int32_t | ocs_ras_alloc_dma_buffers (ocs_t *ocs, ocs_ras_adapter_desc_t *adapter_desc) |
| |
| static void | ocs_ras_free_dma_buffers (ocs_ras_adapter_desc_t *adapter_desc) |
| |
| static void | ocs_ras_free_adapter_descriptor (ocs_ras_adapter_desc_t *adapter_desc) |
| |
| static void | ocs_ras_put_adapter_descriptor (void *cb_arg) |
| |
| int | ocs_hal_stop_fw_diagnostic_logging (ocs_hal_t *hal) |
| |
| int | ocs_ras_free_resc (ocs_os_handle_t *ocs_os) |
| |
| int32_t | ocs_ras_allocate_resc (ocs_os_handle_t *ocs_os) |
| |
| void | ocs_ras_init (uint32_t fw_log_level, uint32_t log_buf_size) |
| |
| int ocs_hal_stop_fw_diagnostic_logging |
( |
ocs_hal_t * |
hal | ) |
|
| int32_t ocs_ras_allocate_resc |
( |
ocs_os_handle_t * |
ocs_os | ) |
|
| int ocs_ras_copy_logs |
( |
ocs_t * |
ocs, |
|
|
void * |
user_buf, |
|
|
int32_t |
user_buf_len |
|
) |
| |
| int ocs_ras_free_resc |
( |
ocs_os_handle_t * |
ocs_os | ) |
|
| static int ocs_ras_gather_logs |
( |
void * |
log_buf, |
|
|
int32_t |
user_buf_len, |
|
|
ocs_diag_log_buf_t * |
buf_desc_tbl, |
|
|
int32_t |
buf_count |
|
) |
| |
|
static |
| uint32_t* ocs_ras_get_dma_addr_list |
( |
ocs_os_handle_t * |
ocs_os, |
|
|
int32_t * |
buf_count |
|
) |
| |
| uintptr_t ocs_ras_get_lwpd_dma_addr |
( |
ocs_os_handle_t * |
ocs_os | ) |
|
| static uint32_t ocs_ras_get_sli_dev_pci_info |
( |
ocs_t * |
ocs | ) |
|
|
static |
| static bool ocs_ras_get_virt_buf_info |
( |
ocs_t * |
ocs, |
|
|
ocs_ras_adapter_desc_t * |
adapter_desc, |
|
|
int32_t * |
active_idx, |
|
|
int32_t * |
offset |
|
) |
| |
|
static |
| void ocs_ras_init |
( |
uint32_t |
fw_log_level, |
|
|
uint32_t |
log_buf_size |
|
) |
| |
| static void ocs_ras_put_adapter_descriptor |
( |
void * |
cb_arg | ) |
|
|
static |