Home
last modified time | relevance | path

Searched defs:pkt (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/net/caif/
Dcfpkt_skbuff.c17 #define PKT_ERROR(pkt, errmsg) \ argument
45 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv()
50 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous()
55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb()
67 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative() local
73 void *cfpkt_tonative(struct cfpkt *pkt) in cfpkt_tonative()
96 void cfpkt_destroy(struct cfpkt *pkt) in cfpkt_destroy()
102 inline bool cfpkt_more(struct cfpkt *pkt) in cfpkt_more()
108 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_peek_head()
119 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_extr_head()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_msgs.c18 struct hfi_msg_event_notify_pkt *pkt) in event_seq_changed()
120 struct hfi_msg_event_notify_pkt *pkt) in event_release_buffer_ref()
138 struct hfi_msg_event_notify_pkt *pkt) in event_sys_error()
151 struct hfi_msg_event_notify_pkt *pkt) in event_session_error()
183 struct hfi_msg_event_notify_pkt *pkt = packet; in hfi_event_notify() local
211 struct hfi_msg_sys_init_done_pkt *pkt = packet; in hfi_sys_init_done() local
240 struct hfi_msg_sys_property_info_pkt *pkt) in sys_get_prop_image_version()
256 struct hfi_msg_sys_property_info_pkt *pkt = packet; in hfi_sys_property_info() local
278 struct hfi_msg_sys_release_resource_done_pkt *pkt = packet; in hfi_sys_rel_resource_done() local
287 struct hfi_msg_sys_ping_ack_pkt *pkt = packet; in hfi_sys_ping_done() local
[all …]
Dhfi_cmds.c13 void pkt_sys_init(struct hfi_sys_init_pkt *pkt, u32 arch_type) in pkt_sys_init()
20 void pkt_sys_pc_prep(struct hfi_sys_pc_prep_pkt *pkt) in pkt_sys_pc_prep()
26 void pkt_sys_idle_indicator(struct hfi_sys_set_property_pkt *pkt, u32 enable) in pkt_sys_idle_indicator()
37 void pkt_sys_debug_config(struct hfi_sys_set_property_pkt *pkt, u32 mode, in pkt_sys_debug_config()
51 void pkt_sys_coverage_config(struct hfi_sys_set_property_pkt *pkt, u32 mode) in pkt_sys_coverage_config()
60 int pkt_sys_set_resource(struct hfi_sys_set_resource_pkt *pkt, u32 id, u32 size, in pkt_sys_set_resource()
87 int pkt_sys_unset_resource(struct hfi_sys_release_resource_pkt *pkt, u32 id, in pkt_sys_unset_resource()
108 void pkt_sys_ping(struct hfi_sys_ping_pkt *pkt, u32 cookie) in pkt_sys_ping()
115 void pkt_sys_power_control(struct hfi_sys_set_property_pkt *pkt, u32 enable) in pkt_sys_power_control()
126 int pkt_sys_ssr_cmd(struct hfi_sys_test_ssr_pkt *pkt, u32 trigger_type) in pkt_sys_ssr_cmd()
[all …]
Dhfi_venus.c233 struct iface_queue *queue, void *pkt, u32 *tx_req) in venus_read_queue()
375 void *pkt) in venus_iface_cmdq_write_nolock()
403 static int venus_iface_cmdq_write(struct venus_hfi_device *hdev, void *pkt) in venus_iface_cmdq_write()
418 struct hfi_sys_set_resource_pkt *pkt; in venus_hfi_core_set_resource() local
604 void *pkt) in venus_iface_msgq_read_nolock()
625 static int venus_iface_msgq_read(struct venus_hfi_device *hdev, void *pkt) in venus_iface_msgq_read()
637 void *pkt) in venus_iface_dbgq_read_nolock()
659 static int venus_iface_dbgq_read(struct venus_hfi_device *hdev, void *pkt) in venus_iface_dbgq_read()
773 struct hfi_sys_set_property_pkt *pkt; in venus_sys_set_debug() local
790 struct hfi_sys_set_property_pkt *pkt; in venus_sys_set_coverage() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_hdr.h35 static inline struct sk_buff *PKT_TO_SKB(struct rxe_pkt_info *pkt) in PKT_TO_SKB()
281 static inline u8 bth_opcode(struct rxe_pkt_info *pkt) in bth_opcode()
286 static inline void bth_set_opcode(struct rxe_pkt_info *pkt, u8 opcode) in bth_set_opcode()
291 static inline u8 bth_se(struct rxe_pkt_info *pkt) in bth_se()
296 static inline void bth_set_se(struct rxe_pkt_info *pkt, int se) in bth_set_se()
301 static inline u8 bth_mig(struct rxe_pkt_info *pkt) in bth_mig()
306 static inline void bth_set_mig(struct rxe_pkt_info *pkt, u8 mig) in bth_set_mig()
311 static inline u8 bth_pad(struct rxe_pkt_info *pkt) in bth_pad()
316 static inline void bth_set_pad(struct rxe_pkt_info *pkt, u8 pad) in bth_set_pad()
321 static inline u8 bth_tver(struct rxe_pkt_info *pkt) in bth_tver()
[all …]
Drxe_resp.c83 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_resp_queue_pkt() local
118 struct rxe_pkt_info *pkt) in check_psn()
162 struct rxe_pkt_info *pkt) in check_op_seq()
252 struct rxe_pkt_info *pkt) in check_op_valid()
332 struct rxe_pkt_info *pkt) in check_resource()
376 struct rxe_pkt_info *pkt) in check_length()
391 struct rxe_pkt_info *pkt) in check_rkey()
495 struct rxe_pkt_info *pkt) in write_data_in()
519 struct rxe_pkt_info *pkt) in process_atomic()
559 struct rxe_pkt_info *pkt, in prepare_ack_packet()
[all …]
Drxe_recv.c13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state()
79 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys()
111 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr()
171 static int hdr_check(struct rxe_pkt_info *pkt) in hdr_check()
226 static inline void rxe_rcv_pkt(struct rxe_pkt_info *pkt, struct sk_buff *skb) in rxe_rcv_pkt()
236 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_rcv_mcast_pkt() local
314 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_chk_dgid() local
347 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_rcv() local
Drxe_comp.c136 struct rxe_pkt_info *pkt, in get_wqe()
171 struct rxe_pkt_info *pkt, in check_psn()
210 struct rxe_pkt_info *pkt, in check_ack()
341 struct rxe_pkt_info *pkt, in do_read()
359 struct rxe_pkt_info *pkt, in do_atomic()
444 struct rxe_pkt_info *pkt, in complete_ack()
490 struct rxe_pkt_info *pkt, in complete_wqe()
536 struct rxe_pkt_info *pkt = NULL; in rxe_completer() local
/kernel/linux/linux-5.10/drivers/soc/mediatek/
Dmtk-cmdq-helper.c127 struct cmdq_pkt *pkt; in cmdq_pkt_create() local
158 void cmdq_pkt_destroy(struct cmdq_pkt *pkt) in cmdq_pkt_destroy()
169 static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, in cmdq_pkt_append_command()
196 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) in cmdq_pkt_write()
209 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_write_mask()
231 int cmdq_pkt_read_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, in cmdq_pkt_read_s()
246 int cmdq_pkt_write_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, in cmdq_pkt_write_s()
261 int cmdq_pkt_write_s_mask(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, in cmdq_pkt_write_s_mask()
284 int cmdq_pkt_write_s_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, in cmdq_pkt_write_s_value()
298 int cmdq_pkt_write_s_mask_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, in cmdq_pkt_write_s_mask_value()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dviohs.c50 struct vio_ver_info pkt; in send_version() local
163 struct vio_msg_tag *pkt = arg; in process_unknown() local
180 struct vio_dring_register pkt; in send_dreg() member
220 struct vio_rdx pkt; in send_rdx() local
256 struct vio_ver_info *pkt) in process_ver_info()
312 struct vio_ver_info *pkt) in process_ver_ack()
345 struct vio_ver_info *pkt) in process_ver_nack()
364 static int process_ver(struct vio_driver_state *vio, struct vio_ver_info *pkt) in process_ver()
381 static int process_attr(struct vio_driver_state *vio, void *pkt) in process_attr()
428 struct vio_dring_register *pkt) in process_dreg_info()
[all …]
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
Dfifo.c22 void usbhs_pkt_init(struct usbhs_pkt *pkt) in usbhs_pkt_init()
30 static int usbhsf_null_handle(struct usbhs_pkt *pkt, int *is_done) in usbhsf_null_handle()
45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push()
47 struct usbhs_pkt *pkt), in usbhs_pkt_push()
87 static void __usbhsf_pkt_del(struct usbhs_pkt *pkt) in __usbhsf_pkt_del()
106 struct usbhs_pkt *usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt) in usbhs_pkt_pop()
159 struct usbhs_pkt *pkt; in usbhsf_pkt_handler() local
355 static int usbhs_dcp_dir_switch_to_write(struct usbhs_pkt *pkt, int *is_done) in usbhs_dcp_dir_switch_to_write()
384 static int usbhs_dcp_dir_switch_to_read(struct usbhs_pkt *pkt, int *is_done) in usbhs_dcp_dir_switch_to_read()
412 static int usbhs_dcp_dir_switch_done(struct usbhs_pkt *pkt, int *is_done) in usbhs_dcp_dir_switch_done()
[all …]
/kernel/linux/linux-5.10/net/vmw_vsock/
Dvirtio_transport_common.c48 struct virtio_vsock_pkt *pkt; in virtio_transport_alloc_pkt() local
98 struct virtio_vsock_pkt *pkt = opaque; in virtio_transport_build_skb() local
158 void virtio_transport_deliver_tap_pkt(struct virtio_vsock_pkt *pkt) in virtio_transport_deliver_tap_pkt()
179 struct virtio_vsock_pkt *pkt; in virtio_transport_send_pkt_info() local
223 struct virtio_vsock_pkt *pkt) in virtio_transport_inc_rx_pkt()
233 struct virtio_vsock_pkt *pkt) in virtio_transport_dec_rx_pkt()
239 void virtio_transport_inc_tx_pkt(struct virtio_vsock_sock *vvs, struct virtio_vsock_pkt *pkt) in virtio_transport_inc_tx_pkt()
291 struct virtio_vsock_pkt *pkt; in virtio_transport_stream_do_peek() local
340 struct virtio_vsock_pkt *pkt; in virtio_transport_stream_do_dequeue() local
687 struct virtio_vsock_pkt *pkt) in virtio_transport_reset()
[all …]
Dvsock_loopback.c30 static int vsock_loopback_send_pkt(struct virtio_vsock_pkt *pkt) in vsock_loopback_send_pkt()
47 struct virtio_vsock_pkt *pkt, *n; in vsock_loopback_cancel_pkt() local
119 struct virtio_vsock_pkt *pkt; in vsock_loopback_work() local
157 struct virtio_vsock_pkt *pkt; in vsock_loopback_exit() local
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_tables_ipv4.h8 static inline void nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv4()
20 static inline int __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt, in __nft_set_pktinfo_ipv4_validate()
49 static inline void nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv4_validate()
56 static inline int nft_set_pktinfo_ipv4_ingress(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv4_ingress()
Dnf_tables_ipv6.h9 static inline void nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv6()
28 static inline int __nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt, in __nft_set_pktinfo_ipv6_validate()
66 static inline void nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv6_validate()
73 static inline int nft_set_pktinfo_ipv6_ingress(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv6_ingress()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c38 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_reply_error() local
51 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_csa() local
80 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_spectrum_measure_notif() local
97 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_pm_sleep_notif() local
107 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_pm_debug_statistics_notif() local
117 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_beacon_notif() local
353 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_statistics() local
453 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_reply_statistics() local
476 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_card_state_notif() local
527 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_missed_beacon_notif() local
[all …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhwmon.c314 struct cpucp_packet pkt; in hl_get_temperature() local
340 struct cpucp_packet pkt; in hl_set_temperature() local
365 struct cpucp_packet pkt; in hl_get_voltage() local
391 struct cpucp_packet pkt; in hl_get_current() local
417 struct cpucp_packet pkt; in hl_get_fan_speed() local
443 struct cpucp_packet pkt; in hl_get_pwm_info() local
469 struct cpucp_packet pkt; in hl_set_pwm_info() local
492 struct cpucp_packet pkt; in hl_set_voltage() local
517 struct cpucp_packet pkt; in hl_set_current() local
Dfirmware_if.c71 struct cpucp_packet pkt = {}; in hl_fw_send_pci_access_msg() local
82 struct cpucp_packet *pkt; in hl_fw_send_cpu_message() local
148 struct cpucp_packet pkt; in hl_fw_unmask_irq() local
170 struct cpucp_unmask_irq_arr_packet *pkt; in hl_fw_unmask_irq_arr() local
274 struct cpucp_packet pkt = {}; in hl_fw_cpucp_info_get() local
325 struct cpucp_packet pkt = {}; in hl_fw_get_eeprom_data() local
370 struct cpucp_packet pkt = {}; in hl_fw_cpucp_pci_counters_get() local
422 struct cpucp_packet pkt = {}; in hl_fw_cpucp_total_energy_get() local
/kernel/linux/linux-5.10/include/net/caif/
Dcfpkt.h35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8()
44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16()
53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dusbtouchscreen.c264 static int e2i_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in e2i_read_data()
332 static int egalax_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in egalax_read_data()
376 static int etouch_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in etouch_read_data()
411 static int panjit_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in panjit_read_data()
433 static int mtouch_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in mtouch_read_data()
582 static int itm_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in itm_read_data()
619 static int eturbo_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in eturbo_read_data()
650 static int gunze_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in gunze_read_data()
736 static int dmc_tsc10_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in dmc_tsc10_read_data()
751 static int irtouch_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in irtouch_read_data()
[all …]
/kernel/linux/linux-5.10/drivers/net/arcnet/
Drfc1051.c89 struct archdr *pkt = (struct archdr *)skb->data; in type_trans() local
126 struct archdr *pkt = pkthdr; in rx() local
165 struct archdr *pkt = skb_push(skb, hdr_size); in build_header() local
207 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dsmem.c67 struct iwl_rx_packet *pkt) in iwl_parse_shared_mem_22000()
102 struct iwl_rx_packet *pkt) in iwl_parse_shared_mem()
142 struct iwl_rx_packet *pkt; in iwl_get_shared_mem_conf() local
/kernel/linux/linux-5.10/net/netfilter/
Dnft_meta.c80 nft_meta_get_eval_pkttype_lo(const struct nft_pktinfo *pkt, in nft_meta_get_eval_pkttype_lo()
132 const struct nft_pktinfo *pkt) in nft_meta_get_eval_skugid()
166 nft_meta_get_eval_cgroup(u32 *dest, const struct nft_pktinfo *pkt) in nft_meta_get_eval_cgroup()
180 const struct nft_pktinfo *pkt) in nft_meta_get_eval_kind()
231 const struct nft_pktinfo *pkt) in nft_meta_get_eval_ifname()
283 static noinline u32 nft_meta_get_eval_sdif(const struct nft_pktinfo *pkt) in nft_meta_get_eval_sdif()
296 nft_meta_get_eval_sdifname(u32 *dest, const struct nft_pktinfo *pkt) in nft_meta_get_eval_sdifname()
307 const struct nft_pktinfo *pkt) in nft_meta_get_eval()
416 const struct nft_pktinfo *pkt) in nft_meta_set_eval()
822 const struct nft_pktinfo *pkt) in nft_secmark_obj_eval()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c212 static __always_inline struct iphdr *pkt_parse_ipv4(buf_t *pkt, struct iphdr *scratch) in pkt_parse_ipv4()
231 static INLINING bool pkt_parse_icmp_l4_ports(buf_t *pkt, flow_ports_t *ports) in pkt_parse_icmp_l4_ports()
278 bool pkt_skip_ipv6_extension_headers(buf_t *pkt, in pkt_skip_ipv6_extension_headers()
347 pkt_parse_ipv6(buf_t *pkt, struct ipv6hdr *scratch, uint8_t *proto, in pkt_parse_ipv6()
495 buf_t pkt = { in forward_with_gre() local
556 static INLINING ret_t skip_next_hops(buf_t *pkt, int n) in skip_next_hops()
576 static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap, in get_next_hop()
708 static INLINING verdict_t process_icmpv4(buf_t *pkt, metrics_t *metrics) in process_icmpv4()
755 static INLINING verdict_t process_icmpv6(buf_t *pkt, metrics_t *metrics) in process_icmpv6()
807 static INLINING verdict_t process_tcp(buf_t *pkt, void *iph, uint64_t iphlen, in process_tcp()
[all …]
Dtest_xdp_vlan.c57 bool parse_eth_frame(struct ethhdr *eth, void *data_end, struct parse_pkt *pkt) in parse_eth_frame()
110 struct parse_pkt pkt = { 0 }; in xdp_prognum0() local
152 struct parse_pkt pkt = { 0 }; in xdp_prognum1() local
186 struct parse_pkt pkt = { 0 }; in xdp_prognum2() local
246 struct parse_pkt pkt = { 0 }; in xdp_prognum3() local

12345678910>>...13