Lines Matching refs:w_count

59 			uint32_t w_count;  member
128 uint32_t w_count = ACCESS_ONCE(ch->w_count); in tegra_ivc_channel_empty() local
141 if (w_count - r_count > ivc->nframes) in tegra_ivc_channel_empty()
144 return w_count == r_count; in tegra_ivc_channel_empty()
154 return (ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count)) >= in tegra_ivc_channel_full()
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()
204 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_check_read()
233 return ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_avail_count()
277 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_read_advance()
315 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_write_advance()
357 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
373 ivc->tx_channel->w_count = 0; in tegra_ivc_channel_notified()
390 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
410 ivc->tx_channel->w_count = 0; in tegra_ivc_channel_notified()
428 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
450 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
477 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_reset()
487 BUG_ON(offsetof(struct tegra_ivc_channel_header, w_count) & in check_ivc_params()