Lines Matching refs:free_txpg
550 u32 free_txpg; in rtw_sdio_check_free_txpg() local
552 free_txpg = rtw_sdio_read32(rtwdev, REG_SDIO_FREE_TXPG); in rtw_sdio_check_free_txpg()
560 pages_free = free_txpg & 0xff; in rtw_sdio_check_free_txpg()
565 pages_free = (free_txpg >> 8) & 0xff; in rtw_sdio_check_free_txpg()
570 pages_free = (free_txpg >> 16) & 0xff; in rtw_sdio_check_free_txpg()
578 pages_free += (free_txpg >> 24) & 0xff; in rtw_sdio_check_free_txpg()
580 u32 free_txpg[3]; in rtw_sdio_check_free_txpg() local
582 free_txpg[0] = rtw_sdio_read32(rtwdev, REG_SDIO_FREE_TXPG); in rtw_sdio_check_free_txpg()
583 free_txpg[1] = rtw_sdio_read32(rtwdev, REG_SDIO_FREE_TXPG + 4); in rtw_sdio_check_free_txpg()
584 free_txpg[2] = rtw_sdio_read32(rtwdev, REG_SDIO_FREE_TXPG + 8); in rtw_sdio_check_free_txpg()
591 pages_free = free_txpg[0] & 0xfff; in rtw_sdio_check_free_txpg()
596 pages_free = (free_txpg[0] >> 16) & 0xfff; in rtw_sdio_check_free_txpg()
601 pages_free = free_txpg[1] & 0xfff; in rtw_sdio_check_free_txpg()
605 pages_free = free_txpg[2] & 0xfff; in rtw_sdio_check_free_txpg()
613 pages_free += (free_txpg[1] >> 16) & 0xfff; in rtw_sdio_check_free_txpg()