Lines Matching refs:num

57 	int num;  in vpu_dbg_instance()  local
63 num = scnprintf(str, sizeof(str), "[%s]\n", vpu_core_type_desc(inst->type)); in vpu_dbg_instance()
64 if (seq_write(s, str, num)) in vpu_dbg_instance()
67 num = scnprintf(str, sizeof(str), "tgig = %d,pid = %d\n", inst->tgid, inst->pid); in vpu_dbg_instance()
68 if (seq_write(s, str, num)) in vpu_dbg_instance()
70 num = scnprintf(str, sizeof(str), "state = %d\n", inst->state); in vpu_dbg_instance()
71 if (seq_write(s, str, num)) in vpu_dbg_instance()
73 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
76 if (seq_write(s, str, num)) in vpu_dbg_instance()
80 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
91 if (seq_write(s, str, num)) in vpu_dbg_instance()
94 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
97 if (seq_write(s, str, num)) in vpu_dbg_instance()
104 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
115 if (seq_write(s, str, num)) in vpu_dbg_instance()
118 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
121 if (seq_write(s, str, num)) in vpu_dbg_instance()
126 num = scnprintf(str, sizeof(str), "crop: (%d, %d) %d x %d\n", in vpu_dbg_instance()
131 if (seq_write(s, str, num)) in vpu_dbg_instance()
141 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
145 if (seq_write(s, str, num)) in vpu_dbg_instance()
156 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
160 if (seq_write(s, str, num)) in vpu_dbg_instance()
164 num = scnprintf(str, sizeof(str), "sequence = %d\n", inst->sequence); in vpu_dbg_instance()
165 if (seq_write(s, str, num)) in vpu_dbg_instance()
169 num = scnprintf(str, sizeof(str), "stream_buffer = %d / %d, <%pad, 0x%x>\n", in vpu_dbg_instance()
174 if (seq_write(s, str, num)) in vpu_dbg_instance()
177 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&inst->msg_fifo)); in vpu_dbg_instance()
178 if (seq_write(s, str, num)) in vpu_dbg_instance()
181 num = scnprintf(str, sizeof(str), "flow :\n"); in vpu_dbg_instance()
182 if (seq_write(s, str, num)) in vpu_dbg_instance()
191 num = scnprintf(str, sizeof(str), "\t[%s]0x%x\n", in vpu_dbg_instance()
194 if (seq_write(s, str, num)) { in vpu_dbg_instance()
203 num = call_vop(inst, get_debug_info, str, sizeof(str), i++); in vpu_dbg_instance()
204 if (num <= 0) in vpu_dbg_instance()
206 if (seq_write(s, str, num)) in vpu_dbg_instance()
218 int num; in vpu_dbg_core() local
220 num = scnprintf(str, sizeof(str), "[%s]\n", vpu_core_type_desc(core->type)); in vpu_dbg_core()
221 if (seq_write(s, str, num)) in vpu_dbg_core()
224 num = scnprintf(str, sizeof(str), "boot_region = <%pad, 0x%x>\n", in vpu_dbg_core()
226 if (seq_write(s, str, num)) in vpu_dbg_core()
228 num = scnprintf(str, sizeof(str), "rpc_region = <%pad, 0x%x> used = 0x%x\n", in vpu_dbg_core()
230 if (seq_write(s, str, num)) in vpu_dbg_core()
232 num = scnprintf(str, sizeof(str), "fwlog_region = <%pad, 0x%x>\n", in vpu_dbg_core()
234 if (seq_write(s, str, num)) in vpu_dbg_core()
237 num = scnprintf(str, sizeof(str), "power %s\n", in vpu_dbg_core()
239 if (seq_write(s, str, num)) in vpu_dbg_core()
241 num = scnprintf(str, sizeof(str), "state = %d\n", core->state); in vpu_dbg_core()
242 if (seq_write(s, str, num)) in vpu_dbg_core()
246 num = scnprintf(str, sizeof(str), "fw version = %d.%d.%d\n", in vpu_dbg_core()
250 if (seq_write(s, str, num)) in vpu_dbg_core()
252 num = scnprintf(str, sizeof(str), "instances = %d/%d (0x%02lx), %d\n", in vpu_dbg_core()
257 if (seq_write(s, str, num)) in vpu_dbg_core()
259 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&core->msg_fifo)); in vpu_dbg_core()
260 if (seq_write(s, str, num)) in vpu_dbg_core()
262 num = scnprintf(str, sizeof(str), in vpu_dbg_core()
268 if (seq_write(s, str, num)) in vpu_dbg_core()
270 num = scnprintf(str, sizeof(str), in vpu_dbg_core()
276 if (seq_write(s, str, num)) in vpu_dbg_core()
311 int num = print_buf->bytes - rptr; in vpu_dbg_fwlog() local
313 if (seq_write(s, print_buf->buffer + rptr, num)) in vpu_dbg_fwlog()
315 length -= num; in vpu_dbg_fwlog()