Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rk_pcba_test/mic_test_Linux/
H A Drecord_test.c533 short buf_shift[256]; // ��λ�Ժ������ in check_agreement() local
562 buf_shift[offset] = (input[j] >> 16) & 0xffff; in check_agreement()
566 if(xcorr(buf_shift, rec_400hz, 256, 20480) >= THRES_REC_FREQ) in check_agreement()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_device.h1117 static inline u32 to_hr_hem_entries_size(u32 count, u32 buf_shift) in to_hr_hem_entries_size() argument
1119 return hr_hw_page_align(count << buf_shift); in to_hr_hem_entries_size()
1122 static inline u32 to_hr_hem_entries_count(u32 count, u32 buf_shift) in to_hr_hem_entries_count() argument
1124 return hr_hw_page_align(count << buf_shift) >> buf_shift; in to_hr_hem_entries_count()
1127 static inline u32 to_hr_hem_entries_shift(u32 count, u32 buf_shift) in to_hr_hem_entries_shift() argument
1132 return ilog2(to_hr_hem_entries_count(count, buf_shift)); in to_hr_hem_entries_shift()