Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/video/fbdev/
Dmetronomefb.c179 int cksum_idx; in load_waveform() local
235 cksum_idx = sizeof(*wfm_hdr) + wfm_hdr->trc + 1; in load_waveform()
236 if (cksum_idx >= size) in load_waveform()
238 cksum = calc_cksum(sizeof(*wfm_hdr), cksum_idx, mem); in load_waveform()
239 if (cksum != mem[cksum_idx]) { in load_waveform()
241 " %x != %x\n", cksum, mem[cksum_idx]); in load_waveform()
247 cksum_idx = wmta + m*4 + 3; in load_waveform()
248 if (cksum_idx >= size) in load_waveform()
250 cksum = calc_cksum(cksum_idx - 3, cksum_idx, mem); in load_waveform()
251 if (cksum != mem[cksum_idx]) { in load_waveform()
[all …]