Searched refs:ish_fw (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/ |
D | loader.c | 171 const struct firmware *ish_fw, in prepare_dma_bufs() argument 180 for (i = 0; i < fragment_count && offset < ish_fw->size; i++) { in prepare_dma_bufs() 186 length = clamp(ish_fw->size - offset, 0, fragment_size); in prepare_dma_bufs() 189 memcpy(dma_bufs[i], ish_fw->data + offset, length); in prepare_dma_bufs() 339 const struct firmware *ish_fw; in ishtp_loader_work() local 346 rv = request_ish_firmware(&ish_fw, dev->devc); in ishtp_loader_work() 355 fragment->fragment.size = cpu_to_le32(ish_fw->size); in ishtp_loader_work() 357 fragment_size = PFN_ALIGN(DIV_ROUND_UP(ish_fw->size, FRAGMENT_MAX_NUM)); in ishtp_loader_work() 359 fragment_count = DIV_ROUND_UP(ish_fw->size, fragment_size); in ishtp_loader_work() 362 rv = prepare_dma_bufs(dev, ish_fw, fragment, dma_bufs, fragment_size, fragment_count); in ishtp_loader_work() [all …]
|