Lines Matching refs:dstatus
5905 uint32 dstatus = 0; /* gSPI device-status bits */ in dhd_bus_init() local
5943 dstatus = bcmsdh_cfg_read_word(bus->sdh, SDIO_FUNC_0, SPID_STATUS_REG, NULL); in dhd_bus_init()
5944 if (dstatus & STATUS_F2_RX_READY) in dhd_bus_init()
5952 DHD_ERROR(("dstatus when timed out on f2-fifo not ready = 0x%x\n", dstatus)); in dhd_bus_init()
6779 uint32 dstatus = 0; /* gSPI device status bits of */ in dhdsdio_readframes() local
6819 dstatus = bcmsdh_get_dstatus(bus->sdh); in dhdsdio_readframes()
6820 if (dstatus == 0) in dhdsdio_readframes()
6824 DHD_TRACE(("Device status from regread = 0x%x\n", dstatus)); in dhdsdio_readframes()
6829 if ((dstatus & STATUS_F2_PKT_AVAILABLE) && (((dstatus & STATUS_UNDERFLOW)) == 0)) { in dhdsdio_readframes()
6830 bus->nextlen = ((dstatus & STATUS_F2_PKT_LEN_MASK) >> in dhdsdio_readframes()
6839 if (dstatus & STATUS_F2_PKT_AVAILABLE) in dhdsdio_readframes()
7109 dstatus = bcmsdh_get_dstatus((void *)bus->sdh); in dhdsdio_readframes()
7112 if (dstatus & STATUS_F2_PKT_AVAILABLE) { in dhdsdio_readframes()
7113 bus->nextlen = ((dstatus & STATUS_F2_PKT_LEN_MASK) >> in dhdsdio_readframes()
7170 if ((bus->bus == SPI_BUS) && !(dstatus & STATUS_F2_RX_READY)) { in dhdsdio_readframes()