Searched refs:mw_count (Results 1 - 9 of 9) sorted by relevance

/freebsd-current/sys/dev/ntb/
H A Dntb_transport.c207 unsigned mw_count; member in struct:ntb_transport_ctx
265 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count)
354 nt->mw_count = ntb_mw_count(dev);
361 if (nt->mw_count == 0) {
365 nt->compact = (spad_count < 4 + 2 * nt->mw_count);
374 if (spad_count < 2 + nt->mw_count) {
375 nt->mw_count = spad_count - 2;
377 "memory windows.\n", nt->mw_count);
384 if (spad_count < 4 + 2 * nt->mw_count) {
385 nt->mw_count
601 unsigned num_qps_mw, mw_num, mw_count; local
1334 unsigned num_qps_mw, mw_num, mw_count; local
[all...]
/freebsd-current/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c94 int mw_count; /* Number of memory windows. */ member in struct:ntb_plx_softc
193 for (i = 0; i < sc->mw_count; i++) {
229 for (i = 0; i < sc->mw_count; i++)
359 sc->mw_count = 0;
361 mw = &sc->mw_info[sc->mw_count];
373 sc->mw_count++;
398 if (sc->mw_count == 0) {
403 sc->b2b_mw = sc->mw_count - 1;
422 } else if (sc->split > 0 && (sc->mw_count == 0 || sc->mw_info[0].mw_bar != 2)) {
492 for (i = 0; i < sc->mw_count;
[all...]
H A Dntb_hw_amd.c83 .mw_count = 3,
93 .mw_count = 2,
103 .mw_count = 3,
338 return (ntb->hw_info->mw_count);
349 if (mw_idx < 0 || mw_idx >= ntb->hw_info->mw_count)
390 if (mw_idx < 0 || mw_idx >= ntb->hw_info->mw_count)
448 if (mw_idx < 0 || mw_idx >= ntb->hw_info->mw_count)
461 if (mw_idx < 0 || mw_idx >= ntb->hw_info->mw_count)
483 if (mw_idx < 0 || mw_idx >= ntb->hw_info->mw_count)
715 ntb->hw_info->mw_count);
[all...]
H A Dntb_hw_amd.h112 uint8_t mw_count; member in struct:amd_ntb_hw_info
H A Dntb_hw_intel.c246 uint8_t mw_count; member in struct:ntb_softc
822 KASSERT(mw < ntb->mw_count,
823 ("%s: mw:%u > count:%u", __func__, mw, (unsigned)ntb->mw_count));
1698 ntb->mw_count = ATOM_MW_COUNT;
1702 ntb->mw_count = XEON_HSX_SPLIT_MW_COUNT;
1704 ntb->mw_count = XEON_SNB_MW_COUNT;
1709 ntb->mw_count = XEON_GEN3_SPLIT_MW_COUNT;
1711 ntb->mw_count = XEON_GEN3_MW_COUNT;
1941 ntb->msix_mw_idx = (ntb->mw_count + g_ntb_msix_idx) %
1942 ntb->mw_count;
[all...]
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dstats.h138 atomic_t mw_count; member in struct:bnxt_re_res_cntrs
204 atomic_set(&rsors->mw_count, 0);
H A Dstats.c677 stats->value[BNXT_RE_ACTIVE_MW] = atomic_read(&rdev->stats.rsors.mw_count);
H A Dbnxt_re.h1057 atomic_read(&rdev->stats.rsors.mw_count));
H A Dib_verbs.c4980 atomic_inc(&rdev->stats.rsors.mw_count);
4981 max_mw_count = atomic_read(&rdev->stats.rsors.mw_count);
5005 atomic_dec(&rdev->stats.rsors.mw_count);

Completed in 211 milliseconds