• Home
  • Raw
  • Download

Lines Matching refs:ccdf

230 qdma_ccdf_addr_get64(const struct fsl_qdma_format *ccdf)  in qdma_ccdf_addr_get64()  argument
232 return le64_to_cpu(ccdf->data) & (U64_MAX >> 24); in qdma_ccdf_addr_get64()
236 qdma_desc_addr_set64(struct fsl_qdma_format *ccdf, u64 addr) in qdma_desc_addr_set64() argument
238 ccdf->addr_hi = upper_32_bits(addr); in qdma_desc_addr_set64()
239 ccdf->addr_lo = cpu_to_le32(lower_32_bits(addr)); in qdma_desc_addr_set64()
243 qdma_ccdf_get_queue(const struct fsl_qdma_format *ccdf) in qdma_ccdf_get_queue() argument
245 return ccdf->cfg8b_w1 & U8_MAX; in qdma_ccdf_get_queue()
249 qdma_ccdf_get_offset(const struct fsl_qdma_format *ccdf) in qdma_ccdf_get_offset() argument
251 return (le32_to_cpu(ccdf->cfg) & QDMA_CCDF_MASK) >> QDMA_CCDF_OFFSET; in qdma_ccdf_get_offset()
255 qdma_ccdf_set_format(struct fsl_qdma_format *ccdf, int offset) in qdma_ccdf_set_format() argument
257 ccdf->cfg = cpu_to_le32(QDMA_CCDF_FORMAT | in qdma_ccdf_set_format()
262 qdma_ccdf_get_status(const struct fsl_qdma_format *ccdf) in qdma_ccdf_get_status() argument
264 return (le32_to_cpu(ccdf->status) & QDMA_CCDF_STATUS_MASK); in qdma_ccdf_get_status()
268 qdma_ccdf_set_ser(struct fsl_qdma_format *ccdf, int status) in qdma_ccdf_set_ser() argument
270 ccdf->status = cpu_to_le32(QDMA_CCDF_SER | status); in qdma_ccdf_set_ser()
359 struct fsl_qdma_format *ccdf, *csgf_desc, *csgf_src, *csgf_dest; in fsl_qdma_comp_fill_memcpy() local
361 ccdf = fsl_comp->virt_addr; in fsl_qdma_comp_fill_memcpy()
371 qdma_desc_addr_set64(ccdf, fsl_comp->bus_addr + 16); in fsl_qdma_comp_fill_memcpy()
372 qdma_ccdf_set_format(ccdf, qdma_ccdf_get_offset(ccdf)); in fsl_qdma_comp_fill_memcpy()
373 qdma_ccdf_set_ser(ccdf, qdma_ccdf_get_status(ccdf)); in fsl_qdma_comp_fill_memcpy()