Home | History | Annotate | Download | only in sys

Lines Matching refs:dstatus

212 /* Provide dstatus bits of spi-transaction for dhd layers. */
615 uint32 dstatus;
640 bcmspi_cmd_getdstatus(sd, &dstatus);
641 if (dstatus)
642 sd_trace(("dstatus =0x%x\n", dstatus));
757 /* +4 for cmd, +4 for dstatus */
762 /* Last 4bytes are dstatus. Device is configured to return status bits. */
769 sd_err(("%s: Host is %d bit machine, could not read SPI dstatus.\n",
775 sd_trace(("dstatus after byte rewrite = 0x%x\n", sd->card_dstatus));
826 /* +4 for cmd, +4 for dstatus */
829 /* Last 4bytes are dstatus. Device is configured to return status bits. */
836 sd_err(("%s: Host is %d bit machine, could not read SPI dstatus.\n",
842 sd_trace(("dstatus after resync pattern write = 0x%x\n", sd->card_dstatus));
852 uint32 dstatus = sd->card_dstatus;
856 sd_trace(("cmd = 0x%x, dstatus = 0x%x\n", cmd_arg, dstatus));
858 /* Store dstatus of last few gSPI transactions */
859 spierrstats->dstatus[dstatus_count % NUM_PREV_TRANSACTIONS] = dstatus;
866 if (dstatus & STATUS_DATA_NOT_AVAILABLE) {
874 if (dstatus & STATUS_UNDERFLOW) {
879 if (dstatus & STATUS_OVERFLOW) {
891 if (dstatus & STATUS_F2_INTR) {
896 if (dstatus & STATUS_F3_INTR) {
901 if (dstatus & STATUS_HOST_CMD_DATA_ERR) {
906 if (dstatus & STATUS_F2_PKT_AVAILABLE) {
910 ((dstatus & STATUS_F2_PKT_LEN_MASK) >> (STATUS_F2_PKT_LEN_SHIFT - 2)) :
911 ((dstatus & STATUS_F2_PKT_LEN_MASK) >> STATUS_F2_PKT_LEN_SHIFT)));
914 if (dstatus & STATUS_F3_PKT_AVAILABLE) {
918 (dstatus & STATUS_F3_PKT_LEN_MASK) >> STATUS_F3_PKT_LEN_SHIFT));
1031 sd_trace(("%s: Enabling interrupt with dstatus \n", __FUNCTION__));
1317 uint32 cmd_arg, dstatus;
1322 sd_trace(("Reg access on F2 will generate error indication in dstatus bits.\n"));
1339 bcmspi_cmd_getdstatus(sd, &dstatus);
1340 if (dstatus)
1341 sd_trace(("dstatus =0x%x\n", dstatus));
1352 uint32 dstatus;
1357 sd_trace(("Reg access on F2 will generate error indication in dstatus bits.\n"));
1375 bcmspi_cmd_getdstatus(sd, &dstatus);
1376 sd_trace(("dstatus =0x%x\n", dstatus));
1385 uint32 cmd_arg, dstatus;
1406 bcmspi_cmd_getdstatus(sd, &dstatus);
1407 if (dstatus)
1408 sd_trace(("dstatus =0x%x\n", dstatus));
1419 uint32 dstatus;
1438 bcmspi_cmd_getdstatus(sd, &dstatus);
1439 if (dstatus)
1440 sd_trace(("dstatus =0x%x\n", dstatus));
1552 /* +4 for cmd and +4 for dstatus */
1595 /* Last 4bytes are dstatus. Device is configured to return status bits. */
1602 sd_err(("Host is %d bit machine, could not read SPI dstatus.\n",
1643 uint32 dstatus;
1645 bcmspi_cmd_getdstatus(sd, &dstatus);
1646 if ((dstatus & STATUS_F2_RX_READY) == 0) {
1652 &dstatus);
1653 if (dstatus & STATUS_F2_RX_READY)