Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c22 static void rtl8188eu_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8188eu_cal_txdesc_chksum() argument
24 u16 *usptr = (u16 *)ptxdesc; in rtl8188eu_cal_txdesc_chksum()
30 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum()
34 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum()
42 struct tx_desc *ptxdesc; in rtl8188e_fill_fake_txdesc() local
45 ptxdesc = (struct tx_desc *)desc; in rtl8188e_fill_fake_txdesc()
49 ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); /* own, bFirstSeg, bLastSeg; */ in rtl8188e_fill_fake_txdesc()
51ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << OFFSET_SHT) & 0x00ff0000); /* 32 bytes… in rtl8188e_fill_fake_txdesc()
53 ptxdesc->txdw0 |= cpu_to_le32(BufferLen & 0x0000ffff); /* Buffer size + command header */ in rtl8188e_fill_fake_txdesc()
56ptxdesc->txdw1 |= cpu_to_le32((QSLT_MGNT << QSEL_SHT) & 0x00001f00); /* Fixed queue of Mgnt queue… in rtl8188e_fill_fake_txdesc()
[all …]
/linux-6.1.9/drivers/staging/rtl8712/
Drtl8712_xmit.c359 struct tx_desc *ptxdesc = pxmitbuf->pbuf; in r8712_dump_aggr_xframe() local
362 u16 total_length = (u16)(ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe()
380 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
385 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
404 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc() local
414 memcpy(&txdesc_mp, ptxdesc, sizeof(struct tx_desc)); in update_txdesc()
415 memset(ptxdesc, 0, sizeof(struct tx_desc)); in update_txdesc()
417 ptxdesc->txdw0 |= cpu_to_le32(sz & 0x0000ffff); in update_txdesc()
431 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ + 8) << in update_txdesc()
435 ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << in update_txdesc()
[all …]
Drtl871x_xmit.c585 u8 *pframe, *mem_start, *ptxdesc; in r8712_xmitframe_coalesce() local
600 ptxdesc = pbuf_start; in r8712_xmitframe_coalesce()
610 _r8712_pktfile_read(&pktfile, ptxdesc, TXDESC_SIZE); in r8712_xmitframe_coalesce()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c2502 static void rtl8723b_cal_txdesc_chksum(struct tx_desc *ptxdesc) in rtl8723b_cal_txdesc_chksum() argument
2504 u16 *usPtr = (u16 *)ptxdesc; in rtl8723b_cal_txdesc_chksum()
2511 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8723b_cal_txdesc_chksum()
2522 ptxdesc->txdw7 |= cpu_to_le32(checksum & 0x0000ffff); in rtl8723b_cal_txdesc_chksum()
2550 …xdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, struct txdesc_8723b *ptxdesc) in fill_txdesc_vcs_8723b() argument
2555 ptxdesc->rtsen = 1; in fill_txdesc_vcs_8723b()
2557 ptxdesc->hw_rts_en = 1; in fill_txdesc_vcs_8723b()
2561 ptxdesc->cts2self = 1; in fill_txdesc_vcs_8723b()
2569 ptxdesc->rtsrate = 8; /* RTS Rate =24M */ in fill_txdesc_vcs_8723b()
2570 ptxdesc->rts_ratefb_lmt = 0xF; in fill_txdesc_vcs_8723b()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_mp.h330 void fill_txdesc_for_mp(struct adapter *padapter, u8 *ptxdesc);