Home
last modified time | relevance | path

Searched refs:ptxdesc (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c29 static void rtl8188eu_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8188eu_cal_txdesc_chksum() argument
31 u16 *usptr = (u16 *)ptxdesc; in rtl8188eu_cal_txdesc_chksum()
37 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum()
41 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum()
51 struct tx_desc *ptxdesc; in rtl8188e_fill_fake_txdesc() local
54 ptxdesc = (struct tx_desc *)desc; in rtl8188e_fill_fake_txdesc()
58 ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); /* own, bFirstSeg, bLastSeg; */ in rtl8188e_fill_fake_txdesc()
60ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << OFFSET_SHT) & 0x00ff0000); /* 32 bytes… in rtl8188e_fill_fake_txdesc()
62 ptxdesc->txdw0 |= cpu_to_le32(BufferLen & 0x0000ffff); /* Buffer size + command header */ in rtl8188e_fill_fake_txdesc()
65ptxdesc->txdw1 |= cpu_to_le32((QSLT_MGNT << QSEL_SHT) & 0x00001f00); /* Fixed queue of Mgnt queue… in rtl8188e_fill_fake_txdesc()
[all …]
Drtl8188e_xmit.c28 struct tx_desc *ptxdesc) in _dbg_dump_tx_info() argument
47 DBG_88E("txdw0(0x%08x)\n", ptxdesc->txdw0); in _dbg_dump_tx_info()
48 DBG_88E("txdw1(0x%08x)\n", ptxdesc->txdw1); in _dbg_dump_tx_info()
49 DBG_88E("txdw2(0x%08x)\n", ptxdesc->txdw2); in _dbg_dump_tx_info()
50 DBG_88E("txdw3(0x%08x)\n", ptxdesc->txdw3); in _dbg_dump_tx_info()
51 DBG_88E("txdw4(0x%08x)\n", ptxdesc->txdw4); in _dbg_dump_tx_info()
52 DBG_88E("txdw5(0x%08x)\n", ptxdesc->txdw5); in _dbg_dump_tx_info()
53 DBG_88E("txdw6(0x%08x)\n", ptxdesc->txdw6); in _dbg_dump_tx_info()
54 DBG_88E("txdw7(0x%08x)\n", ptxdesc->txdw7); in _dbg_dump_tx_info()
/drivers/staging/rtl8712/
Drtl8712_xmit.c360 struct tx_desc *ptxdesc = pxmitbuf->pbuf; in r8712_dump_aggr_xframe() local
363 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe()
381 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
386 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
405 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc() local
415 memcpy(&txdesc_mp, ptxdesc, sizeof(struct tx_desc)); in update_txdesc()
416 memset(ptxdesc, 0, sizeof(struct tx_desc)); in update_txdesc()
418 ptxdesc->txdw0 |= cpu_to_le32(sz & 0x0000ffff); in update_txdesc()
432 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ + 8) << in update_txdesc()
436 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << in update_txdesc()
[all …]
Drtl871x_xmit.c611 u8 *pframe, *mem_start, *ptxdesc; in r8712_xmitframe_coalesce() local
626 ptxdesc = pbuf_start; in r8712_xmitframe_coalesce()
636 _r8712_pktfile_read(&pktfile, ptxdesc, TXDESC_SIZE); in r8712_xmitframe_coalesce()
/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c2954 static void rtl8723b_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8723b_cal_txdesc_chksum() argument
2956 u16 *usPtr = (u16 *)ptxdesc; in rtl8723b_cal_txdesc_chksum()
2963 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8723b_cal_txdesc_chksum()
2974 ptxdesc->txdw7 |= cpu_to_le32(checksum & 0x0000ffff); in rtl8723b_cal_txdesc_chksum()
3002 … fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, PTXDESC_8723B ptxdesc) in fill_txdesc_vcs_8723b() argument
3009 ptxdesc->rtsen = 1; in fill_txdesc_vcs_8723b()
3011 ptxdesc->hw_rts_en = 1; in fill_txdesc_vcs_8723b()
3015 ptxdesc->cts2self = 1; in fill_txdesc_vcs_8723b()
3023 ptxdesc->rtsrate = 8; /* RTS Rate =24M */ in fill_txdesc_vcs_8723b()
3024 ptxdesc->rts_ratefb_lmt = 0xF; in fill_txdesc_vcs_8723b()
[all …]
/drivers/staging/rtl8188eu/include/
Drtl8188e_xmit.h158 struct tx_desc *ptxdesc);
/drivers/staging/rtl8723bs/include/
Drtw_mp.h453 void fill_txdesc_for_mp(struct adapter *padapter, u8 *ptxdesc);