| /drivers/input/keyboard/ |
| 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 …]
|
| /drivers/media/platform/qcom/venus/ |
| A D | hfi_cmds.c | 17 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() 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() 148 pkt->hdr.pkt_type = HFI_CMD_SYS_TEST_SSR; in pkt_sys_ssr_cmd() [all …]
|
| A D | hfi_msgs.c | 808 if (handler->pkt != hdr->pkt_type) in hfi_process_msg_packet() 815 return hdr->pkt_type; in hfi_process_msg_packet() 820 hdr->size, handler->pkt_sz, hdr->pkt_type); in hfi_process_msg_packet() 822 return hdr->pkt_type; in hfi_process_msg_packet() 842 if (!inst && hdr->pkt_type != HFI_MSG_EVENT_NOTIFY) { in hfi_process_msg_packet() 852 return hdr->pkt_type; in hfi_process_msg_packet()
|
| /drivers/media/platform/qcom/iris/ |
| A D | iris_hfi_gen2_packet.c | 100 static void iris_hfi_gen2_create_packet(struct iris_hfi_header *hdr, u32 pkt_type, in iris_hfi_gen2_create_packet() argument 109 pkt->type = pkt_type; in iris_hfi_gen2_create_packet() 225 void iris_hfi_gen2_packet_session_command(struct iris_inst *inst, u32 pkt_type, in iris_hfi_gen2_packet_session_command() argument 236 pkt_type, in iris_hfi_gen2_packet_session_command() 246 u32 pkt_type, u32 flags, u32 port, in iris_hfi_gen2_packet_session_property() argument 255 pkt_type, in iris_hfi_gen2_packet_session_property()
|
| A D | iris_hfi_gen1_command.c | 34 sys_init_pkt.hdr.pkt_type = HFI_CMD_SYS_INIT; in iris_hfi_gen1_sys_init() 45 packet.hdr.pkt_type = HFI_CMD_SYS_GET_PROPERTY; in iris_hfi_gen1_sys_image_version() 67 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in iris_hfi_gen1_sys_interframe_powercollapse() 83 pkt.hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in iris_hfi_gen1_sys_pc_prep() 110 packet.shdr.hdr.pkt_type = HFI_CMD_SYS_SESSION_INIT; in iris_hfi_gen1_session_open() 129 packet->shdr.hdr.pkt_type = ptype; in iris_hfi_gen1_packet_session_cmd() 219 flush_pkt.shdr.hdr.pkt_type = HFI_CMD_SESSION_FLUSH; in iris_hfi_gen1_session_stop() 247 ip_pkt.shdr.hdr.pkt_type = HFI_CMD_SESSION_EMPTY_BUFFER; in iris_hfi_gen1_queue_input_buffer() 268 op_pkt.shdr.hdr.pkt_type = HFI_CMD_SESSION_FILL_BUFFER; in iris_hfi_gen1_queue_output_buffer() 298 int_pkt->shdr.hdr.pkt_type = HFI_CMD_SESSION_SET_BUFFERS; in iris_hfi_gen1_queue_internal_buffer() [all …]
|
| A D | iris_hfi_gen1_response.c | 206 flush_pkt.shdr.hdr.pkt_type = HFI_CMD_SESSION_FLUSH; in iris_hfi_gen1_event_seq_changed() 412 flush_pkt.shdr.hdr.pkt_type = HFI_CMD_SESSION_FLUSH; in iris_hfi_gen1_session_ftb_done() 584 if (pkt_info->pkt != hdr->pkt_type) in iris_hfi_gen1_handle_response() 592 hdr->size, pkt_info->pkt_sz, hdr->pkt_type, found); in iris_hfi_gen1_handle_response() 597 switch (hdr->pkt_type) { in iris_hfi_gen1_handle_response() 627 if (hdr->pkt_type == HFI_MSG_SESSION_EMPTY_BUFFER) { in iris_hfi_gen1_handle_response() 629 } else if (hdr->pkt_type == HFI_MSG_SESSION_FILL_BUFFER) { in iris_hfi_gen1_handle_response() 658 if (pkt->hdr.pkt_type != HFI_MSG_SYS_COV) { in iris_hfi_gen1_flush_debug_queue()
|
| A D | iris_hfi_gen2_packet.h | 114 void iris_hfi_gen2_packet_session_command(struct iris_inst *inst, u32 pkt_type, 119 u32 pkt_type, u32 flags, u32 port,
|
| /drivers/net/wireless/marvell/mwifiex/ |
| A D | sta_tx.c | 39 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()
|
| A D | uap_txrx.c | 381 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()
|
| A D | sdio.c | 1757 u32 pkt_len, pkt_type, mport, pind; in mwifiex_sdio_card_to_host_mp_aggr() local 1881 pkt_len, pkt_type); in mwifiex_sdio_card_to_host_mp_aggr() 1888 if ((pkt_type == MWIFIEX_TYPE_DATA || in mwifiex_sdio_card_to_host_mp_aggr() 1889 (pkt_type == MWIFIEX_TYPE_AGGR_DATA && in mwifiex_sdio_card_to_host_mp_aggr() 1899 pkt_type); in mwifiex_sdio_card_to_host_mp_aggr() 1906 pkt_type, pkt_len, len_arr[pind]); in mwifiex_sdio_card_to_host_mp_aggr() 1938 pkt_type == MWIFIEX_TYPE_AGGR_DATA) { in mwifiex_sdio_card_to_host_mp_aggr() 1941 pkt_type); in mwifiex_sdio_card_to_host_mp_aggr() 2011 u32 pkt_type; in mwifiex_process_int_status() local 2039 if ((pkt_type != MWIFIEX_TYPE_CMD) && in mwifiex_process_int_status() [all …]
|
| /drivers/net/can/dev/ |
| A D | skb.c | 127 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()
|
| /drivers/infiniband/sw/rxe/ |
| A D | rxe_recv.c | 16 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()
|
| /drivers/net/ipvlan/ |
| A D | ipvlan_core.c | 238 u8 pkt_type; in ipvlan_process_multicast() local 256 pkt_type = PACKET_BROADCAST; in ipvlan_process_multicast() 258 pkt_type = PACKET_MULTICAST; in ipvlan_process_multicast() 274 nskb->pkt_type = pkt_type; in ipvlan_process_multicast() 289 skb->pkt_type = pkt_type; in ipvlan_process_multicast() 342 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
|
| /drivers/bluetooth/ |
| A D | virtio_bt.c | 200 __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()
|
| A D | hci_h5.c | 683 static struct sk_buff *h5_prepare_pkt(struct hci_uart *hu, u8 pkt_type, in h5_prepare_pkt() argument 691 if (!valid_packet_type(pkt_type)) { in h5_prepare_pkt() 692 bt_dev_err(hu->hdev, "Unknown packet type %u", pkt_type); in h5_prepare_pkt() 706 hci_skb_pkt_type(nskb) = pkt_type; in h5_prepare_pkt() 714 if (pkt_type == HCI_ACLDATA_PKT || pkt_type == HCI_COMMAND_PKT) { in h5_prepare_pkt() 720 hdr[1] = pkt_type | ((len & 0x0f) << 4); in h5_prepare_pkt()
|
| A D | hci_vhci.c | 482 __u8 pkt_type, opcode; in vhci_get_user() local 497 pkt_type = *((__u8 *) skb->data); in vhci_get_user() 500 switch (pkt_type) { in vhci_get_user() 510 hci_skb_pkt_type(skb) = pkt_type; in vhci_get_user()
|
| A D | bfusb.c | 258 unsigned char pkt_type; in bfusb_recv_block() local 272 pkt_type = *buf++; len--; in bfusb_recv_block() 274 switch (pkt_type) { in bfusb_recv_block() 312 hci_skb_pkt_type(skb) = pkt_type; in bfusb_recv_block()
|
| /drivers/net/can/ |
| A D | vcan.c | 79 skb->pkt_type = PACKET_BROADCAST; in vcan_rx() 100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
|
| /drivers/net/wireless/mediatek/mt76/mt7615/ |
| A D | mcu.h | 16 u8 pkt_type; member 66 u8 pkt_type; member
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | dp_tx.c | 456 enum hal_tx_rate_stats_pkt_type pkt_type; in ath11k_dp_tx_update_txcompl() local 478 pkt_type = FIELD_GET(HAL_TX_RATE_STATS_INFO0_PKT_TYPE, in ath11k_dp_tx_update_txcompl() 496 if (pkt_type == HAL_TX_RATE_STATS_PKT_TYPE_11A || in ath11k_dp_tx_update_txcompl() 497 pkt_type == HAL_TX_RATE_STATS_PKT_TYPE_11B) { in ath11k_dp_tx_update_txcompl() 499 pkt_type, in ath11k_dp_tx_update_txcompl() 505 } else if (pkt_type == HAL_TX_RATE_STATS_PKT_TYPE_11N) { in ath11k_dp_tx_update_txcompl() 516 } else if (pkt_type == HAL_TX_RATE_STATS_PKT_TYPE_11AC) { in ath11k_dp_tx_update_txcompl() 526 } else if (pkt_type == HAL_TX_RATE_STATS_PKT_TYPE_11AX) { in ath11k_dp_tx_update_txcompl() 538 if (ofdma && pkt_type == HAL_TX_RATE_STATS_PKT_TYPE_11AX) { in ath11k_dp_tx_update_txcompl()
|
| /drivers/media/usb/gspca/ |
| A D | t613.c | 828 int pkt_type; in sd_pkt_scan() local 850 pkt_type = FIRST_PACKET; in sd_pkt_scan() 852 pkt_type = LAST_PACKET; in sd_pkt_scan() 854 pkt_type = INTER_PACKET; in sd_pkt_scan() 855 gspca_frame_add(gspca_dev, pkt_type, data, len); in sd_pkt_scan()
|
| /drivers/net/wireless/mediatek/mt7601u/ |
| A D | phy.c | 811 u8 bbp_r47, pkt_type, tx_rate; in mt7601u_tssi_params_get() local 818 pkt_type = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_PKT_T); in mt7601u_tssi_params_get() 822 switch (pkt_type & 0x03) { in mt7601u_tssi_params_get() 824 tx_rate = (pkt_type >> 4) & 0x03; in mt7601u_tssi_params_get() 829 tx_rate = ofdm_pkt2rate[(pkt_type >> 4) & 0x07]; in mt7601u_tssi_params_get() 849 p.trgt_power += mt7601u_phy_rf_pa_mode_val(dev, pkt_type & 0x03, in mt7601u_tssi_params_get() 853 if ((pkt_type & 0x03) == MT_PHY_TYPE_CCK) { in mt7601u_tssi_params_get() 866 p.tssi0, p.trgt_power, dev->raw_temp, pkt_type); in mt7601u_tssi_params_get()
|
| /drivers/staging/octeon/ |
| A D | ethernet-tx.c | 603 work->word2.s.is_bcast = (skb->pkt_type == PACKET_BROADCAST); in cvm_oct_xmit_pow() 604 work->word2.s.is_mcast = (skb->pkt_type == PACKET_MULTICAST); in cvm_oct_xmit_pow() 631 (skb->pkt_type == PACKET_BROADCAST); in cvm_oct_xmit_pow() 633 (skb->pkt_type == PACKET_MULTICAST); in cvm_oct_xmit_pow()
|
| /drivers/net/ethernet/qualcomm/rmnet/ |
| A D | rmnet_handlers.c | 48 skb->pkt_type = PACKET_HOST; in rmnet_deliver_skb() 214 if (skb->pkt_type == PACKET_LOOPBACK) in rmnet_rx_handler()
|
| /drivers/net/arcnet/ |
| A D | rfc1051.c | 99 skb->pkt_type = PACKET_BROADCAST; in type_trans() 103 skb->pkt_type = PACKET_OTHERHOST; in type_trans()
|