Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/random.h>
#include <linux/slab.h>
#include <linux/kfifo.h>
#include <linux/spinlock.h>
#include <linux/errno.h>
#include <linux/genalloc.h>
#include "cxio_hal.h"
Go to the source code of this file.
Macros | |
#define | PBL_OFF(rdev_p, a) ( (a) - (rdev_p)->rnic_info.pbl_base ) |
#define | RQT_OFF(rdev_p, a) ( (a) - (rdev_p)->rnic_info.rqt_base ) |
Definition at line 58 of file cxio_resource.h.
Definition at line 64 of file cxio_resource.h.
void cxio_hal_destroy_resource | ( | struct cxio_hal_resource * | rscp | ) |
Definition at line 242 of file cxio_resource.c.
Definition at line 134 of file cxio_resource.c.
u32 cxio_hal_get_cqid | ( | struct cxio_hal_resource * | rscp | ) |
Definition at line 222 of file cxio_resource.c.
u32 cxio_hal_get_qpid | ( | struct cxio_hal_resource * | rscp | ) |
Definition at line 208 of file cxio_resource.c.
u32 cxio_hal_get_stag | ( | struct cxio_hal_resource * | rscp | ) |
Definition at line 198 of file cxio_resource.c.
int cxio_hal_init_resource | ( | struct cxio_rdev * | rdev_p, |
u32 | nr_tpt, | ||
u32 | nr_pbl, | ||
u32 | nr_rqt, | ||
u32 | nr_qpid, | ||
u32 | nr_cqid, | ||
u32 | nr_pdid | ||
) |
Definition at line 140 of file cxio_resource.c.
Definition at line 128 of file cxio_resource.c.
Definition at line 257 of file cxio_resource.c.
Definition at line 270 of file cxio_resource.c.
Definition at line 303 of file cxio_resource.c.
Definition at line 264 of file cxio_resource.c.
void cxio_hal_put_cqid | ( | struct cxio_hal_resource * | rscp, |
u32 | cqid | ||
) |
Definition at line 227 of file cxio_resource.c.
void cxio_hal_put_qpid | ( | struct cxio_hal_resource * | rscp, |
u32 | qpid | ||
) |
Definition at line 216 of file cxio_resource.c.
void cxio_hal_put_stag | ( | struct cxio_hal_resource * | rscp, |
u32 | stag | ||
) |
Definition at line 203 of file cxio_resource.c.
Definition at line 315 of file cxio_resource.c.
Definition at line 328 of file cxio_resource.c.
Definition at line 340 of file cxio_resource.c.