Lines Matching refs:sec_idx
111 int sec_idx, idx, ret; in iwl_fill_paging_mem() local
125 for (sec_idx = 0; sec_idx < image->num_sec; sec_idx++) { in iwl_fill_paging_mem()
126 if (image->sec[sec_idx].offset == PAGING_SEPARATOR_SECTION) { in iwl_fill_paging_mem()
127 sec_idx++; in iwl_fill_paging_mem()
136 if (sec_idx >= image->num_sec - 1) { in iwl_fill_paging_mem()
144 sec_idx); in iwl_fill_paging_mem()
146 if (image->sec[sec_idx].len > fwrt->fw_paging_db[0].fw_paging_size) { in iwl_fill_paging_mem()
153 image->sec[sec_idx].data, in iwl_fill_paging_mem()
154 image->sec[sec_idx].len); in iwl_fill_paging_mem()
155 fwrt->fw_paging_db[0].fw_offs = image->sec[sec_idx].offset; in iwl_fill_paging_mem()
165 sec_idx++; in iwl_fill_paging_mem()
174 int remaining = image->sec[sec_idx].len - offset; in iwl_fill_paging_mem()
200 image->sec[sec_idx].data + offset, len); in iwl_fill_paging_mem()
201 block->fw_offs = image->sec[sec_idx].offset + offset; in iwl_fill_paging_mem()