Searched refs:sample_buf (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.c | 140 u8 *sample_buf, u64 tsf, u16 freq, int chan_type); 145 u8 *sample_buf, ath_cmn_process_ht20_fft() 166 mag_info = (struct ath_ht20_mag_info *) (sample_buf + ath_cmn_process_ht20_fft() 184 memcpy(fft_sample_20.data, sample_buf, SPECTRAL_HT20_NUM_BINS); ath_cmn_process_ht20_fft() 249 u8 *sample_buf, ath_cmn_process_ht20_40_fft() 296 mag_info = (struct ath_ht20_40_mag_info *) (sample_buf + ath_cmn_process_ht20_40_fft() 324 memcpy(fft_sample_40.data, sample_buf, SPECTRAL_HT20_40_NUM_BINS); ath_cmn_process_ht20_40_fft() 499 u8 sample_buf[SPECTRAL_SAMPLE_MAX_LEN] = {0}; ath_cmn_process_fft() local 644 sample_buf, sample_len, ath_cmn_process_fft() 647 fft_handler(rs, spec_priv, sample_buf, ath_cmn_process_fft() 650 memset(sample_buf, 0, SPECTRAL_SAMPLE_MAX_LEN); ath_cmn_process_fft() 655 add_device_randomness(sample_buf, num_bins); ath_cmn_process_fft() 143 ath_cmn_process_ht20_fft(struct ath_rx_status *rs, struct ath_spec_scan_priv *spec_priv, u8 *sample_buf, u64 tsf, u16 freq, int chan_type) ath_cmn_process_ht20_fft() argument 247 ath_cmn_process_ht20_40_fft(struct ath_rx_status *rs, struct ath_spec_scan_priv *spec_priv, u8 *sample_buf, u64 tsf, u16 freq, int chan_type) ath_cmn_process_ht20_40_fft() argument
|
/linux-4.4.14/sound/oss/ |
H A D | swarm_cs4297a.c | 239 u16 *sample_buf; // tmp buffer for sample conversions member in struct:serdma_s 654 dma->sample_buf = kmalloc(dma->sbufsz, GFP_KERNEL); init_serdma() 655 if (!dma->sample_buf) { init_serdma() 656 printk(KERN_ERR "cs4297a: kmalloc sample_buf failed\n"); init_serdma() 661 dma->sb_swptr = dma->sb_hwptr = dma->sample_buf; init_serdma() 662 dma->sb_end = (u16 *)((void *)dma->sample_buf + dma->sbufsz); init_serdma() 666 printk(KERN_ERR "cs4297a: descrtab - %08x dma_buf - %x sample_buf - %x\n", init_serdma() 668 (int)dma->sample_buf)); init_serdma() 996 d->sb_hwptr = d->sample_buf; cs4297a_update_ptr() 1774 s->dma_adc.sb_swptr = s->dma_adc.sample_buf; cs4297a_read() 1846 if (copy_from_user(d->sample_buf, buffer, cnt)) cs4297a_write() 1850 s_tmpl = (u32 *)d->sample_buf; cs4297a_write() 2592 s->dma_adc.sb_swptr = s->dma_adc.sb_hwptr = s->dma_adc.sample_buf; cs4297a_interrupt()
|
Completed in 231 milliseconds