Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
iorpc_mpipe_info.h File Reference
#include <hv/iorpc.h>
#include <hv/drv_mpipe_intf.h>
#include <asm/page.h>
#include <gxio/kiorpc.h>
#include <gxio/mpipe.h>
#include <linux/string.h>
#include <linux/module.h>
#include <asm/pgtable.h>

Go to the source code of this file.

Macros

#define GXIO_MPIPE_INFO_OP_ENUMERATE_AUX   IORPC_OPCODE(IORPC_FORMAT_NONE, 0x1251)
 
#define GXIO_MPIPE_INFO_OP_GET_MMIO_BASE   IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8000)
 
#define GXIO_MPIPE_INFO_OP_CHECK_MMIO_OFFSET   IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8001)
 

Functions

int gxio_mpipe_info_enumerate_aux (gxio_mpipe_info_context_t *context, unsigned int idx, _gxio_mpipe_link_name_t *name, _gxio_mpipe_link_mac_t *mac)
 
int gxio_mpipe_info_get_mmio_base (gxio_mpipe_info_context_t *context, HV_PTE *base)
 
int gxio_mpipe_info_check_mmio_offset (gxio_mpipe_info_context_t *context, unsigned long offset, unsigned long size)
 

Macro Definition Documentation

#define GXIO_MPIPE_INFO_OP_CHECK_MMIO_OFFSET   IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8001)

Definition at line 32 of file iorpc_mpipe_info.h.

#define GXIO_MPIPE_INFO_OP_ENUMERATE_AUX   IORPC_OPCODE(IORPC_FORMAT_NONE, 0x1251)

Definition at line 30 of file iorpc_mpipe_info.h.

#define GXIO_MPIPE_INFO_OP_GET_MMIO_BASE   IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8000)

Definition at line 31 of file iorpc_mpipe_info.h.

Function Documentation

int gxio_mpipe_info_check_mmio_offset ( gxio_mpipe_info_context_t context,
unsigned long  offset,
unsigned long  size 
)

Definition at line 71 of file iorpc_mpipe_info.c.

int gxio_mpipe_info_enumerate_aux ( gxio_mpipe_info_context_t context,
unsigned int  idx,
_gxio_mpipe_link_name_t name,
_gxio_mpipe_link_mac_t mac 
)

Definition at line 24 of file iorpc_mpipe_info.c.

int gxio_mpipe_info_get_mmio_base ( gxio_mpipe_info_context_t context,
HV_PTE base 
)

Definition at line 49 of file iorpc_mpipe_info.c.