Searched refs:ACCESS_ONCE (Results 1 – 3 of 3) sorted by relevance
128 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()
25 return ACCESS_ONCE((v)->counter); in atomic_read()
534 #define ACCESS_ONCE(x) (*__ACCESS_ONCE(x)) macro