Searched refs:sample_len (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | common-spectral.c | 413 ath_cmn_copy_fft_frame(u8 *in, u8 *out, int sample_len, int sample_bytes) in ath_cmn_copy_fft_frame() argument 415 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame() 419 sample_len - 1); in ath_cmn_copy_fft_frame() 423 memcpy(out, in, sample_len); in ath_cmn_copy_fft_frame() 432 sample_len - 32); in ath_cmn_copy_fft_frame() 441 sample_len - 31); in ath_cmn_copy_fft_frame() 484 u16 fft_len, sample_len, freq = ah->curchan->chan->center_freq; in ath_cmn_process_fft() local 522 sample_len = SPECTRAL_HT20_40_SAMPLE_LEN; in ath_cmn_process_fft() 528 sample_len = SPECTRAL_HT20_SAMPLE_LEN; in ath_cmn_process_fft() 561 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft() [all …]
|
| /linux/kernel/bpf/ |
| H A D | ringbuf.c | 750 u32 hdr_len, sample_len, total_len, flags, *hdr; in __bpf_user_ringbuf_peek() local 767 sample_len = hdr_len & ~flags; in __bpf_user_ringbuf_peek() 768 total_len = round_up(sample_len + BPF_RINGBUF_HDR_SZ, 8); in __bpf_user_ringbuf_peek() 779 err = bpf_dynptr_check_size(sample_len); in __bpf_user_ringbuf_peek() 798 *size = sample_len; in __bpf_user_ringbuf_peek()
|