Searched refs:data_top (Results 1 – 2 of 2) sorted by relevance
63 const char *_data, const u32 *data_itr, const u32 *data_top) in fw_hdr_load() argument66 size_t remaining_size = (void *) data_top - (void *) data_itr; in fw_hdr_load()67 if (data_itr + 2 > data_top) { in fw_hdr_load()72 (const char *) data_top - _data); in fw_hdr_load()113 u32 *data = (u32 *) _data, *data_itr, *data_top; in fw_hdrs_load() local124 data_top = (u32 *) (_data + data_size); in fw_hdrs_load()125 while (data_itr < data_top) { in fw_hdrs_load()134 _data, data_itr, data_top); in fw_hdrs_load()
167 const char *data_itr, *data_top; in i1480_phy_fw_upload() local176 for (data_itr = fw->data, data_top = data_itr + fw->size; in i1480_phy_fw_upload()177 data_itr < data_top; data_itr += MAX_BLK_SIZE) { in i1480_phy_fw_upload()178 data_size = min(MAX_BLK_SIZE, (size_t) (data_top - data_itr)); in i1480_phy_fw_upload()