Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

mouse_rpc.c File Reference

#include <linux/module.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/interrupt.h>
#include <asm/hardware.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/iomd.h>
#include "../../char/mouse.h"

Include dependency graph for mouse_rpc.c:

Go to the source code of this file.

Functions

void mouse_rpc_irq (int irq, void *dev_id, struct pt_regs *regs)
int mouse_rpc_init (void)

Variables

static short old_x
static short old_y
static short old_b
static int mousedev
static struct busmouse rpcmouse


Function Documentation

int mouse_rpc_init void   ) 
 

Definition at line 52 of file mouse_rpc.c.

References ENODEV, inl, IOMD_MOUSEX, IOMD_MOUSEY, IRQ_VSYNCPULSE, mouse_rpc_irq(), old_b, old_x, old_y, printk, request_irq(), rpcmouse, and SA_SHIRQ.

Here is the call graph for this function:

void mouse_rpc_irq int  irq,
void *  dev_id,
struct pt_regs regs
 

Definition at line 27 of file mouse_rpc.c.

References dx, inl, IOMD_MOUSEX, IOMD_MOUSEY, old_b, old_x, old_y, x, and y.

Referenced by mouse_rpc_init().


Variable Documentation

int mousedev [static]
 

Definition at line 24 of file mouse_rpc.c.

short old_b [static]
 

Definition at line 23 of file mouse_rpc.c.

Referenced by mouse_rpc_init(), and mouse_rpc_irq().

short old_x [static]
 

Definition at line 23 of file mouse_rpc.c.

Referenced by mouse_rpc_init(), and mouse_rpc_irq().

short old_y [static]
 

Definition at line 23 of file mouse_rpc.c.

Referenced by mouse_rpc_init(), and mouse_rpc_irq().

struct busmouse rpcmouse [static]
 

Initial value:

 {
        6, "arcmouse", NULL, NULL, 7
}

Definition at line 47 of file mouse_rpc.c.

Referenced by mouse_rpc_init().