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()
234 static inline u32 *append_##cmd(u32 * const desc, u32 options) \
238 append_cmd(desc, CMD_##op | options); \
261 static inline void append_##cmd(u32 * const desc, u32 options) \
264 append_cmd(desc, CMD_##op | options); \
270 u32 options) \ in APPEND_CMD()
273 append_cmd(desc, CMD_##op | len | options); \ in APPEND_CMD()
283 unsigned int len, u32 options) \
286 append_cmd_ptr(desc, ptr, len, CMD_##op | options); \
294 unsigned int len, u32 options)
298 cmd_src = options & LDST_SRCDST_MASK;
300 append_cmd(desc, CMD_STORE | options | len);
314 u32 options) \
317 if (options & (SQIN_RTO | SQIN_PRE)) \
318 append_cmd(desc, CMD_SEQ_##op##_PTR | len | options); \
320 append_cmd_ptr(desc, ptr, len, CMD_SEQ_##op##_PTR | options); \
327 unsigned int len, u32 options) \
330 append_cmd_data(desc, data, len, CMD_##op | options); \
337 unsigned int len, u32 options) \
340 append_cmd_ptr_extlen(desc, ptr, len, CMD_##op | SQIN_EXT | options); \
351 type len, u32 options) \
355 append_##cmd##_extlen(desc, ptr, len, options); \
357 append_##cmd##_intlen(desc, ptr, len, options); \
369 unsigned int len, u32 options) \
372 append_cmd(desc, CMD_##op | IMMEDIATE | len | options); \
379 u32 options) \
382 if (options & LDST_LEN_MASK) \
383 append_cmd(desc, CMD_##op | IMMEDIATE | options); \
385 append_cmd(desc, CMD_##op | IMMEDIATE | options | \
398 u32 options) \
402 append_cmd(desc, CMD_##op | IMMEDIATE | options | sizeof(data)); \