Home
last modified time | relevance | path

Searched refs:pkt_type (Results 1 – 25 of 251) sorted by relevance

1234567891011

/linux-6.12.1/drivers/input/keyboard/
Dapplespi_trace.h22 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 …]
/linux-6.12.1/drivers/staging/vt6655/
Dbaseband.c1760 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument
1818 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1825 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1832 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1839 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1846 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1853 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1860 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1867 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1873 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
[all …]
Drxtx.c183 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument
186 return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type, in vnt_rxtx_rsvtime_le16()
193 unsigned char pkt_type, in get_rtscts_time() argument
203 data_time = bb_get_frame_time(priv->preamble_type, pkt_type, frame_length, current_rate); in get_rtscts_time()
205 rts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time()
206 ack_time = bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time()
209 rts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time()
210 cts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time()
211 ack_time = bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopOFDMBasicRate); in get_rtscts_time()
213 rts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 20, priv->byTopOFDMBasicRate); in get_rtscts_time()
[all …]
/linux-6.12.1/net/mac802154/
Drx.c161 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame()
164 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame()
167 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame()
172 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame()
174 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame()
176 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame()
181 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame()
183 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame()
186 skb->pkt_type = PACKET_BROADCAST; in ieee802154_subif_frame()
188 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame()
[all …]
/linux-6.12.1/drivers/staging/vt6656/
Drxtx.c83 u16 tx_rate, u8 pkt_type, in vnt_get_phy_field() argument
122 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
133 if (pkt_type == PK_TYPE_11B) { in vnt_get_phy_field()
188 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g()
211 tx_context->pkt_type, &buf->ab); in vnt_rxtx_datahead_ab()
241 tx_context->pkt_type, &buf->a); in vnt_rxtx_rts_g_head()
259 tx_context->pkt_type, &buf->ab); in vnt_rxtx_rts_ab_head()
505 u8 pkt_type; in vnt_tx_packet() local
513 pkt_type = PK_TYPE_11A; in vnt_tx_packet()
517 pkt_type = PK_TYPE_11GB; in vnt_tx_packet()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dkfree_skb.c70 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()
Dtest_tc_link.c38 seen_host = skb->pkt_type == PACKET_HOST; in tc1()
96 seen_mcast = skb->pkt_type == PACKET_MULTICAST; in tc7()
/linux-6.12.1/net/bridge/netfilter/
Debt_dnat.c31 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()
Debt_pkttype.c21 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
Debtable_broute.c78 if (skb->pkt_type == PACKET_HOST && in ebt_broute()
81 skb->pkt_type = PACKET_OTHERHOST; in ebt_broute()
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_cmds.c17 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init()
24 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep()
32 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator()
44 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_debug_config()
55 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_coverage_config()
64 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_ubwc_config()
74 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_RESOURCE; in pkt_sys_set_resource()
101 pkt->hdr.pkt_type = HFI_CMD_SYS_RELEASE_RESOURCE; in pkt_sys_unset_resource()
121 pkt->hdr.pkt_type = HFI_CMD_SYS_PING; in pkt_sys_ping()
130 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_power_control()
[all …]
/linux-6.12.1/net/bluetooth/
Dcoredump.c21 u16 pkt_type; member
34 hci_dmp_cb(skb)->pkt_type, hdev->dump.state)
330 switch (hci_dmp_cb(skb)->pkt_type) { in hci_devcd_rx()
353 hci_dmp_cb(skb)->pkt_type, hdev->dump.state); in hci_devcd_rx()
443 hci_dmp_cb(skb)->pkt_type = HCI_DEVCOREDUMP_PKT_INIT; in hci_devcd_init()
463 hci_dmp_cb(skb)->pkt_type = HCI_DEVCOREDUMP_PKT_SKB; in hci_devcd_append()
487 hci_dmp_cb(skb)->pkt_type = HCI_DEVCOREDUMP_PKT_PATTERN; in hci_devcd_append_pattern()
508 hci_dmp_cb(skb)->pkt_type = HCI_DEVCOREDUMP_PKT_COMPLETE; in hci_devcd_complete()
528 hci_dmp_cb(skb)->pkt_type = HCI_DEVCOREDUMP_PKT_ABORT; in hci_devcd_abort()
Dhci_conn.c41 u16 pkt_type; member
214 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco()
227 (esco_param[conn->attempt - 1].pkt_type & ESCO_2EV3)) in find_next_esco_param()
398 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_enhanced_setup_sync()
450 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync_conn()
967 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in __hci_conn_add()
990 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in __hci_conn_add()
993 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in __hci_conn_add()
998 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in __hci_conn_add()
2830 if (conn->pkt_type & (HCI_DM3 | HCI_DH3)) in hci_conn_get_phy()
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsta_tx.c39 u16 pkt_type, pkt_length, pkt_offset; in mwifiex_process_sta_txpd() local
42 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_sta_txpd()
53 if (pkt_type == PKT_TYPE_MGMT) in mwifiex_process_sta_txpd()
90 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_sta_txpd()
92 local_tx_pd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_sta_txpd()
Duap_txrx.c381 u8 ta[ETH_ALEN], pkt_type; in mwifiex_process_uap_rx_packet() local
442 pkt_type = (u8)le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet()
444 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet()
480 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local
483 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_uap_txpd()
516 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_uap_txpd()
518 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
/linux-6.12.1/net/bridge/
Dbr_input.c79 enum br_pkt_type pkt_type = BR_PKT_UNICAST; in br_handle_frame_finish() local
149 pkt_type = BR_PKT_BROADCAST; in br_handle_frame_finish()
152 pkt_type = BR_PKT_MULTICAST; in br_handle_frame_finish()
181 switch (pkt_type) { in br_handle_frame_finish()
215 br_flood(br, skb, pkt_type, local_rcv, false, vid); in br_handle_frame_finish()
331 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame()
422 skb->pkt_type = PACKET_HOST; in br_handle_frame()
Dbr_netfilter_hooks.c388 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish()
435 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish()
478 if (skb->pkt_type == PACKET_OTHERHOST) { in setup_pre_routing()
479 skb->pkt_type = PACKET_HOST; in setup_pre_routing()
620 if (!nfct || skb->pkt_type == PACKET_HOST) in br_nf_local_in()
681 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish()
722 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip()
723 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip()
868 skb->pkt_type = PACKET_OTHERHOST; in br_nf_dev_queue_xmit()
983 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dnetwork_helpers.c767 static const char *pkt_type_str(u16 pkt_type) in pkt_type_str() argument
769 if (pkt_type < ARRAY_SIZE(pkt_types)) in pkt_type_str()
770 return pkt_types[pkt_type]; in pkt_type_str()
777 u16 proto, bool ipv6, u8 pkt_type) in show_transport() argument
803 ifname, pkt_type_str(pkt_type), src_addr, dst_addr, len, in show_transport()
808 ifname, pkt_type_str(pkt_type), src_addr, dst_addr, len, in show_transport()
813 ifname, pkt_type_str(pkt_type), ipv6 ? "IPv6" : "IPv4", in show_transport()
823 ifname, pkt_type_str(pkt_type), src_addr, src_port, in show_transport()
827 ifname, pkt_type_str(pkt_type), src_addr, src_port, in show_transport()
845 static void show_ipv6_packet(const u_char *packet, u32 ifindex, u8 pkt_type) in show_ipv6_packet() argument
[all …]
/linux-6.12.1/drivers/net/can/dev/
Dskb.c127 if (skb->pkt_type == PACKET_LOOPBACK) { in __can_get_echo_skb()
128 skb->pkt_type = PACKET_BROADCAST; in __can_get_echo_skb()
197 skb->pkt_type = PACKET_BROADCAST; in init_can_skb_reserve()
321 skb->pkt_type = PACKET_LOOPBACK; in can_skb_headroom_valid()
323 skb->pkt_type = PACKET_HOST; in can_skb_headroom_valid()
/linux-6.12.1/net/802/
Dfddi.c122 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()
/linux-6.12.1/net/netfilter/
Dxt_pkttype.c28 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt()
29 type = skb->pkt_type; in pkttype_mt()
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_recv.c16 unsigned int pkt_type; in check_type_state() local
22 pkt_type = pkt->opcode & 0xe0; in check_type_state()
26 if (unlikely(pkt_type != IB_OPCODE_RC)) in check_type_state()
30 if (unlikely(pkt_type != IB_OPCODE_UC)) in check_type_state()
35 if (unlikely(pkt_type != IB_OPCODE_UD)) in check_type_state()
/linux-6.12.1/drivers/net/ipvlan/
Dipvlan_core.c237 u8 pkt_type; in ipvlan_process_multicast() local
255 pkt_type = PACKET_BROADCAST; in ipvlan_process_multicast()
257 pkt_type = PACKET_MULTICAST; in ipvlan_process_multicast()
273 nskb->pkt_type = pkt_type; in ipvlan_process_multicast()
288 skb->pkt_type = pkt_type; in ipvlan_process_multicast()
341 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
/linux-6.12.1/drivers/bluetooth/
Dvirtio_bt.c200 __u8 pkt_type; in virtbt_rx_handle() local
202 pkt_type = *((__u8 *) skb->data); in virtbt_rx_handle()
205 switch (pkt_type) { in virtbt_rx_handle()
210 hci_skb_pkt_type(skb) = pkt_type; in virtbt_rx_handle()
/linux-6.12.1/drivers/net/can/
Dvcan.c79 skb->pkt_type = PACKET_BROADCAST; in vcan_rx()
100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()

1234567891011