Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/dev/bxe/
Decore_init_ops.h884 static void ecore_qm_init_cid_count(struct bxe_softc *sc, int qm_cid_count, in ecore_qm_init_cid_count() argument
889 if (QM_INIT(qm_cid_count)) { in ecore_qm_init_cid_count()
895 qm_cid_count/16 - 1); in ecore_qm_init_cid_count()
903 static void ecore_qm_set_ptr_table(struct bxe_softc *sc, int qm_cid_count, in ecore_qm_set_ptr_table() argument
910 qm_cid_count * 4 * (i % QM_QUEUES_PER_FUNC)); in ecore_qm_set_ptr_table()
917 static void ecore_qm_init_ptr_table(struct bxe_softc *sc, int qm_cid_count, in ecore_qm_init_ptr_table() argument
920 if (!QM_INIT(qm_cid_count)) in ecore_qm_init_ptr_table()
927 ecore_qm_set_ptr_table(sc, qm_cid_count, in ecore_qm_init_ptr_table()
930 ecore_qm_set_ptr_table(sc, qm_cid_count, in ecore_qm_init_ptr_table()
Dbxe.h1730 int qm_cid_count; member
Dbxe.c5911 if (QM_INIT(sc->qm_cid_count)) { in bxe_ilt_set_info()
5919 line += DIV_ROUND_UP(sc->qm_cid_count * QM_QUEUES_PER_FUNC * 4, in bxe_ilt_set_info()
16495 sc->qm_cid_count = bxe_set_qm_cid_count(sc); in bxe_attach()
16496 BLOGD(sc, DBG_LOAD, "qm_cid_count=%d\n", sc->qm_cid_count); in bxe_attach()
17380 ecore_qm_init_ptr_table(sc, sc->qm_cid_count, INITOP_SET); in bxe_init_hw_common()
17665 ecore_qm_init_cid_count(sc, sc->qm_cid_count, INITOP_SET); in bxe_init_hw_port()