Searched refs:dbgline (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/isdn/gigaset/
H A Dcapi.c235 char *dbgline; dump_rawmsg() local
255 dbgline = kmalloc(3 * l, GFP_ATOMIC); dump_rawmsg()
256 if (!dbgline) dump_rawmsg()
259 dbgline[3 * i] = hex_asc_hi(data[12 + i]); dump_rawmsg()
260 dbgline[3 * i + 1] = hex_asc_lo(data[12 + i]); dump_rawmsg()
261 dbgline[3 * i + 2] = ' '; dump_rawmsg()
263 dbgline[3 * l - 1] = '\0'; dump_rawmsg()
264 gig_dbg(level, " %s", dbgline); dump_rawmsg()
265 kfree(dbgline); dump_rawmsg()
275 dbgline = kmalloc(3 * l, GFP_ATOMIC); dump_rawmsg()
276 if (!dbgline) dump_rawmsg()
280 dbgline[3 * i] = hex_asc_hi(data[i]); dump_rawmsg()
281 dbgline[3 * i + 1] = hex_asc_lo(data[i]); dump_rawmsg()
282 dbgline[3 * i + 2] = ' '; dump_rawmsg()
284 dbgline[3 * l - 1] = '\0'; dump_rawmsg()
285 gig_dbg(level, " %s", dbgline); dump_rawmsg()
286 kfree(dbgline); dump_rawmsg()
H A Disocdata.c219 static char dbgline[3 * 32 + 1]; dump_bytes() local
226 if (i > sizeof(dbgline) - 4) { dump_bytes()
227 dbgline[i] = '\0'; dump_bytes()
228 gig_dbg(level, "%s:%s", tag, dbgline); dump_bytes()
232 dbgline[i] = (i && !(i % 12)) ? '-' : ' '; dump_bytes()
234 dbgline[i++] = hex_asc_hi(c); dump_bytes()
235 dbgline[i++] = hex_asc_lo(c); dump_bytes()
237 dbgline[i] = '\0'; dump_bytes()
238 gig_dbg(level, "%s:%s", tag, dbgline); dump_bytes()

Completed in 136 milliseconds