Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mailbox/
Dbcm-flexrm-mailbox.c356 static u32 flexrm_estimate_header_desc_count(u32 nhcnt) in flexrm_estimate_header_desc_count() argument
358 u32 hcnt = nhcnt / HEADER_BDCOUNT_MAX; in flexrm_estimate_header_desc_count()
360 if (!(nhcnt % HEADER_BDCOUNT_MAX)) in flexrm_estimate_header_desc_count()
394 static void flexrm_enqueue_desc(u32 nhpos, u32 nhcnt, u32 reqid, in flexrm_enqueue_desc() argument
402 if (nhcnt <= nhpos) in flexrm_enqueue_desc()
429 if ((nhpos % HEADER_BDCOUNT_MAX == 0) && (nhcnt - nhpos)) { in flexrm_enqueue_desc()
431 nhavail = (nhcnt - nhpos); in flexrm_enqueue_desc()
647 static void *flexrm_spu_write_descs(struct brcm_message *msg, u32 nhcnt, in flexrm_spu_write_descs() argument
665 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_spu_write_descs()
681 flexrm_enqueue_desc(nhpos, nhcnt, reqid, in flexrm_spu_write_descs()
[all …]