Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c412 ath_cmn_copy_fft_frame(u8 *in, u8 *out, int sample_len, int sample_bytes) in ath_cmn_copy_fft_frame() argument
414 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame()
418 sample_len - 1); in ath_cmn_copy_fft_frame()
422 memcpy(out, in, sample_len); in ath_cmn_copy_fft_frame()
431 sample_len - 32); in ath_cmn_copy_fft_frame()
440 sample_len - 31); in ath_cmn_copy_fft_frame()
483 u16 fft_len, sample_len, freq = ah->curchan->chan->center_freq; in ath_cmn_process_fft() local
521 sample_len = SPECTRAL_HT20_40_SAMPLE_LEN; in ath_cmn_process_fft()
527 sample_len = SPECTRAL_HT20_SAMPLE_LEN; in ath_cmn_process_fft()
560 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
[all …]
/linux-6.1.9/kernel/bpf/
Dringbuf.c646 u32 hdr_len, sample_len, total_len, flags, *hdr; in __bpf_user_ringbuf_peek() local
663 sample_len = hdr_len & ~flags; in __bpf_user_ringbuf_peek()
664 total_len = round_up(sample_len + BPF_RINGBUF_HDR_SZ, 8); in __bpf_user_ringbuf_peek()
675 err = bpf_dynptr_check_size(sample_len); in __bpf_user_ringbuf_peek()
694 *size = sample_len; in __bpf_user_ringbuf_peek()