Home
last modified time | relevance | path

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

/drivers/staging/rtl8723au/hal/
Drtl8723au_xmit.c55 static void rtl8192cu_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8192cu_cal_txdesc_chksum() argument
57 u16 *usPtr = (u16 *)ptxdesc; in rtl8192cu_cal_txdesc_chksum()
63 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8192cu_cal_txdesc_chksum()
68 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff&checksum); in rtl8192cu_cal_txdesc_chksum()
71 static void fill_txdesc_sectype(struct pkt_attrib *pattrib, struct tx_desc *ptxdesc) in fill_txdesc_sectype() argument
78 ptxdesc->txdw1 |= cpu_to_le32((0x01<<22)&0x00c00000); in fill_txdesc_sectype()
82 ptxdesc->txdw1 |= cpu_to_le32((0x01<<22)&0x00c00000); in fill_txdesc_sectype()
85 ptxdesc->txdw1 |= cpu_to_le32((0x03<<22)&0x00c00000); in fill_txdesc_sectype()
153 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc() local
159 ptxdesc = (struct tx_desc *)(pmem+PACKET_OFFSET_SZ); in update_txdesc()
[all …]
Drtl8723a_hal_init.c1967 static void rtl8723a_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8723a_cal_txdesc_chksum() argument
1969 u16 *usPtr = (u16 *) ptxdesc; in rtl8723a_cal_txdesc_chksum()
1975 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8723a_cal_txdesc_chksum()
1981 ptxdesc->txdw7 |= cpu_to_le32(checksum & 0x0000ffff); in rtl8723a_cal_txdesc_chksum()
1985 struct txdesc_8723a *ptxdesc) in fill_txdesc_sectype() argument
1993 ptxdesc->sectype = 1; in fill_txdesc_sectype()
1997 ptxdesc->sectype = 3; in fill_txdesc_sectype()
2008 struct txdesc_8723a *ptxdesc) in fill_txdesc_vcs() argument
2014 ptxdesc->rtsen = 1; in fill_txdesc_vcs()
2018 ptxdesc->cts2self = 1; in fill_txdesc_vcs()
[all …]
/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c47 static void rtl8188eu_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8188eu_cal_txdesc_chksum() argument
49 u16 *usptr = (u16 *)ptxdesc; in rtl8188eu_cal_txdesc_chksum()
55 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum()
59 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum()
67 struct tx_desc *ptxdesc; in rtl8188e_fill_fake_txdesc() local
70 ptxdesc = (struct tx_desc *)desc; in rtl8188e_fill_fake_txdesc()
74 ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); /* own, bFirstSeg, bLastSeg; */ in rtl8188e_fill_fake_txdesc()
76ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE+OFFSET_SZ)<<OFFSET_SHT)&0x00ff0000); /* 32 bytes for T… in rtl8188e_fill_fake_txdesc()
78 ptxdesc->txdw0 |= cpu_to_le32(BufferLen&0x0000ffff); /* Buffer size + command header */ in rtl8188e_fill_fake_txdesc()
81 ptxdesc->txdw1 |= cpu_to_le32((QSLT_MGNT<<QSEL_SHT)&0x00001f00); /* Fixed queue of Mgnt queue */ in rtl8188e_fill_fake_txdesc()
[all …]
Drtl8188e_xmit.c63 struct tx_desc *ptxdesc) in _dbg_dump_tx_info() argument
82 DBG_88E("txdw0(0x%08x)\n", ptxdesc->txdw0); in _dbg_dump_tx_info()
83 DBG_88E("txdw1(0x%08x)\n", ptxdesc->txdw1); in _dbg_dump_tx_info()
84 DBG_88E("txdw2(0x%08x)\n", ptxdesc->txdw2); in _dbg_dump_tx_info()
85 DBG_88E("txdw3(0x%08x)\n", ptxdesc->txdw3); in _dbg_dump_tx_info()
86 DBG_88E("txdw4(0x%08x)\n", ptxdesc->txdw4); in _dbg_dump_tx_info()
87 DBG_88E("txdw5(0x%08x)\n", ptxdesc->txdw5); in _dbg_dump_tx_info()
88 DBG_88E("txdw6(0x%08x)\n", ptxdesc->txdw6); in _dbg_dump_tx_info()
89 DBG_88E("txdw7(0x%08x)\n", ptxdesc->txdw7); in _dbg_dump_tx_info()
/drivers/staging/rtl8712/
Drtl8712_xmit.c382 struct tx_desc *ptxdesc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_dump_aggr_xframe() local
385 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe()
402 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
406 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
426 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc() local
436 memcpy(&txdesc_mp, ptxdesc, sizeof(struct tx_desc)); in update_txdesc()
437 memset(ptxdesc, 0, sizeof(struct tx_desc)); in update_txdesc()
439 ptxdesc->txdw0 |= cpu_to_le32(sz&0x0000ffff); in update_txdesc()
453 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE+OFFSET_SZ + 8) << in update_txdesc()
457 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE+OFFSET_SZ) << in update_txdesc()
[all …]
Drtl871x_xmit.c595 u8 *pframe, *mem_start, *ptxdesc; in r8712_xmitframe_coalesce() local
610 ptxdesc = pbuf_start; in r8712_xmitframe_coalesce()
620 _r8712_pktfile_read(&pktfile, ptxdesc, TXDESC_SIZE); in r8712_xmitframe_coalesce()
/drivers/staging/rtl8188eu/include/
Drtl8188e_xmit.h175 struct tx_desc *ptxdesc);