Lines Matching refs:status
57 int status; /* status of transmission */
365 static bool nwl_dsi_read_packet(struct nwl_dsi *dsi, u32 status)
376 xfer->status = 0;
379 if (!(status & NWL_DSI_RX_PKT_HDR_RCVD))
385 xfer->status = err;
394 xfer->status = -EINVAL;
414 xfer->status = xfer->rx_len;
420 xfer->status = -EPROTO;
428 xfer->status = -EINVAL;
439 if (!(status & NWL_DSI_RX_PKT_PAYLOAD_DATA_RCVD))
472 xfer->status = xfer->rx_len;
475 xfer->status = err;
480 static void nwl_dsi_finish_transmission(struct nwl_dsi *dsi, u32 status)
489 status & NWL_DSI_TX_PKT_DONE) {
490 xfer->status = xfer->tx_len;
492 } else if (status & NWL_DSI_DPHY_DIRECTION &&
493 ((status & (NWL_DSI_RX_PKT_HDR_RCVD |
495 end_packet = nwl_dsi_read_packet(dsi, status);
592 xfer.status = -ETIMEDOUT;
618 ret = xfer.status;
834 * DPMS is brought out of "Off" status.