Lines Matching defs:boot
422 * snd_vx_load_boot_image - boot up the xilinx interface
424 * @boot: the boot record to load
426 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot)
431 /* check the length of boot image */
432 if (boot->size <= 0)
434 if (boot->size % 3)
439 unsigned int c = ((u32)boot->data[0] << 16) | ((u32)boot->data[1] << 8) | boot->data[2];
440 if (boot->size != (c + 2) * 3)
450 /* download boot strap */
452 if (i >= boot->size) {
456 snd_printk(KERN_ERR "dsp boot failed at %d\n", i);
463 const unsigned char *image = boot->data + i;
465 snd_printk(KERN_ERR "dsp boot failed at %d\n", i);
656 * snd_vx_dsp_boot - load the DSP boot
658 * @boot: firmware data
660 int snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot)
668 err = snd_vx_load_boot_image(chip, boot);