Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 25 of 40) sorted by relevance

12

/arm-trusted-firmware-2.8.0/drivers/arm/css/scmi/
A Dscmi_common.c16 #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 …]
/arm-trusted-firmware-2.8.0/lib/locks/bakery/
A Dbakery_lock_normal.c61 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()
/arm-trusted-firmware-2.8.0/include/lib/
A Dspinlock.h15 volatile uint32_t lock; member
18 void spin_lock(spinlock_t *lock);
19 void spin_unlock(spinlock_t *lock);
/arm-trusted-firmware-2.8.0/plat/imx/imx8m/include/
A Dimx8m_csu.h53 uint16_t lock : 1; member
61 {CSU_CSL, .idx = (i), .csl_level = (level), .lock = (lk),}
64 {CSU_HP, .idx = (i), .hp = (val), .lock = (lk), }
67 {CSU_SA, .idx = (i), .sa = (val), .lock = (lk), }
70 {CSU_HPCONTROL, .idx = (i), .hpctrl = (val), .lock = (lk), }
/arm-trusted-firmware-2.8.0/plat/mediatek/drivers/emi_mpu/
A Demi_mpu.h25 #define SET_ACCESS_PERMISSION(apc_ary, lock, d7, d6, d5, d4, d3, d2, d1, d0) \ argument
33 ((unsigned int) lock << 31); \
36 #define SET_ACCESS_PERMISSION(apc_ary, lock, d15, d14, d13, d12, d11, d10, \ argument
49 ((unsigned int) lock << 31); \
/arm-trusted-firmware-2.8.0/plat/imx/imx8m/
A Dimx8m_csu.c24 CSLx_CFG(csu->csl_level | (csu->lock << 8), csu->idx)); in imx_csu_init()
32 CSU_HP_CFG(csu->hp | (csu->lock << 0x1), csu->idx)); in imx_csu_init()
40 CSU_SA_CFG(csu->sa | (csu->lock << 0x1), csu->idx)); in imx_csu_init()
48 CSU_HPCONTROL_CFG(csu->hpctrl | (csu->lock << 0x1), csu->idx)); in imx_csu_init()
/arm-trusted-firmware-2.8.0/services/std_svc/spmd/
A Dspmd_pm.c19 spinlock_t lock; member
29 spin_lock(&g_spmd_pm.lock); in spmd_pm_secondary_ep_register()
53 spin_unlock(&g_spmd_pm.lock); in spmd_pm_secondary_ep_register()
75 spin_lock(&g_spmd_pm.lock); in spmd_cpu_on_finish_handler()
94 spin_unlock(&g_spmd_pm.lock); in spmd_cpu_on_finish_handler()
/arm-trusted-firmware-2.8.0/services/std_svc/rmmd/
A Drmmd_attest.c16 static spinlock_t lock; variable
105 spin_lock(&lock); in rmmd_attest_get_platform_token()
120 spin_unlock(&lock); in rmmd_attest_get_platform_token()
140 spin_lock(&lock); in rmmd_attest_get_signing_key()
150 spin_unlock(&lock); in rmmd_attest_get_signing_key()
/arm-trusted-firmware-2.8.0/lib/cpus/
A Derrata_report.c37 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()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8195/drivers/emi_mpu/
A Demi_mpu.h61 #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); \
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/emi_mpu/
A Demi_mpu.h61 #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); \
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8192/drivers/emi_mpu/
A Demi_mpu.h63 #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); \
/arm-trusted-firmware-2.8.0/drivers/st/i2c/
A Dstm32_i2c.c66 hi2c->lock = 1; in i2c_config_analog_filter()
84 hi2c->lock = 0; in i2c_config_analog_filter()
157 hi2c->lock = 0; in stm32_i2c_init()
278 hi2c->lock = 0; in i2c_wait_flag()
325 hi2c->lock = 0; in i2c_ack_failed()
554 hi2c->lock = 1; in i2c_write()
651 hi2c->lock = 0; in i2c_write()
735 hi2c->lock = 1; in i2c_read()
820 hi2c->lock = 0; in i2c_read()
888 hi2c->lock = 1; in stm32_i2c_is_device_ready()
[all …]
/arm-trusted-firmware-2.8.0/services/std_svc/spm/el3_spmc/
A Dspmc_shared_mem.c1161 spin_lock(&mbox->lock); in spmc_ffa_mem_send()
1164 spin_unlock(&mbox->lock); in spmc_ffa_mem_send()
1229 spin_lock(&mbox->lock); in spmc_ffa_mem_frag_tx()
1232 spin_unlock(&mbox->lock); in spmc_ffa_mem_frag_tx()
1331 spin_lock(&mbox->lock); in spmc_ffa_mem_retrieve_req()
1547 spin_unlock(&mbox->lock); in spmc_ffa_mem_retrieve_req()
1555 spin_unlock(&mbox->lock); in spmc_ffa_mem_retrieve_req()
1625 spin_lock(&mbox->lock); in spmc_ffa_mem_frag_rx()
1668 spin_unlock(&mbox->lock); in spmc_ffa_mem_frag_rx()
1675 spin_unlock(&mbox->lock); in spmc_ffa_mem_frag_rx()
[all …]
A Dspmc_main.c645 spin_lock(&mbox->lock); in rxtx_map_handler()
686 spin_unlock(&mbox->lock); in rxtx_map_handler()
691 spin_unlock(&mbox->lock); in rxtx_map_handler()
718 spin_lock(&mbox->lock); in rxtx_unmap_handler()
722 spin_unlock(&mbox->lock); in rxtx_unmap_handler()
744 spin_unlock(&mbox->lock); in rxtx_unmap_handler()
940 spin_lock(&mbox->lock); in partition_info_get_handler()
983 spin_unlock(&mbox->lock); in partition_info_get_handler()
988 spin_unlock(&mbox->lock); in partition_info_get_handler()
1279 spin_lock(&mbox->lock); in rx_release_handler()
[all …]
A Dspmc_shared_mem.h47 spinlock_t lock; member
/arm-trusted-firmware-2.8.0/plat/qti/qtiseclib/inc/
A Dqtiseclib_cb_interface.h30 void qtiseclib_cb_spin_lock(qtiseclib_cb_spinlock_t *lock);
31 void qtiseclib_cb_spin_unlock(qtiseclib_cb_spinlock_t *lock);
A Dqtiseclib_defs.h37 volatile uint32_t lock; member
/arm-trusted-firmware-2.8.0/include/lib/cpus/
A Derrata_report.h24 int errata_needs_reporting(spinlock_t *lock, uint32_t *reported);
/arm-trusted-firmware-2.8.0/plat/qti/qtiseclib/src/
A Dqtiseclib_cb_interface.c69 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()
/arm-trusted-firmware-2.8.0/plat/nvidia/tegra/scat/
A Dbl31.scat176 * 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
/arm-trusted-firmware-2.8.0/services/std_svc/sdei/
A Dsdei_private.h219 spin_lock(&map->lock); in sdei_map_lock()
224 spin_unlock(&map->lock); in sdei_map_unlock()
/arm-trusted-firmware-2.8.0/include/drivers/st/
A Dregulator.h84 void (*lock)(const struct regul_description *desc); member
/arm-trusted-firmware-2.8.0/include/drivers/arm/css/
A Dscmi.h141 scmi_lock_t *lock; member
/arm-trusted-firmware-2.8.0/plat/imx/common/include/sci/svc/timer/
A Dsci_timer_api.h108 sc_err_t sc_timer_start_wdog(sc_ipc_t ipc, sc_bool_t lock);

Completed in 31 milliseconds

12