Home
last modified time | relevance | path

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

/tf-a-ffa_el3_spmc/include/lib/
A Dbakery_lock.h69 } bakery_lock_t; typedef
91 typedef bakery_info_t bakery_lock_t; typedef
95 static inline void bakery_lock_init(bakery_lock_t *bakery) {} in bakery_lock_init()
96 void bakery_lock_get(bakery_lock_t *bakery);
97 void bakery_lock_release(bakery_lock_t *bakery);
99 #define DEFINE_BAKERY_LOCK(_name) bakery_lock_t _name __section("bakery_lock")
101 #define DECLARE_BAKERY_LOCK(_name) extern bakery_lock_t _name
/tf-a-ffa_el3_spmc/lib/locks/bakery/
A Dbakery_lock_normal.c60 static inline bakery_lock_t *get_bakery_info(unsigned int cpu_ix, in get_bakery_info()
61 bakery_lock_t *lock) in get_bakery_info()
101 static unsigned int bakery_get_ticket(bakery_lock_t *lock, in bakery_get_ticket()
165 void bakery_lock_get(bakery_lock_t *lock) in bakery_lock_get()
229 void bakery_lock_release(bakery_lock_t *lock) in bakery_lock_release()
A Dbakery_lock_coherent.c44 static unsigned int bakery_get_ticket(bakery_lock_t *bakery, unsigned int me) in bakery_get_ticket()
92 void bakery_lock_get(bakery_lock_t *bakery) in bakery_lock_get()
149 void bakery_lock_release(bakery_lock_t *bakery) in bakery_lock_release()
/tf-a-ffa_el3_spmc/include/drivers/arm/css/
A Dscmi.h126 typedef bakery_lock_t scmi_lock_t;
/tf-a-ffa_el3_spmc/docs/design/
A Dfirmware-design.rst2099 The bakery lock data structure ``bakery_lock_t`` is allocated in coherent memory
2100 and is accessed by multiple CPUs with mismatched attributes. ``bakery_lock_t`` is
2113 } bakery_lock_t;
2119 ``bakery_lock_t`` structure for multiple CPUs may exist on a single cache line.
2129 CPU1 updates its per-CPU field of the ``bakery_lock_t`` structure with data cache

Completed in 20 milliseconds