Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/pci/cx18/
Dcx18-firmware.c133 struct cx18_apu_rom_seghdr seghdr; in load_apu_fw_direct() local
148 vers = fw->data + sizeof(seghdr); in load_apu_fw_direct()
152 while (offset + sizeof(seghdr) < fw->size) { in load_apu_fw_direct()
155 seghdr.sync1 = le32_to_cpu(shptr[0]); in load_apu_fw_direct()
156 seghdr.sync2 = le32_to_cpu(shptr[1]); in load_apu_fw_direct()
157 seghdr.addr = le32_to_cpu(shptr[2]); in load_apu_fw_direct()
158 seghdr.size = le32_to_cpu(shptr[3]); in load_apu_fw_direct()
160 offset += sizeof(seghdr); in load_apu_fw_direct()
161 if (seghdr.sync1 != APU_ROM_SYNC1 || in load_apu_fw_direct()
162 seghdr.sync2 != APU_ROM_SYNC2) { in load_apu_fw_direct()
[all …]