Lines Matching refs:data
72 /* request_firmware() allocate data using vmalloc(). It is not compatible with underlying hardware
103 const char *data;
121 data = (*fw)->data;
122 if (memcmp(data, "KEYSET", 6) != 0) {
128 keyset_file = (hex_to_bin(data[6]) * 16) | hex_to_bin(data[7]);
171 static int upload_firmware(struct wfx_dev *wdev, const u8 *data, size_t len)
198 data + offs, DNLD_BLOCK_SIZE);
261 wfx_sram_write_dma_safe(wdev, WFX_DCA_FW_SIGNATURE, fw->data + fw_offset,
263 wfx_sram_write_dma_safe(wdev, WFX_DCA_FW_HASH, fw->data + fw_offset + FW_SIGNATURE_SIZE,
272 ret = upload_firmware(wdev, fw->data + header_size, fw->size - header_size);