Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/dma/
Ddmatest.c320 static inline u8 gen_inv_idx(u8 index, bool is_memset) in gen_inv_idx() argument
322 u8 val = is_memset ? PATTERN_MEMSET_IDX : index; in gen_inv_idx()
327 static inline u8 gen_src_value(u8 index, bool is_memset) in gen_src_value() argument
329 return PATTERN_SRC | gen_inv_idx(index, is_memset); in gen_src_value()
332 static inline u8 gen_dst_value(u8 index, bool is_memset) in gen_dst_value() argument
334 return PATTERN_DST | gen_inv_idx(index, is_memset); in gen_dst_value()
338 unsigned int buf_size, bool is_memset) in dmatest_init_srcs() argument
345 buf[i] = gen_src_value(i, is_memset); in dmatest_init_srcs()
347 buf[i] = gen_src_value(i, is_memset) | PATTERN_COPY; in dmatest_init_srcs()
349 buf[i] = gen_src_value(i, is_memset); in dmatest_init_srcs()
[all …]