Searched refs:bufpos (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_perf.c | 33 int buftot, bufpos; member 114 perf->bufpos = 0; in refill_buf() 128 if (perf->bufpos >= perf->buftot) { in perf_read() 134 n = min((int)sz, perf->buftot - perf->bufpos); in perf_read() 135 if (copy_to_user(buf, &perf->buf[perf->bufpos], n)) { in perf_read() 140 perf->bufpos += n; in perf_read() 169 perf->bufpos = 0; in perf_open()
|
/Linux-v5.4/drivers/s390/crypto/ |
D | vfio_ap_ops.c | 935 char *bufpos = buf; in control_domains_show() local 942 n = sprintf(bufpos, "%04lx\n", id); in control_domains_show() 943 bufpos += n; in control_domains_show() 957 char *bufpos = buf; in matrix_show() local 976 n = sprintf(bufpos, "%02lx.%04lx\n", apid, in matrix_show() 978 bufpos += n; in matrix_show() 984 n = sprintf(bufpos, "%02lx.\n", apid); in matrix_show() 985 bufpos += n; in matrix_show() 990 n = sprintf(bufpos, ".%04lx\n", apqi); in matrix_show() 991 bufpos += n; in matrix_show()
|
/Linux-v5.4/drivers/char/xillybus/ |
D | xillybus_core.c | 679 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local 701 bufpos = channel->wr_host_buf_pos; in xillybus_read() 704 - bufpos; in xillybus_read() 748 if (bufpos == 0) /* Position zero means it's virgin */ in xillybus_read() 758 + bufpos, howmany)) in xillybus_read() 1192 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local 1211 bufpos = channel->rd_host_buf_pos; in xillybus_write() 1212 howmany = channel->rd_buf_size - bufpos; in xillybus_write() 1222 ((bufpos >> channel->log2_element_size) == 0))) { in xillybus_write() 1241 end_offset_plus1 = bufpos >> in xillybus_write() [all …]
|