Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
sclp.h File Reference
#include <linux/types.h>
#include <asm/chpid.h>

Go to the source code of this file.

Data Structures

struct  sclp_chp_info
 
struct  sclp_ipl_info
 
struct  sclp_cpu_entry
 
struct  sclp_cpu_info
 

Macros

#define SCLP_CHP_INFO_MASK_SIZE   32
 
#define LOADPARM_LEN   8
 

Functions

struct sclp_cpu_entry __attribute__ ((packed))
 
int sclp_get_cpu_info (struct sclp_cpu_info *info)
 
int sclp_cpu_configure (u8 cpu)
 
int sclp_cpu_deconfigure (u8 cpu)
 
void sclp_facilities_detect (void)
 
unsigned long long sclp_get_rnmax (void)
 
unsigned long long sclp_get_rzm (void)
 
u8 sclp_get_fac85 (void)
 
int sclp_sdias_blk_count (void)
 
int sclp_sdias_copy (void *dest, int blk_num, int nr_blks)
 
int sclp_chp_configure (struct chp_id chpid)
 
int sclp_chp_deconfigure (struct chp_id chpid)
 
int sclp_chp_read_info (struct sclp_chp_info *info)
 
void sclp_get_ipl_info (struct sclp_ipl_info *info)
 
bool sclp_has_linemode (void)
 
bool sclp_has_vt220 (void)
 

Variables

struct sclp_chp_info __aligned
 
u8 address
 
u8 reserved0 [13]
 
u8 type
 
u8 reserved1
 
struct sclp_cpu_info __attribute__
 

Macro Definition Documentation

#define LOADPARM_LEN   8

Definition at line 20 of file sclp.h.

#define SCLP_CHP_INFO_MASK_SIZE   32

Definition at line 12 of file sclp.h.

Function Documentation

struct sclp_cpu_entry __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

int sclp_chp_configure ( struct chp_id  chpid)

sclp_chp_configure - perform configure channel-path sclp command : channel-path ID

Perform configure channel-path command sclp command for specified chpid. Return 0 after command successfully finished, non-zero otherwise.

Definition at line 759 of file sclp_cmd.c.

int sclp_chp_deconfigure ( struct chp_id  chpid)

sclp_chp_deconfigure - perform deconfigure channel-path sclp command : channel-path ID

Perform deconfigure channel-path command sclp command for specified chpid and wait for completion. On success return 0. Return non-zero otherwise.

Definition at line 771 of file sclp_cmd.c.

int sclp_chp_read_info ( struct sclp_chp_info info)

sclp_chp_read_info - perform read channel-path information sclp command : resulting channel-path information data

Perform read channel-path information sclp command and wait for completion. On success, store channel-path information in and return 0. Return non-zero otherwise.

Definition at line 794 of file sclp_cmd.c.

int sclp_cpu_configure ( u8  cpu)

Definition at line 330 of file sclp_cmd.c.

int sclp_cpu_deconfigure ( u8  cpu)

Definition at line 335 of file sclp_cmd.c.

void sclp_facilities_detect ( void  )

Definition at line 121 of file sclp_cmd.c.

int sclp_get_cpu_info ( struct sclp_cpu_info info)

Definition at line 266 of file sclp_cmd.c.

u8 sclp_get_fac85 ( void  )

Definition at line 172 of file sclp_cmd.c.

void sclp_get_ipl_info ( struct sclp_ipl_info info)

Definition at line 182 of file sclp_cmd.c.

unsigned long long sclp_get_rnmax ( void  )

Definition at line 162 of file sclp_cmd.c.

unsigned long long sclp_get_rzm ( void  )

Definition at line 167 of file sclp_cmd.c.

bool sclp_has_linemode ( void  )

Definition at line 140 of file sclp_cmd.c.

bool sclp_has_vt220 ( void  )

Definition at line 151 of file sclp_cmd.c.

int sclp_sdias_blk_count ( void  )

Definition at line 138 of file sclp_sdias.c.

int sclp_sdias_copy ( void dest,
int  blk_num,
int  nr_blks 
)

Definition at line 197 of file sclp_sdias.c.

Variable Documentation

struct sclp_chp_info __aligned

Definition at line 34 of file sclp.h.

u8 reserved0[13]

Definition at line 35 of file sclp.h.

u8 reserved1

Definition at line 37 of file sclp.h.

Definition at line 36 of file sclp.h.