Lines Matching refs:mode

176  * The length of the reliable-mode data queue in terms of the LDC
317 uint32_t mid = ((c)->mode != LDC_MODE_RAW) ? msg->seqid : 0; \
712 if (ldcp->mode == LDC_MODE_RAW) {
851 * Reliable mode will use the ACKd head instead of the regular tx_head.
852 * Also in Reliable mode, advance ackd_head for all non DATA/INFO pkts,
856 if (ldcp->mode == LDC_MODE_RELIABLE) {
1054 if (ldcp->mode != LDC_MODE_RELIABLE) {
1083 if (ldcp->mode == LDC_MODE_RELIABLE) {
1162 /* Store ackid/seqid iff it is RELIABLE mode & not a RTS/RTR message */
1166 if (ldcp->mode != LDC_MODE_RAW) {
1202 /* No seqid checking for RAW mode */
1203 if (ldcp->mode == LDC_MODE_RAW)
1403 pkt->env = ldcp->mode;
1404 if (ldcp->mode != LDC_MODE_RAW)
1558 /* check mode */
1559 if (ldcp->mode != (ldc_mode_t)msg->env) {
1561 "i_ldc_process_RTS: (0x%lx) mode mismatch\n",
1625 pkt->env = ldcp->mode;
1626 if (ldcp->mode != LDC_MODE_RAW)
1685 /* check mode */
1686 if (ldcp->mode != (ldc_mode_t)msg->env) {
1688 "i_ldc_process_RTR: (0x%llx) mode mismatch, "
1690 ldcp->id, ldcp->mode, (ldc_mode_t)msg->env);
2206 * Depending on the channel mode, packets are handled differently:
2209 * For raw mode channels, when a data packet is encountered,
2214 * For unreliable mode, when a data packet is encountered, processing
2220 * For reliable mode channels, all packets on the receive queue
2327 /* if channel is in RAW mode or data pkt, notify and return */
2328 if (ldcp->mode == LDC_MODE_RAW) {
2350 /* process only RELIABLE mode data packets */
2351 if (ldcp->mode != LDC_MODE_RELIABLE) {
2465 ASSERT(ldcp->mode == LDC_MODE_RELIABLE);
2492 if (ldcp->mode == LDC_MODE_RELIABLE) {
2541 * This function is only used by RELIABLE mode channels when the
2655 ldcp->mode = attr->mode;
2662 "instance=0x%llx, mode=%d, mtu=%d\n",
2663 ldcp->id, ldcp->devclass, ldcp->devinst, ldcp->mode, ldcp->mtu);
2682 switch (ldcp->mode) {
2763 if (ldcp->mode == LDC_MODE_RELIABLE) {
2820 if (ldcp->mode == LDC_MODE_RELIABLE && ldcp->stream_bufferp)
2913 if (ldcp->mode == LDC_MODE_RELIABLE && ldcp->stream_bufferp)
2922 if (ldcp->mode == LDC_MODE_RELIABLE) {
3072 * if channel is being opened in RAW mode - no handshake is needed
3075 if (ldcp->mode == LDC_MODE_RAW) {
3421 /* if the channel is in RAW mode - mark it as UP, if READY */
3422 if (ldcp->mode == LDC_MODE_RAW && ldcp->tstate >= TS_READY) {
3463 if (ldcp->mode == LDC_MODE_RAW) {
3557 * Set the channel's callback mode - enable/disable callbacks
3657 switch (ldcp->mode) {
3660 * In raw mode, there are no ctrl packets, so checking
3668 * In unreliable mode, if the queue is non-empty, we need
3691 * In reliable mode, first check for 'stream_remains' > 0.
3702 cmn_err(CE_WARN, "ldc_chkq: (0x%lx) unexpected channel mode "
3703 "(0x%x)", ldcp->id, ldcp->mode);
3742 } else if (ldcp->mode == LDC_MODE_RELIABLE) {
3747 * For reliable mode channels, the interrupt
3863 /* if channel is in RAW mode, copy data and return */
3909 if (ldcp->mode == LDC_MODE_RELIABLE) {
3945 if (ldcp->mode == LDC_MODE_RELIABLE)
3975 if (ldcp->mode != LDC_MODE_RELIABLE)
3999 if (ldcp->mode != LDC_MODE_RELIABLE) {
4083 (ldcp->mode == LDC_MODE_RELIABLE) ?
4181 if (ldcp->mode != LDC_MODE_RELIABLE)
4341 ASSERT(ldcp->mode == LDC_MODE_RAW);
4347 * equal to packet size support in raw mode
4351 "ldc_write: (0x%llx) invalid size (0x%llx) for RAW mode\n",
4476 ASSERT(ldcp->mode == LDC_MODE_RELIABLE ||
4477 ldcp->mode == LDC_MODE_UNRELIABLE);
4520 * the appropriate head based on the link mode.
4556 msgbuf = (uint8_t *)((ldcp->mode == LDC_MODE_RELIABLE) ?
4651 ASSERT(ldcp->mode == LDC_MODE_RELIABLE);