Searched refs:RD_BUF (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/soundwire/ |
D | debugfs.c | 31 #define RD_BUF (3 * PAGE_SIZE) macro 41 return scnprintf(buf + pos, RD_BUF - pos, "%3x\tXX\n", reg); in sdw_sprintf() 43 return scnprintf(buf + pos, RD_BUF - pos, in sdw_sprintf() 54 buf = kzalloc(RD_BUF, GFP_KERNEL); in sdw_slave_reg_show() 58 ret = scnprintf(buf, RD_BUF, "Register Value\n"); in sdw_slave_reg_show() 61 ret += scnprintf(buf + ret, RD_BUF - ret, "\nDP0\n"); in sdw_slave_reg_show() 66 ret += scnprintf(buf + ret, RD_BUF - ret, "Bank0\n"); in sdw_slave_reg_show() 72 ret += scnprintf(buf + ret, RD_BUF - ret, "Bank1\n"); in sdw_slave_reg_show() 80 ret += scnprintf(buf + ret, RD_BUF - ret, "\nSCP\n"); in sdw_slave_reg_show() 97 ret += scnprintf(buf + ret, RD_BUF - ret, "\nDP%d\n", i); in sdw_slave_reg_show() [all …]
|
D | cadence_master.c | 270 #define RD_BUF (2 * PAGE_SIZE) macro 275 return scnprintf(buf + pos, RD_BUF - pos, in cdns_sprintf() 287 buf = kzalloc(RD_BUF, GFP_KERNEL); in cdns_reg_show() 291 ret = scnprintf(buf, RD_BUF, "Register Value\n"); in cdns_reg_show() 292 ret += scnprintf(buf + ret, RD_BUF - ret, "\nMCP Registers\n"); in cdns_reg_show() 297 ret += scnprintf(buf + ret, RD_BUF - ret, in cdns_reg_show() 303 ret += scnprintf(buf + ret, RD_BUF - ret, in cdns_reg_show() 310 ret += scnprintf(buf + ret, RD_BUF - ret, in cdns_reg_show() 316 ret += scnprintf(buf + ret, RD_BUF - ret, in cdns_reg_show() 323 ret += scnprintf(buf + ret, RD_BUF - ret, in cdns_reg_show() [all …]
|
D | intel.c | 182 #define RD_BUF (2 * PAGE_SIZE) macro 194 return scnprintf(buf + pos, RD_BUF - pos, "%4x\t%4x\n", reg, value); in intel_sprintf() 207 buf = kzalloc(RD_BUF, GFP_KERNEL); in intel_reg_show() 213 ret = scnprintf(buf, RD_BUF, "Register Value\n"); in intel_reg_show() 214 ret += scnprintf(buf + ret, RD_BUF - ret, "\nShim\n"); in intel_reg_show() 222 ret += scnprintf(buf + ret, RD_BUF - ret, "\nLink%d\n", i); in intel_reg_show() 230 ret += scnprintf(buf + ret, RD_BUF - ret, "\n PCMSyCH registers\n"); in intel_reg_show() 243 ret += scnprintf(buf + ret, RD_BUF - ret, "\n PDMSCAP, IOCTL, CTMCTL\n"); in intel_reg_show() 250 ret += scnprintf(buf + ret, RD_BUF - ret, "\nWake registers\n"); in intel_reg_show() 254 ret += scnprintf(buf + ret, RD_BUF - ret, "\nALH STRMzCFG\n"); in intel_reg_show()
|