Searched refs:total_page (Results 1 – 2 of 2) sorted by relevance
1600 u8 total_page = 0; in rtw_build_rsvd_page() local1630 rsvd_pkt->page = total_page; in rtw_build_rsvd_page()1640 if (total_page == 0) { in rtw_build_rsvd_page()1646 total_page += rtw_len_to_page(iter->len + tx_desc_sz, in rtw_build_rsvd_page()1649 total_page += rtw_len_to_page(iter->len, page_size); in rtw_build_rsvd_page()1653 if (total_page > rtwdev->fifo.rsvd_drv_pg_num) { in rtw_build_rsvd_page()1654 rtw_err(rtwdev, "rsvd page over size: %d\n", total_page); in rtw_build_rsvd_page()1658 *size = (total_page - 1) * page_size + page_margin; in rtw_build_rsvd_page()
891 u32 total_page; in download_firmware_legacy() local897 total_page = size >> DLFW_PAGE_SIZE_SHIFT_LEGACY; in download_firmware_legacy()902 for (page = 0; page < total_page; page++) { in download_firmware_legacy()