Home
last modified time | relevance | path

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

123

/freebsd-13.1/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_tx.c63 struct r92ce_tx_desc *txd = desc; in r92ce_setup_tx_desc() local
76 txd->txbufsize = txd->pktlen; in r92ce_tx_postsetup()
86 sizeof(txd->txbufsize) + sizeof(txd->pad); in r92ce_copy_tx_desc()
105 __func__, le16toh(txd->pktlen), txd->offset, txd->flags0, in r92ce_dump_tx_desc()
106 le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3), in r92ce_dump_tx_desc()
107 le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5), in r92ce_dump_tx_desc()
108 le32toh(txd->txdw6), le16toh(txd->txbufsize), le16toh(txd->pad), in r92ce_dump_tx_desc()
109 le32toh(txd->txbufaddr), le32toh(txd->txbufaddr64), in r92ce_dump_tx_desc()
110 le32toh(txd->nextdescaddr), le32toh(txd->nextdescaddr64), in r92ce_dump_tx_desc()
111 le32toh(txd->reserved[0]), le32toh(txd->reserved[1]), in r92ce_dump_tx_desc()
[all …]
/freebsd-13.1/sys/dev/rtwn/rtl8192c/
H A Dr92c_tx.c232 struct r92c_tx_desc *txd; in r92c_fill_tx_desc() local
252 txd = (struct r92c_tx_desc *)buf; in r92c_fill_tx_desc()
255 txd->flags0 |= R92C_FLAGS0_BMCAST; in r92c_fill_tx_desc()
294 r92c_tx_set_ht40(sc, txd, ni); in r92c_fill_tx_desc()
295 r92c_tx_set_sgi(sc, txd, ni); in r92c_fill_tx_desc()
324 r92c_tx_raid(sc, txd, ni, ismcast); in r92c_fill_tx_desc()
332 rtwn_r92c_tx_setup_hwseq(sc, txd); in r92c_fill_tx_desc()
344 txd->txdseq = htole16(seqno); in r92c_fill_tx_desc()
355 struct r92c_tx_desc *txd; in r92c_fill_tx_desc_raw() local
366 txd = (struct r92c_tx_desc *)buf; in r92c_fill_tx_desc_raw()
[all …]
H A Dr92c_beacon.c56 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r92c_beacon_init() local
62 txd->flags0 |= R92C_FLAGS0_BMCAST | R92C_FLAGS0_FSG | R92C_FLAGS0_LSG; in r92c_beacon_init()
63 txd->txdw1 |= htole32( in r92c_beacon_init()
68 txd->txdw4 |= htole32(R92C_TXDW4_DRVRATE); in r92c_beacon_init()
69 txd->txdw4 |= htole32(SM(R92C_TXDW4_SEQ_SEL, id)); in r92c_beacon_init()
70 txd->txdw4 |= htole32(SM(R92C_TXDW4_PORT_ID, id)); in r92c_beacon_init()
71 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE, RTWN_RIDX_CCK1)); in r92c_beacon_init()
/freebsd-13.1/sys/dev/rtwn/rtl8812a/
H A Dr12a_tx.c235 struct r12a_tx_desc *txd; in r12a_fill_tx_desc() local
255 txd = (struct r12a_tx_desc *)buf; in r12a_fill_tx_desc()
258 txd->flags0 |= R12A_FLAGS0_BMCAST; in r12a_fill_tx_desc()
295 r12a_tx_set_ht40(sc, txd, ni); in r12a_fill_tx_desc()
296 r12a_tx_set_sgi(sc, txd, ni); in r12a_fill_tx_desc()
297 r12a_tx_set_ldpc(sc, txd, ni); in r12a_fill_tx_desc()
325 r12a_tx_raid(sc, txd, ni, ismcast); in r12a_fill_tx_desc()
356 struct r12a_tx_desc *txd; in r12a_fill_tx_desc_raw() local
367 txd = (struct r12a_tx_desc *)buf; in r12a_fill_tx_desc_raw()
370 txd->flags0 |= R12A_FLAGS0_BMCAST; in r12a_fill_tx_desc_raw()
[all …]
H A Dr12a_beacon.c65 struct r12a_tx_desc *txd = (struct r12a_tx_desc *)buf; in r12a_beacon_init() local
73 txd->txdw1 = htole32(SM(R12A_TXDW1_QSEL, R12A_TXDW1_QSEL_BEACON)); in r12a_beacon_init()
74 txd->txdw1 |= htole32(SM(R12A_TXDW1_MACID, RTWN_MACID_BC)); in r12a_beacon_init()
76 txd->txdw3 = htole32(R12A_TXDW3_DRVRATE); in r12a_beacon_init()
77 txd->txdw3 |= htole32(SM(R12A_TXDW3_SEQ_SEL, id)); in r12a_beacon_init()
79 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, RTWN_RIDX_CCK1)); in r12a_beacon_init()
81 txd->txdw6 = htole32(SM(R21A_TXDW6_MBSSID, id)); in r12a_beacon_init()
87 struct r12a_tx_desc *txd = (struct r12a_tx_desc *)buf; in r12a_beacon_set_rate() local
89 txd->txdw4 &= ~htole32(R12A_TXDW4_DATARATE_M); in r12a_beacon_set_rate()
91 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, in r12a_beacon_set_rate()
[all …]
/freebsd-13.1/sys/dev/rtwn/rtl8812a/usb/
H A Dr12au_tx.c63 const struct r12au_tx_desc *txd = desc; in r12au_dump_tx_desc() local
68 __func__, le16toh(txd->pktlen), txd->offset, txd->flags0, in r12au_dump_tx_desc()
69 le32toh(txd->txdw1), le32toh(txd->txdw2), le32toh(txd->txdw3), in r12au_dump_tx_desc()
70 le32toh(txd->txdw4), le32toh(txd->txdw5), le32toh(txd->txdw6), in r12au_dump_tx_desc()
71 le16toh(txd->txdsum), le16toh(txd->flags7), le32toh(txd->txdw8), in r12au_dump_tx_desc()
72 le32toh(txd->txdw9)); in r12au_dump_tx_desc()
/freebsd-13.1/sys/dev/rtwn/rtl8192c/usb/
H A Dr92cu_tx.c53 const struct r92cu_tx_desc *txd = desc; in r92cu_dump_tx_desc() local
58 __func__, le16toh(txd->pktlen), txd->offset, txd->flags0, in r92cu_dump_tx_desc()
59 le32toh(txd->txdw1), le32toh(txd->txdw2), le16toh(txd->txdw3), in r92cu_dump_tx_desc()
60 le16toh(txd->txdseq), le32toh(txd->txdw4), le32toh(txd->txdw5), in r92cu_dump_tx_desc()
61 le32toh(txd->txdw6), le16toh(txd->txdsum), le16toh(txd->pad)); in r92cu_dump_tx_desc()
/freebsd-13.1/sys/dev/rtwn/pci/
H A Drtwn_pci_tx.c98 struct rtwn_tx_desc_common *txd; in rtwn_pci_tx_start_frame() local
123 txd = (struct rtwn_tx_desc_common *) in rtwn_pci_tx_start_frame()
125 if (txd->flags0 & RTWN_FLAGS0_OWN) { in rtwn_pci_tx_start_frame()
135 txd->offset = sc->txdesc_len; in rtwn_pci_tx_start_frame()
170 txd->flags0 |= RTWN_FLAGS0_OWN; in rtwn_pci_tx_start_frame()
173 rtwn_dump_tx_desc(sc, txd); in rtwn_pci_tx_start_frame()
205 struct rtwn_tx_desc_common *txd; in rtwn_pci_tx_start_beacon() local
226 txd->offset = sc->txdesc_len; in rtwn_pci_tx_start_beacon()
237 txd->flags0 &= ~RTWN_FLAGS0_OWN; in rtwn_pci_tx_start_beacon()
243 txd->flags0 |= RTWN_FLAGS0_OWN; in rtwn_pci_tx_start_beacon()
[all …]
/freebsd-13.1/sys/dev/rtwn/rtl8188e/
H A Dr88e_tx.c56 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r88e_tx_enable_ampdu() local
59 txd->txdw2 |= htole32(R88E_TXDW2_AGGEN); in r88e_tx_enable_ampdu()
61 txd->txdw2 |= htole32(R88E_TXDW2_AGGBK); in r88e_tx_enable_ampdu()
67 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r88e_tx_setup_hwseq() local
69 txd->txdseq |= htole16(R88E_TXDSEQ_HWSEQ_EN); in r88e_tx_setup_hwseq()
75 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf; in r88e_tx_setup_macid() local
77 txd->txdw1 |= htole32(SM(R88E_TXDW1_MACID, id)); in r88e_tx_setup_macid()
/freebsd-13.1/sys/dev/rtwn/
H A Dif_rtwn_tx.c119 struct rtwn_tx_desc_common *txd; in rtwn_tx_data() local
173 txd = (struct rtwn_tx_desc_common *)&buf; in rtwn_tx_data()
174 memset(txd, 0, sc->txdesc_len); in rtwn_tx_data()
177 rtwn_fill_tx_desc(sc, ni, m, txd, ridx, tp->maxretry); in rtwn_tx_data()
182 tap->wt_flags = rtwn_tx_radiotap_flags(sc, txd); in rtwn_tx_data()
188 return (rtwn_tx_start(sc, ni, m, (uint8_t *)txd, type, 0)); in rtwn_tx_data()
198 struct rtwn_tx_desc_common *txd; in rtwn_tx_raw() local
221 txd = (struct rtwn_tx_desc_common *)&buf; in rtwn_tx_raw()
222 memset(txd, 0, sc->txdesc_len); in rtwn_tx_raw()
225 rtwn_fill_tx_desc_raw(sc, ni, m, txd, params); in rtwn_tx_raw()
[all …]
/freebsd-13.1/sys/dev/rtwn/usb/
H A Drtwn_usb_tx.c216 rtwn_usb_tx_checksum(struct rtwn_tx_desc_common *txd) in rtwn_usb_tx_checksum() argument
218 txd->txdw7.usb_checksum = 0; in rtwn_usb_tx_checksum()
219 txd->txdw7.usb_checksum = rtwn_usb_calc_tx_checksum(txd); in rtwn_usb_tx_checksum()
227 struct rtwn_tx_desc_common *txd; in rtwn_usb_tx_start() local
253 txd = (struct rtwn_tx_desc_common *)tx_desc; in rtwn_usb_tx_start()
254 txd->pktlen = htole16(m->m_pkthdr.len); in rtwn_usb_tx_start()
255 txd->offset = sc->txdesc_len; in rtwn_usb_tx_start()
256 txd->flags0 |= RTWN_FLAGS0_OWN; in rtwn_usb_tx_start()
257 rtwn_usb_tx_checksum(txd); in rtwn_usb_tx_start()
/freebsd-13.1/sys/contrib/device-tree/Bindings/pinctrl/
H A Dmarvell,armada-39x-pinctrl.txt19 mpp1 1 gpio, ua0(txd)
22 mpp4 4 gpio, ua1(txd), ua0(rts), smi(mdc)
32 mpp14 14 gpio, dram(vttctrl), dev(we1), ua1(txd)
36 mpp18 18 gpio, ua1(txd), spi0(cs0), i2c2(sck)
38 mpp20 20 gpio, sata0(prsnt) [1], ua0(rts), ua1(txd), smi(mdc)
44 mpp25 25 gpio, spi0(cs0), ua0(rts), ua1(txd), sd0(d5), dev(cs0)
61 mpp42 42 gpio, ua1(txd), ua0(rts), dev(ad7)
66 mpp46 46 gpio, ref(clk), pcie0(rstout), ua1(txd), led(stb)
73 mpp51 51 gpio, tdm(dtx) [2], audio(sdo) [2], dram(deccerr), ua2(txd)
78 mpp56 56 gpio, ua1(rts), dram(deccerr), spi1(mosi), ua1(txd)
[all …]
H A Dmarvell,kirkwood-pinctrl.txt36 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig)
40 mpp13 13 gpio, sdio(cmd), uart1(txd)
78 mpp13 13 gpio, sdio(cmd), uart1(txd)
122 mpp13 13 gpio, sdio(cmd), uart1(txd)
171 mpp13 13 gpio, sdio(cmd), uart1(txd)
293 mpp5 5 gpo, nand(io7), uart0(txd)
298 mpp10 10 gpo, spi(sck), uart0(txd)
300 mpp13 13 gpio, uart1(txd)
330 mpp5 5 gpo, nand(io7), uart0(txd)
335 mpp10 10 gpo, uart0(txd)
[all …]
H A Dmarvell,armada-370-pinctrl.txt17 mpp1 1 gpo, uart0(txd)
18 mpp2 2 gpio, i2c0(sck), uart0(txd)
21 mpp5 5 gpo, ge0(txclkout), uart1(txd), spi1(sck), audio(mclk)
25 mpp9 9 gpo, ge0(txd3), uart1(txd), sd0(clk), audio(spdifo)
42 mpp21 21 gpo, ge0(txd5), ge1(txd1), uart1(txd)
63 mpp42 42 gpo, dev(ad3), uart1(txd)
80 mpp55 55 gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt),
91 mpp61 61 gpo, dev(we1), uart1(txd), audio(lrclk)
H A Dmarvell,armada-38x-pinctrl.txt19 mpp1 1 gpio, ua0(txd)
22 mpp4 4 gpio, ge(mdc), ua1(txd), ua0(rts)
36 mpp18 18 gpio, ge0(rxerr), ptp(trig), ua1(txd), spi0(cs0)
43 mpp25 25 gpio, spi0(cs0), ua0(rts), ua1(txd), sd0(d5), dev(cs0)
60 mpp42 42 gpio, ua1(txd), ua0(rts), dev(ad7)
64 mpp46 46 gpio, ref(clk_out1), pcie0(rstout), ua1(txd)
74 mpp56 56 gpio, ua1(rts), ge(mdc), dram(deccerr), spi1(mosi), ua1(txd)
75 mpp57 57 gpio, spi1(sck), sd0(clk), ua1(txd)
/freebsd-13.1/sys/dev/vte/
H A Dif_vte.c666 struct vte_txdesc *txd; in vte_dma_alloc() local
827 txd->tx_m = NULL; in vte_dma_alloc()
830 &txd->tx_dmamap); in vte_dma_alloc()
1098 txd->tx_m = m; in vte_encap()
1100 return (txd); in vte_encap()
1419 m_freem(txd->tx_m); in vte_txeof()
1421 txd->tx_m = NULL; in vte_txeof()
1809 txd->tx_dmamap); in vte_stop()
1812 txd->tx_m = NULL; in vte_stop()
1906 txd->tx_m = NULL; in vte_init_tx_ring()
[all …]
/freebsd-13.1/sys/dev/hyperv/netvsc/
H A Dif_hn.c2705 KASSERT(txd->refs > 0, ("invalid txd refs %d", txd->refs)); in hn_txdesc_put()
2751 txd->m = NULL; in hn_txdesc_put()
2798 KASSERT(txd->m == NULL && txd->refs == 0 && in hn_txdesc_get()
2806 txd->refs = 1; in hn_txdesc_get()
2808 return txd; in hn_txdesc_get()
2816 KASSERT(txd->refs > 0, ("invalid txd refs %d", txd->refs)); in hn_txdesc_hold()
2968 m = txd->m; in hn_flush_txagg()
3257 hn_nvs_sendctx_init(&txd->send_ctx, hn_txpkt_done, txd); in hn_encap()
5334 txd->rndis_pkt, txd->rndis_pkt_dmap); in hn_tx_ring_create()
5347 txd->rndis_pkt, txd->rndis_pkt_dmap); in hn_tx_ring_create()
[all …]
/freebsd-13.1/sys/dev/sge/
H A Dif_sge.c874 txd->tx_m = NULL; in sge_dma_alloc()
876 txd->tx_ndesc = 0; in sge_dma_alloc()
878 &txd->tx_dmamap); in sge_dma_alloc()
1017 m_freem(txd->tx_m); in sge_list_tx_free()
1018 txd->tx_m = NULL; in sge_list_tx_free()
1019 txd->tx_ndesc = 0; in sge_list_tx_free()
1289 m_freem(txd->tx_m); in sge_txeof()
1290 txd->tx_m = NULL; in sge_txeof()
1294 txd->tx_ndesc = 0; in sge_txeof()
1550 txd->tx_m = m; in sge_encap()
[all …]
/freebsd-13.1/sys/dev/rtwn/rtl8821a/
H A Dr21a_beacon.c65 struct r12a_tx_desc *txd = (struct r12a_tx_desc *)buf; in r21a_beacon_init() local
70 txd->txdw3 &= ~htole32(R12A_TXDW3_SEQ_SEL_M); in r21a_beacon_init()
71 txd->txdw3 |= htole32(SM(R12A_TXDW3_SEQ_SEL, id * 2)); in r21a_beacon_init()
/freebsd-13.1/sys/contrib/device-tree/Bindings/arm/marvell/
H A Dcp110-system-controller.txt92 mpp1 1 gpio, dev(ale0), au(i2sdo_spdifo), ge0(rxd2), tdm(drx), ptp(clk), mss_i2c(sck), uart0(txd), …
94 …ev(ad14), au(i2slrclk), ge0(rxd0), tdm(fsync), mss_uart(txd), pcie(rstoutn), i2c1(sda), uart1(txd)…
96 … dev(ad12), au(i2sdi), ge0(rxclk), tdm(intn), mss_uart(txd), uart1(rts), pcie1(clkreq), uart3(txd)…
98 mpp7 7 gpio, dev(ad10), ge0(txd2), spi0(csn1), spi1(csn1), sata0(present_act), led(data), uart0(txd…
102 mpp11 11 gpio, dev(wen1), ge0(txclkout), spi0(clk), spi1(clk), uart0(rts), led(clk), uart2(txd), sa…
136 mpp45 45 gpio, ge1(txd3), uart0(txd), pcie(rstoutn)
138 mpp47 47 gpio, ge1(txd0), spi1(clk), uart1(txd), ge(mdc)
141 mpp50 50 gpio, ge1(rxclk), mss_i2c(sda), spi1(csn0), uart2(txd), uart0(rxd), xg(mdio), sdio(pwr11)
148 mpp57 57 gpio, mss_i2c(sda), ptp(pclk_out), tdm(intn), au(i2sbclk), spi0(mosi), uart1(txd), sata0(p…
150 …pio7, synce2(clk), tdm(fsync), au(i2slrclk), spi0(csn0), uart0(cts), led(stb), uart1(txd), sdio(d1)
[all …]
/freebsd-13.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()
1188 txd->tx_m = NULL; in nge_dma_alloc()
1319 txd->tx_m = NULL; in nge_list_tx_init()
1667 m_freem(txd->tx_m); in nge_txeof()
1668 txd->tx_m = NULL; in nge_txeof()
1895 txd_last = txd; in nge_encap()
1896 map = txd->tx_dmamap; in nge_encap()
1973 txd->tx_m = m; in nge_encap()
[all …]
/freebsd-13.1/sys/mips/atheros/ar531x/
H A Dif_are.c686 struct are_txdesc *txd; in are_encap() local
788 txd->tx_m = *m_head; in are_encap()
1078 struct are_txdesc *txd; in are_dma_alloc() local
1216 txd->tx_m = NULL; in are_dma_alloc()
1217 txd->tx_dmamap = NULL; in are_dma_alloc()
1219 &txd->tx_dmamap); in are_dma_alloc()
1253 struct are_txdesc *txd; in are_dma_free() local
1351 txd->tx_m = NULL; in are_tx_ring_init()
1523 if (txd->tx_m) in are_tx()
1524 m_freem(txd->tx_m); in are_tx()
[all …]
/freebsd-13.1/sys/dev/vge/
H A Dif_vge.c689 struct vge_txdesc *txd; in vge_dma_alloc() local
881 txd->tx_m = NULL; in vge_dma_alloc()
882 txd->tx_dmamap = NULL; in vge_dma_alloc()
884 &txd->tx_dmamap); in vge_dma_alloc()
1328 txd->tx_m = NULL; in vge_tx_list_init()
1409 txd->tx_dmamap); in vge_freebufs()
1410 m_freem(txd->tx_m); in vge_freebufs()
1411 txd->tx_m = NULL; in vge_freebufs()
1651 m_freem(txd->tx_m); in vge_txeof()
1652 txd->tx_m = NULL; in vge_txeof()
[all …]
/freebsd-13.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-13.1/sys/dev/stge/
H A Dif_stge.c865 txd->tx_m = NULL; in stge_dma_alloc()
866 txd->tx_dmamap = 0; in stge_dma_alloc()
868 &txd->tx_dmamap); in stge_dma_alloc()
940 txd->tx_dmamap = 0; in stge_dma_free()
1142 txd->tx_m = m; in stge_encap()
1542 if (txd == NULL) in stge_txeof()
1566 m_freem(txd->tx_m); in stge_txeof()
1567 txd->tx_m = NULL; in stge_txeof()
2263 txd->tx_dmamap); in stge_stop()
2264 m_freem(txd->tx_m); in stge_stop()
[all …]

123