Searched refs:trailer_ptr (Results 1 – 1 of 1) sorted by relevance
263 const u8 *first_region_ptr, *region_ptr, *trailer_ptr, *ptr = fw->data; in mtk_wed_mcu_run_firmware() local267 trailer_ptr = fw->data + fw->size - sizeof(*trailer); in mtk_wed_mcu_run_firmware()268 trailer = (const struct mtk_wed_fw_trailer *)trailer_ptr; in mtk_wed_mcu_run_firmware()269 region_ptr = trailer_ptr - trailer->num_region * sizeof(*fw_region); in mtk_wed_mcu_run_firmware()272 while (region_ptr < trailer_ptr) { in mtk_wed_mcu_run_firmware()