| /OK3568_Linux_fs/kernel/drivers/input/keyboard/ |
| H A D | applespi_trace.h | 22 enum applespi_pkt_type pkt_type, 26 TP_ARGS(evt_type, pkt_type, buf, len), 30 __field(enum applespi_pkt_type, pkt_type) 37 __entry->pkt_type = pkt_type; 43 __print_symbolic(__entry->pkt_type, 54 enum applespi_pkt_type pkt_type, \ 57 TP_ARGS(evt_type, pkt_type, buf, len) \ 70 enum applespi_pkt_type pkt_type), 72 TP_ARGS(evt_type, pkt_type), 76 __field(enum applespi_pkt_type, pkt_type) [all …]
|
| /OK3568_Linux_fs/kernel/net/mac802154/ |
| H A D | rx.c | 49 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 52 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 57 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 59 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 61 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 66 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 68 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 71 skb->pkt_type = PACKET_BROADCAST; in ieee802154_subif_frame() 73 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 228 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_monitors_rx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/vt6656/ |
| H A D | rxtx.c | 87 u16 tx_rate, u8 pkt_type, in vnt_get_phy_field() argument 126 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 137 if (pkt_type == PK_TYPE_11B) { in vnt_get_phy_field() 192 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g() 215 tx_context->pkt_type, &buf->ab); in vnt_rxtx_datahead_ab() 245 tx_context->pkt_type, &buf->a); in vnt_rxtx_rts_g_head() 263 tx_context->pkt_type, &buf->ab); in vnt_rxtx_rts_ab_head() 511 u8 pkt_type; in vnt_tx_packet() local 519 pkt_type = PK_TYPE_11A; in vnt_tx_packet() 523 pkt_type = PK_TYPE_11GB; in vnt_tx_packet() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/ |
| H A D | hfi_cmds.c | 16 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 23 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 31 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() 43 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_debug_config() 54 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_coverage_config() 64 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_RESOURCE; in pkt_sys_set_resource() 91 pkt->hdr.pkt_type = HFI_CMD_SYS_RELEASE_RESOURCE; in pkt_sys_unset_resource() 111 pkt->hdr.pkt_type = HFI_CMD_SYS_PING; in pkt_sys_ping() 120 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_power_control() 138 pkt->hdr.pkt_type = HFI_CMD_SYS_TEST_SSR; in pkt_sys_ssr_cmd() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/ |
| H A D | hci_rtk_h5.c | 173 switch (bt_cb(skb)->pkt_type) { in h5_enqueue() 198 int len, int pkt_type) in h5_prepare_pkt() argument 207 switch (pkt_type) { in h5_prepare_pkt() 250 bt_cb(nskb)->pkt_type = pkt_type; in h5_prepare_pkt() 317 bt_cb(skb)->pkt_type); in h5_dequeue() 338 bt_cb(skb)->pkt_type); in h5_dequeue() 447 bt_cb(nskb)->pkt_type = H5_LE_PKT; 481 bt_cb(nskb)->pkt_type = H5_LE_PKT; 597 bt_cb(h5->rx_skb)->pkt_type = HCI_ACLDATA_PKT; in h5_complete_rx_pkt() 601 bt_cb(h5->rx_skb)->pkt_type = HCI_EVENT_PKT; in h5_complete_rx_pkt() [all …]
|
| H A D | hci_h4.c | 123 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in h4_enqueue() 188 if(bt_cb(h4->rx_skb)->pkt_type == HCI_EVENT_PKT) in h4_recv() 193 if(bt_cb(h4->rx_skb)->pkt_type == HCI_ACLDATA_PKT) in h4_recv() 290 bt_cb(h4->rx_skb)->pkt_type = type; in h4_recv()
|
| /OK3568_Linux_fs/kernel/drivers/staging/vt6655/ |
| H A D | baseband.c | 1763 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 1821 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1828 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1835 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1842 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1849 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1856 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1863 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1870 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1876 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() [all …]
|
| H A D | rxtx.c | 185 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument 188 return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type, in vnt_rxtx_rsvtime_le16() 195 unsigned char pkt_type, in get_rtscts_time() argument 205 data_time = bb_get_frame_time(priv->byPreambleType, pkt_type, frame_length, current_rate); in get_rtscts_time() 207 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 208 ack_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 211 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 212 cts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 213 ack_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopOFDMBasicRate); in get_rtscts_time() 215 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopOFDMBasicRate); in get_rtscts_time() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | kfree_skb.c | 70 char pkt_type; in BPF_PROG() local 88 bpf_probe_read_kernel(&pkt_type, sizeof(pkt_type), _(&skb->__pkt_type_offset)); in BPF_PROG() 89 pkt_type &= 7; in BPF_PROG() 96 _(skb->len), users, pkt_type); in BPF_PROG()
|
| /OK3568_Linux_fs/kernel/net/bridge/netfilter/ |
| H A D | ebt_dnat.c | 31 skb->pkt_type = PACKET_BROADCAST; in ebt_dnat_tg() 33 skb->pkt_type = PACKET_MULTICAST; in ebt_dnat_tg() 53 skb->pkt_type = PACKET_HOST; in ebt_dnat_tg() 55 skb->pkt_type = PACKET_OTHERHOST; in ebt_dnat_tg()
|
| H A D | ebt_pkttype.c | 21 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_sta_tx.c | 65 t_u32 pkt_type; in wlan_ops_sta_process_txpd() local 77 memcpy_ext(pmpriv->adapter, &pkt_type, in wlan_ops_sta_process_txpd() 78 pmbuf->pbuf + pmbuf->data_offset, sizeof(pkt_type), in wlan_ops_sta_process_txpd() 79 sizeof(pkt_type)); in wlan_ops_sta_process_txpd() 81 pmbuf->pbuf + pmbuf->data_offset + sizeof(pkt_type), in wlan_ops_sta_process_txpd() 83 pmbuf->data_offset += sizeof(pkt_type) + sizeof(tx_control); in wlan_ops_sta_process_txpd() 84 pmbuf->data_len -= sizeof(pkt_type) + sizeof(tx_control); in wlan_ops_sta_process_txpd() 140 plocal_tx_pd->tx_pkt_type = (t_u16)pkt_type; in wlan_ops_sta_process_txpd()
|
| H A D | mlan_uap_txrx.c | 122 t_u8 pkt_type = 0; in wlan_check_unicast_packet() local 133 pkt_type = PKT_INTRA_UCAST; in wlan_check_unicast_packet() 135 pkt_type = PKT_INTER_UCAST; in wlan_check_unicast_packet() 140 if ((pkt_type == PKT_INTRA_UCAST) && in wlan_check_unicast_packet() 144 } else if ((pkt_type == PKT_INTER_UCAST) && in wlan_check_unicast_packet() 168 t_u32 pkt_type; in wlan_ops_uap_process_txpd() local 181 memcpy_ext(pmpriv->adapter, &pkt_type, in wlan_ops_uap_process_txpd() 182 pmbuf->pbuf + pmbuf->data_offset, sizeof(pkt_type), in wlan_ops_uap_process_txpd() 183 sizeof(pkt_type)); in wlan_ops_uap_process_txpd() 185 pmbuf->pbuf + pmbuf->data_offset + sizeof(pkt_type), in wlan_ops_uap_process_txpd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_sta_tx.c | 65 t_u32 pkt_type; in wlan_ops_sta_process_txpd() local 77 memcpy(pmpriv->adapter, &pkt_type, in wlan_ops_sta_process_txpd() 78 pmbuf->pbuf + pmbuf->data_offset, sizeof(pkt_type)); in wlan_ops_sta_process_txpd() 80 pmbuf->pbuf + pmbuf->data_offset + sizeof(pkt_type), in wlan_ops_sta_process_txpd() 82 pmbuf->data_offset += sizeof(pkt_type) + sizeof(tx_control); in wlan_ops_sta_process_txpd() 83 pmbuf->data_len -= sizeof(pkt_type) + sizeof(tx_control); in wlan_ops_sta_process_txpd() 143 plocal_tx_pd->tx_pkt_type = (t_u16)pkt_type; in wlan_ops_sta_process_txpd()
|
| H A D | mlan_sdio.c | 833 t_u32 pkt_type = 0; in wlan_receive_single_packet() local 840 if (MLAN_STATUS_SUCCESS != wlan_sdio_card_to_host(pmadapter, &pkt_type, in wlan_receive_single_packet() 849 if (pkt_type != MLAN_TYPE_DATA && pkt_type != MLAN_TYPE_SPA_DATA) { in wlan_receive_single_packet() 852 pkt_type, pmbuf->data_len); in wlan_receive_single_packet() 858 wlan_decode_rx_packet(pmadapter, pmbuf, pkt_type, MTRUE); in wlan_receive_single_packet() 881 t_u32 pkt_len, pkt_type = 0; in wlan_receive_mp_aggr_buf() local 946 pkt_type = in wlan_receive_mp_aggr_buf() 952 wlan_decode_rx_packet(pmadapter, mbuf_deaggr, pkt_type, in wlan_receive_mp_aggr_buf() 965 pkt_type = wlan_le16_to_cpu(*(t_u16 *)&curr_ptr[2]); in wlan_receive_mp_aggr_buf() 968 pind, pkt_len, pkt_type); in wlan_receive_mp_aggr_buf() [all …]
|
| H A D | mlan_uap_txrx.c | 115 t_u8 pkt_type = 0; in wlan_check_unicast_packet() local 126 pkt_type = PKT_INTRA_UCAST; in wlan_check_unicast_packet() 128 pkt_type = PKT_INTER_UCAST; in wlan_check_unicast_packet() 133 if ((pkt_type == PKT_INTRA_UCAST) && in wlan_check_unicast_packet() 137 } else if ((pkt_type == PKT_INTER_UCAST) && in wlan_check_unicast_packet() 163 t_u32 pkt_type; in wlan_ops_uap_process_txpd() local 176 memcpy(pmpriv->adapter, &pkt_type, in wlan_ops_uap_process_txpd() 177 pmbuf->pbuf + pmbuf->data_offset, sizeof(pkt_type)); in wlan_ops_uap_process_txpd() 179 pmbuf->pbuf + pmbuf->data_offset + sizeof(pkt_type), in wlan_ops_uap_process_txpd() 181 pmbuf->data_offset += sizeof(pkt_type) + sizeof(tx_control); in wlan_ops_uap_process_txpd() [all …]
|
| /OK3568_Linux_fs/kernel/net/bridge/ |
| H A D | br_input.c | 81 enum br_pkt_type pkt_type = BR_PKT_UNICAST; in br_handle_frame_finish() local 108 pkt_type = BR_PKT_BROADCAST; in br_handle_frame_finish() 111 pkt_type = BR_PKT_MULTICAST; in br_handle_frame_finish() 140 switch (pkt_type) { in br_handle_frame_finish() 173 br_flood(br, skb, pkt_type, local_rcv, false); in br_handle_frame_finish() 274 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 361 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | hci_conn.c | 39 u16 pkt_type; member 230 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 274 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 320 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync() 557 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 565 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add() 568 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add() 571 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add() 1813 if (conn->pkt_type & (HCI_DM3 | HCI_DH3)) in hci_conn_get_phy() 1816 if (conn->pkt_type & (HCI_DM5 | HCI_DH5)) in hci_conn_get_phy() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tl/ |
| H A D | mali_kbase_tlstream.c | 41 enum tl_packet_type pkt_type, in kbasep_packet_header_setup() argument 46 MIPE_PACKET_HEADER_W0(pkt_family, pkt_class, pkt_type, stream_id), in kbasep_packet_header_setup() 111 enum tl_packet_type pkt_type; member 155 if (tl_stream_cfg[stream_type].pkt_type == TL_PACKET_TYPE_BODY) in kbase_tlstream_init() 165 tl_stream_cfg[stream_type].pkt_type, in kbase_tlstream_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_tx.c | 51 u16 pkt_type, pkt_offset; in mwifiex_process_sta_txpd() local 63 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_sta_txpd() 110 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_sta_txpd() 112 local_tx_pd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_sta_txpd()
|
| H A D | uap_txrx.c | 375 u8 ta[ETH_ALEN], pkt_type; in mwifiex_process_uap_rx_packet() local 426 pkt_type = (u8)le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet() 428 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet() 464 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local 476 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_uap_txpd() 509 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_uap_txpd() 511 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
|
| /OK3568_Linux_fs/kernel/net/802/ |
| H A D | fddi.c | 122 skb->pkt_type = PACKET_BROADCAST; in fddi_type_trans() 124 skb->pkt_type = PACKET_MULTICAST; in fddi_type_trans() 130 skb->pkt_type = PACKET_OTHERHOST; in fddi_type_trans()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/ |
| H A D | rxe_recv.c | 16 unsigned int pkt_type; in check_type_state() local 21 pkt_type = pkt->opcode & 0xe0; in check_type_state() 25 if (unlikely(pkt_type != IB_OPCODE_RC)) { in check_type_state() 31 if (unlikely(pkt_type != IB_OPCODE_UC)) { in check_type_state() 39 if (unlikely(pkt_type != IB_OPCODE_UD)) { in check_type_state()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | xt_pkttype.c | 28 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt() 29 type = skb->pkt_type; in pkttype_mt()
|
| /OK3568_Linux_fs/kernel/drivers/net/ipvlan/ |
| H A D | ipvlan_core.c | 235 u8 pkt_type; in ipvlan_process_multicast() local 253 pkt_type = PACKET_BROADCAST; in ipvlan_process_multicast() 255 pkt_type = PACKET_MULTICAST; in ipvlan_process_multicast() 271 nskb->pkt_type = pkt_type; in ipvlan_process_multicast() 286 skb->pkt_type = pkt_type; in ipvlan_process_multicast() 340 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
|