Lines Matching defs:meta

3929     struct bwn_dmadesc_generic **gdesc, struct bwn_dmadesc_meta **meta)
3933 *meta = &(dr->dr_meta[slot]);
4018 struct bwn_dmadesc_generic **gdesc, struct bwn_dmadesc_meta **meta)
4022 *meta = &(dr->dr_meta[slot]);
4261 struct bwn_dmadesc_meta *meta;
4270 dr->getdesc(dr, i, &desc, &meta);
4272 if (meta->mt_m == NULL) {
4279 if (meta->mt_txtype == BWN_DMADESC_METATYPE_HEADER)
4281 meta->mt_dmap);
4282 else if (meta->mt_txtype == BWN_DMADESC_METATYPE_BODY)
4284 meta->mt_dmap);
4286 bus_dmamap_unload(dma->rxbuf_dtag, meta->mt_dmap);
4287 bwn_dma_free_descbuf(dr, meta);
4389 struct bwn_dmadesc_meta *meta)
4392 if (meta->mt_m != NULL) {
4393 m_freem(meta->mt_m);
4394 meta->mt_m = NULL;
4396 if (meta->mt_ni != NULL) {
4397 ieee80211_free_node(meta->mt_ni);
4398 meta->mt_ni = NULL;
8917 struct bwn_dmadesc_meta *meta;
8926 dr->getdesc(dr, *slot, &desc, &meta);
8928 bus_dmamap_sync(dma->rxbuf_dtag, meta->mt_dmap, BUS_DMASYNC_POSTREAD);
8929 m = meta->mt_m;
8931 if (bwn_dma_newbuf(dr, desc, meta, 0)) {
8945 bus_dmamap_sync(dma->rxbuf_dtag, meta->mt_dmap,
8952 dr->getdesc(dr, *slot, &desc, &meta);
8953 bwn_dma_set_redzone(dr, meta->mt_m);
8954 bus_dmamap_sync(dma->rxbuf_dtag, meta->mt_dmap,
8987 struct bwn_dmadesc_meta *meta;
9019 dr->getdesc(dr, slot, &desc, &meta);
9020 if (meta->mt_islast) {
9021 ni = meta->mt_ni;
9176 struct bwn_dmadesc_meta *meta, int init)
9222 bus_dmamap_unload(dma->rxbuf_dtag, meta->mt_dmap);
9223 meta->mt_m = m;
9224 meta->mt_paddr = paddr;
9229 map = meta->mt_dmap;
9230 meta->mt_dmap = dr->dr_spare_dmap;
9237 hdr = mtod(meta->mt_m, struct bwn_rxhdr4 *);
9239 bus_dmamap_sync(dma->rxbuf_dtag, meta->mt_dmap,
9245 dr->setdesc(dr, desc, meta->mt_paddr, meta->mt_m->m_len -
9393 struct bwn_dmadesc_meta *meta;
9412 dr->getdesc(dr, slot, &desc, &meta);
9414 if (meta->mt_txtype == BWN_DMADESC_METATYPE_HEADER)
9415 bus_dmamap_unload(dr->dr_txring_dtag, meta->mt_dmap);
9416 else if (meta->mt_txtype == BWN_DMADESC_METATYPE_BODY)
9417 bus_dmamap_unload(dma->txbuf_dtag, meta->mt_dmap);
9419 if (meta->mt_islast) {
9420 KASSERT(meta->mt_m != NULL,
9423 ni = meta->mt_ni;
9424 m = meta->mt_m;
9433 meta->mt_ni = NULL;
9436 meta->mt_m = NULL;
9438 KASSERT(meta->mt_m == NULL,
9443 if (meta->mt_islast) {