Lines Matching refs:lane_out
250 ((ldcp)->lane_out.ver_major == (major) && \
251 (ldcp)->lane_out.ver_minor == (minor))
254 (((ldcp)->lane_out.ver_major < (major)) || \
255 ((ldcp)->lane_out.ver_major == (major) && \
256 (ldcp)->lane_out.ver_minor < (minor)))
259 (((ldcp)->lane_out.ver_major > (major)) || \
260 ((ldcp)->lane_out.ver_major == (major) && \
261 (ldcp)->lane_out.ver_minor >= (minor)))
264 (((ldcp)->lane_out.ver_major < (major)) || \
265 ((ldcp)->lane_out.ver_major == (major) && \
266 (ldcp)->lane_out.ver_minor <= (minor)))
609 vsw_set_lane_attr(vswp, &ldcp->lane_out);
1328 ldcp->lane_in.lstate, ldcp->lane_out.lstate);
1334 ldcp->lane_out.lstate = 0;
1577 state = ldcp->lane_out.lstate;
1682 ldcp->lane_out.lstate = state;
1694 lane_t *lane_out = &ldcp->lane_out;
1701 DUMP_FLAGS(lane_out->lstate);
1710 if (lane_out->lstate == 0) {
1721 (lane_out->lstate & VSW_VER_ACK_RECV)) {
1744 (lane_out->lstate & VSW_ATTR_ACK_RECV))) {
1804 * lane_out is associated with receive. It is the reverse in
1807 if ((lane_out->lstate & VSW_RDX_ACK_SENT) &&
1814 lane_out->lstate);
1815 if (lane_out->dring_mode == VIO_RX_DRING_DATA) {
1818 lane_out->lstate |= VSW_LANE_ACTIVE;
1843 lane_out->lstate);
1926 lane_t *lp = &ldcp->lane_out;
2032 lane_t *lp = &ldcp->lane_out;
2397 * be set in lane_out.lstate, before
2436 ldcp->lane_out.ver_major = ver_pkt->ver_major;
2437 ldcp->lane_out.ver_minor = ver_pkt->ver_minor;
2439 ldcp->lane_out.lstate |= VSW_VER_ACK_RECV;
2459 ldcp->lane_out.lstate |= VSW_VER_NACK_RECV;
2474 ldcp->lane_out.lstate |= VSW_VER_NACK_RECV;
2478 ldcp->lane_out.ver_major = ver_pkt->ver_major;
2479 ldcp->lane_out.ver_minor = ver_pkt->ver_minor;
2484 ldcp->lane_out.lstate |= VSW_VER_INFO_SENT;
2513 lane_t *lane_out = &ldcp->lane_out;
2526 (msg->xfer_mode != lane_out->xfer_mode)) {
2604 * (saved in lane_out). If they don't match, we fail the
2607 if (lane_out->lstate & VSW_ATTR_ACK_RECV) {
2608 if (msg->options != lane_out->dring_mode) {
2618 lane_out->dring_mode = dring_mode;
2647 if (lane_out->lstate & VSW_ATTR_ACK_RECV) {
2648 if (mtu != lane_out->mtu) {
2658 lane_out->mtu = mtu;
2665 if (msg->mtu != lane_out->mtu) {
2747 lane_out->xfer_mode = VIO_DESC_MODE;
2770 lane_t *lane_out = &ldcp->lane_out;
2793 * negotiated then (saved in lane_out) matches the
2797 if (lane_out->dring_mode != msg->options) {
2801 if ((msg->options & lane_out->dring_mode) == 0) {
2821 lane_out->dring_mode = msg->options;
2837 * (saved in lane_out params) matches the mtu that the
2842 if (lane_out->mtu != msg->mtu) {
2852 if (msg->mtu <= lane_out->mtu) {
2853 lane_out->mtu = msg->mtu;
2885 lane_t *lane_out = &ldcp->lane_out;
2922 lane_out->lstate |= VSW_ATTR_ACK_RECV;
2932 lane_out->lstate |= VSW_ATTR_NACK_RECV;
2949 lane_t *lp = &ldcp->lane_out;
3007 dp = ldcp->lane_out.dringp;
3035 lane_t *lane_out = &ldcp->lane_out;
3053 if (lane_out->dring_mode == VIO_RX_DRING_DATA) {
3069 lane_out->lstate |= VSW_DRING_ACK_RECV;
3079 lane_out->lstate |= VSW_DRING_NACK_RECV;
3294 ldcp->lane_out.lstate |= VSW_RDX_ACK_SENT;
3369 lane_t *lp = &ldcp->lane_out;
3391 ldcp->lane_in.lstate, ldcp->lane_out.lstate);
3393 DUMP_FLAGS(ldcp->lane_out.lstate);
3459 lane_t *lp = &ldcp->lane_out;
3624 if ((dp = ldcp->lane_out.dringp) == NULL) {
3699 if ((dp = ldcp->lane_out.dringp) == NULL) {
3954 if ((!(ldcp->lane_out.lstate & VSW_LANE_ACTIVE)) ||
3959 ldcp->lane_out.lstate);
4039 lane_t *lp = &ldcp->lane_out;
4070 if (((dp = ldcp->lane_out.dringp) != NULL) &&
4072 (ldcp->lane_out.xfer_mode & VIO_DRING_MODE_V1_2)) ||
4074 (ldcp->lane_out.xfer_mode == VIO_DRING_MODE_V1_0))))) {
4117 lane_t *lp = &ldcp->lane_out;
4123 if ((!(ldcp->lane_out.lstate & VSW_LANE_ACTIVE)) ||
4127 ldcp->lane_out.lstate);
4136 if ((dp = ldcp->lane_out.dringp) == NULL) {
4140 ldcp->ldc_id, ldcp->ldc_status, ldcp->lane_out.lstate);
4219 lane_t *lp = &ldcp->lane_out;
4255 lane_t *lp = &ldcp->lane_out;
4279 ldcp->lane_out.lstate |= VSW_ATTR_INFO_SENT;
4295 lane_t *lp = &ldcp->lane_out;
4431 ldcp->lane_out.dringp = dp;
4480 lane_t *lp = &ldcp->lane_out;
4582 lane_t *lane_out = &ldcp->lane_out;
4584 if (lane_out->dring_mode == VIO_RX_DRING_DATA) {
4683 lp = &ldcp->lane_out;
4706 lane_t *lp = &ldcp->lane_out;
4866 display_lane(&ldcp->lane_out);