Linux Kernel
3.7.1
|
#include <linux/spinlock.h>
#include <linux/netdevice.h>
#include <linux/moduleparam.h>
#include "qib.h"
#include "qib_common.h"
Go to the source code of this file.
Macros | |
#define | SDMA_DESC_LAST (1ULL << 11) |
#define | SDMA_DESC_FIRST (1ULL << 12) |
#define | SDMA_DESC_DMA_HEAD (1ULL << 13) |
#define | SDMA_DESC_USE_LARGE_BUF (1ULL << 14) |
#define | SDMA_DESC_INTR (1ULL << 15) |
#define | SDMA_DESC_COUNT_LSB 16 |
#define | SDMA_DESC_GEN_LSB 30 |
Functions | |
module_param_named (sdma_descq_cnt, sdma_descq_cnt, ushort, S_IRUGO) | |
MODULE_PARM_DESC (sdma_descq_cnt,"Number of SDMA descq entries") | |
int | qib_sdma_make_progress (struct qib_pportdata *ppd) |
void | qib_sdma_intr (struct qib_pportdata *ppd) |
void | __qib_sdma_intr (struct qib_pportdata *ppd) |
int | qib_setup_sdma (struct qib_pportdata *ppd) |
void | qib_teardown_sdma (struct qib_pportdata *ppd) |
int | qib_sdma_running (struct qib_pportdata *ppd) |
int | qib_sdma_verbs_send (struct qib_pportdata *ppd, struct qib_sge_state *ss, u32 dwords, struct qib_verbs_txreq *tx) |
void | qib_sdma_process_event (struct qib_pportdata *ppd, enum qib_sdma_events event) |
void | __qib_sdma_process_event (struct qib_pportdata *ppd, enum qib_sdma_events event) |
Variables | |
char * | qib_sdma_state_names [] |
char * | qib_sdma_event_names [] |
#define SDMA_DESC_COUNT_LSB 16 |
Definition at line 54 of file qib_sdma.c.
#define SDMA_DESC_DMA_HEAD (1ULL << 13) |
Definition at line 51 of file qib_sdma.c.
#define SDMA_DESC_FIRST (1ULL << 12) |
Definition at line 50 of file qib_sdma.c.
#define SDMA_DESC_GEN_LSB 30 |
Definition at line 55 of file qib_sdma.c.
#define SDMA_DESC_INTR (1ULL << 15) |
Definition at line 53 of file qib_sdma.c.
#define SDMA_DESC_LAST (1ULL << 11) |
Definition at line 49 of file qib_sdma.c.
#define SDMA_DESC_USE_LARGE_BUF (1ULL << 14) |
Definition at line 52 of file qib_sdma.c.
void __qib_sdma_intr | ( | struct qib_pportdata * | ppd | ) |
Definition at line 424 of file qib_sdma.c.
void __qib_sdma_process_event | ( | struct qib_pportdata * | ppd, |
enum qib_sdma_events | event | ||
) |
Definition at line 726 of file qib_sdma.c.
MODULE_PARM_DESC | ( | sdma_descq_cnt | , |
"Number of SDMA descq entries" | |||
) |
void qib_sdma_intr | ( | struct qib_pportdata * | ppd | ) |
Definition at line 413 of file qib_sdma.c.
int qib_sdma_make_progress | ( | struct qib_pportdata * | ppd | ) |
Definition at line 348 of file qib_sdma.c.
void qib_sdma_process_event | ( | struct qib_pportdata * | ppd, |
enum qib_sdma_events | event | ||
) |
Definition at line 711 of file qib_sdma.c.
int qib_sdma_running | ( | struct qib_pportdata * | ppd | ) |
Definition at line 488 of file qib_sdma.c.
int qib_sdma_verbs_send | ( | struct qib_pportdata * | ppd, |
struct qib_sge_state * | ss, | ||
u32 | dwords, | ||
struct qib_verbs_txreq * | tx | ||
) |
Definition at line 527 of file qib_sdma.c.
int qib_setup_sdma | ( | struct qib_pportdata * | ppd | ) |
Definition at line 430 of file qib_sdma.c.
void qib_teardown_sdma | ( | struct qib_pportdata * | ppd | ) |
Definition at line 474 of file qib_sdma.c.
char* qib_sdma_event_names[] |
Definition at line 67 of file qib_sdma.c.
char* qib_sdma_state_names[] |
Definition at line 57 of file qib_sdma.c.