Home
last modified time | relevance | path

Searched refs:txd (Results 1 – 25 of 60) sorted by relevance

123

/freebsd-12.1/sys/dev/rtwn/rtl8192c/
H A Dr92c_tx.c233 struct r92c_tx_desc *txd; in r92c_fill_tx_desc() local
253 txd = (struct r92c_tx_desc *)buf; in r92c_fill_tx_desc()
256 txd->flags0 |= R92C_FLAGS0_BMCAST; in r92c_fill_tx_desc()
295 r92c_tx_set_ht40(sc, txd, ni); in r92c_fill_tx_desc()
296 r92c_tx_set_sgi(sc, txd, ni); in r92c_fill_tx_desc()
325 r92c_tx_raid(sc, txd, ni, ismcast); in r92c_fill_tx_desc()
333 rtwn_r92c_tx_setup_hwseq(sc, txd); in r92c_fill_tx_desc()
345 txd->txdseq = htole16(seqno); in r92c_fill_tx_desc()
356 struct r92c_tx_desc *txd; in r92c_fill_tx_desc_raw() local
367 txd = (struct r92c_tx_desc *)buf; in r92c_fill_tx_desc_raw()
[all …]
H A Dr92c_beacon.c57 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r92c_beacon_init() local
63 txd->flags0 |= R92C_FLAGS0_BMCAST | R92C_FLAGS0_FSG | R92C_FLAGS0_LSG; in r92c_beacon_init()
64 txd->txdw1 |= htole32( in r92c_beacon_init()
69 txd->txdw4 |= htole32(R92C_TXDW4_DRVRATE); in r92c_beacon_init()
70 txd->txdw4 |= htole32(SM(R92C_TXDW4_SEQ_SEL, id)); in r92c_beacon_init()
71 txd->txdw4 |= htole32(SM(R92C_TXDW4_PORT_ID, id)); in r92c_beacon_init()
72 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE, RTWN_RIDX_CCK1)); in r92c_beacon_init()
/freebsd-12.1/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_tx.c64 struct r92ce_tx_desc *txd = desc; in r92ce_setup_tx_desc() local
77 txd->txbufsize = txd->pktlen; in r92ce_tx_postsetup()
87 sizeof(txd->txbufsize) + sizeof(txd->pad); in r92ce_copy_tx_desc()
106 __func__, le16toh(txd->pktlen), txd->offset, txd->flags0, in r92ce_dump_tx_desc()
107 le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3), in r92ce_dump_tx_desc()
108 le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5), in r92ce_dump_tx_desc()
109 le32toh(txd->txdw6), le16toh(txd->txbufsize), le16toh(txd->pad), in r92ce_dump_tx_desc()
110 le32toh(txd->txbufaddr), le32toh(txd->txbufaddr64), in r92ce_dump_tx_desc()
111 le32toh(txd->nextdescaddr), le32toh(txd->nextdescaddr64), in r92ce_dump_tx_desc()
112 le32toh(txd->reserved[0]), le32toh(txd->reserved[1]), in r92ce_dump_tx_desc()
[all …]
/freebsd-12.1/sys/dev/rtwn/rtl8812a/
H A Dr12a_tx.c236 struct r12a_tx_desc *txd; in r12a_fill_tx_desc() local
256 txd = (struct r12a_tx_desc *)buf; in r12a_fill_tx_desc()
259 txd->flags0 |= R12A_FLAGS0_BMCAST; in r12a_fill_tx_desc()
296 r12a_tx_set_ht40(sc, txd, ni); in r12a_fill_tx_desc()
297 r12a_tx_set_sgi(sc, txd, ni); in r12a_fill_tx_desc()
298 r12a_tx_set_ldpc(sc, txd, ni); in r12a_fill_tx_desc()
326 r12a_tx_raid(sc, txd, ni, ismcast); in r12a_fill_tx_desc()
357 struct r12a_tx_desc *txd; in r12a_fill_tx_desc_raw() local
368 txd = (struct r12a_tx_desc *)buf; in r12a_fill_tx_desc_raw()
371 txd->flags0 |= R12A_FLAGS0_BMCAST; in r12a_fill_tx_desc_raw()
[all …]
H A Dr12a_beacon.c66 struct r12a_tx_desc *txd = (struct r12a_tx_desc *)buf; in r12a_beacon_init() local
74 txd->txdw1 = htole32(SM(R12A_TXDW1_QSEL, R12A_TXDW1_QSEL_BEACON)); in r12a_beacon_init()
75 txd->txdw1 |= htole32(SM(R12A_TXDW1_MACID, RTWN_MACID_BC)); in r12a_beacon_init()
77 txd->txdw3 = htole32(R12A_TXDW3_DRVRATE); in r12a_beacon_init()
78 txd->txdw3 |= htole32(SM(R12A_TXDW3_SEQ_SEL, id)); in r12a_beacon_init()
80 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, RTWN_RIDX_CCK1)); in r12a_beacon_init()
82 txd->txdw6 = htole32(SM(R21A_TXDW6_MBSSID, id)); in r12a_beacon_init()
88 struct r12a_tx_desc *txd = (struct r12a_tx_desc *)buf; in r12a_beacon_set_rate() local
90 txd->txdw4 &= ~htole32(R12A_TXDW4_DATARATE_M); in r12a_beacon_set_rate()
92 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, in r12a_beacon_set_rate()
[all …]
/freebsd-12.1/sys/dev/rtwn/rtl8812a/usb/
H A Dr12au_tx.c64 const struct r12au_tx_desc *txd = desc; in r12au_dump_tx_desc() local
69 __func__, le16toh(txd->pktlen), txd->offset, txd->flags0, in r12au_dump_tx_desc()
70 le32toh(txd->txdw1), le32toh(txd->txdw2), le32toh(txd->txdw3), in r12au_dump_tx_desc()
71 le32toh(txd->txdw4), le32toh(txd->txdw5), le32toh(txd->txdw6), in r12au_dump_tx_desc()
72 le16toh(txd->txdsum), le16toh(txd->flags7), le32toh(txd->txdw8), in r12au_dump_tx_desc()
73 le32toh(txd->txdw9)); in r12au_dump_tx_desc()
/freebsd-12.1/sys/dev/rtwn/rtl8192c/usb/
H A Dr92cu_tx.c54 const struct r92cu_tx_desc *txd = desc; in r92cu_dump_tx_desc() local
59 __func__, le16toh(txd->pktlen), txd->offset, txd->flags0, in r92cu_dump_tx_desc()
60 le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3), in r92cu_dump_tx_desc()
61 le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5), in r92cu_dump_tx_desc()
62 le32toh(txd->txdw6), le16toh(txd->txdsum), le16toh(txd->pad)); in r92cu_dump_tx_desc()
/freebsd-12.1/sys/dev/rtwn/pci/
H A Drtwn_pci_tx.c99 struct rtwn_tx_desc_common *txd; in rtwn_pci_tx_start_frame() local
124 txd = (struct rtwn_tx_desc_common *) in rtwn_pci_tx_start_frame()
126 if (txd->flags0 & RTWN_FLAGS0_OWN) { in rtwn_pci_tx_start_frame()
136 txd->offset = sc->txdesc_len; in rtwn_pci_tx_start_frame()
171 txd->flags0 |= RTWN_FLAGS0_OWN; in rtwn_pci_tx_start_frame()
174 rtwn_dump_tx_desc(sc, txd); in rtwn_pci_tx_start_frame()
206 struct rtwn_tx_desc_common *txd; in rtwn_pci_tx_start_beacon() local
227 txd->offset = sc->txdesc_len; in rtwn_pci_tx_start_beacon()
238 txd->flags0 &= ~RTWN_FLAGS0_OWN; in rtwn_pci_tx_start_beacon()
244 txd->flags0 |= RTWN_FLAGS0_OWN; in rtwn_pci_tx_start_beacon()
[all …]
/freebsd-12.1/sys/dev/rtwn/rtl8188e/
H A Dr88e_tx.c57 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r88e_tx_enable_ampdu() local
60 txd->txdw2 |= htole32(R88E_TXDW2_AGGEN); in r88e_tx_enable_ampdu()
62 txd->txdw2 |= htole32(R88E_TXDW2_AGGBK); in r88e_tx_enable_ampdu()
68 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r88e_tx_setup_hwseq() local
70 txd->txdseq |= htole16(R88E_TXDSEQ_HWSEQ_EN); in r88e_tx_setup_hwseq()
76 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r88e_tx_setup_macid() local
78 txd->txdw1 |= htole32(SM(R88E_TXDW1_MACID, id)); in r88e_tx_setup_macid()
/freebsd-12.1/sys/dev/rtwn/
H A Dif_rtwn_tx.c120 struct rtwn_tx_desc_common *txd; in rtwn_tx_data() local
174 txd = (struct rtwn_tx_desc_common *)&buf; in rtwn_tx_data()
175 memset(txd, 0, sc->txdesc_len); in rtwn_tx_data()
178 rtwn_fill_tx_desc(sc, ni, m, txd, ridx, tp->maxretry); in rtwn_tx_data()
183 tap->wt_flags = rtwn_tx_radiotap_flags(sc, txd); in rtwn_tx_data()
189 return (rtwn_tx_start(sc, ni, m, (uint8_t *)txd, type, 0)); in rtwn_tx_data()
199 struct rtwn_tx_desc_common *txd; in rtwn_tx_raw() local
222 txd = (struct rtwn_tx_desc_common *)&buf; in rtwn_tx_raw()
223 memset(txd, 0, sc->txdesc_len); in rtwn_tx_raw()
226 rtwn_fill_tx_desc_raw(sc, ni, m, txd, params); in rtwn_tx_raw()
[all …]
/freebsd-12.1/sys/dev/rtwn/usb/
H A Drtwn_usb_tx.c218 rtwn_usb_tx_checksum(struct rtwn_tx_desc_common *txd) in rtwn_usb_tx_checksum() argument
220 txd->txdw7.usb_checksum = 0; in rtwn_usb_tx_checksum()
221 txd->txdw7.usb_checksum = rtwn_usb_calc_tx_checksum(txd); in rtwn_usb_tx_checksum()
229 struct rtwn_tx_desc_common *txd; in rtwn_usb_tx_start() local
255 txd = (struct rtwn_tx_desc_common *)tx_desc; in rtwn_usb_tx_start()
256 txd->pktlen = htole16(m->m_pkthdr.len); in rtwn_usb_tx_start()
257 txd->offset = sc->txdesc_len; in rtwn_usb_tx_start()
258 txd->flags0 |= RTWN_FLAGS0_OWN; in rtwn_usb_tx_start()
259 rtwn_usb_tx_checksum(txd); in rtwn_usb_tx_start()
/freebsd-12.1/sys/dev/hyperv/netvsc/
H A Dif_hn.c2684 KASSERT(txd->refs > 0, ("invalid txd refs %d", txd->refs)); in hn_txdesc_put()
2730 txd->m = NULL; in hn_txdesc_put()
2777 KASSERT(txd->m == NULL && txd->refs == 0 && in hn_txdesc_get()
2785 txd->refs = 1; in hn_txdesc_get()
2787 return txd; in hn_txdesc_get()
2795 KASSERT(txd->refs > 0, ("invalid txd refs %d", txd->refs)); in hn_txdesc_hold()
2942 m = txd->m; in hn_flush_txagg()
3220 hn_nvs_sendctx_init(&txd->send_ctx, hn_txpkt_done, txd); in hn_encap()
5275 txd->rndis_pkt, txd->rndis_pkt_dmap); in hn_tx_ring_create()
5288 txd->rndis_pkt, txd->rndis_pkt_dmap); in hn_tx_ring_create()
[all …]
/freebsd-12.1/sys/dev/vte/
H A Dif_vte.c664 struct vte_txdesc *txd; in vte_dma_alloc() local
825 txd->tx_m = NULL; in vte_dma_alloc()
828 &txd->tx_dmamap); in vte_dma_alloc()
1096 txd->tx_m = m; in vte_encap()
1098 return (txd); in vte_encap()
1417 m_freem(txd->tx_m); in vte_txeof()
1419 txd->tx_m = NULL; in vte_txeof()
1807 txd->tx_dmamap); in vte_stop()
1810 txd->tx_m = NULL; in vte_stop()
1904 txd->tx_m = NULL; in vte_init_tx_ring()
[all …]
/freebsd-12.1/sys/dev/sge/
H A Dif_sge.c872 txd->tx_m = NULL; in sge_dma_alloc()
874 txd->tx_ndesc = 0; in sge_dma_alloc()
876 &txd->tx_dmamap); in sge_dma_alloc()
1015 m_freem(txd->tx_m); in sge_list_tx_free()
1016 txd->tx_m = NULL; in sge_list_tx_free()
1017 txd->tx_ndesc = 0; in sge_list_tx_free()
1287 m_freem(txd->tx_m); in sge_txeof()
1288 txd->tx_m = NULL; in sge_txeof()
1292 txd->tx_ndesc = 0; in sge_txeof()
1548 txd->tx_m = m; in sge_encap()
[all …]
/freebsd-12.1/sys/dev/nge/
H A Dif_nge.c566 txd->tx_dmamap); in nge_miibus_statchg()
567 m_freem(txd->tx_m); in nge_miibus_statchg()
568 txd->tx_m = NULL; in nge_miibus_statchg()
1187 txd->tx_m = NULL; in nge_dma_alloc()
1318 txd->tx_m = NULL; in nge_list_tx_init()
1666 m_freem(txd->tx_m); in nge_txeof()
1667 txd->tx_m = NULL; in nge_txeof()
1894 txd_last = txd; in nge_encap()
1895 map = txd->tx_dmamap; in nge_encap()
1972 txd->tx_m = m; in nge_encap()
[all …]
/freebsd-12.1/sys/dev/rtwn/rtl8821a/
H A Dr21a_beacon.c66 struct r12a_tx_desc *txd = (struct r12a_tx_desc *)buf; in r21a_beacon_init() local
71 txd->txdw3 &= ~htole32(R12A_TXDW3_SEQ_SEL_M); in r21a_beacon_init()
72 txd->txdw3 |= htole32(SM(R12A_TXDW3_SEQ_SEL, id * 2)); in r21a_beacon_init()
/freebsd-12.1/sys/mips/atheros/ar531x/
H A Dif_are.c687 struct are_txdesc *txd; in are_encap() local
789 txd->tx_m = *m_head; in are_encap()
1079 struct are_txdesc *txd; in are_dma_alloc() local
1217 txd->tx_m = NULL; in are_dma_alloc()
1218 txd->tx_dmamap = NULL; in are_dma_alloc()
1220 &txd->tx_dmamap); in are_dma_alloc()
1254 struct are_txdesc *txd; in are_dma_free() local
1352 txd->tx_m = NULL; in are_tx_ring_init()
1525 if (txd->tx_m) in are_tx()
1526 m_freem(txd->tx_m); in are_tx()
[all …]
/freebsd-12.1/sys/dev/jme/
H A Dif_jme.c1369 txd->tx_m = NULL; in jme_dma_alloc()
1854 desc = txd->tx_desc; in jme_encap()
1857 txd->tx_m = m; in jme_encap()
2283 txd->tx_m = NULL; in jme_link_task()
2480 m_freem(txd->tx_m); in jme_txeof()
2481 txd->tx_m = NULL; in jme_txeof()
2485 txd->tx_ndesc = 0; in jme_txeof()
3063 txd->tx_m = NULL; in jme_stop()
3064 txd->tx_ndesc = 0; in jme_stop()
3126 txd->tx_m = NULL; in jme_init_tx_ring()
[all …]
/freebsd-12.1/sys/dev/vge/
H A Dif_vge.c682 struct vge_txdesc *txd; in vge_dma_alloc() local
874 txd->tx_m = NULL; in vge_dma_alloc()
875 txd->tx_dmamap = NULL; in vge_dma_alloc()
877 &txd->tx_dmamap); in vge_dma_alloc()
1321 txd->tx_m = NULL; in vge_tx_list_init()
1402 txd->tx_dmamap); in vge_freebufs()
1403 m_freem(txd->tx_m); in vge_freebufs()
1404 txd->tx_m = NULL; in vge_freebufs()
1644 m_freem(txd->tx_m); in vge_txeof()
1645 txd->tx_m = NULL; in vge_txeof()
[all …]
/freebsd-12.1/sys/mips/atheros/
H A Dif_arge.c1552 txd->tx_m = *m_head; in arge_encap()
2013 txd->tx_m = NULL; in arge_dma_alloc()
2016 &txd->tx_dmamap); in arge_dma_alloc()
2145 txd->tx_m = NULL; in arge_tx_ring_init()
2167 if (txd->tx_dmamap) { in arge_tx_ring_free()
2173 if (txd->tx_m) in arge_tx_ring_free()
2174 m_freem(txd->tx_m); in arge_tx_ring_free()
2175 txd->tx_m = NULL; in arge_tx_ring_free()
2406 if (txd->tx_m) in arge_tx_locked()
2407 m_freem(txd->tx_m); in arge_tx_locked()
[all …]
/freebsd-12.1/sys/dev/stge/
H A Dif_stge.c864 txd->tx_m = NULL; in stge_dma_alloc()
865 txd->tx_dmamap = 0; in stge_dma_alloc()
867 &txd->tx_dmamap); in stge_dma_alloc()
939 txd->tx_dmamap = 0; in stge_dma_free()
1141 txd->tx_m = m; in stge_encap()
1541 if (txd == NULL) in stge_txeof()
1565 m_freem(txd->tx_m); in stge_txeof()
1566 txd->tx_m = NULL; in stge_txeof()
2263 txd->tx_dmamap); in stge_stop()
2264 m_freem(txd->tx_m); in stge_stop()
[all …]
/freebsd-12.1/sys/arm/ralink/
H A Dif_fv.c745 struct fv_txdesc *txd; in fv_encap() local
843 txd->tx_m = *m_head; in fv_encap()
1129 struct fv_txdesc *txd; in fv_dma_alloc() local
1306 txd->tx_m = NULL; in fv_dma_alloc()
1309 &txd->tx_dmamap); in fv_dma_alloc()
1343 struct fv_txdesc *txd; in fv_dma_free() local
1420 struct fv_txdesc *txd; in fv_tx_ring_init() local
1441 txd->tx_m = NULL; in fv_tx_ring_init()
1608 if (txd->tx_m) in fv_tx()
1609 m_freem(txd->tx_m); in fv_tx()
[all …]
/freebsd-12.1/sys/dev/vr/
H A Dif_vr.c879 struct vr_txdesc *txd; in vr_dma_alloc() local
1022 txd->tx_m = NULL; in vr_dma_alloc()
1025 &txd->tx_dmamap); in vr_dma_alloc()
1059 struct vr_txdesc *txd; in vr_dma_free() local
1154 txd->tx_m = NULL; in vr_tx_ring_init()
1481 txd->tx_m = NULL; in vr_txeof()
1533 m_freem(txd->tx_m); in vr_txeof()
1534 txd->tx_m = NULL; in vr_txeof()
1882 txd->tx_m = *m_head; in vr_encap()
2470 m_freem(txd->tx_m); in vr_stop()
[all …]
/freebsd-12.1/sys/dev/sis/
H A Dif_sis.c1227 struct sis_txdesc *txd; in sis_dma_alloc() local
1295 txd->tx_m = NULL; in sis_dma_alloc()
1311 struct sis_txdesc *txd; in sis_dma_free() local
1326 if (txd->tx_dmamap) in sis_dma_free()
1370 struct sis_txdesc *txd; in sis_ring_init() local
1377 txd->tx_m = NULL; in sis_ring_init()
1597 m_freem(txd->tx_m); in sis_txeof()
1598 txd->tx_m = NULL; in sis_txeof()
1857 map = txd->tx_dmamap; in sis_encap()
2265 m_freem(txd->tx_m); in sis_stop()
[all …]
/freebsd-12.1/sys/dev/sf/
H A Dif_sf.c1002 struct sf_txdesc *txd; in sf_dma_alloc() local
1256 txd->tx_m = NULL; in sf_dma_alloc()
1257 txd->ndesc = 0; in sf_dma_alloc()
1740 txd->tx_m = NULL; in sf_txeof()
1746 txd->ndesc = 0; in sf_txeof()
2173 map = txd->tx_dmamap; in sf_encap()
2241 txd->tx_dmamap = map; in sf_encap()
2242 txd->tx_m = m; in sf_encap()
2375 m_freem(txd->tx_m); in sf_stop()
2376 txd->tx_m = NULL; in sf_stop()
[all …]

123