Linux Kernel
3.7.1
|
#include <linux/mm.h>
#include <linux/types.h>
#include <linux/device.h>
#include <linux/dmapool.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/highmem.h>
#include <linux/io.h>
#include <linux/uio.h>
#include <linux/rbtree.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include "ipath_kernel.h"
#include "ipath_user_sdma.h"
Go to the source code of this file.
Data Structures | |
struct | ipath_user_sdma_pkt |
struct | ipath_user_sdma_queue |
Macros | |
#define | IPATH_USER_SDMA_MIN_HEADER_LENGTH 64 |
#define | IPATH_USER_SDMA_EXP_HEADER_LENGTH 64 |
#define | IPATH_PBC_LENGTH_MASK ((1 << 11) - 1) |
Functions | |
struct ipath_user_sdma_queue * | ipath_user_sdma_queue_create (struct device *dev, int unit, int port, int sport) |
void | ipath_user_sdma_queue_destroy (struct ipath_user_sdma_queue *pq) |
void | ipath_user_sdma_queue_drain (struct ipath_devdata *dd, struct ipath_user_sdma_queue *pq) |
int | ipath_user_sdma_writev (struct ipath_devdata *dd, struct ipath_user_sdma_queue *pq, const struct iovec *iov, unsigned long dim) |
int | ipath_user_sdma_make_progress (struct ipath_devdata *dd, struct ipath_user_sdma_queue *pq) |
u32 | ipath_user_sdma_complete_counter (const struct ipath_user_sdma_queue *pq) |
u32 | ipath_user_sdma_inflight_counter (struct ipath_user_sdma_queue *pq) |
#define IPATH_PBC_LENGTH_MASK ((1 << 11) - 1) |
Definition at line 54 of file ipath_user_sdma.c.
#define IPATH_USER_SDMA_EXP_HEADER_LENGTH 64 |
Definition at line 52 of file ipath_user_sdma.c.
#define IPATH_USER_SDMA_MIN_HEADER_LENGTH 64 |
Definition at line 50 of file ipath_user_sdma.c.
u32 ipath_user_sdma_complete_counter | ( | const struct ipath_user_sdma_queue * | pq | ) |
Definition at line 871 of file ipath_user_sdma.c.
u32 ipath_user_sdma_inflight_counter | ( | struct ipath_user_sdma_queue * | pq | ) |
Definition at line 876 of file ipath_user_sdma.c.
int ipath_user_sdma_make_progress | ( | struct ipath_devdata * | dd, |
struct ipath_user_sdma_queue * | pq | ||
) |
Definition at line 858 of file ipath_user_sdma.c.
|
read |
Definition at line 101 of file ipath_user_sdma.c.
void ipath_user_sdma_queue_destroy | ( | struct ipath_user_sdma_queue * | pq | ) |
Definition at line 600 of file ipath_user_sdma.c.
void ipath_user_sdma_queue_drain | ( | struct ipath_devdata * | dd, |
struct ipath_user_sdma_queue * | pq | ||
) |
Definition at line 624 of file ipath_user_sdma.c.
int ipath_user_sdma_writev | ( | struct ipath_devdata * | dd, |
struct ipath_user_sdma_queue * | pq, | ||
const struct iovec * | iov, | ||
unsigned long | dim | ||
) |
Definition at line 793 of file ipath_user_sdma.c.