Searched refs:qm_cid_count (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/bxe/ |
H A D | ecore_init_ops.h | 884 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()
|
H A D | bxe.c | 5849 if (QM_INIT(sc->qm_cid_count)) { in bxe_ilt_set_info() 5857 line += DIV_ROUND_UP(sc->qm_cid_count * QM_QUEUES_PER_FUNC * 4, in bxe_ilt_set_info() 16358 sc->qm_cid_count = bxe_set_qm_cid_count(sc); in bxe_attach() 16359 BLOGD(sc, DBG_LOAD, "qm_cid_count=%d\n", sc->qm_cid_count); in bxe_attach() 17243 ecore_qm_init_ptr_table(sc, sc->qm_cid_count, INITOP_SET); in bxe_init_hw_common() 17528 ecore_qm_init_cid_count(sc, sc->qm_cid_count, INITOP_SET); in bxe_init_hw_port()
|