Lines Matching refs:nhpos
404 static void flexrm_enqueue_desc(u32 nhpos, u32 nhcnt, u32 reqid, in flexrm_enqueue_desc() argument
412 if (nhcnt <= nhpos) in flexrm_enqueue_desc()
439 if ((nhpos % HEADER_BDCOUNT_MAX == 0) && (nhcnt - nhpos)) { in flexrm_enqueue_desc()
441 nhavail = (nhcnt - nhpos); in flexrm_enqueue_desc()
442 _toggle = (nhpos == 0) ? !(*toggle) : (*toggle); in flexrm_enqueue_desc()
443 _startpkt = (nhpos == 0) ? 0x1 : 0x0; in flexrm_enqueue_desc()
662 u32 nhpos = 0; in flexrm_spu_write_descs() local
675 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_spu_write_descs()
678 nhpos++; in flexrm_spu_write_descs()
691 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_spu_write_descs()
694 nhpos++; in flexrm_spu_write_descs()
771 u32 i, nhpos = 0; in flexrm_sba_write_descs() local
783 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_sba_write_descs()
786 nhpos++; in flexrm_sba_write_descs()
790 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_sba_write_descs()
793 nhpos++; in flexrm_sba_write_descs()
799 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_sba_write_descs()
802 nhpos++; in flexrm_sba_write_descs()
808 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_sba_write_descs()
811 nhpos++; in flexrm_sba_write_descs()
815 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_sba_write_descs()
818 nhpos++; in flexrm_sba_write_descs()
825 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_sba_write_descs()
828 nhpos++; in flexrm_sba_write_descs()