Searched refs:bufpos (Results 1 – 4 of 4) sorted by relevance
| /drivers/gpu/drm/msm/ |
| A 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() 172 perf->bufpos = 0; in perf_open()
|
| /drivers/char/xillybus/ |
| A D | xillybus_core.c | 703 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local 725 bufpos = channel->wr_host_buf_pos; in xillybus_read() 728 - bufpos; in xillybus_read() 772 if (bufpos == 0) /* Position zero means it's virgin */ in xillybus_read() 781 + bufpos, howmany)) in xillybus_read() 1231 bufpos = channel->rd_host_buf_pos; in xillybus_write() 1232 howmany = channel->rd_buf_size - bufpos; in xillybus_write() 1261 end_offset_plus1 = bufpos >> in xillybus_write() 1307 if ((bufpos == 0) || /* Zero means it's virgin */ in xillybus_write() 1315 for (i = 0; i < bufpos; i++) in xillybus_write() [all …]
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | testmode.c | 217 u8 segnumber = 0, *bufpos; in ath12k_tm_cmd_process_ftm() local 233 bufpos = buf; in ath12k_tm_cmd_process_ftm() 264 memcpy(&ftm_cmd->data, bufpos, chunk_len); in ath12k_tm_cmd_process_ftm() 274 bufpos += chunk_len; in ath12k_tm_cmd_process_ftm()
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | testmode.c | 400 u8 *bufpos; in ath11k_tm_cmd_wmi_ftm() local 426 bufpos = buf; in ath11k_tm_cmd_wmi_ftm() 455 memcpy(&ftm_cmd->data, bufpos, chunk_len); in ath11k_tm_cmd_wmi_ftm() 464 bufpos += chunk_len; in ath11k_tm_cmd_wmi_ftm()
|
Completed in 10 milliseconds