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

axis_smart_card.h File Reference


Detailed Description

Shares definitions between smart card code and interrupt code.

Author:
Andrew Roca
Shares definitions between smart card code and interrupt code

#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/list.h>
#include <linux/ioport.h>
#include <linux/serial.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/mtd/mtd.h>
#include <linux/crypto.h>
#include <asm/uaccess.h>
#include "axis_hardware.h"
#include "axis_pci.h"

Include dependency graph for axis_smart_card.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SMART_CARD_UART_OFFSET   (0x08+CONTROL_OFFSET)

Functions

void write_smart_card (struct axis_pci_device_entry *device,unsigned char d)
unsigned char read_smart_card (struct axis_pci_device_entry *device)
void init_smart_card (struct axis_pci_device_entry *device)
 Initialise smart card structures.


Variables

file_operations smart_card_file_operations
 Define a file operations structure for output devices.


Define Documentation

#define SMART_CARD_UART_OFFSET   (0x08+CONTROL_OFFSET)
 


Function Documentation

void init_smart_card struct axis_pci_device_entry device  ) 
 

Initialise smart card structures.

Parameters:
device - hardware master structure
Returns:
none

Initialise smart card structures, call at the point the PCI system detects the Axis hardware

unsigned char read_smart_card struct axis_pci_device_entry device  )  [inline, static]
 

Parameters:
device - master hardware control structure
Returns:
data
read smart card port

void write_smart_card struct axis_pci_device_entry device,
unsigned char  d
[inline, static]
 

Parameters:
device - master hardware control structure
d - byte to write
Returns:
none
write byte to smart card port


Variable Documentation

struct file_operations smart_card_file_operations
 

Define a file operations structure for output devices.


Generated on Fri Jan 28 12:34:58 2005 for Axis Kernel Driver by doxygen 1.3.6