Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/ic/
H A Drtw.c1218 KASSERT(nsync <= rdb->rdb_ndesc); in rtw_rxdescs_sync()
1220 if (desc0 + nsync > rdb->rdb_ndesc) { in rtw_rxdescs_sync()
1223 sizeof(struct rtw_rxdesc) * (rdb->rdb_ndesc - desc0), ops); in rtw_rxdescs_sync()
1224 nsync -= (rdb->rdb_ndesc - desc0); in rtw_rxdescs_sync()
1228 KASSERT(desc0 < rdb->rdb_ndesc); in rtw_rxdescs_sync()
1229 KASSERT(nsync <= rdb->rdb_ndesc); in rtw_rxdescs_sync()
1230 KASSERT(desc0 + nsync <= rdb->rdb_ndesc); in rtw_rxdescs_sync()
1352 int is_last = (idx == rdb->rdb_ndesc - 1); in rtw_rxdesc_init()
1396 for (i = 0; i < rdb->rdb_ndesc; i++) { in rtw_rxdesc_init_all()
1467 KASSERT(next < rdb->rdb_ndesc); in rtw_intr_rx()
[all …]
H A Drtwvar.h213 u_int rdb_ndesc; member