Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/include/lib/
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
/external/arm-trusted-firmware/lib/locks/bakery/
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()
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()
/external/arm-trusted-firmware/include/drivers/arm/css/
Dscmi.h126 typedef bakery_lock_t scmi_lock_t;
/external/arm-trusted-firmware/docs/design/
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