Lines Matching defs:pos
462 int pos = 0, ret = 0;
470 pos += snprintf(buf, PAGE_SIZE, "0");
478 pos += snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n",
482 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
494 pos += snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n", saved_reg_type,
497 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
517 int pos = 0;
522 pos += snprintf(buf, PAGE_SIZE, "debug mask=0x%08x\n",
524 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
663 int ret, pos = 0;
668 pos += snprintf(buf, PAGE_SIZE, "0x%x 0x%x\n", priv->mem_rw.addr,
670 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
730 int pos, ret, i;
738 pos = snprintf(buf, PAGE_SIZE, "0");
750 pos = snprintf(buf, PAGE_SIZE, "%d %d ", saved_offset, saved_bytes);
753 pos += scnprintf(buf + pos, PAGE_SIZE - pos, "%d ", value[i]);
756 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
831 int pos, ret;
840 pos = snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n", hscfg.conditions,
843 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);