Searched refs:written_num (Results 1 – 1 of 1) sorted by relevance
528 int written_num; in imx_rpmsg_pcm_ack() local549 written_num = buffer_tail - msg->s_msg.param.buffer_tail; in imx_rpmsg_pcm_ack()550 if (written_num < 0) in imx_rpmsg_pcm_ack()551 written_num += runtime->periods; in imx_rpmsg_pcm_ack()580 if ((avail - written_num * period_size) <= period_size) { in imx_rpmsg_pcm_ack()