static int spectrum_cs_stop_firmware(struct orinoco_private *priv, int idle) { struct orinoco_pccard *card = priv->card; struct pcmcia_device *link = card->p_dev; return spectrum_reset(link, idle); }
static int spectrum_cs_hard_reset(struct orinoco_private *priv) { struct orinoco_pccard *card = priv->card; struct pcmcia_device *link = card->p_dev; /* Soft reset using COR and HCR */ spectrum_reset(link, 0); return 0; }
void audio_rx_analyze(void) { spectrum_reset(&audio_rx_sa); spectrum_run(&audio_rx_sa, 0); // spectrum_normalize(&audio_rx_sa); // spectrum_pwr_show(&audio_rx_sa); spectrum_mag_show(&audio_rx_sa); }