Lines Matching refs:num

64 	int num;  in vpu_dbg_instance()  local
70 num = scnprintf(str, sizeof(str), "[%s]\n", vpu_core_type_desc(inst->type)); in vpu_dbg_instance()
71 if (seq_write(s, str, num)) in vpu_dbg_instance()
74 num = scnprintf(str, sizeof(str), "tgig = %d,pid = %d\n", inst->tgid, inst->pid); in vpu_dbg_instance()
75 if (seq_write(s, str, num)) in vpu_dbg_instance()
77 num = scnprintf(str, sizeof(str), "state = %s\n", vpu_codec_state_name(inst->state)); in vpu_dbg_instance()
78 if (seq_write(s, str, num)) in vpu_dbg_instance()
80 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
83 if (seq_write(s, str, num)) in vpu_dbg_instance()
87 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
98 if (seq_write(s, str, num)) in vpu_dbg_instance()
101 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
104 if (seq_write(s, str, num)) in vpu_dbg_instance()
111 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
122 if (seq_write(s, str, num)) in vpu_dbg_instance()
125 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
128 if (seq_write(s, str, num)) in vpu_dbg_instance()
133 num = scnprintf(str, sizeof(str), "crop: (%d, %d) %d x %d\n", in vpu_dbg_instance()
138 if (seq_write(s, str, num)) in vpu_dbg_instance()
148 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
152 if (seq_write(s, str, num)) in vpu_dbg_instance()
163 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
167 if (seq_write(s, str, num)) in vpu_dbg_instance()
171 num = scnprintf(str, sizeof(str), "sequence = %d\n", inst->sequence); in vpu_dbg_instance()
172 if (seq_write(s, str, num)) in vpu_dbg_instance()
176 num = scnprintf(str, sizeof(str), "stream_buffer = %d / %d, <%pad, 0x%x>\n", in vpu_dbg_instance()
181 if (seq_write(s, str, num)) in vpu_dbg_instance()
184 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&inst->msg_fifo)); in vpu_dbg_instance()
185 if (seq_write(s, str, num)) in vpu_dbg_instance()
188 num = scnprintf(str, sizeof(str), "flow :\n"); in vpu_dbg_instance()
189 if (seq_write(s, str, num)) in vpu_dbg_instance()
198 num = scnprintf(str, sizeof(str), "\t[%s] %s\n", in vpu_dbg_instance()
201 if (seq_write(s, str, num)) { in vpu_dbg_instance()
210 num = call_vop(inst, get_debug_info, str, sizeof(str), i++); in vpu_dbg_instance()
211 if (num <= 0) in vpu_dbg_instance()
213 if (seq_write(s, str, num)) in vpu_dbg_instance()
225 int num; in vpu_dbg_core() local
227 num = scnprintf(str, sizeof(str), "[%s]\n", vpu_core_type_desc(core->type)); in vpu_dbg_core()
228 if (seq_write(s, str, num)) in vpu_dbg_core()
231 num = scnprintf(str, sizeof(str), "boot_region = <%pad, 0x%x>\n", in vpu_dbg_core()
233 if (seq_write(s, str, num)) in vpu_dbg_core()
235 num = scnprintf(str, sizeof(str), "rpc_region = <%pad, 0x%x> used = 0x%x\n", in vpu_dbg_core()
237 if (seq_write(s, str, num)) in vpu_dbg_core()
239 num = scnprintf(str, sizeof(str), "fwlog_region = <%pad, 0x%x>\n", in vpu_dbg_core()
241 if (seq_write(s, str, num)) in vpu_dbg_core()
244 num = scnprintf(str, sizeof(str), "power %s\n", in vpu_dbg_core()
246 if (seq_write(s, str, num)) in vpu_dbg_core()
248 num = scnprintf(str, sizeof(str), "state = %d\n", core->state); in vpu_dbg_core()
249 if (seq_write(s, str, num)) in vpu_dbg_core()
253 num = scnprintf(str, sizeof(str), "fw version = %d.%d.%d\n", in vpu_dbg_core()
257 if (seq_write(s, str, num)) in vpu_dbg_core()
259 num = scnprintf(str, sizeof(str), "instances = %d/%d (0x%02lx), %d\n", in vpu_dbg_core()
264 if (seq_write(s, str, num)) in vpu_dbg_core()
266 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&core->msg_fifo)); in vpu_dbg_core()
267 if (seq_write(s, str, num)) in vpu_dbg_core()
269 num = scnprintf(str, sizeof(str), in vpu_dbg_core()
275 if (seq_write(s, str, num)) in vpu_dbg_core()
277 num = scnprintf(str, sizeof(str), in vpu_dbg_core()
283 if (seq_write(s, str, num)) in vpu_dbg_core()
318 int num = print_buf->bytes - rptr; in vpu_dbg_fwlog() local
320 if (seq_write(s, print_buf->buffer + rptr, num)) in vpu_dbg_fwlog()
322 length -= num; in vpu_dbg_fwlog()