Lines Matching full:dsp

38 /* Some vector commands involve the DSP reading or writing data to and from the
39 comm page; if you send one of these commands to the DSP, it will complete the
46 /* Wait up to 20ms for the handshake from the DSP */ in wait_handshake()
56 dev_err(chip->card->dev, "wait_handshake(): Timeout waiting for DSP\n"); in wait_handshake()
62 /* Much of the interaction between the DSP and the driver is done via vector
63 commands; send_vector writes a vector command to the DSP. Typically, this
64 causes the DSP to read or write fields in the comm page.
89 /* write_dsp writes a 32-bit value to the DSP; this is used almost
90 exclusively for loading the DSP. */
106 chip->bad_board = true; /* Set true until DSP re-loaded */ in write_dsp()
113 /* read_dsp reads a 32-bit value from the DSP; this is used almost
114 exclusively for loading the DSP and checking the status of the ASIC. */
129 chip->bad_board = true; /* Set true until DSP re-loaded */ in read_dsp()
140 /* This function is used to read back the serial number from the DSP;
144 part of the DSP load process. */
179 /* Load ASIC code - done after the DSP is loaded */
225 the EPROM on the board for 56301 DSP. The resident loader is a tiny little
226 program that is used to load the real DSP code. */
256 /* The DSP code is an array of 16 bit words. The array is divided up in install_resident_loader()
259 Since DSP addresses and data are 24 bits wide, they each take up two in install_resident_loader()
264 /* Set DSP format bits for 24 bit mode */ in install_resident_loader()
275 /* Skip the section size, LRS block type, and DSP memory type */ in install_resident_loader()
278 /* Get the number of DSP words to write */ in install_resident_loader()
281 /* Get the DSP address for this block; 24 bits, so build from two words */ in install_resident_loader()
285 /* Write the count to the DSP */ in install_resident_loader()
291 /* Write the DSP address */ in install_resident_loader()
294 "install_resident_loader: Failed to write DSP address!\n"); in install_resident_loader()
297 /* Write out this block of code to the DSP */ in install_resident_loader()
304 "install_resident_loader: Failed to write DSP code\n"); in install_resident_loader()
341 dev_warn(chip->card->dev, "DSP is already loaded!\n"); in load_dsp()
344 chip->bad_board = true; /* Set true until DSP loaded */ in load_dsp()
345 chip->dsp_code = NULL; /* Current DSP code not loaded */ in load_dsp()
346 chip->asic_loaded = false; /* Loading the DSP code will reset the ASIC */ in load_dsp()
380 /* Set DSP format bits for 24 bit mode now that soft reset is done */ in load_dsp()
414 "load_dsp: failed to write number of DSP words\n"); in load_dsp()
419 "load_dsp: failed to write DSP address\n"); in load_dsp()
424 "load_dsp: failed to write DSP memory type\n"); in load_dsp()
432 "load_dsp: failed to write DSP data\n"); in load_dsp()
446 /* Wait for flag 4 - indicates that the DSP loaded OK */ in load_dsp()
467 get it as part of the DSP init voodoo. */ in load_dsp()
474 chip->dsp_code = code; /* Show which DSP code loaded */ in load_dsp()
475 chip->bad_board = false; /* DSP OK */ in load_dsp()
482 "load_dsp: DSP load timed out waiting for HF4\n"); in load_dsp()
488 /* load_firmware takes care of loading the DSP and any ASIC code. */
497 /* See if the ASIC is present and working - only if the DSP is already loaded */ in load_firmware()
502 /* ASIC check failed; force the DSP to reload */ in load_firmware()
590 /* Tell the DSP to read and update output, nominal & monitor levels in comm page. */
601 /* Tell the DSP to read and update input levels in comm page */
612 /* set_meters_on turns the meters on or off. If meters are turned on, the DSP
632 Meters are written in the comm page by the DSP in this order:
944 /* Stops everything and turns off the DSP. All pipes should be already
962 /* Put the DSP to sleep */ in rest_in_peace()
982 chip->bad_board = true; /* Set true until DSP loaded */ in init_dsp_comm_page()
983 chip->dsp_code = NULL; /* Current DSP code not loaded */ in init_dsp_comm_page()
1005 * muted and internal clock source. Then it copies the settings to the DSP.
1006 * This MUST be called after the DSP is up and running !
1029 /* Read the DSP status register and see if this DSP generated this interrupt */ in service_irq()
1082 /* The counter register is where the DSP writes the 32 bit DMA in allocate_pipes()
1083 position for a pipe. The DSP is constantly updating this value as in allocate_pipes()