Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fpreg.c File Reference

Go to the source code of this file.

Macros

#define STT(reg, val)   asm volatile ("stt $f"#reg",%0" : "=m"(val));
 
#define LDT(reg, val)   asm volatile ("ldt $f"#reg",%0" : : "m"(val));
 
#define STS(reg, val)   asm volatile ("sts $f"#reg",%0" : "=m"(val));
 
#define LDS(reg, val)   asm volatile ("lds $f"#reg",%0" : : "m"(val));
 

Functions

unsigned long alpha_read_fp_reg (unsigned long reg)
 
void alpha_write_fp_reg (unsigned long reg, unsigned long val)
 
unsigned long alpha_read_fp_reg_s (unsigned long reg)
 
void alpha_write_fp_reg_s (unsigned long reg, unsigned long val)
 

Macro Definition Documentation

#define LDS (   reg,
  val 
)    asm volatile ("lds $f"#reg",%0" : : "m"(val));

Definition at line 153 of file fpreg.c.

#define LDT (   reg,
  val 
)    asm volatile ("ldt $f"#reg",%0" : : "m"(val));

Definition at line 59 of file fpreg.c.

#define STS (   reg,
  val 
)    asm volatile ("sts $f"#reg",%0" : "=m"(val));

Definition at line 104 of file fpreg.c.

#define STT (   reg,
  val 
)    asm volatile ("stt $f"#reg",%0" : "=m"(val));

Definition at line 10 of file fpreg.c.

Function Documentation

unsigned long alpha_read_fp_reg ( unsigned long  reg)

Definition at line 14 of file fpreg.c.

unsigned long alpha_read_fp_reg_s ( unsigned long  reg)

Definition at line 108 of file fpreg.c.

void alpha_write_fp_reg ( unsigned long  reg,
unsigned long  val 
)

Definition at line 63 of file fpreg.c.

void alpha_write_fp_reg_s ( unsigned long  reg,
unsigned long  val 
)

Definition at line 157 of file fpreg.c.