Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
io.c File Reference
#include "platform.h"
#include "di_defs.h"
#include "pc.h"
#include "pr_pc.h"
#include "divasync.h"
#include "pkmaint.h"
#include "di.h"
#include "mi_pc.h"
#include "io.h"

Go to the source code of this file.

Macros

#define MIPS_SCOM
 
#define ReqFunc(N)
 

Functions

void request (PISDN_ADAPTER, ENTITY *)
 
 ReqFunc (0)
 
void dump_xlog_buffer (PISDN_ADAPTER IoAdapter, Xdesc *xlogDesc)
 
void dump_trap_frame (PISDN_ADAPTER IoAdapter, byte __iomem *exceptionFrame)
 
void DIDpcRoutine (struct _diva_os_soft_isr *psoft_isr, void *Context)
 
byte mem_in (ADAPTER *a, void *addr)
 
word mem_inw (ADAPTER *a, void *addr)
 
void mem_in_dw (ADAPTER *a, void *addr, dword *data, int dwords)
 
void mem_in_buffer (ADAPTER *a, void *addr, void *buffer, word length)
 
void mem_look_ahead (ADAPTER *a, PBUFFER *RBuffer, ENTITY *e)
 
void mem_out (ADAPTER *a, void *addr, byte data)
 
void mem_outw (ADAPTER *a, void *addr, word data)
 
void mem_out_dw (ADAPTER *a, void *addr, const dword *data, int dwords)
 
void mem_out_buffer (ADAPTER *a, void *addr, void *buffer, word length)
 
void mem_inc (ADAPTER *a, void *addr)
 
byte io_in (ADAPTER *a, void *adr)
 
word io_inw (ADAPTER *a, void *adr)
 
void io_in_buffer (ADAPTER *a, void *adr, void *buffer, word len)
 
void io_look_ahead (ADAPTER *a, PBUFFER *RBuffer, ENTITY *e)
 
void io_out (ADAPTER *a, void *adr, byte data)
 
void io_outw (ADAPTER *a, void *adr, word data)
 
void io_out_buffer (ADAPTER *a, void *adr, void *buffer, word len)
 
void io_inc (ADAPTER *a, void *adr)
 
void free_entity (ADAPTER *a, byte e_no)
 
void assign_queue (ADAPTER *a, byte e_no, word ref)
 
byte get_assign (ADAPTER *a, word ref)
 
void req_queue (ADAPTER *a, byte e_no)
 
byte look_req (ADAPTER *a)
 
void next_req (ADAPTER *a)
 
ENTITYentity_ptr (ADAPTER *a, byte e_no)
 
voidPTR_X (ADAPTER *a, ENTITY *e)
 
voidPTR_R (ADAPTER *a, ENTITY *e)
 
voidPTR_P (ADAPTER *a, ENTITY *e, void *P)
 
void CALLBACK (ADAPTER *a, ENTITY *e)
 

Variables

ADAPTERadapter [MAX_ADAPTER]
 
PISDN_ADAPTER IoAdapters [MAX_ADAPTER]
 

Macro Definition Documentation

#define MIPS_SCOM

Definition at line 31 of file io.c.

#define ReqFunc (   N)
Value:
static void Request##N(ENTITY *e) \
{ if (IoAdapters[N]) (*IoAdapters[N]->DIRequest)(IoAdapters[N], e); }

Definition at line 43 of file io.c.

Function Documentation

void assign_queue ( ADAPTER a,
byte  e_no,
word  ref 
)

Definition at line 766 of file io.c.

void CALLBACK ( ADAPTER a,
ENTITY e 
)

Definition at line 848 of file io.c.

void DIDpcRoutine ( struct _diva_os_soft_isr psoft_isr,
void Context 
)

Definition at line 452 of file io.c.

void dump_trap_frame ( PISDN_ADAPTER  IoAdapter,
byte __iomem exceptionFrame 
)

Definition at line 159 of file io.c.

void dump_xlog_buffer ( PISDN_ADAPTER  IoAdapter,
Xdesc xlogDesc 
)

Definition at line 87 of file io.c.

ENTITY* entity_ptr ( ADAPTER a,
byte  e_no 
)

Definition at line 830 of file io.c.

void free_entity ( ADAPTER a,
byte  e_no 
)

Definition at line 756 of file io.c.

byte get_assign ( ADAPTER a,
word  ref 
)

Definition at line 777 of file io.c.

byte io_in ( ADAPTER a,
void adr 
)

Definition at line 664 of file io.c.

void io_in_buffer ( ADAPTER a,
void adr,
void buffer,
word  len 
)

Definition at line 682 of file io.c.

void io_inc ( ADAPTER a,
void adr 
)

Definition at line 743 of file io.c.

word io_inw ( ADAPTER a,
void adr 
)

Definition at line 673 of file io.c.

void io_look_ahead ( ADAPTER a,
PBUFFER RBuffer,
ENTITY e 
)

Definition at line 701 of file io.c.

void io_out ( ADAPTER a,
void adr,
byte  data 
)

Definition at line 710 of file io.c.

void io_out_buffer ( ADAPTER a,
void adr,
void buffer,
word  len 
)

Definition at line 724 of file io.c.

void io_outw ( ADAPTER a,
void adr,
word  data 
)

Definition at line 717 of file io.c.

byte look_req ( ADAPTER a)

Definition at line 811 of file io.c.

byte mem_in ( ADAPTER a,
void addr 
)

Definition at line 587 of file io.c.

void mem_in_buffer ( ADAPTER a,
void addr,
void buffer,
word  length 
)

Definition at line 612 of file io.c.

void mem_in_dw ( ADAPTER a,
void addr,
dword data,
int  dwords 
)

Definition at line 603 of file io.c.

void mem_inc ( ADAPTER a,
void addr 
)

Definition at line 654 of file io.c.

word mem_inw ( ADAPTER a,
void addr 
)

Definition at line 595 of file io.c.

void mem_look_ahead ( ADAPTER a,
PBUFFER RBuffer,
ENTITY e 
)

Definition at line 618 of file io.c.

void mem_out ( ADAPTER a,
void addr,
byte  data 
)

Definition at line 626 of file io.c.

void mem_out_buffer ( ADAPTER a,
void addr,
void buffer,
word  length 
)

Definition at line 648 of file io.c.

void mem_out_dw ( ADAPTER a,
void addr,
const dword data,
int  dwords 
)

Definition at line 638 of file io.c.

void mem_outw ( ADAPTER a,
void addr,
word  data 
)

Definition at line 632 of file io.c.

void next_req ( ADAPTER a)

Definition at line 817 of file io.c.

void* PTR_P ( ADAPTER a,
ENTITY e,
void P 
)

Definition at line 844 of file io.c.

void* PTR_R ( ADAPTER a,
ENTITY e 
)

Definition at line 840 of file io.c.

void* PTR_X ( ADAPTER a,
ENTITY e 
)

Definition at line 836 of file io.c.

void req_queue ( ADAPTER a,
byte  e_no 
)

Definition at line 794 of file io.c.

ReqFunc ( )

Definition at line 46 of file io.c.

void request ( PISDN_ADAPTER  IoAdapter,
ENTITY e 
)

Variable Documentation

Definition at line 25 of file video-mode.c.

Definition at line 29 of file diva.c.