Searched refs:data_top (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()
66 size_t remaining_size = (void *) data_top - (void *) data_itr; fw_hdr_load()
67 if (data_itr + 2 > data_top) { fw_hdr_load()
72 (const char *) data_top - _data); fw_hdr_load()
113 u32 *data = (u32 *) _data, *data_itr, *data_top; fw_hdrs_load() local
124 data_top = (u32 *) (_data + data_size); fw_hdrs_load()
125 while (data_itr < data_top) { fw_hdrs_load()
134 _data, data_itr, data_top); 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()

Completed in 60 milliseconds