Lines Matching defs:nframes
98 if (((wr_count - rd_count) > ivc->nframes) || (wr_count == rd_count)) {
117 return ((wr_count - rd_count) >= ivc->nframes);
141 if (ivc->w_pos == (ivc->nframes - (uint32_t)1U)) {
152 if (ivc->r_pos == (ivc->nframes - (uint32_t)1U)) {
225 assert(frame < ivc->nframes);
270 if (ivc_channel_avail_count(ivc, ivc->rx_channel) == (ivc->nframes - (uint32_t)1U)) {
317 if (ivc_channel_avail_count(ivc, ivc->rx_channel) == (ivc->nframes - (uint32_t)1U)) {
568 uint32_t nframes, uint32_t frame_size)
576 if (((uint64_t)nframes * (uint64_t)frame_size) >= 0x100000000ULL) {
577 ERROR("nframes * frame_size overflows\n");
601 if ((queue_base1 + ((uint64_t)frame_size * nframes)) > queue_base2) {
604 frame_size * nframes);
608 if ((queue_base2 + ((uint64_t)frame_size * nframes)) > queue_base1) {
611 frame_size * nframes);
620 uint32_t nframes, uint32_t frame_size,
630 result = check_ivc_params(rx_base, tx_base, nframes, frame_size);
647 ivc->nframes = nframes;