ocs_os_handle_t
ocs_hw_setup(ocs_hw_t *hw, ocs_os_handle_t os, sli4_port_type_e port_type)
extern ocs_hw_rtn_e ocs_hw_setup(ocs_hw_t *, ocs_os_handle_t, sli4_port_type_e);
ocs_os_handle_t os;
ocs_os_handle_t os;
ocs_malloc(ocs_os_handle_t os, size_t size, int32_t flags)
ocs_free(ocs_os_handle_t os, void *addr, size_t size)
ocs_dma_free(ocs_os_handle_t os, ocs_dma_t *dma)
ocs_dma_alloc(ocs_os_handle_t os, ocs_dma_t *dma, size_t size, size_t align)
ocs_config_read32(ocs_os_handle_t os, uint32_t reg)
ocs_config_read16(ocs_os_handle_t os, uint32_t reg)
ocs_config_read8(ocs_os_handle_t os, uint32_t reg)
ocs_thread_create(ocs_os_handle_t os, ocs_thread_t *thread, ocs_thread_fctn fctn, const char *name, void *arg, ocs_thread_start_e start)
ocs_config_write8(ocs_os_handle_t os, uint32_t reg, uint8_t val)
ocs_config_write16(ocs_os_handle_t os, uint32_t reg, uint16_t val)
ocs_config_write32(ocs_os_handle_t os, uint32_t reg, uint32_t val)
void *ocs_ioctl_preprocess(ocs_os_handle_t os, void *arg, size_t size)
int32_t ocs_ioctl_postprocess(ocs_os_handle_t os, void *arg, void *kern_ptr, size_t size)
void ocs_ioctl_free(ocs_os_handle_t os, void *kern_ptr, size_t size)
void ocs_intr_disable(ocs_os_handle_t os)
void ocs_intr_enable(ocs_os_handle_t os)
ocs_setup_timer(ocs_os_handle_t os, ocs_timer_t *timer, void(*func)(void *arg), void *data, uint32_t timeout_ms)
extern uint32_t ocs_config_read32(ocs_os_handle_t os, uint32_t reg);
extern uint16_t ocs_config_read16(ocs_os_handle_t os, uint32_t reg);
extern uint8_t ocs_config_read8(ocs_os_handle_t os, uint32_t reg);
extern void ocs_config_write8(ocs_os_handle_t os, uint32_t reg, uint8_t val);
extern void ocs_config_write16(ocs_os_handle_t os, uint32_t reg, uint16_t val);
extern void ocs_config_write32(ocs_os_handle_t os, uint32_t reg, uint32_t val);
extern uint32_t ocs_reg_read32(ocs_os_handle_t os, uint32_t rset, uint32_t off);
extern uint16_t ocs_reg_read16(ocs_os_handle_t os, uint32_t rset, uint32_t off);
extern uint8_t ocs_reg_read8(ocs_os_handle_t os, uint32_t rset, uint32_t off);
extern void ocs_reg_write32(ocs_os_handle_t os, uint32_t rset, uint32_t off, uint32_t val);
extern void ocs_reg_write16(ocs_os_handle_t os, uint32_t rset, uint32_t off, uint16_t val);
extern void ocs_reg_write8(ocs_os_handle_t os, uint32_t rset, uint32_t off, uint8_t val);
extern void ocs_intr_disable(ocs_os_handle_t os);
extern void ocs_intr_enable(ocs_os_handle_t os);
extern void *ocs_ioctl_preprocess(ocs_os_handle_t os, void *arg, size_t size);
extern int32_t ocs_ioctl_postprocess(ocs_os_handle_t os, void *arg, void *kern_ptr, size_t size);
extern void ocs_ioctl_free(ocs_os_handle_t os, void *kern_ptr, size_t size);
extern void *ocs_malloc(ocs_os_handle_t os, size_t size, int32_t flags);
extern void ocs_free(ocs_os_handle_t os, void *addr, size_t size);
static inline uint32_t ocs_max_dma_alloc(ocs_os_handle_t os, size_t align)
extern int32_t ocs_dma_alloc(ocs_os_handle_t, ocs_dma_t *, size_t, size_t);
extern int32_t ocs_dma_free(ocs_os_handle_t, ocs_dma_t *);
extern int32_t ocs_setup_timer(ocs_os_handle_t os, ocs_timer_t *timer, void(*func)(void *arg),
extern int32_t ocs_thread_create(ocs_os_handle_t os, ocs_thread_t *thread, ocs_thread_fctn fctn,
**spv_new_row(ocs_os_handle_t os, uint32_t rowcount)
_spv_del(ocs_os_handle_t os, void **a, uint32_t n, uint32_t depth)
spv_new(ocs_os_handle_t os)
ocs_os_handle_t os;
ocs_varray_alloc(ocs_os_handle_t os, uint32_t array_count)
ocs_os_handle_t os;
ocs_pool_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count, uint32_t use_lock)
ocs_os_handle_t os; /*<< OS handle */
ocs_os_handle_t os;
ocs_cbuf_alloc(ocs_os_handle_t os, uint32_t entry_count)
ocs_dump32(uint32_t mask, ocs_os_handle_t os, const char *label, void *buf, uint32_t buf_length)
ocs_array_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count)
extern ocs_pool_t *ocs_pool_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count, uint32_t use_lock);
extern void ocs_dump32(uint32_t, ocs_os_handle_t, const char *, void *, uint32_t);
ocs_os_handle_t os;
extern sparse_vector_t spv_new(ocs_os_handle_t os);
extern ocs_array_t *ocs_array_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count);
extern ocs_varray_t *ocs_varray_alloc(ocs_os_handle_t os, uint32_t entry_count);
extern ocs_cbuf_t *ocs_cbuf_alloc(ocs_os_handle_t os, uint32_t entry_count);
sli_setup(sli4_t *sli4, ocs_os_handle_t os, sli4_port_type_e port_type)
ocs_os_handle_t os;
extern int32_t sli_setup(sli4_t *, ocs_os_handle_t, sli4_port_type_e);