/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | wow.c | 88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211() 105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211() 106 old->pattern, ETH_HLEN - 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() 130 else if (old->pkt_offset < offsetof(struct ethhdr, h_proto)) 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() [all …]
|
H A D | sdio.c | 679 u32 pkt_offset, virt_pkt_len; in ath10k_sdio_mbox_rx_fetch_bundle() local 698 pkt_offset = 0; in ath10k_sdio_mbox_rx_fetch_bundle() 701 htc_hdr = (struct ath10k_htc_hdr *)(ar_sdio->vsg_buffer + pkt_offset); in ath10k_sdio_mbox_rx_fetch_bundle() 710 pkt_offset += pkt->alloc_len; in ath10k_sdio_mbox_rx_fetch_bundle()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | wow.c | 159 int total_len = old->pkt_offset + old->pattern_len; in ath11k_wow_convert_8023_to_80211() 176 memcpy(hdr_8023_pattern + old->pkt_offset, in ath11k_wow_convert_8023_to_80211() 177 old->pattern, ETH_HLEN - 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() 201 else if (old->pkt_offset < offsetof(struct ethhdr, h_proto)) 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() [all …]
|
H A D | hal_tx.h | 27 u32 pkt_offset; member
|
H A D | hal_tx.c | 65 FIELD_PREP(HAL_TCL_DATA_CMD_INFO1_PKT_OFFSET, ti->pkt_offset); in ath11k_hal_tx_cmd_desc_setup()
|
H A D | dp_tx.c | 176 ti.pkt_offset = 0; in ath11k_dp_tx()
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | sdio.c | 937 u32 pkt_offset, struct rtw_rx_pkt_stat *pkt_stat, in rtw_sdio_rxfifo_recv() 943 skb_put(skb, pkt_stat->pkt_len + pkt_offset); in rtw_sdio_rxfifo_recv() local 944 rtw_fw_c2h_cmd_rx_irqsafe(rtwdev, pkt_offset, skb); in rtw_sdio_rxfifo_recv() 949 skb_reserve(skb, pkt_offset); in rtw_sdio_rxfifo_recv() 964 u32 pkt_offset, curr_pkt_len; in rtw_sdio_rxfifo_recv() 985 pkt_offset = pkt_desc_sz + pkt_stat.drv_info_sz + in rtw_sdio_rxfifo_recv() 988 curr_pkt_len = ALIGN(pkt_offset + pkt_stat.pkt_len, in rtw_sdio_rxfifo_recv() 996 rtw_sdio_rx_skb(rtwdev, skb, pkt_offset, &pkt_stat, in rtw_sdio_rxfifo_recv() 1003 rtw_sdio_rx_skb(rtwdev, skb, pkt_offset, &pkt_stat, in rtw_sdio_rx_isr() 1011 rtw_sdio_rx_skb(rtwdev, split_skb, pkt_offset, in rtw_sdio_rx_isr() 916 rtw_sdio_rx_skb(struct rtw_dev * rtwdev,struct sk_buff * skb,u32 pkt_offset,struct rtw_rx_pkt_stat * pkt_stat,struct ieee80211_rx_status * rx_status) rtw_sdio_rx_skb() argument [all...] |
H A D | usb.c | 32 pkt_info.pkt_offset = le32_get_bits(tx_desc->w1, RTW_TX_DESC_W1_PKT_OFFSET); in rtw_usb_fill_tx_checksum() 548 u32 pkt_offset; in rtw_usb_rx_resubmit() 560 pkt_offset = pkt_desc_sz + pkt_stat.drv_info_sz + in rtw_usb_rx_resubmit() 564 skb_put(skb, pkt_stat.pkt_len + pkt_offset); 565 rtw_fw_c2h_cmd_rx_irqsafe(rtwdev, pkt_offset, skb); in rtw_usb_read_port_complete() 576 skb_reserve(skb, pkt_offset); in rtw_usb_read_port_complete() 506 u32 pkt_offset; rtw_usb_rx_handler() local
|
H A D | fw.c | 292 u32 pkt_offset; in rtw_fw_c2h_cmd_rx_irqsafe() 295 pkt_offset = *((u32 *)skb->cb); in rtw_fw_c2h_cmd_rx_irqsafe() 296 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_rx_irqsafe() 297 len = skb->len - pkt_offset - 2; in rtw_fw_c2h_cmd_rx_irqsafe() 335 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, in rtw_fw_send_h2c_command_register() 341 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_send_h2c_command_register() 342 len = skb->len - pkt_offset - 2; in rtw_fw_send_h2c_command_register() 343 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_send_h2c_command_register() 367 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_send_h2c_command() 219 u32 pkt_offset; rtw_fw_c2h_cmd_handle() local 262 rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev * rtwdev,u32 pkt_offset,struct sk_buff * skb) rtw_fw_c2h_cmd_rx_irqsafe() argument
|
H A D | fw.h | 797 u32 pkt_offset; in get_c2h_from_skb() 799 pkt_offset = *((u32 *)skb->cb); in rtw_fw_feature_check() 800 return (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_feature_check() 816 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, 793 u32 pkt_offset; get_c2h_from_skb() local
|
H A D | pci.c | 1108 u32 pkt_offset; in rtw_pci_rx_napi() 1128 pkt_offset = pkt_desc_sz + pkt_stat.drv_info_sz + in rtw_pci_rx_napi() 1134 new_len = pkt_stat.pkt_len + pkt_offset; in rtw_pci_rx_napi() 1143 rtw_fw_c2h_cmd_rx_irqsafe(rtwdev, pkt_offset, new); in rtw_pci_rx_napi() 1146 skb_pull(new, pkt_offset); in rtw_pci_rx_napi() 1107 u32 pkt_offset; rtw_pci_rx_napi() local
|
H A D | tx.c | 52 le32_encode_bits(pkt_info->pkt_offset, RTW_TX_DESC_W1_PKT_OFFSET) | in rtw_tx_fill_tx_desc()
|
H A D | coex.c | 608 u32 pkt_offset; in get_payload_from_coex_resp() local 610 pkt_offset = *((u32 *)resp->cb); in get_payload_from_coex_resp() 611 c2h = (struct rtw_c2h_cmd *)(resp->data + pkt_offset); in get_payload_from_coex_resp()
|
H A D | main.h | 597 u8 pkt_offset; 588 u8 pkt_offset; global() member
|
H A D | rtw8822c.c | 4597 words = (pkt_info->pkt_offset * 8 + chip->tx_pkt_desc_sz) / 2; in rtw8822c_fill_txdesc_checksum()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hal_tx.c | 55 le32_encode_bits(ti->pkt_offset, HAL_TCL_DATA_CMD_INFO2_PKT_OFFSET); in ath12k_hal_tx_cmd_desc_setup()
|
H A D | hal_tx.h | 29 u32 pkt_offset; member
|
H A D | dp_tx.c | 207 ti.pkt_offset = 0; in ath12k_dp_tx()
|
/freebsd/sys/contrib/ena-com/ |
H A D | ena_eth_com.h | 82 u8 pkt_offset; member
|
H A D | ena_eth_com.c | 634 ena_rx_ctx->pkt_offset = cdesc->offset; in ena_com_rx_pkt()
|
/freebsd/sys/dev/ena/ |
H A D | ena_datapath.c | 453 mbuf->m_data = mtodo(mbuf, ena_rx_ctx->pkt_offset); in ena_rx_mbuf() 454 ena_log_io(pdev, DBG, "Mbuf data offset=%u\n", ena_rx_ctx->pkt_offset); in ena_rx_mbuf() 605 ena_rx_ctx.pkt_offset = 0; in ena_rx_cleanup()
|
/freebsd/sys/compat/linuxkpi/common/include/net/ |
H A D | cfg80211.h | 993 int pkt_offset; 966 int pkt_offset; global() member
|