Home
last modified time | relevance | path

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

/drivers/uwb/i1480/dfu/
Dmac.c63 const char *_data, const u32 *data_itr, const u32 *data_top) in fw_hdr_load() argument
65 size_t hdr_offset = (const char *) data_itr - _data; in fw_hdr_load()
66 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()
71 (const char *) data_itr + 2 - _data, in fw_hdr_load()
76 hdr->address = le32_to_cpu(*data_itr++); in fw_hdr_load()
77 hdr->length = le32_to_cpu(*data_itr++); in fw_hdr_load()
78 hdr->bin = data_itr; in fw_hdr_load()
113 u32 *data = (u32 *) _data, *data_itr, *data_top; in fw_hdrs_load() local
123 data_itr = data; in fw_hdrs_load()
[all …]
Dphy.c166 const char *data_itr, *data_top; in i1480_phy_fw_upload() local
175 for (data_itr = fw->data, data_top = data_itr + fw->size; in i1480_phy_fw_upload()
176 data_itr < data_top; data_itr += MAX_BLK_SIZE) { in i1480_phy_fw_upload()
177 data_size = min(MAX_BLK_SIZE, (size_t) (data_top - data_itr)); in i1480_phy_fw_upload()
178 result = i1480_mpi_write(i1480, data_itr, data_size); in i1480_phy_fw_upload()