Lines Matching refs:status
62 int status; /* status of transmission */
378 static bool nwl_dsi_read_packet(struct nwl_dsi *dsi, u32 status)
389 xfer->status = 0;
392 if (!(status & NWL_DSI_RX_PKT_HDR_RCVD))
398 xfer->status = err;
407 xfer->status = -EINVAL;
427 xfer->status = xfer->rx_len;
433 xfer->status = -EPROTO;
441 xfer->status = -EINVAL;
452 if (!(status & NWL_DSI_RX_PKT_PAYLOAD_DATA_RCVD))
485 xfer->status = xfer->rx_len;
488 xfer->status = err;
493 static void nwl_dsi_finish_transmission(struct nwl_dsi *dsi, u32 status)
502 status & NWL_DSI_TX_PKT_DONE) {
503 xfer->status = xfer->tx_len;
505 } else if (status & NWL_DSI_DPHY_DIRECTION &&
506 ((status & (NWL_DSI_RX_PKT_HDR_RCVD |
508 end_packet = nwl_dsi_read_packet(dsi, status);
605 xfer.status = -ETIMEDOUT;
631 ret = xfer.status;