Lines Matching defs:pos
471 int pos = 0, ret = 0;
479 pos += snprintf(buf, PAGE_SIZE, "0");
487 pos += snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n",
491 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
503 pos += snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n", saved_reg_type,
506 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
526 int pos = 0;
531 pos += snprintf(buf, PAGE_SIZE, "debug mask=0x%08x\n",
533 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
672 int ret, pos = 0;
677 pos += snprintf(buf, PAGE_SIZE, "0x%x 0x%x\n", priv->mem_rw.addr,
679 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
736 int pos, ret, i;
744 pos = snprintf(buf, PAGE_SIZE, "0");
756 pos = snprintf(buf, PAGE_SIZE, "%d %d ", saved_offset, saved_bytes);
759 pos += scnprintf(buf + pos, PAGE_SIZE - pos, "%d ", value[i]);
762 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
837 int pos, ret;
846 pos = snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n", hscfg.conditions,
849 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);