Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_cmdpkt.c16 u16 frag_length = 0, frag_offset = 0; in rtl92e_send_cmd_pkt() local
28 frag_length = CMDPACKET_FRAG_SIZE; in rtl92e_send_cmd_pkt()
32 frag_length = (u16)(len - frag_offset); in rtl92e_send_cmd_pkt()
37 skb = dev_alloc_skb(frag_length + in rtl92e_send_cmd_pkt()
40 skb = dev_alloc_skb(frag_length + 4); in rtl92e_send_cmd_pkt()
54 tcb_desc->pkt_size = frag_length; in rtl92e_send_cmd_pkt()
61 tcb_desc->txbuf_size = (u16)frag_length; in rtl92e_send_cmd_pkt()
64 seg_ptr = skb_put(skb, frag_length); in rtl92e_send_cmd_pkt()
65 memcpy(seg_ptr, data, (u32)frag_length); in rtl92e_send_cmd_pkt()
77 data += frag_length; in rtl92e_send_cmd_pkt()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr819xU_firmware.c40 u16 frag_length, frag_offset = 0; in fw_download_code() local
55 frag_length = frag_threshold; in fw_download_code()
58 frag_length = buffer_len - frag_offset; in fw_download_code()
65 skb = dev_alloc_skb(USB_HWDESC_HEADER_LEN + frag_length + 4); in fw_download_code()
80 for (i = 0; i < frag_length; i += 4) { in fw_download_code()
81 *seg_ptr++ = ((i+0) < frag_length)?code_virtual_address[i+3] : 0; in fw_download_code()
82 *seg_ptr++ = ((i+1) < frag_length)?code_virtual_address[i+2] : 0; in fw_download_code()
83 *seg_ptr++ = ((i+2) < frag_length)?code_virtual_address[i+1] : 0; in fw_download_code()
84 *seg_ptr++ = ((i+3) < frag_length)?code_virtual_address[i+0] : 0; in fw_download_code()
99 code_virtual_address += frag_length; in fw_download_code()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c140 u16 frag_length, frag_offset = 0; in _rtl92s_firmware_downloadcode() local
155 frag_length = frag_threshold + extra_descoffset; in _rtl92s_firmware_downloadcode()
157 frag_length = (u16)(buffer_len - frag_offset + in _rtl92s_firmware_downloadcode()
164 skb = dev_alloc_skb(frag_length); in _rtl92s_firmware_downloadcode()
169 (u32)(frag_length - extra_descoffset)); in _rtl92s_firmware_downloadcode()
178 frag_offset += (frag_length - extra_descoffset); in _rtl92s_firmware_downloadcode()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h592 __le16 frag_length; member
Dipw2200.c4821 le16_to_cpu(x->frag_length)); in ipw_rx_notification()