Lines Matching refs:w_count
60 uint32_t w_count; member
129 uint32_t w_count = ACCESS_ONCE(ch->w_count); in tegra_ivc_channel_empty() local
142 if (w_count - r_count > ivc->nframes) in tegra_ivc_channel_empty()
145 return w_count == r_count; in tegra_ivc_channel_empty()
155 return (ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count)) >= in tegra_ivc_channel_full()
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()
205 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_check_read()
234 return ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_avail_count()
278 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_read_advance()
316 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_write_advance()
358 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
374 ivc->tx_channel->w_count = 0; in tegra_ivc_channel_notified()
391 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
411 ivc->tx_channel->w_count = 0; in tegra_ivc_channel_notified()
429 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
451 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
478 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_reset()
488 BUG_ON(offsetof(struct tegra_ivc_channel_header, w_count) & in check_ivc_params()