Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c31 static void rtl8188eu_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8188eu_cal_txdesc_chksum() argument
33 u16 *usptr = (u16 *)ptxdesc; in rtl8188eu_cal_txdesc_chksum()
39 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum()
43 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum()
53 struct tx_desc *ptxdesc; in rtl8188e_fill_fake_txdesc() local
56 ptxdesc = (struct tx_desc *)desc; in rtl8188e_fill_fake_txdesc()
60 ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); /* own, bFirstSeg, bLastSeg; */ in rtl8188e_fill_fake_txdesc()
62ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE+OFFSET_SZ)<<OFFSET_SHT)&0x00ff0000); /* 32 bytes for T… in rtl8188e_fill_fake_txdesc()
64 ptxdesc->txdw0 |= cpu_to_le32(BufferLen&0x0000ffff); /* Buffer size + command header */ in rtl8188e_fill_fake_txdesc()
67 ptxdesc->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()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_xmit.c381 struct tx_desc *ptxdesc = pxmitbuf->pbuf; in r8712_dump_aggr_xframe() local
384 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe()
402 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
407 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
428 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc() local
438 memcpy(&txdesc_mp, ptxdesc, sizeof(struct tx_desc)); in update_txdesc()
439 memset(ptxdesc, 0, sizeof(struct tx_desc)); in update_txdesc()
441 ptxdesc->txdw0 |= cpu_to_le32(sz & 0x0000ffff); in update_txdesc()
455 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ + 8) << in update_txdesc()
459 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << in update_txdesc()
[all …]
Drtl871x_xmit.c602 u8 *pframe, *mem_start, *ptxdesc; in r8712_xmitframe_coalesce() local
617 ptxdesc = pbuf_start; in r8712_xmitframe_coalesce()
627 _r8712_pktfile_read(&pktfile, ptxdesc, TXDESC_SIZE); in r8712_xmitframe_coalesce()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c2958 static void rtl8723b_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8723b_cal_txdesc_chksum() argument
2960 u16 *usPtr = (u16 *)ptxdesc; in rtl8723b_cal_txdesc_chksum()
2967 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8723b_cal_txdesc_chksum()
2978 ptxdesc->txdw7 |= cpu_to_le32(checksum & 0x0000ffff); in rtl8723b_cal_txdesc_chksum()
3006 … fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, PTXDESC_8723B ptxdesc) in fill_txdesc_vcs_8723b() argument
3013 ptxdesc->rtsen = 1; in fill_txdesc_vcs_8723b()
3015 ptxdesc->hw_rts_en = 1; in fill_txdesc_vcs_8723b()
3019 ptxdesc->cts2self = 1; in fill_txdesc_vcs_8723b()
3027 ptxdesc->rtsrate = 8; /* RTS Rate =24M */ in fill_txdesc_vcs_8723b()
3028 ptxdesc->rts_ratefb_lmt = 0xF; in fill_txdesc_vcs_8723b()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtl8188e_xmit.h158 struct tx_desc *ptxdesc);
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_mp.h459 void fill_txdesc_for_mp(struct adapter *padapter, u8 *ptxdesc);