Home
last modified time | relevance | path

Searched refs:pkt_offset (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dwow.c105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
107 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
108 old->mask, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
127 if (old->pkt_offset < ETH_ALEN) in ath10k_wow_convert_8023_to_80211()
128 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211()
131 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211()
135 new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; in ath10k_wow_convert_8023_to_80211()
152 hdr_80211_pattern + new->pkt_offset, in ath10k_wow_convert_8023_to_80211()
155 hdr_80211_bit_mask + new->pkt_offset, in ath10k_wow_convert_8023_to_80211()
342 if (patterns[i].pkt_offset < ETH_HLEN) { in ath10k_vif_wow_set_wakeups()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dwow.c176 memcpy(hdr_8023_pattern + old->pkt_offset, in ath11k_wow_convert_8023_to_80211()
178 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath11k_wow_convert_8023_to_80211()
179 old->mask, ETH_HLEN - old->pkt_offset); in ath11k_wow_convert_8023_to_80211()
198 if (old->pkt_offset < ETH_ALEN) in ath11k_wow_convert_8023_to_80211()
199 new->pkt_offset = old->pkt_offset + in ath11k_wow_convert_8023_to_80211()
202 new->pkt_offset = old->pkt_offset + in ath11k_wow_convert_8023_to_80211()
206 new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; in ath11k_wow_convert_8023_to_80211()
223 hdr_80211_pattern + new->pkt_offset, in ath11k_wow_convert_8023_to_80211()
226 hdr_80211_bit_mask + new->pkt_offset, in ath11k_wow_convert_8023_to_80211()
415 if (patterns[i].pkt_offset < ETH_HLEN) { in ath11k_vif_wow_set_wakeups()
[all …]
A Dhal_tx.h27 u32 pkt_offset; member
A Dhal_tx.c65 FIELD_PREP(HAL_TCL_DATA_CMD_INFO1_PKT_OFFSET, ti->pkt_offset); in ath11k_hal_tx_cmd_desc_setup()
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dsta_tx.c39 u16 pkt_type, pkt_offset; in mwifiex_process_sta_txpd() local
97 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
101 pkt_offset += MWIFIEX_MGMT_FRAME_HEADER_SIZE; in mwifiex_process_sta_txpd()
104 local_tx_pd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_sta_txpd()
A Duap_txrx.c452 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local
496 pkt_offset = sizeof(*txpd) + pad; in mwifiex_process_uap_txpd()
500 pkt_offset += MWIFIEX_MGMT_FRAME_HEADER_SIZE; in mwifiex_process_uap_txpd()
503 txpd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_uap_txpd()
/linux-6.3-rc2/drivers/net/wireless/ti/wlcore/
A Drx.c207 u32 pkt_offset, des; in wlcore_rx() local
251 pkt_offset = 0; in wlcore_rx()
252 while (pkt_offset < buf_size) { in wlcore_rx()
263 wl->aggr_buf + pkt_offset, in wlcore_rx()
277 pkt_offset += wlcore_rx_get_align_buf_size(wl, pkt_len); in wlcore_rx()
/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/
A Dmon.c26 u32 header, pkt_offset; in wilc_wfi_monitor_rx() local
43 pkt_offset = FIELD_GET(WILC_PKT_HDR_OFFSET_FIELD, header); in wilc_wfi_monitor_rx()
45 if (pkt_offset & IS_MANAGMEMENT_CALLBACK) { in wilc_wfi_monitor_rx()
65 if (pkt_offset & IS_MGMT_STATUS_SUCCES) { in wilc_wfi_monitor_rx()
A Dwlan.c953 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local
962 pkt_offset = FIELD_GET(WILC_PKT_HDR_OFFSET_FIELD, header); in wilc_wlan_handle_rx_buff()
969 if (pkt_offset & IS_MANAGMEMENT) { in wilc_wlan_handle_rx_buff()
972 pkt_offset & IS_MGMT_AUTH_PKT); in wilc_wlan_handle_rx_buff()
976 pkt_offset); in wilc_wlan_handle_rx_buff()
980 buff_ptr += pkt_offset; in wilc_wlan_handle_rx_buff()
A Dnetdev.h280 void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
/linux-6.3-rc2/drivers/hv/
A Dring_buffer.c489 u32 bytes_avail, pkt_len, pkt_offset; in hv_pkt_iter_first() local
505 pkt_offset = READ_ONCE(desc->offset8) << 3; in hv_pkt_iter_first()
518 if (pkt_offset < sizeof(struct vmpacket_descriptor) || pkt_offset > pkt_len) in hv_pkt_iter_first()
519 pkt_offset = sizeof(struct vmpacket_descriptor); in hv_pkt_iter_first()
531 desc_copy->offset8 = pkt_offset >> 3; in hv_pkt_iter_first()
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Drtl8723bs_recv.c230 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local
261 pkt_offset = rx_report_sz + in rtl8723bs_recv_tasklet()
265 if (pkt_exceeds_tail(precvpriv, ptr + pkt_offset, in rtl8723bs_recv_tasklet()
352 pkt_offset = round_up(pkt_offset, 8); in rtl8723bs_recv_tasklet()
353 precvbuf->pdata += pkt_offset; in rtl8723bs_recv_tasklet()
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_rx.c320 int pkt_offset, frag_len, i; in hinic_copy_lp_data() local
334 pkt_offset = nic_dev->lb_test_rx_idx * lb_len; in hinic_copy_lp_data()
336 memcpy(lb_buf + pkt_offset, skb->data, frag_len); in hinic_copy_lp_data()
337 pkt_offset += frag_len; in hinic_copy_lp_data()
341 memcpy((lb_buf + pkt_offset), frag_data, frag_len); in hinic_copy_lp_data()
342 pkt_offset += frag_len; in hinic_copy_lp_data()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Dusb.c31 pkt_info.pkt_offset = GET_TX_DESC_PKT_OFFSET(skb->data); in rtw_usb_fill_tx_checksum()
492 u32 pkt_offset; in rtw_usb_rx_handler() local
504 pkt_offset = pkt_desc_sz + pkt_stat.drv_info_sz + in rtw_usb_rx_handler()
508 skb_put(skb, pkt_stat.pkt_len + pkt_offset); in rtw_usb_rx_handler()
509 rtw_fw_c2h_cmd_rx_irqsafe(rtwdev, pkt_offset, skb); in rtw_usb_rx_handler()
520 skb_reserve(skb, pkt_offset); in rtw_usb_rx_handler()
A Dfw.c219 u32 pkt_offset; in rtw_fw_c2h_cmd_handle() local
222 pkt_offset = *((u32 *)skb->cb); in rtw_fw_c2h_cmd_handle()
223 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_handle()
224 len = skb->len - pkt_offset - 2; in rtw_fw_c2h_cmd_handle()
262 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, in rtw_fw_c2h_cmd_rx_irqsafe() argument
268 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_rx_irqsafe()
269 len = skb->len - pkt_offset - 2; in rtw_fw_c2h_cmd_rx_irqsafe()
270 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_c2h_cmd_rx_irqsafe()
294 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_c2h_cmd_rx_irqsafe()
A Dfw.h781 u32 pkt_offset; in get_c2h_from_skb() local
783 pkt_offset = *((u32 *)skb->cb); in get_c2h_from_skb()
784 return (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in get_c2h_from_skb()
799 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset,
A Dpci.c1056 u32 pkt_offset; in rtw_pci_rx_napi() local
1076 pkt_offset = pkt_desc_sz + pkt_stat.drv_info_sz + in rtw_pci_rx_napi()
1082 new_len = pkt_stat.pkt_len + pkt_offset; in rtw_pci_rx_napi()
1091 rtw_fw_c2h_cmd_rx_irqsafe(rtwdev, pkt_offset, new); in rtw_pci_rx_napi()
1094 skb_pull(new, pkt_offset); in rtw_pci_rx_napi()
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dbcmsdh.c382 unsigned int req_sz, func_blk_sz, sg_cnt, sg_data_sz, pkt_offset; in brcmf_sdiod_sglist_rw() local
449 pkt_offset = 0; in brcmf_sdiod_sglist_rw()
450 while (pkt_offset < pkt_next->len) { in brcmf_sdiod_sglist_rw()
451 pkt_data = pkt_next->data + pkt_offset; in brcmf_sdiod_sglist_rw()
452 sg_data_sz = pkt_next->len - pkt_offset; in brcmf_sdiod_sglist_rw()
463 pkt_offset += sg_data_sz; in brcmf_sdiod_sglist_rw()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dhal_tx.c55 le32_encode_bits(ti->pkt_offset, HAL_TCL_DATA_CMD_INFO2_PKT_OFFSET); in ath12k_hal_tx_cmd_desc_setup()
A Dhal_tx.h29 u32 pkt_offset; member
/linux-6.3-rc2/drivers/staging/rtl8712/
A Drtl8712_recv.c978 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local
1022 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe()
1056 transfer_len -= pkt_offset; in recvbuf2recvframe()
1057 pbuf += pkt_offset; in recvbuf2recvframe()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_io.c1203 int index, length, cksum, pkt_offset, is_lb_pkt; in qlcnic_process_rcv() local
1218 pkt_offset = qlcnic_get_sts_pkt_offset(sts_data0); in qlcnic_process_rcv()
1235 if (pkt_offset) in qlcnic_process_rcv()
1236 skb_pull(skb, pkt_offset); in qlcnic_process_rcv()
1498 int index, length, cksum, pkt_offset; in qlcnic_process_rcv_diag() local
1511 pkt_offset = qlcnic_get_sts_pkt_offset(sts_data0); in qlcnic_process_rcv_diag()
1522 if (pkt_offset) in qlcnic_process_rcv_diag()
1523 skb_pull(skb, pkt_offset); in qlcnic_process_rcv_diag()
/linux-6.3-rc2/drivers/net/ethernet/amazon/ena/
A Dena_eth_com.h49 u8 pkt_offset; member
/linux-6.3-rc2/drivers/net/usb/
A Dcatc.c217 int pkt_len, pkt_offset = 0; in catc_rx_done() local
222 pkt_offset = 2; in catc_rx_done()
246 skb_copy_to_linear_data(skb, pkt_start + pkt_offset, pkt_len); in catc_rx_done()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_init.c1523 int index, length, cksum, pkt_offset; in netxen_process_rcv() local
1538 pkt_offset = netxen_get_sts_pkt_offset(sts_data0); in netxen_process_rcv()
1550 if (pkt_offset) in netxen_process_rcv()
1551 skb_pull(skb, pkt_offset); in netxen_process_rcv()

Completed in 78 milliseconds

12