Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-catu.c84 typedef u64 cate_t; typedef
91 #define CATU_PTRS_PER_PAGE ((CATU_PAGE_SIZE >> 1) / sizeof(cate_t))
93 #define CATU_LINK_PREV ((CATU_PAGE_SIZE / sizeof(cate_t)) - 2)
94 #define CATU_LINK_NEXT ((CATU_PAGE_SIZE / sizeof(cate_t)) - 1)
97 #define CATU_ADDR_MASK ~(((cate_t)1 << CATU_ADDR_SHIFT) - 1)
98 #define CATU_ENTRY_VALID ((cate_t)0x1)
100 (((cate_t)(addr) & CATU_ADDR_MASK) | CATU_ENTRY_VALID)
101 #define CATU_ENTRY_ADDR(entry) ((cate_t)(entry) & ~((cate_t)CATU_ENTRY_VALID))
114 static inline cate_t *catu_get_table(struct tmc_sg_table *catu_table, in catu_get_table()
137 return (cate_t *)((unsigned long)ptr + pg_offset); in catu_get_table()
[all …]