Lines Matching refs:cmd
26 u32 cmd; member
81 static const struct cx18_api_info *find_api_info(u32 cmd) in find_api_info() argument
85 for (i = 0; api_info[i].cmd; i++) in find_api_info()
86 if (api_info[i].cmd == cmd) in find_api_info()
113 name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb()
340 switch (order->mb.cmd) { in epu_cmd()
349 order->mb.cmd); in epu_cmd()
356 order->mb.cmd); in epu_cmd()
399 order->rpu, order->mb.cmd); in mb_ack_irq()
473 switch (order->mb.cmd) { in epu_cmd_irq()
482 order->mb.cmd); in epu_cmd_irq()
489 order->mb.cmd); in epu_cmd_irq()
552 (&order_mb->cmd)[i] = cx18_readl(cx, &mb->cmd + i); in cx18_api_epu_cmd_irq()
581 static int cx18_api_call(struct cx18 *cx, u32 cmd, int args, u32 data[]) in cx18_api_call() argument
583 const struct cx18_api_info *info = find_api_info(cmd); in cx18_api_call()
594 CX18_WARN("unknown cmd %x\n", cmd); in cx18_api_call()
599 if (cmd == CX18_CPU_DE_SET_MDL) { in cx18_api_call()
602 info->name, cmd, in cx18_api_call()
606 info->name, cmd, in cx18_api_call()
656 cx18_writel(cx, cmd, &mb->cmd); in cx18_api_call()
729 int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]) in cx18_api() argument
731 return cx18_api_call(cx, cmd, args, data); in cx18_api()
751 int cx18_api_func(void *priv, u32 cmd, int in, int out, in cx18_api_func() argument
757 switch (cmd) { in cx18_api_func()
810 CX18_WARN("Unknown cmd %x\n", cmd); in cx18_api_func()
815 u32 cmd, int args, ...) in cx18_vapi_result() argument
824 return cx18_api(cx, cmd, args, data); in cx18_vapi_result()
827 int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...) in cx18_vapi() argument
834 CX18_ERR("cx == NULL (cmd=%x)\n", cmd); in cx18_vapi()
838 CX18_ERR("args too big (cmd=%x)\n", cmd); in cx18_vapi()
845 return cx18_api(cx, cmd, args, data); in cx18_vapi()