use helper macros from csr.h instead of inline assembly which results in cleaner and more maintainable code Signed-off-by: Manojkumar Subramaniam <manoj@electrolance.com>