Functions | |
| ocs_hal_rtn_e | ocs_hal_setup (ocs_hal_t *hal, ocs_os_handle_t os, sli4_port_type_e port_type) |
| Set up the Hardware Abstraction Layer module. More... | |
| ocs_hal_rtn_e | ocs_hal_init (ocs_hal_t *hal) |
| Set up Hardware Abstraction Layer module. More... | |
| ocs_hal_rtn_e | ocs_hal_callback (ocs_hal_t *hal, ocs_hal_callback_e which, void *func, void *arg) |
| register a callback for the given event. More... | |
| static void | ocs_hal_ctx_cleanup (ocs_hal_t *hal) |
| Free the command contents. More... | |
| static void | ocs_hal_cxn_cleanup (ocs_list_t *list) |
| Free the connection tracking structures. More... | |
| ocs_hal_rtn_e | ocs_hal_teardown (ocs_hal_t *hal) |
| Tear down Hardware Abstraction Layer module. More... | |
| ocs_hal_rtn_e ocs_hal_callback | ( | ocs_hal_t * | hal, |
| ocs_hal_callback_e | which, | ||
| void * | func, | ||
| void * | arg | ||
| ) |
|
static |
|
static |
| ocs_hal_rtn_e ocs_hal_init | ( | ocs_hal_t * | hal | ) |
Set up Hardware Abstraction Layer module.
| hal | Hardware context allocated by caller. |
| ocs_hal_rtn_e ocs_hal_setup | ( | ocs_hal_t * | hal, |
| ocs_os_handle_t | os, | ||
| sli4_port_type_e | port_type | ||
| ) |
Set up the Hardware Abstraction Layer module.
| hal | Hardware context allocated by caller. |
| os | Device abstraction. |
| port_type | Protocol type of port (e.g. FC, NIC, ...). |
| ocs_hal_rtn_e ocs_hal_teardown | ( | ocs_hal_t * | hal | ) |
Tear down Hardware Abstraction Layer module.
| hal | Hardware context allocated by caller. |