Home
last modified time | relevance | path

Searched refs:trbsr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.h40 static inline int get_trbe_ec(u64 trbsr) in get_trbe_ec() argument
49 static inline int get_trbe_bsc(u64 trbsr) in get_trbe_bsc() argument
58 trbsr &= ~TRBSR_EL1_IRQ; in clr_trbe_irq()
59 write_sysreg_s(trbsr, SYS_TRBSR_EL1); in clr_trbe_irq()
62 static inline bool is_trbe_irq(u64 trbsr) in is_trbe_irq() argument
64 return trbsr & TRBSR_EL1_IRQ; in is_trbe_irq()
67 static inline bool is_trbe_trg(u64 trbsr) in is_trbe_trg() argument
69 return trbsr & TRBSR_EL1_TRG; in is_trbe_trg()
74 return trbsr & TRBSR_EL1_WRAP; in is_trbe_wrap()
79 return trbsr & TRBSR_EL1_EA; in is_trbe_abort()
[all …]
H A Dcoresight-trbe.c585 trbsr &= ~TRBSR_EL1_IRQ; in clr_trbe_status()
586 trbsr &= ~TRBSR_EL1_TRG; in clr_trbe_status()
587 trbsr &= ~TRBSR_EL1_WRAP; in clr_trbe_status()
588 trbsr &= ~TRBSR_EL1_EC_MASK; in clr_trbe_status()
589 trbsr &= ~TRBSR_EL1_BSC_MASK; in clr_trbe_status()
590 trbsr &= ~TRBSR_EL1_S; in clr_trbe_status()
648 u64 trbsr) in trbe_get_fault_act() argument
650 int ec = get_trbe_ec(trbsr); in trbe_get_fault_act()
651 int bsc = get_trbe_bsc(trbsr); in trbe_get_fault_act()
655 WARN_ON(is_trbe_running(trbsr)); in trbe_get_fault_act()
[all …]