Home
last modified time | relevance | path

Searched refs:sample_buf (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c140 u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
145 u8 *sample_buf, in ath_cmn_process_ht20_fft() argument
166 mag_info = (struct ath_ht20_mag_info *) (sample_buf + in ath_cmn_process_ht20_fft()
184 memcpy(fft_sample_20.data, sample_buf, SPECTRAL_HT20_NUM_BINS); in ath_cmn_process_ht20_fft()
249 u8 *sample_buf, in ath_cmn_process_ht20_40_fft() argument
296 mag_info = (struct ath_ht20_40_mag_info *) (sample_buf + in ath_cmn_process_ht20_40_fft()
324 memcpy(fft_sample_40.data, sample_buf, SPECTRAL_HT20_40_NUM_BINS); in ath_cmn_process_ht20_40_fft()
499 u8 sample_buf[SPECTRAL_SAMPLE_MAX_LEN] = {0}; in ath_cmn_process_fft() local
644 sample_buf, sample_len, in ath_cmn_process_fft()
647 fft_handler(rs, spec_priv, sample_buf, in ath_cmn_process_fft()
[all …]
/linux-4.4.14/sound/oss/
Dswarm_cs4297a.c239 u16 *sample_buf; // tmp buffer for sample conversions member
654 dma->sample_buf = kmalloc(dma->sbufsz, GFP_KERNEL); in init_serdma()
655 if (!dma->sample_buf) { in init_serdma()
661 dma->sb_swptr = dma->sb_hwptr = dma->sample_buf; in init_serdma()
662 dma->sb_end = (u16 *)((void *)dma->sample_buf + dma->sbufsz); in init_serdma()
668 (int)dma->sample_buf)); in init_serdma()
996 d->sb_hwptr = d->sample_buf; in cs4297a_update_ptr()
1774 s->dma_adc.sb_swptr = s->dma_adc.sample_buf; in cs4297a_read()
1846 if (copy_from_user(d->sample_buf, buffer, cnt)) in cs4297a_write()
1850 s_tmpl = (u32 *)d->sample_buf; in cs4297a_write()
[all …]