Lines Matching defs:cfg
40 #define DPDMAI_CMD_CREATE(cmd, cfg) \
42 MC_CMD_OP(cmd, 0, 8, 8, u8, (cfg)->priorities[0]);\
43 MC_CMD_OP(cmd, 0, 16, 8, u8, (cfg)->priorities[1]);\
122 * @cfg: Configuration structure
141 const struct dpdmai_cfg *cfg, u16 *token)
149 DPDMAI_CMD_CREATE(cmd, cfg);
289 * @cfg: Rx queue configuration
294 u8 priority, const struct dpdmai_rx_queue_cfg *cfg)
304 cmd_params->dest_id = cpu_to_le32(cfg->dest_cfg.dest_id);
305 cmd_params->priority = cfg->dest_cfg.priority;
307 cmd_params->dest_type = cfg->dest_cfg.dest_type;
308 cmd_params->user_ctx = cpu_to_le64(cfg->user_ctx);
309 cmd_params->options = cpu_to_le32(cfg->options);