Functions | |||||
| static ocs_hal_rtn_e | ocs_hal_read_max_dump_size (ocs_hal_t *hal) | ||||
| Read the max dump size for this port. More... | |||||
| 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) | ||||
| Allocate memory structures to prepare for the device operation. More... | |||||
| ocs_hal_rtn_e | ocs_hal_teardown (ocs_hal_t *hal) | ||||
| Tear down the 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... | |||||
| ocs_hal_rtn_e | ocs_hal_rqpair_tow_buffer_alloc (ocs_hal_t *hal, uint32_t num_buffers) | ||||
| Allocate tow buffers. More... | |||||
| static void | ocs_hal_rqpair_tow_dnrx_check (ocs_hal_t *hal) | ||||
| Post Auto xfer rdy buffers to the XRIs posted with DNRX. More... | |||||
Attach an TOW XRI buffer to an IO
| |||||
| static void | ocs_hal_rqpair_tow_buffer_free (ocs_hal_t *hal) | ||||
| Free tow buffers. More... | |||||
| ocs_hal_rtn_e | ocs_hal_rqpair_init (ocs_hal_t *hal) | ||||
| Configure the rq_pair function from ocs_hal_init(). Must be after the IOs are setup and the state is active. More... | |||||
| void | ocs_hal_rqpair_teardown (ocs_hal_t *hal) | ||||
| Tear down the rq_pair function from ocs_hal_teardown(). More... | |||||
| ocs_hal_rtn_e ocs_hal_callback | ( | ocs_hal_t * | hal, |
| ocs_hal_callback_e | which, | ||
| void * | func, | ||
| void * | arg | ||
| ) |
| ocs_hal_rtn_e ocs_hal_init | ( | ocs_hal_t * | hal | ) |
Allocate memory structures to prepare for the device operation.
| hal | Hardware context allocated by the caller. |
|
static |
| ocs_hal_rtn_e ocs_hal_rqpair_init | ( | ocs_hal_t * | hal | ) |
Configure the rq_pair function from ocs_hal_init(). Must be after the IOs are setup and the state is active.
| hal | Hardware context allocated by the caller. |
Definition at line 918 of file ocs_hal_rqpair.c.
| void ocs_hal_rqpair_teardown | ( | ocs_hal_t * | hal | ) |
Tear down the rq_pair function from ocs_hal_teardown().
| hal | Hardware context allocated by the caller. |
Definition at line 967 of file ocs_hal_rqpair.c.
| ocs_hal_rtn_e ocs_hal_rqpair_tow_buffer_alloc | ( | ocs_hal_t * | hal, |
| uint32_t | num_buffers | ||
| ) |
Allocate tow buffers.
| hal | Hardware context allocated by the caller. |
| num_buffers | Number of buffers to allocate. |
Definition at line 587 of file ocs_hal_rqpair.c.
|
static |
Free tow buffers.
| hal | Hardware context allocated by the caller. |
Definition at line 886 of file ocs_hal_rqpair.c.
|
static |
Post Auto xfer rdy buffers to the XRIs posted with DNRX.
| hal | Hardware context allocated by the caller. |
Definition at line 644 of file ocs_hal_rqpair.c.
| 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 the caller. |
| os | Device abstraction. |
| port_type | Protocol type of port, such as FC and NIC. |
| ocs_hal_rtn_e ocs_hal_teardown | ( | ocs_hal_t * | hal | ) |
Tear down the Hardware Abstraction Layer module.
| hal | Hardware context allocated by the caller. |