Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/crystalhd/
Dcrystalhd_hw.c926 uint32_t pib_cnt, r_offset, w_offset; in crystalhd_get_pib_avail_cnt() local
940 pib_cnt = w_offset - r_offset; in crystalhd_get_pib_avail_cnt()
942 pib_cnt = (w_offset + MAX_PIB_Q_DEPTH) - in crystalhd_get_pib_avail_cnt()
945 if (pib_cnt > MAX_PIB_Q_DEPTH) { in crystalhd_get_pib_avail_cnt()
946 BCMLOG_ERR("Invalid PIB Count (%u)\n", pib_cnt); in crystalhd_get_pib_avail_cnt()
950 return pib_cnt; in crystalhd_get_pib_avail_cnt()
1050 uint32_t pib_addr, pib_cnt; in crystalhd_hw_proc_pib() local
1054 pib_cnt = crystalhd_get_pib_avail_cnt(hw); in crystalhd_hw_proc_pib()
1056 if (!pib_cnt) in crystalhd_hw_proc_pib()
1059 for (cnt = 0; cnt < pib_cnt; cnt++) { in crystalhd_hw_proc_pib()