Lines Matching refs:options
86 static inline void init_desc(u32 *desc, u32 options) in init_desc() argument
88 *desc = (options | HDR_ONE) + 1; in init_desc()
91 static inline void init_job_desc(u32 *desc, u32 options) in init_job_desc() argument
93 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
96 static inline void init_job_desc_pdb(u32 *desc, u32 options, size_t pdb_bytes) in init_job_desc_pdb() argument
102 options); in init_job_desc_pdb()
187 static inline u32 *append_##cmd(u32 *desc, u32 options) \
191 append_cmd(desc, CMD_##op | options); \
210 static inline void append_##cmd(u32 *desc, u32 options) \
213 append_cmd(desc, CMD_##op | options); \
218 static inline void append_##cmd(u32 *desc, unsigned int len, u32 options) \ in APPEND_CMD()
221 append_cmd(desc, CMD_##op | len | options); \ in APPEND_CMD()
229 u32 options) \
232 append_cmd_ptr(desc, ptr, len, CMD_##op | options); \
240 u32 options)
244 cmd_src = options & LDST_SRCDST_MASK;
246 append_cmd(desc, CMD_STORE | options | len);
259 u32 options) \
262 if (options & (SQIN_RTO | SQIN_PRE)) \
263 append_cmd(desc, CMD_SEQ_##op##_PTR | len | options); \
265 append_cmd_ptr(desc, ptr, len, CMD_SEQ_##op##_PTR | options); \
272 unsigned int len, u32 options) \
275 append_cmd_data(desc, data, len, CMD_##op | options); \
282 unsigned int len, u32 options) \
285 append_cmd_ptr_extlen(desc, ptr, len, CMD_##op | SQIN_EXT | options); \
296 type len, u32 options) \
300 append_##cmd##_extlen(desc, ptr, len, options); \
302 append_##cmd##_intlen(desc, ptr, len, options); \
314 unsigned int len, u32 options) \
317 append_cmd(desc, CMD_##op | IMMEDIATE | len | options); \
324 u32 options) \
327 append_cmd(desc, CMD_##op | IMMEDIATE | options | sizeof(type)); \