|
@@ -140,7 +140,7 @@ struct etr_ptff_qto {
|
|
|
/* Inline assembly helper functions */
|
|
|
static inline int etr_setr(struct etr_eacr *ctrl)
|
|
|
{
|
|
|
- int rc = -ENOSYS;
|
|
|
+ int rc = -EOPNOTSUPP;
|
|
|
|
|
|
asm volatile(
|
|
|
" .insn s,0xb2160000,%1\n"
|
|
@@ -154,7 +154,7 @@ static inline int etr_setr(struct etr_eacr *ctrl)
|
|
|
/* Stores a format 1 aib with 64 bytes */
|
|
|
static inline int etr_stetr(struct etr_aib *aib)
|
|
|
{
|
|
|
- int rc = -ENOSYS;
|
|
|
+ int rc = -EOPNOTSUPP;
|
|
|
|
|
|
asm volatile(
|
|
|
" .insn s,0xb2170000,%1\n"
|
|
@@ -169,7 +169,7 @@ static inline int etr_stetr(struct etr_aib *aib)
|
|
|
static inline int etr_steai(struct etr_aib *aib, unsigned int func)
|
|
|
{
|
|
|
register unsigned int reg0 asm("0") = func;
|
|
|
- int rc = -ENOSYS;
|
|
|
+ int rc = -EOPNOTSUPP;
|
|
|
|
|
|
asm volatile(
|
|
|
" .insn s,0xb2b30000,%1\n"
|
|
@@ -190,7 +190,7 @@ static inline int etr_ptff(void *ptff_block, unsigned int func)
|
|
|
{
|
|
|
register unsigned int reg0 asm("0") = func;
|
|
|
register unsigned long reg1 asm("1") = (unsigned long) ptff_block;
|
|
|
- int rc = -ENOSYS;
|
|
|
+ int rc = -EOPNOTSUPP;
|
|
|
|
|
|
asm volatile(
|
|
|
" .word 0x0104\n"
|