Searched refs:sample_buf (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/audio/ |
H A D | pcspk.c | 50 uint8_t sample_buf[PCSPK_BUF_LEN]; member 76 s->sample_buf[i] = (64 & (n * i >> 25)) - 32; in generate_samples() 80 s->sample_buf[i] = 128; /* silence */ in generate_samples() 109 n = AUD_write(s->voice, &s->sample_buf[s->play_pos], n); in pcspk_callback()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.c | 128 u8 *sample_buf, u64 tsf, u16 freq, int chan_type); 133 u8 *sample_buf, in ath_cmn_process_ht20_fft() argument 154 mag_info = (struct ath_ht20_mag_info *) (sample_buf + in ath_cmn_process_ht20_fft() 171 memcpy(fft_sample_20.data, sample_buf, SPECTRAL_HT20_NUM_BINS); in ath_cmn_process_ht20_fft() 237 u8 *sample_buf, in ath_cmn_process_ht20_40_fft() argument 284 mag_info = (struct ath_ht20_40_mag_info *) (sample_buf + in ath_cmn_process_ht20_40_fft() 310 memcpy(fft_sample_40.data, sample_buf, SPECTRAL_HT20_40_NUM_BINS); in ath_cmn_process_ht20_40_fft() 471 u8 sample_buf[SPECTRAL_SAMPLE_MAX_LEN] = {0}; in ath_cmn_process_fft() local 620 sample_buf, sample_len, in ath_cmn_process_fft() 623 ret = fft_handler(rs, spec_priv, sample_buf, in ath_cmn_process_fft() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | fsl-imx25-tcq.c | 237 u32 *sample_buf, in mx25_tcq_create_event_for_4wire() argument 247 unsigned int index = MX25_ADCQ_FIFO_ID(sample_buf[i]); in mx25_tcq_create_event_for_4wire() 248 unsigned int val = MX25_ADCQ_FIFO_DATA(sample_buf[i]); in mx25_tcq_create_event_for_4wire() 311 u32 sample_buf[TSC_MAX_SAMPLES]; in mx25_tcq_irq_thread() local 329 regmap_read(priv->regs, MX25_ADCQ_FIFO, &sample_buf[i]); in mx25_tcq_irq_thread() 331 mx25_tcq_create_event_for_4wire(priv, sample_buf, samples); in mx25_tcq_irq_thread()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | adxl367.c | 181 __be16 sample_buf; member 766 ret = regmap_bulk_read(st->regmap, chan->address, &st->sample_buf, in adxl367_read_sample() 767 sizeof(st->sample_buf)); in adxl367_read_sample() 771 sample = FIELD_GET(ADXL367_DATA_MASK, be16_to_cpu(st->sample_buf)); in adxl367_read_sample()
|