• Home
  • Raw
  • Download

Lines Matching refs:options

104 static inline void init_desc(u32 * const desc, u32 options)  in init_desc()  argument
106 *desc = cpu_to_caam32((options | HDR_ONE) + 1); in init_desc()
109 static inline void init_sh_desc(u32 * const desc, u32 options) in init_sh_desc() argument
112 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc()
115 static inline void init_sh_desc_pdb(u32 * const desc, u32 options, in init_sh_desc_pdb() argument
121 options); in init_sh_desc_pdb()
124 static inline void init_job_desc(u32 * const desc, u32 options) in init_job_desc() argument
126 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
129 static inline void init_job_desc_pdb(u32 * const desc, u32 options, in init_job_desc_pdb() argument
134 init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options); in init_job_desc_pdb()
154 int len, u32 options) in init_job_desc_shared() argument
157 init_job_desc(desc, HDR_SHARED | options | in init_job_desc_shared()
233 static inline u32 *append_##cmd(u32 * const desc, u32 options) \
237 append_cmd(desc, CMD_##op | options); \
260 static inline void append_##cmd(u32 * const desc, u32 options) \
263 append_cmd(desc, CMD_##op | options); \
269 u32 options) \ in APPEND_CMD()
272 append_cmd(desc, CMD_##op | len | options); \ in APPEND_CMD()
282 unsigned int len, u32 options) \
285 append_cmd_ptr(desc, ptr, len, CMD_##op | options); \
293 unsigned int len, u32 options)
297 cmd_src = options & LDST_SRCDST_MASK;
299 append_cmd(desc, CMD_STORE | options | len);
313 u32 options) \
316 if (options & (SQIN_RTO | SQIN_PRE)) \
317 append_cmd(desc, CMD_SEQ_##op##_PTR | len | options); \
319 append_cmd_ptr(desc, ptr, len, CMD_SEQ_##op##_PTR | options); \
326 unsigned int len, u32 options) \
329 append_cmd_data(desc, data, len, CMD_##op | options); \
336 unsigned int len, u32 options) \
339 append_cmd_ptr_extlen(desc, ptr, len, CMD_##op | SQIN_EXT | options); \
350 type len, u32 options) \
354 append_##cmd##_extlen(desc, ptr, len, options); \
356 append_##cmd##_intlen(desc, ptr, len, options); \
368 unsigned int len, u32 options) \
371 append_cmd(desc, CMD_##op | IMMEDIATE | len | options); \
378 u32 options) \
381 if (options & LDST_LEN_MASK) \
382 append_cmd(desc, CMD_##op | IMMEDIATE | options); \
384 append_cmd(desc, CMD_##op | IMMEDIATE | options | \
397 u32 options) \
401 append_cmd(desc, CMD_##op | IMMEDIATE | options | sizeof(data)); \