Searched refs:data_itr (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/uwb/i1480/dfu/
H A Dmac.c63 const char *_data, const u32 *data_itr, const u32 *data_top) fw_hdr_load()
65 size_t hdr_offset = (const char *) data_itr - _data; fw_hdr_load()
66 size_t remaining_size = (void *) data_top - (void *) data_itr; fw_hdr_load()
67 if (data_itr + 2 > data_top) { fw_hdr_load()
71 (const char *) data_itr + 2 - _data, fw_hdr_load()
76 hdr->address = le32_to_cpu(*data_itr++); fw_hdr_load()
77 hdr->length = le32_to_cpu(*data_itr++); fw_hdr_load()
78 hdr->bin = data_itr; fw_hdr_load()
113 u32 *data = (u32 *) _data, *data_itr, *data_top; fw_hdrs_load() local
123 data_itr = data; fw_hdrs_load()
125 while (data_itr < data_top) { fw_hdrs_load()
134 _data, data_itr, data_top); fw_hdrs_load()
137 data_itr += 2 + hdr->length; fw_hdrs_load()
62 fw_hdr_load(struct i1480 *i1480, struct fw_hdr *hdr, unsigned hdr_cnt, const char *_data, const u32 *data_itr, const u32 *data_top) fw_hdr_load() argument
H A Dphy.c166 const char *data_itr, *data_top; i1480_phy_fw_upload() local
175 for (data_itr = fw->data, data_top = data_itr + fw->size; i1480_phy_fw_upload()
176 data_itr < data_top; data_itr += MAX_BLK_SIZE) { i1480_phy_fw_upload()
177 data_size = min(MAX_BLK_SIZE, (size_t) (data_top - data_itr)); i1480_phy_fw_upload()
178 result = i1480_mpi_write(i1480, data_itr, data_size); i1480_phy_fw_upload()

Completed in 159 milliseconds