Searched refs:total_page (Results 1 – 2 of 2) sorted by relevance
1517 u8 total_page = 0; in rtw_build_rsvd_page() local1547 rsvd_pkt->page = total_page; in rtw_build_rsvd_page()1557 if (total_page == 0) { in rtw_build_rsvd_page()1563 total_page += rtw_len_to_page(iter->len + tx_desc_sz, in rtw_build_rsvd_page()1566 total_page += rtw_len_to_page(iter->len, page_size); in rtw_build_rsvd_page()1570 if (total_page > rtwdev->fifo.rsvd_drv_pg_num) { in rtw_build_rsvd_page()1571 rtw_err(rtwdev, "rsvd page over size: %d\n", total_page); in rtw_build_rsvd_page()1575 *size = (total_page - 1) * page_size + page_margin; in rtw_build_rsvd_page()
884 u32 total_page; in download_firmware_legacy() local890 total_page = size >> DLFW_PAGE_SIZE_SHIFT_LEGACY; in download_firmware_legacy()895 for (page = 0; page < total_page; page++) { in download_firmware_legacy()