/trusted-firmware-a/drivers/arm/css/scmi/ |
A D | scmi_common.c | 16 #define scmi_lock_init(lock) argument 17 #define scmi_lock_get(lock) spin_lock(lock) argument 18 #define scmi_lock_release(lock) spin_unlock(lock) argument 20 #define scmi_lock_init(lock) bakery_lock_init(lock) argument 21 #define scmi_lock_get(lock) bakery_lock_get(lock) argument 22 #define scmi_lock_release(lock) bakery_lock_release(lock) argument 31 assert(ch->lock); in scmi_get_channel() 32 scmi_lock_get(ch->lock); in scmi_get_channel() 83 assert(ch->lock); in scmi_put_channel() 168 assert(ch->lock); in scmi_init() [all …]
|
/trusted-firmware-a/lib/locks/bakery/ |
A D | bakery_lock_normal.c | 61 bakery_lock_t *lock) in get_bakery_info() argument 63 return (bakery_info_t *)((uintptr_t)lock + in get_bakery_info() 101 static unsigned int bakery_get_ticket(bakery_lock_t *lock, in bakery_get_ticket() argument 112 my_bakery_info = get_bakery_info(me, lock); in bakery_get_ticket() 139 their_bakery_info = get_bakery_info(they, lock); in bakery_get_ticket() 165 void bakery_lock_get(bakery_lock_t *lock) in bakery_lock_get() argument 177 my_ticket = bakery_get_ticket(lock, me, is_cached); in bakery_lock_get() 192 their_bakery_info = get_bakery_info(they, lock); in bakery_lock_get() 229 void bakery_lock_release(bakery_lock_t *lock) in bakery_lock_release() argument 234 my_bakery_info = get_bakery_info(plat_my_core_pos(), lock); in bakery_lock_release()
|
/trusted-firmware-a/include/lib/ |
A D | spinlock.h | 15 volatile uint32_t lock; member 18 void spin_lock(spinlock_t *lock); 19 void spin_unlock(spinlock_t *lock);
|
/trusted-firmware-a/services/std_svc/spmd/ |
A D | spmd_pm.c | 19 spinlock_t lock; member 44 spin_lock(&g_spmd_pm.lock); in spmd_pm_secondary_ep_register() 68 spin_unlock(&g_spmd_pm.lock); in spmd_pm_secondary_ep_register() 90 spin_lock(&g_spmd_pm.lock); in spmd_cpu_on_finish_handler() 109 spin_unlock(&g_spmd_pm.lock); in spmd_cpu_on_finish_handler()
|
/trusted-firmware-a/drivers/st/i2c/ |
A D | stm32_i2c.c | 65 hi2c->lock = 1; in i2c_config_analog_filter() 83 hi2c->lock = 0; in i2c_config_analog_filter() 156 hi2c->lock = 0; in stm32_i2c_init() 277 hi2c->lock = 0; in i2c_wait_flag() 324 hi2c->lock = 0; in i2c_ack_failed() 553 hi2c->lock = 1; in i2c_write() 650 hi2c->lock = 0; in i2c_write() 734 hi2c->lock = 1; in i2c_read() 819 hi2c->lock = 0; in i2c_read() 887 hi2c->lock = 1; in stm32_i2c_is_device_ready() [all …]
|
/trusted-firmware-a/plat/mediatek/mt8192/drivers/emi_mpu/ |
A D | emi_mpu.h | 63 #define SET_ACCESS_PERMISSION(apc_ary, lock, d7, d6, d5, d4, d3, d2, d1, d0) \ argument 71 | (((unsigned int) lock) << 31); \ 74 #define SET_ACCESS_PERMISSION(apc_ary, lock, d15, d14, d13, d12, d11, d10, \ argument 87 | (((unsigned int) lock) << 31); \
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/emi_mpu/ |
A D | emi_mpu.h | 61 #define SET_ACCESS_PERMISSION(apc_ary, lock, d7, d6, d5, d4, d3, d2, d1, d0) \ argument 69 ((unsigned int) lock << 31); \ 72 #define SET_ACCESS_PERMISSION(apc_ary, lock, d15, d14, d13, d12, d11, d10, \ argument 85 ((unsigned int) lock << 31); \
|
/trusted-firmware-a/lib/cpus/ |
A D | errata_report.c | 37 int errata_needs_reporting(spinlock_t *lock, uint32_t *reported) in errata_needs_reporting() argument 49 spin_lock(lock); in errata_needs_reporting() 53 spin_unlock(lock); in errata_needs_reporting()
|
/trusted-firmware-a/plat/qti/qtiseclib/inc/ |
A D | qtiseclib_cb_interface.h | 30 void qtiseclib_cb_spin_lock(qtiseclib_cb_spinlock_t *lock); 31 void qtiseclib_cb_spin_unlock(qtiseclib_cb_spinlock_t *lock);
|
A D | qtiseclib_defs.h | 37 volatile uint32_t lock; member
|
/trusted-firmware-a/plat/qti/qtiseclib/src/ |
A D | qtiseclib_cb_interface.c | 69 void qtiseclib_cb_spin_lock(qtiseclib_cb_spinlock_t *lock) in qtiseclib_cb_spin_lock() argument 71 spin_lock((spinlock_t *) lock); in qtiseclib_cb_spin_lock() 74 void qtiseclib_cb_spin_unlock(qtiseclib_cb_spinlock_t *lock) in qtiseclib_cb_spin_unlock() argument 76 spin_unlock((spinlock_t *) lock); in qtiseclib_cb_spin_unlock()
|
/trusted-firmware-a/include/lib/cpus/ |
A D | errata_report.h | 24 int errata_needs_reporting(spinlock_t *lock, uint32_t *reported);
|
/trusted-firmware-a/plat/nvidia/tegra/scat/ |
A D | bl31.scat | 176 * Each lock's data is spread across multiple cache lines, one per CPU, 197 /* PLAT_PERCPU_BAKERY_LOCK_SIZE does not match bakery lock requirements */ 252 * Each lock's data is contiguous and fully allocated by the compiler
|
/trusted-firmware-a/services/std_svc/sdei/ |
A D | sdei_private.h | 219 spin_lock(&map->lock); in sdei_map_lock() 224 spin_unlock(&map->lock); in sdei_map_unlock()
|
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/perf/ |
A D | psci-performance-juno.rst.txt | 105 observed due to TF PSCI lock contention. In the worst case, CPU 3 has to wait 107 the lock before proceeding. 136 There is no lock contention in TF generic code at power level 0 but the large 137 variance in ``PSCI_ENTRY`` times across CPUs is due to lock contention in Juno 138 platform code. The platform lock is used to mediate access to a single SCP
|
/trusted-firmware-a/docs/perf/ |
A D | psci-performance-juno.rst | 105 observed due to TF PSCI lock contention. In the worst case, CPU 3 has to wait 107 the lock before proceeding. 136 There is no lock contention in TF generic code at power level 0 but the large 137 variance in ``PSCI_ENTRY`` times across CPUs is due to lock contention in Juno 138 platform code. The platform lock is used to mediate access to a single SCP
|
/trusted-firmware-a/plat/imx/common/include/sci/svc/timer/ |
A D | sci_timer_api.h | 108 sc_err_t sc_timer_start_wdog(sc_ipc_t ipc, sc_bool_t lock);
|
/trusted-firmware-a/include/services/ |
A D | sdei.h | 117 spinlock_t lock; /* Per-event lock */ member
|
/trusted-firmware-a/include/drivers/arm/css/ |
A D | scmi.h | 141 scmi_lock_t *lock; member
|
/trusted-firmware-a/lib/debugfs/ |
A D | debugfs_smc.c | 206 debugfs_access_lock.lock = 0; in debugfs_smc_setup()
|
/trusted-firmware-a/plat/socionext/synquacer/drivers/scp/ |
A D | sq_scmi.c | 222 channel.lock = SQ_SCMI_LOCK_GET_INSTANCE; in plat_sq_pwrc_setup()
|
/trusted-firmware-a/plat/imx/common/sci/svc/timer/ |
A D | timer_rpc_clnt.c | 66 sc_err_t sc_timer_start_wdog(sc_ipc_t ipc, sc_bool_t lock) in sc_timer_start_wdog() argument 74 RPC_U8(&msg, 0U) = (uint8_t)lock; in sc_timer_start_wdog()
|
/trusted-firmware-a/include/drivers/st/ |
A D | stm32_i2c.h | 237 uint8_t lock; /* Locking object */ member
|
/trusted-firmware-a/drivers/arm/css/scp/ |
A D | css_pm_scmi.c | 363 scmi_channels[idx].lock = ARM_SCMI_LOCK_GET_INSTANCE; in plat_arm_pwrc_setup()
|
/trusted-firmware-a/drivers/st/clk/ |
A D | stm32mp1_clk.c | 641 static void stm32mp1_clk_lock(struct spinlock *lock) in stm32mp1_clk_lock() argument 645 spin_lock(lock); in stm32mp1_clk_lock() 649 static void stm32mp1_clk_unlock(struct spinlock *lock) in stm32mp1_clk_unlock() argument 652 spin_unlock(lock); in stm32mp1_clk_unlock()
|