Home
last modified time | relevance | path

Searched refs:nhcnt (Results 1 – 1 of 1) sorted by relevance

/drivers/mailbox/
Dbcm-flexrm-mailbox.c366 static u32 flexrm_estimate_header_desc_count(u32 nhcnt) in flexrm_estimate_header_desc_count() argument
368 u32 hcnt = nhcnt / HEADER_BDCOUNT_MAX; in flexrm_estimate_header_desc_count()
370 if (!(nhcnt % HEADER_BDCOUNT_MAX)) in flexrm_estimate_header_desc_count()
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()
657 static void *flexrm_spu_write_descs(struct brcm_message *msg, u32 nhcnt, in flexrm_spu_write_descs() argument
675 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_spu_write_descs()
691 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_spu_write_descs()
[all …]