Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
airq.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
#include <asm/airq.h>
#include <asm/isc.h>
#include "cio.h"
#include "cio_debug.h"

Go to the source code of this file.

Data Structures

struct  indicator_t
 
struct  airq_t
 

Macros

#define NR_AIRQS   32
 
#define NR_AIRQS_PER_WORD   sizeof(unsigned long)
 
#define NR_AIRQ_WORDS   (NR_AIRQS / NR_AIRQS_PER_WORD)
 
#define INDICATOR_MASK   (0xffUL << ((NR_AIRQS_PER_WORD - 1) * 8))
 

Functions

union indicator_t __attribute__ ((packed))
 
voids390_register_adapter_interrupt (adapter_int_handler_t handler, void *drv_data, u8 isc)
 
 EXPORT_SYMBOL (s390_register_adapter_interrupt)
 
void s390_unregister_adapter_interrupt (void *ind, u8 isc)
 
 EXPORT_SYMBOL (s390_unregister_adapter_interrupt)
 
void do_adapter_IO (u8 isc)
 

Variables

unsigned long word [NR_AIRQ_WORDS]
 
unsigned char byte [NR_AIRQS]
 
struct airq_t __attribute__
 

Macro Definition Documentation

#define INDICATOR_MASK   (0xffUL << ((NR_AIRQS_PER_WORD - 1) * 8))

Definition at line 113 of file airq.c.

#define NR_AIRQ_WORDS   (NR_AIRQS / NR_AIRQS_PER_WORD)

Definition at line 24 of file airq.c.

#define NR_AIRQS   32

Definition at line 22 of file airq.c.

#define NR_AIRQS_PER_WORD   sizeof(unsigned long)

Definition at line 23 of file airq.c.

Function Documentation

union indicator_t __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

void do_adapter_IO ( u8  isc)

Definition at line 115 of file airq.c.

EXPORT_SYMBOL ( s390_register_adapter_interrupt  )
EXPORT_SYMBOL ( s390_unregister_adapter_interrupt  )
void* s390_register_adapter_interrupt ( adapter_int_handler_t  handler,
void drv_data,
u8  isc 
)

s390_register_adapter_interrupt() - register adapter interrupt handler : adapter handler to be registered : driver data passed with each call to the handler : isc for which the handler should be called

Returns: Pointer to the indicator to be used on success ERR_PTR() if registration failed

Definition at line 59 of file airq.c.

void s390_unregister_adapter_interrupt ( void ind,
u8  isc 
)

s390_unregister_adapter_interrupt - unregister adapter interrupt handler : indicator for which the handler is to be unregistered : interruption subclass

Definition at line 93 of file airq.c.

Variable Documentation

unsigned char byte[NR_AIRQS]

Definition at line 31 of file airq.c.

unsigned long word[NR_AIRQ_WORDS]

Definition at line 30 of file airq.c.