Searched refs:total_page (Results 1 – 2 of 2) sorted by relevance
1251 u8 total_page = 0; in rtw_build_rsvd_page() local1281 rsvd_pkt->page = total_page; in rtw_build_rsvd_page()1291 if (total_page == 0) { in rtw_build_rsvd_page()1297 total_page += rtw_len_to_page(iter->len + tx_desc_sz, in rtw_build_rsvd_page()1300 total_page += rtw_len_to_page(iter->len, page_size); in rtw_build_rsvd_page()1304 if (total_page > rtwdev->fifo.rsvd_drv_pg_num) { in rtw_build_rsvd_page()1305 rtw_err(rtwdev, "rsvd page over size: %d\n", total_page); in rtw_build_rsvd_page()1309 *size = (total_page - 1) * page_size + page_margin; in rtw_build_rsvd_page()
813 u32 total_page; in download_firmware_legacy() local819 total_page = size >> DLFW_PAGE_SIZE_SHIFT_LEGACY; in download_firmware_legacy()824 for (page = 0; page < total_page; page++) { in download_firmware_legacy()