Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
spr.h File Reference

Go to the source code of this file.

Macros

#define mtspr(_spr, _val)
 
#define mtspr_off(_spr, _off, _val)
 

Macro Definition Documentation

#define mtspr (   _spr,
  _val 
)
Value:
__asm__ __volatile__ ( \
"l.mtspr r0,%1,%0" \
: : "K" (_spr), "r" (_val))

Definition at line 20 of file spr.h.

#define mtspr_off (   _spr,
  _off,
  _val 
)
Value:
__asm__ __volatile__ ( \
"l.mtspr %0,%1,%2" \
: : "r" (_off), "r" (_val), "K" (_spr))

Definition at line 23 of file spr.h.