Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/
H A Divc.c129 uint32_t w_count = ACCESS_ONCE(ch->w_count); in tegra_ivc_channel_empty()
130 uint32_t r_count = ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_empty()
155 return (ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count)) >= in tegra_ivc_channel_full()
161 ACCESS_ONCE(ivc->rx_channel->r_count) = in tegra_ivc_advance_rx()
162 ACCESS_ONCE(ivc->rx_channel->r_count) + 1; in tegra_ivc_advance_rx()
172 ACCESS_ONCE(ivc->tx_channel->w_count) = in tegra_ivc_advance_tx()
173 ACCESS_ONCE(ivc->tx_channel->w_count) + 1; in tegra_ivc_advance_tx()
234 return ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_avail_count()
360 peer_state = ACCESS_ONCE(ivc->rx_channel->state); in tegra_ivc_channel_notified()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_utility.h44 #define WRITE_ONCE(x, val) (ACCESS_ONCE(x) = (val))
49 #define READ_ONCE(x) ACCESS_ONCE(x)
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/
H A Datomic.h25 return ACCESS_ONCE((v)->counter); in atomic_read()
/OK3568_Linux_fs/buildroot/board/roseapplepi/patches/uboot/
H A D0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch675 + * READ_ONCE, WRITE_ONCE and ACCESS_ONCE (see below), but only when the
678 + * WRITE_ONCE or ACCESS_ONCE() in different C statements.
680 + * In contrast to ACCESS_ONCE these two macros will also work on aggregate
765 * ACCESS_ONCE() in different C statements.
771 + * ACCESS_ONCE will only work on scalar types. For union types, ACCESS_ONCE
775 + * The major use cases of ACCESS_ONCE used to be (1) Mediating communication
787 +#define ACCESS_ONCE(x) (*__ACCESS_ONCE(x))
797 -#define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x))
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/common/linux/
H A Dcompiler.h547 #define ACCESS_ONCE(x) (*__ACCESS_ONCE(x)) macro
/OK3568_Linux_fs/u-boot/include/linux/
H A Dcompiler.h534 #define ACCESS_ONCE(x) (*__ACCESS_ONCE(x)) macro
/OK3568_Linux_fs/kernel/Documentation/RCU/
H A DRTFP.txt2722 ACCESS_ONCE().