Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-tegra/
Divc.c128 uint32_t w_count = ACCESS_ONCE(ch->w_count); in tegra_ivc_channel_empty()
129 uint32_t r_count = ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_empty()
154 return (ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count)) >= in tegra_ivc_channel_full()
160 ACCESS_ONCE(ivc->rx_channel->r_count) = in tegra_ivc_advance_rx()
161 ACCESS_ONCE(ivc->rx_channel->r_count) + 1; in tegra_ivc_advance_rx()
171 ACCESS_ONCE(ivc->tx_channel->w_count) = in tegra_ivc_advance_tx()
172 ACCESS_ONCE(ivc->tx_channel->w_count) + 1; in tegra_ivc_advance_tx()
233 return ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_avail_count()
359 peer_state = ACCESS_ONCE(ivc->rx_channel->state); in tegra_ivc_channel_notified()
/external/u-boot/arch/x86/include/asm/
Datomic.h25 return ACCESS_ONCE((v)->counter); in atomic_read()
/external/u-boot/include/linux/
Dcompiler.h534 #define ACCESS_ONCE(x) (*__ACCESS_ONCE(x)) macro