Lines Matching defs:state
13 * Each end uses its tx_channel.state to indicate its synchronization state.
19 * initially valid state, but cannot be asynchronously reset, and must
20 * maintain a valid state at all times.
22 * The transmitting end can enter the established state from the sync or
23 * ack state when it observes the receiving endpoint in the ack or
24 * established state, indicating that has cleared the counters in our
30 * If an endpoint is observed in the sync state, the remote endpoint is
39 * state, it can clear the w_count and r_count and transition to the ack
40 * state. If the remote endpoint observes us in the ack state, it can
41 * return to the established state once it has cleared its counters.
58 u32 state;
174 unsigned int state;
177 * tx.channel->state is set locally, so it is not synchronized with
178 * state from the remote peer. The remote peer cannot reset its
181 * asynchronous transition of rx.channel->state to
184 state = tegra_ivc_header_read_field(&ivc->tx.map, tx.state);
185 if (state != TEGRA_IVC_STATE_ESTABLISHED)
209 unsigned int state;
211 state = tegra_ivc_header_read_field(&ivc->tx.map, tx.state);
212 if (state != TEGRA_IVC_STATE_ESTABLISHED)
402 tegra_ivc_header_write_field(&ivc->tx.map, tx.state, TEGRA_IVC_STATE_SYNC);
433 /* Copy the receiver's state out of shared memory. */
435 rx_state = tegra_ivc_header_read_field(&ivc->rx.map, tx.state);
436 tx_state = tegra_ivc_header_read_field(&ivc->tx.map, tx.state);
449 * state and won't make progress until we change our state,
459 * Ensure that counters appear cleared before new state can be
465 * Move to ACK state. We have just cleared our counters, so it
468 tegra_ivc_header_write_field(&ivc->tx.map, tx.state, TEGRA_IVC_STATE_ACK);
472 * Notify remote end to observe state transition.
488 * state and won't make progress until we change our state,
498 * Ensure that counters appear cleared before new state can be
504 * Move to ESTABLISHED state. We know that the remote end has
508 tegra_ivc_header_write_field(&ivc->tx.map, tx.state, TEGRA_IVC_STATE_ESTABLISHED);
512 * Notify remote end to observe state transition.
521 * the ACK or ESTABLISHED state. Next, order observation of
522 * peer state before storing to tx.channel.
527 * Move to ESTABLISHED state. We know that we have previously
532 tegra_ivc_header_write_field(&ivc->tx.map, tx.state, TEGRA_IVC_STATE_ESTABLISHED);
536 * Notify remote end to observe state transition.
544 * the remote end to catch up with our current state. Refer