Lines Matching refs:txd
1053 struct r92s_tx_desc *txd;
1071 xferlen = sizeof(*txd) + sizeof(*cmd) + cmdsz;
1076 txd = (struct r92s_tx_desc *)data->buf;
1077 txd->txdw0 = htole32(
1078 SM(R92S_TXDW0_OFFSET, sizeof(*txd)) |
1081 txd->txdw1 = htole32(SM(R92S_TXDW1_QSEL, R92S_TXDW1_QSEL_H2C));
1084 cmd = (struct r92s_fw_cmd_hdr *)&txd[1];
2121 struct r92s_tx_desc *txd;
2183 txd = (struct r92s_tx_desc *)data->buf;
2184 memset(txd, 0, sizeof(*txd));
2186 txd->txdw0 |= htole32(
2188 SM(R92S_TXDW0_OFFSET, sizeof(*txd)) |
2191 txd->txdw1 |= htole32(
2194 txd->txdw1 |= htole32(R92S_TXDW1_NONQOS);
2210 txd->txdw1 |= htole32(
2216 txd->txdw2 |= htole32(R92S_TXDW2_BK);
2218 txd->txdw2 |= htole32(R92S_TXDW2_BMCAST);
2223 txd->txdw3 |= htole32(SM(R92S_TXDW3_SEQ, prio));
2232 xferlen = sizeof(*txd) + m0->m_pkthdr.len;
2233 m_copydata(m0, 0, m0->m_pkthdr.len, (caddr_t)&txd[1]);
2594 struct r92s_tx_desc *txd;
2601 txd = (struct r92s_tx_desc *)data->buf;
2602 memset(txd, 0, sizeof(*txd));
2603 if (len <= RSU_TXBUFSZ - sizeof(*txd)) {
2605 txd->txdw0 |= htole32(R92S_TXDW0_LINIP);
2608 mlen = RSU_TXBUFSZ - sizeof(*txd);
2609 txd->txdw0 |= htole32(SM(R92S_TXDW0_PKTLEN, mlen));
2610 memcpy(&txd[1], buf, mlen);
2611 data->buflen = sizeof(*txd) + mlen;