Lines Matching defs:boot
410 * snd_vx_load_boot_image - boot up the xilinx interface
412 * @boot: the boot record to load
414 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot)
419 /* check the length of boot image */
420 if (boot->size <= 0)
422 if (boot->size % 3)
427 unsigned int c = ((u32)boot->data[0] << 16) | ((u32)boot->data[1] << 8) | boot->data[2];
428 if (boot->size != (c + 2) * 3)
438 /* download boot strap */
440 if (i >= boot->size) {
444 dev_err(chip->card->dev, "dsp boot failed at %d\n", i);
451 const unsigned char *image = boot->data + i;
453 dev_err(chip->card->dev, "dsp boot failed at %d\n", i);
637 * snd_vx_dsp_boot - load the DSP boot
639 * @boot: firmware data
641 int snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot)
649 err = snd_vx_load_boot_image(chip, boot);