Lines Matching defs:chip
33 int snd_vx_setup_firmware(struct vx_core *chip)
58 if (! fw_files[chip->type][i])
60 sprintf(path, "vx/%s", fw_files[chip->type][i]);
61 if (request_firmware(&fw, path, chip->dev)) {
65 err = chip->ops->load_dsp(chip, i, fw);
71 chip->chip_status |= VX_STAT_XILINX_LOADED;
73 chip->firmware[i] = fw;
81 err = snd_vx_pcm_new(chip);
85 err = snd_vx_mixer_new(chip);
89 if (chip->ops->add_controls) {
90 err = chip->ops->add_controls(chip);
95 chip->chip_status |= VX_STAT_DEVICE_INIT;
96 chip->chip_status |= VX_STAT_CHIP_INIT;
98 return snd_card_register(chip->card);
102 void snd_vx_free_firmware(struct vx_core *chip)
107 release_firmware(chip->firmware[i]);