Lines Matching refs:nsync
879 rtw_rxdescs_sync(struct rtw_rxdesc_blk *rdb, int desc0, int nsync, int ops) in rtw_rxdescs_sync() argument
881 KASSERT(nsync <= rdb->rdb_ndesc); in rtw_rxdescs_sync()
883 if (desc0 + nsync > rdb->rdb_ndesc) { in rtw_rxdescs_sync()
887 nsync -= (rdb->rdb_ndesc - desc0); in rtw_rxdescs_sync()
892 KASSERT(nsync <= rdb->rdb_ndesc); in rtw_rxdescs_sync()
893 KASSERT(desc0 + nsync <= rdb->rdb_ndesc); in rtw_rxdescs_sync()
898 sizeof(struct rtw_rxdesc) * nsync, ops); in rtw_rxdescs_sync()
902 rtw_txdescs_sync(struct rtw_txdesc_blk *tdb, u_int desc0, u_int nsync, int ops) in rtw_txdescs_sync() argument
905 if (desc0 + nsync > tdb->tdb_ndesc) { in rtw_txdescs_sync()
910 nsync -= (tdb->tdb_ndesc - desc0); in rtw_txdescs_sync()
917 sizeof(struct rtw_txdesc) * nsync, ops); in rtw_txdescs_sync()