Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
iucv.c File Reference
#include <linux/kernel_stat.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/spinlock.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/device.h>
#include <linux/cpu.h>
#include <linux/reboot.h>
#include <net/iucv/iucv.h>
#include <linux/atomic.h>
#include <asm/ebcdic.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/smp.h>

Go to the source code of this file.

Data Structures

struct  iucv_irq_data
 
struct  iucv_irq_list
 
struct  iucv_cmd_control
 
struct  iucv_cmd_dpl
 
struct  iucv_cmd_db
 
struct  iucv_cmd_purge
 
struct  iucv_cmd_set_mask
 
union  iucv_param
 

Macros

#define KMSG_COMPONENT   "iucv"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define IUCV_IPSRCCLS   0x01
 
#define IUCV_IPTRGCLS   0x01
 
#define IUCV_IPFGPID   0x02
 
#define IUCV_IPFGMID   0x04
 
#define IUCV_IPNORPY   0x10
 
#define IUCV_IPALL   0x80
 

Enumerations

enum  iucv_pm_states { IUCV_PM_INITIAL = 0, IUCV_PM_FREEZING = 1, IUCV_PM_THAWING = 2, IUCV_PM_RESTORING = 3 }
 
enum  iucv_command_codes {
  IUCV_QUERY = 0, IUCV_RETRIEVE_BUFFER = 2, IUCV_SEND = 4, IUCV_RECEIVE = 5,
  IUCV_REPLY = 6, IUCV_REJECT = 8, IUCV_PURGE = 9, IUCV_ACCEPT = 10,
  IUCV_CONNECT = 11, IUCV_DECLARE_BUFFER = 12, IUCV_QUIESCE = 13, IUCV_RESUME = 14,
  IUCV_SEVER = 15, IUCV_SETMASK = 16, IUCV_SETCONTROLMASK = 17
}
 

Functions

 EXPORT_SYMBOL (iucv_bus)
 
 EXPORT_SYMBOL (iucv_root)
 
struct iucv_cmd_control __attribute__ ((packed, aligned(8)))
 

Variables

struct bus_type iucv_bus
 
struct deviceiucv_root
 
u16 ippathid
 
u8 ipflags1
 
u8 iprcode
 
u16 ipmsglim
 
u16 res1
 
u8 ipvmid [8]
 
u8 ipuser [16]
 
u8 iptarget [8]
 
u32 ipmsgid
 
u32 iptrgcls
 
u8 iprmmsg [8]
 
u32 ipsrccls
 
u32 ipmsgtag
 
u32 ipbfadr2
 
u32 ipbfln2f
 
u32 res
 
u32 ipbfadr1
 
u32 ipbfln1f
 
u8 ipaudit [3]
 
u32 res2
 
u32 res3 [3]
 
u8 ipmask
 
union iucv_param __attribute__
 

Macro Definition Documentation

#define IUCV_IPALL   0x80

Definition at line 76 of file iucv.c.

#define IUCV_IPFGMID   0x04

Definition at line 74 of file iucv.c.

#define IUCV_IPFGPID   0x02

Definition at line 73 of file iucv.c.

#define IUCV_IPNORPY   0x10

Definition at line 75 of file iucv.c.

#define IUCV_IPSRCCLS   0x01

Definition at line 71 of file iucv.c.

#define IUCV_IPTRGCLS   0x01

Definition at line 72 of file iucv.c.

#define KMSG_COMPONENT   "iucv"

Definition at line 36 of file iucv.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 37 of file iucv.c.

Enumeration Type Documentation

Enumerator:
IUCV_QUERY 
IUCV_RETRIEVE_BUFFER 
IUCV_SEND 
IUCV_RECEIVE 
IUCV_REPLY 
IUCV_REJECT 
IUCV_PURGE 
IUCV_ACCEPT 
IUCV_CONNECT 
IUCV_DECLARE_BUFFER 
IUCV_QUIESCE 
IUCV_RESUME 
IUCV_SEVER 
IUCV_SETMASK 
IUCV_SETCONTROLMASK 

Definition at line 163 of file iucv.c.

Enumerator:
IUCV_PM_INITIAL 
IUCV_PM_FREEZING 
IUCV_PM_THAWING 
IUCV_PM_RESTORING 

Definition at line 83 of file iucv.c.

Function Documentation

EXPORT_SYMBOL ( iucv_bus  )
EXPORT_SYMBOL ( iucv_root  )

Variable Documentation

u8 ipaudit[3]

Definition at line 293 of file iucv.c.

u32 ipbfadr1

Definition at line 278 of file iucv.c.

u32 ipbfadr2

Definition at line 261 of file iucv.c.

u32 ipbfln1f

Definition at line 279 of file iucv.c.

u32 ipbfln2f

Definition at line 262 of file iucv.c.

u8 ipflags1

Definition at line 236 of file iucv.c.

u8 ipmask

Definition at line 299 of file iucv.c.

u32 ipmsgid

Definition at line 256 of file iucv.c.

u16 ipmsglim

Definition at line 238 of file iucv.c.

u32 ipmsgtag

Definition at line 260 of file iucv.c.

u16 ippathid

Definition at line 235 of file iucv.c.

u8 iprcode

Definition at line 237 of file iucv.c.

u8 iprmmsg[8]

Definition at line 258 of file iucv.c.

u32 ipsrccls

Definition at line 259 of file iucv.c.

u8 iptarget[8]

Definition at line 242 of file iucv.c.

u32 iptrgcls

Definition at line 257 of file iucv.c.

u8 ipuser[16]

Definition at line 241 of file iucv.c.

u8 ipvmid[8]

Definition at line 240 of file iucv.c.

struct bus_type iucv_bus
Initial value:
= {
.name = "iucv",
.match = iucv_bus_match,
.pm = &iucv_pm_ops,
}

Definition at line 105 of file iucv.c.

struct device* iucv_root

Definition at line 112 of file iucv.c.

u32 res

Definition at line 263 of file iucv.c.

u8 res1[2]

Definition at line 239 of file iucv.c.

u32 res2[9]

Definition at line 295 of file iucv.c.

u32 res3[3]

Definition at line 298 of file iucv.c.