Home
last modified time | relevance | path

Searched refs:pkt (Results 1 - 25 of 774) sorted by relevance

12345678910>>...31

/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c13 void pkt_sys_init(struct hfi_sys_init_pkt *pkt, u32 arch_type) in pkt_sys_init() argument
15 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init()
16 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init()
17 pkt->arch_type = arch_type; in pkt_sys_init()
20 void pkt_sys_pc_prep(struct hfi_sys_pc_prep_pkt *pkt) in pkt_sys_pc_prep() argument
22 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep()
23 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep()
26 void pkt_sys_idle_indicator(struct hfi_sys_set_property_pkt *pkt, u3 argument
37 pkt_sys_debug_config(struct hfi_sys_set_property_pkt *pkt, u32 mode, u32 config) pkt_sys_debug_config() argument
51 pkt_sys_coverage_config(struct hfi_sys_set_property_pkt *pkt, u32 mode) pkt_sys_coverage_config() argument
60 pkt_sys_set_resource(struct hfi_sys_set_resource_pkt *pkt, u32 id, u32 size, u32 addr, void *cookie) pkt_sys_set_resource() argument
87 pkt_sys_unset_resource(struct hfi_sys_release_resource_pkt *pkt, u32 id, u32 size, void *cookie) pkt_sys_unset_resource() argument
108 pkt_sys_ping(struct hfi_sys_ping_pkt *pkt, u32 cookie) pkt_sys_ping() argument
115 pkt_sys_power_control(struct hfi_sys_set_property_pkt *pkt, u32 enable) pkt_sys_power_control() argument
126 pkt_sys_ssr_cmd(struct hfi_sys_test_ssr_pkt *pkt, u32 trigger_type) pkt_sys_ssr_cmd() argument
144 pkt_sys_image_version(struct hfi_sys_get_property_pkt *pkt) pkt_sys_image_version() argument
152 pkt_session_init(struct hfi_session_init_pkt *pkt, void *cookie, u32 session_type, u32 codec) pkt_session_init() argument
167 pkt_session_cmd(struct hfi_session_pkt *pkt, u32 pkt_type, void *cookie) pkt_session_cmd() argument
174 pkt_session_set_buffers(struct hfi_session_set_buffers_pkt *pkt, void *cookie, struct hfi_buffer_desc *bd) pkt_session_set_buffers() argument
213 pkt_session_unset_buffers(struct hfi_session_release_buffer_pkt *pkt, void *cookie, struct hfi_buffer_desc *bd) pkt_session_unset_buffers() argument
254 pkt_session_etb_decoder(struct hfi_session_empty_buffer_compressed_pkt *pkt, void *cookie, struct hfi_frame_data *in_frame) pkt_session_etb_decoder() argument
277 pkt_session_etb_encoder( struct hfi_session_empty_buffer_uncompressed_plane0_pkt *pkt, void *cookie, struct hfi_frame_data *in_frame) pkt_session_etb_encoder() argument
303 pkt_session_ftb(struct hfi_session_fill_buffer_pkt *pkt, void *cookie, struct hfi_frame_data *out_frame) pkt_session_ftb() argument
329 pkt_session_parse_seq_header( struct hfi_session_parse_sequence_header_pkt *pkt, void *cookie, u32 seq_hdr, u32 seq_hdr_len) pkt_session_parse_seq_header() argument
345 pkt_session_get_seq_hdr(struct hfi_session_get_sequence_header_pkt *pkt, void *cookie, u32 seq_hdr, u32 seq_hdr_len) pkt_session_get_seq_hdr() argument
360 pkt_session_flush(struct hfi_session_flush_pkt *pkt, void *cookie, u32 type) pkt_session_flush() argument
380 pkt_session_get_property_1x(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) pkt_session_get_property_1x() argument
400 pkt_session_set_property_1x(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_1x() argument
1071 pkt_session_get_property_3xx(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) pkt_session_get_property_3xx() argument
1097 pkt_session_set_property_3xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_3xx() argument
1162 pkt_session_set_property_4xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_4xx() argument
1223 pkt_session_set_property_6xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_6xx() argument
1253 pkt_session_get_property(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) pkt_session_get_property() argument
1262 pkt_session_set_property(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property() argument
[all...]
H A Dhfi_msgs.c18 struct hfi_msg_event_notify_pkt *pkt) in event_seq_changed()
35 switch (pkt->event_data1) { in event_seq_changed()
44 event.event_type = pkt->event_data1; in event_seq_changed()
46 num_properties_changed = pkt->event_data2; in event_seq_changed()
52 data_ptr = (u8 *)&pkt->ext_event_data[0]; in event_seq_changed()
120 struct hfi_msg_event_notify_pkt *pkt) in event_release_buffer_ref()
126 pkt->ext_event_data; in event_release_buffer_ref()
138 struct hfi_msg_event_notify_pkt *pkt) in event_sys_error()
140 if (pkt) in event_sys_error()
143 pkt in event_sys_error()
17 event_seq_changed(struct venus_core *core, struct venus_inst *inst, struct hfi_msg_event_notify_pkt *pkt) event_seq_changed() argument
118 event_release_buffer_ref(struct venus_core *core, struct venus_inst *inst, struct hfi_msg_event_notify_pkt *pkt) event_release_buffer_ref() argument
137 event_sys_error(struct venus_core *core, u32 event, struct hfi_msg_event_notify_pkt *pkt) event_sys_error() argument
150 event_session_error(struct venus_core *core, struct venus_inst *inst, struct hfi_msg_event_notify_pkt *pkt) event_session_error() argument
183 struct hfi_msg_event_notify_pkt *pkt = packet; hfi_event_notify() local
211 struct hfi_msg_sys_init_done_pkt *pkt = packet; hfi_sys_init_done() local
239 sys_get_prop_image_version(struct device *dev, struct hfi_msg_sys_property_info_pkt *pkt) sys_get_prop_image_version() argument
256 struct hfi_msg_sys_property_info_pkt *pkt = packet; hfi_sys_property_info() local
278 struct hfi_msg_sys_release_resource_done_pkt *pkt = packet; hfi_sys_rel_resource_done() local
287 struct hfi_msg_sys_ping_ack_pkt *pkt = packet; hfi_sys_ping_done() local
306 struct hfi_msg_sys_pc_prep_done_pkt *pkt = packet; hfi_sys_pc_prepare_done() local
313 session_get_prop_profile_level(struct hfi_msg_session_property_info_pkt *pkt, struct hfi_profile_level *profile_level) session_get_prop_profile_level() argument
333 session_get_prop_buf_req(struct hfi_msg_session_property_info_pkt *pkt, struct hfi_buffer_requirements *bufreq) session_get_prop_buf_req() argument
367 struct hfi_msg_session_property_info_pkt *pkt = packet; hfi_session_prop_info() local
403 struct hfi_msg_session_init_done_pkt *pkt = packet; hfi_session_init_done() local
429 struct hfi_msg_session_load_resources_done_pkt *pkt = packet; hfi_session_load_res_done() local
438 struct hfi_msg_session_flush_done_pkt *pkt = packet; hfi_session_flush_done() local
449 struct hfi_msg_session_empty_buffer_done_pkt *pkt = packet; hfi_session_etb_done() local
467 struct hfi_msg_session_fbd_compressed_pkt *pkt = packet; hfi_session_ftb_done() local
480 struct hfi_msg_session_fbd_uncompressed_plane0_pkt *pkt = hfi_session_ftb_done() local
540 struct hfi_msg_session_start_done_pkt *pkt = packet; hfi_session_start_done() local
549 struct hfi_msg_session_stop_done_pkt *pkt = packet; hfi_session_stop_done() local
558 struct hfi_msg_session_release_resources_done_pkt *pkt = packet; hfi_session_rel_res_done() local
567 struct hfi_msg_session_release_buffers_done_pkt *pkt = packet; hfi_session_rel_buf_done() local
576 struct hfi_msg_session_end_done_pkt *pkt = packet; hfi_session_end_done() local
585 struct hfi_msg_sys_session_abort_done_pkt *pkt = packet; hfi_session_abort_done() local
594 struct hfi_msg_session_get_sequence_hdr_done_pkt *pkt = packet; hfi_session_get_seq_hdr_done() local
601 u32 pkt; global() member
748 struct hfi_session_pkt *pkt; hfi_process_msg_packet() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A Drxe_hdr.h19 u32 mask; /* useful info about pkt */
21 u16 pkey_index; /* partition of pkt */
23 u8 port_num; /* port pkt received on */
25 u8 offset; /* bth offset from pkt->hdr */
35 static inline struct sk_buff *PKT_TO_SKB(struct rxe_pkt_info *pkt) in PKT_TO_SKB() argument
37 return container_of((void *)pkt, struct sk_buff, cb); in PKT_TO_SKB()
281 static inline u8 bth_opcode(struct rxe_pkt_info *pkt) in bth_opcode() argument
283 return __bth_opcode(pkt->hdr + pkt->offset); in bth_opcode()
286 static inline void bth_set_opcode(struct rxe_pkt_info *pkt, u argument
291 bth_se(struct rxe_pkt_info *pkt) bth_se() argument
296 bth_set_se(struct rxe_pkt_info *pkt, int se) bth_set_se() argument
301 bth_mig(struct rxe_pkt_info *pkt) bth_mig() argument
306 bth_set_mig(struct rxe_pkt_info *pkt, u8 mig) bth_set_mig() argument
311 bth_pad(struct rxe_pkt_info *pkt) bth_pad() argument
316 bth_set_pad(struct rxe_pkt_info *pkt, u8 pad) bth_set_pad() argument
321 bth_tver(struct rxe_pkt_info *pkt) bth_tver() argument
326 bth_set_tver(struct rxe_pkt_info *pkt, u8 tver) bth_set_tver() argument
331 bth_pkey(struct rxe_pkt_info *pkt) bth_pkey() argument
336 bth_set_pkey(struct rxe_pkt_info *pkt, u16 pkey) bth_set_pkey() argument
341 bth_qpn(struct rxe_pkt_info *pkt) bth_qpn() argument
346 bth_set_qpn(struct rxe_pkt_info *pkt, u32 qpn) bth_set_qpn() argument
351 bth_fecn(struct rxe_pkt_info *pkt) bth_fecn() argument
356 bth_set_fecn(struct rxe_pkt_info *pkt, int fecn) bth_set_fecn() argument
361 bth_becn(struct rxe_pkt_info *pkt) bth_becn() argument
366 bth_set_becn(struct rxe_pkt_info *pkt, int becn) bth_set_becn() argument
371 bth_resv6a(struct rxe_pkt_info *pkt) bth_resv6a() argument
376 bth_set_resv6a(struct rxe_pkt_info *pkt) bth_set_resv6a() argument
381 bth_ack(struct rxe_pkt_info *pkt) bth_ack() argument
386 bth_set_ack(struct rxe_pkt_info *pkt, int ack) bth_set_ack() argument
391 bth_set_resv7(struct rxe_pkt_info *pkt) bth_set_resv7() argument
396 bth_psn(struct rxe_pkt_info *pkt) bth_psn() argument
401 bth_set_psn(struct rxe_pkt_info *pkt, u32 psn) bth_set_psn() argument
406 bth_init(struct rxe_pkt_info *pkt, u8 opcode, int se, int mig, int pad, u16 pkey, u32 qpn, int ack_req, u32 psn) bth_init() argument
449 rdeth_een(struct rxe_pkt_info *pkt) rdeth_een() argument
455 rdeth_set_een(struct rxe_pkt_info *pkt, u32 een) rdeth_set_een() argument
500 deth_qkey(struct rxe_pkt_info *pkt) deth_qkey() argument
506 deth_set_qkey(struct rxe_pkt_info *pkt, u32 qkey) deth_set_qkey() argument
512 deth_sqp(struct rxe_pkt_info *pkt) deth_sqp() argument
518 deth_set_sqp(struct rxe_pkt_info *pkt, u32 sqp) deth_set_sqp() argument
575 reth_va(struct rxe_pkt_info *pkt) reth_va() argument
581 reth_set_va(struct rxe_pkt_info *pkt, u64 va) reth_set_va() argument
587 reth_rkey(struct rxe_pkt_info *pkt) reth_rkey() argument
593 reth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) reth_set_rkey() argument
599 reth_len(struct rxe_pkt_info *pkt) reth_len() argument
605 reth_set_len(struct rxe_pkt_info *pkt, u32 len) reth_set_len() argument
677 atmeth_va(struct rxe_pkt_info *pkt) atmeth_va() argument
683 atmeth_set_va(struct rxe_pkt_info *pkt, u64 va) atmeth_set_va() argument
689 atmeth_rkey(struct rxe_pkt_info *pkt) atmeth_rkey() argument
695 atmeth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) atmeth_set_rkey() argument
701 atmeth_swap_add(struct rxe_pkt_info *pkt) atmeth_swap_add() argument
707 atmeth_set_swap_add(struct rxe_pkt_info *pkt, u64 swap_add) atmeth_set_swap_add() argument
713 atmeth_comp(struct rxe_pkt_info *pkt) atmeth_comp() argument
719 atmeth_set_comp(struct rxe_pkt_info *pkt, u64 comp) atmeth_set_comp() argument
781 aeth_syn(struct rxe_pkt_info *pkt) aeth_syn() argument
787 aeth_set_syn(struct rxe_pkt_info *pkt, u8 syn) aeth_set_syn() argument
793 aeth_msn(struct rxe_pkt_info *pkt) aeth_msn() argument
799 aeth_set_msn(struct rxe_pkt_info *pkt, u32 msn) aeth_set_msn() argument
826 atmack_orig(struct rxe_pkt_info *pkt) atmack_orig() argument
832 atmack_set_orig(struct rxe_pkt_info *pkt, u64 orig) atmack_set_orig() argument
859 immdt_imm(struct rxe_pkt_info *pkt) immdt_imm() argument
865 immdt_set_imm(struct rxe_pkt_info *pkt, __be32 imm) immdt_set_imm() argument
892 ieth_rkey(struct rxe_pkt_info *pkt) ieth_rkey() argument
898 ieth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) ieth_set_rkey() argument
916 header_size(struct rxe_pkt_info *pkt) header_size() argument
921 payload_addr(struct rxe_pkt_info *pkt) payload_addr() argument
927 payload_size(struct rxe_pkt_info *pkt) payload_size() argument
[all...]
/kernel/linux/linux-5.10/net/caif/
H A Dcfpkt_skbuff.c17 #define PKT_ERROR(pkt, errmsg) \
19 cfpkt_priv(pkt)->erronous = true; \
20 skb_reset_tail_pointer(&pkt->skb); \
45 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument
47 return (struct cfpkt_priv_data *) pkt->skb.cb; in cfpkt_priv()
50 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous() argument
52 return cfpkt_priv(pkt)->erronous; in is_erronous()
55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb() argument
57 return &pkt->skb; in pkt_to_skb()
67 struct cfpkt *pkt in cfpkt_fromnative() local
73 cfpkt_tonative(struct cfpkt *pkt) cfpkt_tonative() argument
96 cfpkt_destroy(struct cfpkt *pkt) cfpkt_destroy() argument
102 cfpkt_more(struct cfpkt *pkt) cfpkt_more() argument
108 cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) cfpkt_peek_head() argument
119 cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) cfpkt_extr_head() argument
145 cfpkt_extr_trail(struct cfpkt *pkt, void *dta, u16 len) cfpkt_extr_trail() argument
167 cfpkt_pad_trail(struct cfpkt *pkt, u16 len) cfpkt_pad_trail() argument
172 cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len) cfpkt_add_body() argument
210 cfpkt_addbdy(struct cfpkt *pkt, u8 data) cfpkt_addbdy() argument
215 cfpkt_add_head(struct cfpkt *pkt, const void *data2, u16 len) cfpkt_add_head() argument
242 cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len) cfpkt_add_trail() argument
247 cfpkt_getlen(struct cfpkt *pkt) cfpkt_getlen() argument
253 cfpkt_iterate(struct cfpkt *pkt, u16 (*iter_func)(u16, void *, u16), u16 data) cfpkt_iterate() argument
270 cfpkt_setlen(struct cfpkt *pkt, u16 len) cfpkt_setlen() argument
331 cfpkt_split(struct cfpkt *pkt, u16 pos) cfpkt_split() argument
367 cfpkt_erroneous(struct cfpkt *pkt) cfpkt_erroneous() argument
372 cfpkt_info(struct cfpkt *pkt) cfpkt_info() argument
378 cfpkt_set_prio(struct cfpkt *pkt, int prio) cfpkt_set_prio() argument
[all...]
/kernel/linux/linux-6.6/net/caif/
H A Dcfpkt_skbuff.c17 #define PKT_ERROR(pkt, errmsg) \
19 cfpkt_priv(pkt)->erronous = true; \
20 skb_reset_tail_pointer(&pkt->skb); \
45 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument
47 return (struct cfpkt_priv_data *) pkt->skb.cb; in cfpkt_priv()
50 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous() argument
52 return cfpkt_priv(pkt)->erronous; in is_erronous()
55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb() argument
57 return &pkt->skb; in pkt_to_skb()
67 struct cfpkt *pkt in cfpkt_fromnative() local
73 cfpkt_tonative(struct cfpkt *pkt) cfpkt_tonative() argument
96 cfpkt_destroy(struct cfpkt *pkt) cfpkt_destroy() argument
102 cfpkt_more(struct cfpkt *pkt) cfpkt_more() argument
108 cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) cfpkt_peek_head() argument
119 cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) cfpkt_extr_head() argument
145 cfpkt_extr_trail(struct cfpkt *pkt, void *dta, u16 len) cfpkt_extr_trail() argument
167 cfpkt_pad_trail(struct cfpkt *pkt, u16 len) cfpkt_pad_trail() argument
172 cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len) cfpkt_add_body() argument
210 cfpkt_addbdy(struct cfpkt *pkt, u8 data) cfpkt_addbdy() argument
215 cfpkt_add_head(struct cfpkt *pkt, const void *data2, u16 len) cfpkt_add_head() argument
242 cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len) cfpkt_add_trail() argument
247 cfpkt_getlen(struct cfpkt *pkt) cfpkt_getlen() argument
253 cfpkt_iterate(struct cfpkt *pkt, u16 (*iter_func)(u16, void *, u16), u16 data) cfpkt_iterate() argument
270 cfpkt_setlen(struct cfpkt *pkt, u16 len) cfpkt_setlen() argument
331 cfpkt_split(struct cfpkt *pkt, u16 pos) cfpkt_split() argument
367 cfpkt_erroneous(struct cfpkt *pkt) cfpkt_erroneous() argument
372 cfpkt_info(struct cfpkt *pkt) cfpkt_info() argument
378 cfpkt_set_prio(struct cfpkt *pkt, int prio) cfpkt_set_prio() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/
H A Drxe_hdr.h19 u32 mask; /* useful info about pkt */
21 u16 pkey_index; /* partition of pkt */
23 u8 port_num; /* port pkt received on */
34 static inline struct sk_buff *PKT_TO_SKB(struct rxe_pkt_info *pkt) in PKT_TO_SKB() argument
36 return container_of((void *)pkt, struct sk_buff, cb); in PKT_TO_SKB()
280 static inline u8 bth_opcode(struct rxe_pkt_info *pkt) in bth_opcode() argument
282 return __bth_opcode(pkt->hdr); in bth_opcode()
285 static inline void bth_set_opcode(struct rxe_pkt_info *pkt, u8 opcode) in bth_set_opcode() argument
287 __bth_set_opcode(pkt->hdr, opcode); in bth_set_opcode()
290 static inline u8 bth_se(struct rxe_pkt_info *pkt) in bth_se() argument
295 bth_set_se(struct rxe_pkt_info *pkt, int se) bth_set_se() argument
300 bth_mig(struct rxe_pkt_info *pkt) bth_mig() argument
305 bth_set_mig(struct rxe_pkt_info *pkt, u8 mig) bth_set_mig() argument
310 bth_pad(struct rxe_pkt_info *pkt) bth_pad() argument
315 bth_set_pad(struct rxe_pkt_info *pkt, u8 pad) bth_set_pad() argument
320 bth_tver(struct rxe_pkt_info *pkt) bth_tver() argument
325 bth_set_tver(struct rxe_pkt_info *pkt, u8 tver) bth_set_tver() argument
330 bth_pkey(struct rxe_pkt_info *pkt) bth_pkey() argument
335 bth_set_pkey(struct rxe_pkt_info *pkt, u16 pkey) bth_set_pkey() argument
340 bth_qpn(struct rxe_pkt_info *pkt) bth_qpn() argument
345 bth_set_qpn(struct rxe_pkt_info *pkt, u32 qpn) bth_set_qpn() argument
350 bth_fecn(struct rxe_pkt_info *pkt) bth_fecn() argument
355 bth_set_fecn(struct rxe_pkt_info *pkt, int fecn) bth_set_fecn() argument
360 bth_becn(struct rxe_pkt_info *pkt) bth_becn() argument
365 bth_set_becn(struct rxe_pkt_info *pkt, int becn) bth_set_becn() argument
370 bth_resv6a(struct rxe_pkt_info *pkt) bth_resv6a() argument
375 bth_set_resv6a(struct rxe_pkt_info *pkt) bth_set_resv6a() argument
380 bth_ack(struct rxe_pkt_info *pkt) bth_ack() argument
385 bth_set_ack(struct rxe_pkt_info *pkt, int ack) bth_set_ack() argument
390 bth_set_resv7(struct rxe_pkt_info *pkt) bth_set_resv7() argument
395 bth_psn(struct rxe_pkt_info *pkt) bth_psn() argument
400 bth_set_psn(struct rxe_pkt_info *pkt, u32 psn) bth_set_psn() argument
405 bth_init(struct rxe_pkt_info *pkt, u8 opcode, int se, int mig, int pad, u16 pkey, u32 qpn, int ack_req, u32 psn) bth_init() argument
448 rdeth_een(struct rxe_pkt_info *pkt) rdeth_een() argument
454 rdeth_set_een(struct rxe_pkt_info *pkt, u32 een) rdeth_set_een() argument
499 deth_qkey(struct rxe_pkt_info *pkt) deth_qkey() argument
505 deth_set_qkey(struct rxe_pkt_info *pkt, u32 qkey) deth_set_qkey() argument
511 deth_sqp(struct rxe_pkt_info *pkt) deth_sqp() argument
517 deth_set_sqp(struct rxe_pkt_info *pkt, u32 sqp) deth_set_sqp() argument
574 reth_va(struct rxe_pkt_info *pkt) reth_va() argument
580 reth_set_va(struct rxe_pkt_info *pkt, u64 va) reth_set_va() argument
586 reth_rkey(struct rxe_pkt_info *pkt) reth_rkey() argument
592 reth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) reth_set_rkey() argument
598 reth_len(struct rxe_pkt_info *pkt) reth_len() argument
604 reth_set_len(struct rxe_pkt_info *pkt, u32 len) reth_set_len() argument
636 feth_plt(struct rxe_pkt_info *pkt) feth_plt() argument
641 feth_sel(struct rxe_pkt_info *pkt) feth_sel() argument
646 feth_init(struct rxe_pkt_info *pkt, u8 type, u8 level) feth_init() argument
722 atmeth_va(struct rxe_pkt_info *pkt) atmeth_va() argument
728 atmeth_set_va(struct rxe_pkt_info *pkt, u64 va) atmeth_set_va() argument
734 atmeth_rkey(struct rxe_pkt_info *pkt) atmeth_rkey() argument
740 atmeth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) atmeth_set_rkey() argument
746 atmeth_swap_add(struct rxe_pkt_info *pkt) atmeth_swap_add() argument
752 atmeth_set_swap_add(struct rxe_pkt_info *pkt, u64 swap_add) atmeth_set_swap_add() argument
758 atmeth_comp(struct rxe_pkt_info *pkt) atmeth_comp() argument
764 atmeth_set_comp(struct rxe_pkt_info *pkt, u64 comp) atmeth_set_comp() argument
825 aeth_syn(struct rxe_pkt_info *pkt) aeth_syn() argument
831 aeth_set_syn(struct rxe_pkt_info *pkt, u8 syn) aeth_set_syn() argument
837 aeth_msn(struct rxe_pkt_info *pkt) aeth_msn() argument
843 aeth_set_msn(struct rxe_pkt_info *pkt, u32 msn) aeth_set_msn() argument
870 atmack_orig(struct rxe_pkt_info *pkt) atmack_orig() argument
876 atmack_set_orig(struct rxe_pkt_info *pkt, u64 orig) atmack_set_orig() argument
903 immdt_imm(struct rxe_pkt_info *pkt) immdt_imm() argument
909 immdt_set_imm(struct rxe_pkt_info *pkt, __be32 imm) immdt_set_imm() argument
936 ieth_rkey(struct rxe_pkt_info *pkt) ieth_rkey() argument
942 ieth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) ieth_set_rkey() argument
961 header_size(struct rxe_pkt_info *pkt) header_size() argument
966 payload_addr(struct rxe_pkt_info *pkt) payload_addr() argument
971 payload_size(struct rxe_pkt_info *pkt) payload_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c14 void pkt_sys_init(struct hfi_sys_init_pkt *pkt, u32 arch_type) in pkt_sys_init() argument
16 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init()
17 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init()
18 pkt->arch_type = arch_type; in pkt_sys_init()
21 void pkt_sys_pc_prep(struct hfi_sys_pc_prep_pkt *pkt) in pkt_sys_pc_prep() argument
23 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep()
24 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep()
27 void pkt_sys_idle_indicator(struct hfi_sys_set_property_pkt *pkt, u3 argument
38 pkt_sys_debug_config(struct hfi_sys_set_property_pkt *pkt, u32 mode, u32 config) pkt_sys_debug_config() argument
52 pkt_sys_coverage_config(struct hfi_sys_set_property_pkt *pkt, u32 mode) pkt_sys_coverage_config() argument
61 pkt_sys_ubwc_config(struct hfi_sys_set_property_pkt *pkt, const struct hfi_ubwc_config *hfi) pkt_sys_ubwc_config() argument
70 pkt_sys_set_resource(struct hfi_sys_set_resource_pkt *pkt, u32 id, u32 size, u32 addr, void *cookie) pkt_sys_set_resource() argument
97 pkt_sys_unset_resource(struct hfi_sys_release_resource_pkt *pkt, u32 id, u32 size, void *cookie) pkt_sys_unset_resource() argument
118 pkt_sys_ping(struct hfi_sys_ping_pkt *pkt, u32 cookie) pkt_sys_ping() argument
125 pkt_sys_power_control(struct hfi_sys_set_property_pkt *pkt, u32 enable) pkt_sys_power_control() argument
136 pkt_sys_ssr_cmd(struct hfi_sys_test_ssr_pkt *pkt, u32 trigger_type) pkt_sys_ssr_cmd() argument
154 pkt_sys_image_version(struct hfi_sys_get_property_pkt *pkt) pkt_sys_image_version() argument
162 pkt_session_init(struct hfi_session_init_pkt *pkt, void *cookie, u32 session_type, u32 codec) pkt_session_init() argument
177 pkt_session_cmd(struct hfi_session_pkt *pkt, u32 pkt_type, void *cookie) pkt_session_cmd() argument
184 pkt_session_set_buffers(struct hfi_session_set_buffers_pkt *pkt, void *cookie, struct hfi_buffer_desc *bd) pkt_session_set_buffers() argument
223 pkt_session_unset_buffers(struct hfi_session_release_buffer_pkt *pkt, void *cookie, struct hfi_buffer_desc *bd) pkt_session_unset_buffers() argument
264 pkt_session_etb_decoder(struct hfi_session_empty_buffer_compressed_pkt *pkt, void *cookie, struct hfi_frame_data *in_frame) pkt_session_etb_decoder() argument
287 pkt_session_etb_encoder( struct hfi_session_empty_buffer_uncompressed_plane0_pkt *pkt, void *cookie, struct hfi_frame_data *in_frame) pkt_session_etb_encoder() argument
313 pkt_session_ftb(struct hfi_session_fill_buffer_pkt *pkt, void *cookie, struct hfi_frame_data *out_frame) pkt_session_ftb() argument
339 pkt_session_parse_seq_header( struct hfi_session_parse_sequence_header_pkt *pkt, void *cookie, u32 seq_hdr, u32 seq_hdr_len) pkt_session_parse_seq_header() argument
355 pkt_session_get_seq_hdr(struct hfi_session_get_sequence_header_pkt *pkt, void *cookie, u32 seq_hdr, u32 seq_hdr_len) pkt_session_get_seq_hdr() argument
370 pkt_session_flush(struct hfi_session_flush_pkt *pkt, void *cookie, u32 type) pkt_session_flush() argument
390 pkt_session_get_property_1x(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) pkt_session_get_property_1x() argument
410 pkt_session_set_property_1x(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_1x() argument
1098 pkt_session_get_property_3xx(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) pkt_session_get_property_3xx() argument
1124 pkt_session_set_property_3xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_3xx() argument
1189 pkt_session_set_property_4xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_4xx() argument
1300 pkt_session_set_property_6xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property_6xx() argument
1351 pkt_session_get_property(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) pkt_session_get_property() argument
1360 pkt_session_set_property(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) pkt_session_set_property() argument
[all...]
H A Dhfi_msgs.c23 struct hfi_msg_event_notify_pkt *pkt) in event_seq_changed()
41 switch (pkt->event_data1) { in event_seq_changed()
50 event.event_type = pkt->event_data1; in event_seq_changed()
52 num_properties_changed = pkt->event_data2; in event_seq_changed()
58 data_ptr = (u8 *)&pkt->ext_event_data[0]; in event_seq_changed()
132 struct hfi_msg_event_notify_pkt *pkt) in event_release_buffer_ref()
138 pkt->ext_event_data; in event_release_buffer_ref()
150 struct hfi_msg_event_notify_pkt *pkt) in event_sys_error()
152 if (pkt) in event_sys_error()
155 pkt in event_sys_error()
22 event_seq_changed(struct venus_core *core, struct venus_inst *inst, struct hfi_msg_event_notify_pkt *pkt) event_seq_changed() argument
130 event_release_buffer_ref(struct venus_core *core, struct venus_inst *inst, struct hfi_msg_event_notify_pkt *pkt) event_release_buffer_ref() argument
149 event_sys_error(struct venus_core *core, u32 event, struct hfi_msg_event_notify_pkt *pkt) event_sys_error() argument
162 event_session_error(struct venus_core *core, struct venus_inst *inst, struct hfi_msg_event_notify_pkt *pkt) event_session_error() argument
195 struct hfi_msg_event_notify_pkt *pkt = packet; hfi_event_notify() local
223 struct hfi_msg_sys_init_done_pkt *pkt = packet; hfi_sys_init_done() local
251 sys_get_prop_image_version(struct venus_core *core, struct hfi_msg_sys_property_info_pkt *pkt) sys_get_prop_image_version() argument
303 struct hfi_msg_sys_property_info_pkt *pkt = packet; hfi_sys_property_info() local
325 struct hfi_msg_sys_release_resource_done_pkt *pkt = packet; hfi_sys_rel_resource_done() local
334 struct hfi_msg_sys_ping_ack_pkt *pkt = packet; hfi_sys_ping_done() local
353 struct hfi_msg_sys_pc_prep_done_pkt *pkt = packet; hfi_sys_pc_prepare_done() local
360 session_get_prop_profile_level(struct hfi_msg_session_property_info_pkt *pkt, struct hfi_profile_level *profile_level) session_get_prop_profile_level() argument
380 session_get_prop_buf_req(struct hfi_msg_session_property_info_pkt *pkt, struct hfi_buffer_requirements *bufreq) session_get_prop_buf_req() argument
414 struct hfi_msg_session_property_info_pkt *pkt = packet; hfi_session_prop_info() local
450 struct hfi_msg_session_init_done_pkt *pkt = packet; hfi_session_init_done() local
476 struct hfi_msg_session_load_resources_done_pkt *pkt = packet; hfi_session_load_res_done() local
485 struct hfi_msg_session_flush_done_pkt *pkt = packet; hfi_session_flush_done() local
496 struct hfi_msg_session_empty_buffer_done_pkt *pkt = packet; hfi_session_etb_done() local
514 struct hfi_msg_session_fbd_compressed_pkt *pkt = packet; hfi_session_ftb_done() local
527 struct hfi_msg_session_fbd_uncompressed_plane0_pkt *pkt = hfi_session_ftb_done() local
587 struct hfi_msg_session_start_done_pkt *pkt = packet; hfi_session_start_done() local
596 struct hfi_msg_session_stop_done_pkt *pkt = packet; hfi_session_stop_done() local
605 struct hfi_msg_session_release_resources_done_pkt *pkt = packet; hfi_session_rel_res_done() local
614 struct hfi_msg_session_release_buffers_done_pkt *pkt = packet; hfi_session_rel_buf_done() local
623 struct hfi_msg_session_end_done_pkt *pkt = packet; hfi_session_end_done() local
632 struct hfi_msg_sys_session_abort_done_pkt *pkt = packet; hfi_session_abort_done() local
641 struct hfi_msg_session_get_sequence_hdr_done_pkt *pkt = packet; hfi_session_get_seq_hdr_done() local
648 u32 pkt; global() member
795 struct hfi_session_pkt *pkt; hfi_process_msg_packet() local
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dviohs.c50 struct vio_ver_info pkt; in send_version() local
54 memset(&pkt, 0, sizeof(pkt)); in send_version()
55 init_tag(&pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_VER_INFO); in send_version()
56 pkt.major = major; in send_version()
57 pkt.minor = minor; in send_version()
58 pkt.dev_class = vio->dev_class; in send_version()
63 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version()
163 struct vio_msg_tag *pkt in process_unknown() local
180 struct vio_dring_register pkt; send_dreg() member
220 struct vio_rdx pkt; send_rdx() local
255 process_ver_info(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_info() argument
311 process_ver_ack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_ack() argument
344 process_ver_nack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_nack() argument
364 process_ver(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver() argument
381 process_attr(struct vio_driver_state *vio, void *pkt) process_attr() argument
427 process_dreg_info(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_info() argument
502 process_dreg_ack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_ack() argument
529 process_dreg_nack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_nack() argument
541 process_dreg(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg() argument
562 process_dunreg(struct vio_driver_state *vio, struct vio_dring_unregister *pkt) process_dunreg() argument
583 process_rdx_info(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_info() argument
596 process_rdx_ack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_ack() argument
607 process_rdx_nack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_nack() argument
614 process_rdx(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx() argument
634 vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt) vio_control_pkt_engine() argument
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dviohs.c50 struct vio_ver_info pkt; in send_version() local
54 memset(&pkt, 0, sizeof(pkt)); in send_version()
55 init_tag(&pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_VER_INFO); in send_version()
56 pkt.major = major; in send_version()
57 pkt.minor = minor; in send_version()
58 pkt.dev_class = vio->dev_class; in send_version()
63 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version()
163 struct vio_msg_tag *pkt in process_unknown() local
180 struct vio_dring_register pkt; send_dreg() member
220 struct vio_rdx pkt; send_rdx() local
255 process_ver_info(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_info() argument
311 process_ver_ack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_ack() argument
344 process_ver_nack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_nack() argument
364 process_ver(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver() argument
381 process_attr(struct vio_driver_state *vio, void *pkt) process_attr() argument
427 process_dreg_info(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_info() argument
500 process_dreg_ack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_ack() argument
527 process_dreg_nack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_nack() argument
539 process_dreg(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg() argument
560 process_dunreg(struct vio_driver_state *vio, struct vio_dring_unregister *pkt) process_dunreg() argument
581 process_rdx_info(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_info() argument
594 process_rdx_ack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_ack() argument
605 process_rdx_nack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_nack() argument
612 process_rdx(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx() argument
632 vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt) vio_control_pkt_engine() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c70 u8 largepkt; /* this is large pkt from kmalloc */
81 struct qib_user_sdma_queue *pq; /* which pq this pkt belongs to */
254 static void qib_user_sdma_init_frag(struct qib_user_sdma_pkt *pkt, in qib_user_sdma_init_frag() argument
261 pkt->addr[i].offset = offset; in qib_user_sdma_init_frag()
262 pkt->addr[i].length = len; in qib_user_sdma_init_frag()
263 pkt->addr[i].first_desc = first_desc; in qib_user_sdma_init_frag()
264 pkt->addr[i].last_desc = last_desc; in qib_user_sdma_init_frag()
265 pkt->addr[i].put_page = put_page; in qib_user_sdma_init_frag()
266 pkt->addr[i].dma_mapped = dma_mapped; in qib_user_sdma_init_frag()
267 pkt in qib_user_sdma_init_frag()
295 qib_user_sdma_page_to_frags(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, struct page *page, u16 put, u16 offset, u16 len, void *kvaddr) qib_user_sdma_page_to_frags() argument
557 qib_user_sdma_coalesce(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) qib_user_sdma_coalesce() argument
615 qib_user_sdma_free_pkt_frag(struct device *dev, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, int frag) qib_user_sdma_free_pkt_frag() argument
658 qib_user_sdma_pin_pages(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, unsigned long addr, int tlen, size_t npages) qib_user_sdma_pin_pages() argument
715 qib_user_sdma_pin_pkt(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) qib_user_sdma_pin_pkt() argument
757 qib_user_sdma_init_payload(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov, int npages) qib_user_sdma_init_payload() argument
779 struct qib_user_sdma_pkt *pkt, *pkt_next; qib_user_sdma_free_pkt_list() local
815 struct qib_user_sdma_pkt *pkt = NULL; qib_user_sdma_queue_pkts() local
1065 struct qib_user_sdma_pkt *pkt; qib_user_sdma_queue_clean() local
1161 struct qib_user_sdma_pkt *pkt; qib_user_sdma_queue_drain() local
1221 qib_user_sdma_send_frag(struct qib_pportdata *ppd, struct qib_user_sdma_pkt *pkt, int idx, unsigned ofs, u16 tail, u8 gen) qib_user_sdma_send_frag() argument
1265 struct qib_user_sdma_pkt *pkt = qib_user_sdma_send_desc() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c70 u8 largepkt; /* this is large pkt from kmalloc */
81 struct qib_user_sdma_queue *pq; /* which pq this pkt belongs to */
254 static void qib_user_sdma_init_frag(struct qib_user_sdma_pkt *pkt, in qib_user_sdma_init_frag() argument
261 pkt->addr[i].offset = offset; in qib_user_sdma_init_frag()
262 pkt->addr[i].length = len; in qib_user_sdma_init_frag()
263 pkt->addr[i].first_desc = first_desc; in qib_user_sdma_init_frag()
264 pkt->addr[i].last_desc = last_desc; in qib_user_sdma_init_frag()
265 pkt->addr[i].put_page = put_page; in qib_user_sdma_init_frag()
266 pkt->addr[i].dma_mapped = dma_mapped; in qib_user_sdma_init_frag()
267 pkt in qib_user_sdma_init_frag()
295 qib_user_sdma_page_to_frags(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, struct page *page, u16 put, u16 offset, u16 len, void *kvaddr) qib_user_sdma_page_to_frags() argument
556 qib_user_sdma_coalesce(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) qib_user_sdma_coalesce() argument
613 qib_user_sdma_free_pkt_frag(struct device *dev, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, int frag) qib_user_sdma_free_pkt_frag() argument
653 qib_user_sdma_pin_pages(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, unsigned long addr, int tlen, size_t npages) qib_user_sdma_pin_pages() argument
710 qib_user_sdma_pin_pkt(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) qib_user_sdma_pin_pkt() argument
752 qib_user_sdma_init_payload(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov, int npages) qib_user_sdma_init_payload() argument
774 struct qib_user_sdma_pkt *pkt, *pkt_next; qib_user_sdma_free_pkt_list() local
810 struct qib_user_sdma_pkt *pkt = NULL; qib_user_sdma_queue_pkts() local
1060 struct qib_user_sdma_pkt *pkt; qib_user_sdma_queue_clean() local
1156 struct qib_user_sdma_pkt *pkt; qib_user_sdma_queue_drain() local
1216 qib_user_sdma_send_frag(struct qib_pportdata *ppd, struct qib_user_sdma_pkt *pkt, int idx, unsigned ofs, u16 tail, u8 gen) qib_user_sdma_send_frag() argument
1260 struct qib_user_sdma_pkt *pkt = qib_user_sdma_send_desc() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
H A Dfifo.c22 void usbhs_pkt_init(struct usbhs_pkt *pkt) in usbhs_pkt_init() argument
24 INIT_LIST_HEAD(&pkt->node); in usbhs_pkt_init()
30 static int usbhsf_null_handle(struct usbhs_pkt *pkt, int *is_done) in usbhsf_null_handle() argument
32 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle()
45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push() argument
47 struct usbhs_pkt *pkt), in usbhs_pkt_push()
67 list_move_tail(&pkt->node, &pipe->list); in usbhs_pkt_push()
70 * each pkt must hold own handler. in usbhs_pkt_push()
74 pkt->pipe = pipe; in usbhs_pkt_push()
75 pkt in usbhs_pkt_push()
87 __usbhsf_pkt_del(struct usbhs_pkt *pkt) __usbhsf_pkt_del() argument
106 usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt) usbhs_pkt_pop() argument
159 struct usbhs_pkt *pkt; usbhsf_pkt_handler() local
355 usbhs_dcp_dir_switch_to_write(struct usbhs_pkt *pkt, int *is_done) usbhs_dcp_dir_switch_to_write() argument
384 usbhs_dcp_dir_switch_to_read(struct usbhs_pkt *pkt, int *is_done) usbhs_dcp_dir_switch_to_read() argument
412 usbhs_dcp_dir_switch_done(struct usbhs_pkt *pkt, int *is_done) usbhs_dcp_dir_switch_done() argument
440 usbhsf_dcp_data_stage_try_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_dcp_data_stage_try_push() argument
461 usbhsf_dcp_data_stage_prepare_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_dcp_data_stage_prepare_pop() argument
500 usbhsf_pio_try_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_pio_try_push() argument
602 usbhsf_pio_prepare_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_pio_prepare_push() argument
618 usbhsf_prepare_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_prepare_pop() argument
647 usbhsf_pio_try_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_pio_try_pop() argument
748 usbhsf_ctrl_stage_end(struct usbhs_pkt *pkt, int *is_done) usbhsf_ctrl_stage_end() argument
765 usbhsf_dma_chan_get(struct usbhs_fifo *fifo, struct usbhs_pkt *pkt) usbhsf_dma_chan_get() argument
777 usbhsf_get_dma_fifo(struct usbhs_priv *priv, struct usbhs_pkt *pkt) usbhsf_get_dma_fifo() argument
803 __usbhsf_dma_map_ctrl(struct usbhs_pkt *pkt, int map) __usbhsf_dma_map_ctrl() argument
816 usbhsf_dma_xfer_preparing(struct usbhs_pkt *pkt) usbhsf_dma_xfer_preparing() argument
861 struct usbhs_pkt *pkt = container_of(work, struct usbhs_pkt, work); xfer_work() local
874 usbhsf_dma_prepare_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_push() argument
941 usbhsf_dma_push_done(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_push_done() argument
979 usbhsf_dma_prepare_pop_with_rx_irq(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_pop_with_rx_irq() argument
985 usbhsf_dma_prepare_pop_with_usb_dmac(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_pop_with_usb_dmac() argument
1049 usbhsf_dma_prepare_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_pop() argument
1059 usbhsf_dma_try_pop_with_rx_irq(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_try_pop_with_rx_irq() argument
1128 usbhsf_dma_try_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_try_pop() argument
1137 usbhsf_dma_pop_done_with_rx_irq(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_pop_done_with_rx_irq() argument
1161 usbhs_dma_calc_received_size(struct usbhs_pkt *pkt, struct dma_chan *chan, int dtln) usbhs_dma_calc_received_size() argument
1179 usbhsf_dma_pop_done_with_usb_dmac(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_pop_done_with_usb_dmac() argument
1210 usbhsf_dma_pop_done(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_pop_done() argument
1377 struct usbhs_pkt *pkt = arg; usbhsf_dma_complete() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/
H A Dfifo.c22 void usbhs_pkt_init(struct usbhs_pkt *pkt) in usbhs_pkt_init() argument
24 INIT_LIST_HEAD(&pkt->node); in usbhs_pkt_init()
30 static int usbhsf_null_handle(struct usbhs_pkt *pkt, int *is_done) in usbhsf_null_handle() argument
32 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle()
45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push() argument
47 struct usbhs_pkt *pkt), in usbhs_pkt_push()
67 list_move_tail(&pkt->node, &pipe->list); in usbhs_pkt_push()
70 * each pkt must hold own handler. in usbhs_pkt_push()
74 pkt->pipe = pipe; in usbhs_pkt_push()
75 pkt in usbhs_pkt_push()
87 __usbhsf_pkt_del(struct usbhs_pkt *pkt) __usbhsf_pkt_del() argument
106 usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt) usbhs_pkt_pop() argument
159 struct usbhs_pkt *pkt; usbhsf_pkt_handler() local
357 usbhs_dcp_dir_switch_to_write(struct usbhs_pkt *pkt, int *is_done) usbhs_dcp_dir_switch_to_write() argument
386 usbhs_dcp_dir_switch_to_read(struct usbhs_pkt *pkt, int *is_done) usbhs_dcp_dir_switch_to_read() argument
414 usbhs_dcp_dir_switch_done(struct usbhs_pkt *pkt, int *is_done) usbhs_dcp_dir_switch_done() argument
442 usbhsf_dcp_data_stage_try_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_dcp_data_stage_try_push() argument
463 usbhsf_dcp_data_stage_prepare_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_dcp_data_stage_prepare_pop() argument
502 usbhsf_pio_try_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_pio_try_push() argument
604 usbhsf_pio_prepare_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_pio_prepare_push() argument
620 usbhsf_prepare_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_prepare_pop() argument
649 usbhsf_pio_try_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_pio_try_pop() argument
750 usbhsf_ctrl_stage_end(struct usbhs_pkt *pkt, int *is_done) usbhsf_ctrl_stage_end() argument
767 usbhsf_dma_chan_get(struct usbhs_fifo *fifo, struct usbhs_pkt *pkt) usbhsf_dma_chan_get() argument
779 usbhsf_get_dma_fifo(struct usbhs_priv *priv, struct usbhs_pkt *pkt) usbhsf_get_dma_fifo() argument
805 __usbhsf_dma_map_ctrl(struct usbhs_pkt *pkt, int map) __usbhsf_dma_map_ctrl() argument
818 usbhsf_dma_xfer_preparing(struct usbhs_pkt *pkt) usbhsf_dma_xfer_preparing() argument
863 struct usbhs_pkt *pkt = container_of(work, struct usbhs_pkt, work); xfer_work() local
876 usbhsf_dma_prepare_push(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_push() argument
943 usbhsf_dma_push_done(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_push_done() argument
981 usbhsf_dma_prepare_pop_with_rx_irq(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_pop_with_rx_irq() argument
987 usbhsf_dma_prepare_pop_with_usb_dmac(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_pop_with_usb_dmac() argument
1051 usbhsf_dma_prepare_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_prepare_pop() argument
1061 usbhsf_dma_try_pop_with_rx_irq(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_try_pop_with_rx_irq() argument
1130 usbhsf_dma_try_pop(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_try_pop() argument
1139 usbhsf_dma_pop_done_with_rx_irq(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_pop_done_with_rx_irq() argument
1163 usbhs_dma_calc_received_size(struct usbhs_pkt *pkt, struct dma_chan *chan, int dtln) usbhs_dma_calc_received_size() argument
1181 usbhsf_dma_pop_done_with_usb_dmac(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_pop_done_with_usb_dmac() argument
1212 usbhsf_dma_pop_done(struct usbhs_pkt *pkt, int *is_done) usbhsf_dma_pop_done() argument
1379 struct usbhs_pkt *pkt = arg; usbhsf_dma_complete() local
[all...]
/kernel/linux/linux-5.10/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c127 struct cmdq_pkt *pkt; in cmdq_pkt_create() local
131 pkt = kzalloc(sizeof(*pkt), GFP_KERNEL); in cmdq_pkt_create()
132 if (!pkt) in cmdq_pkt_create()
134 pkt->va_base = kzalloc(size, GFP_KERNEL); in cmdq_pkt_create()
135 if (!pkt->va_base) { in cmdq_pkt_create()
136 kfree(pkt); in cmdq_pkt_create()
139 pkt->buf_size = size; in cmdq_pkt_create()
140 pkt->cl = (void *)client; in cmdq_pkt_create()
143 dma_addr = dma_map_single(dev, pkt in cmdq_pkt_create()
158 cmdq_pkt_destroy(struct cmdq_pkt *pkt) cmdq_pkt_destroy() argument
169 cmdq_pkt_append_command(struct cmdq_pkt *pkt, struct cmdq_instruction inst) cmdq_pkt_append_command() argument
196 cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) cmdq_pkt_write() argument
209 cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) cmdq_pkt_write_mask() argument
231 cmdq_pkt_read_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, u16 reg_idx) cmdq_pkt_read_s() argument
246 cmdq_pkt_write_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, u16 src_reg_idx) cmdq_pkt_write_s() argument
261 cmdq_pkt_write_s_mask(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, u16 src_reg_idx, u32 mask) cmdq_pkt_write_s_mask() argument
284 cmdq_pkt_write_s_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, u16 addr_low, u32 value) cmdq_pkt_write_s_value() argument
298 cmdq_pkt_write_s_mask_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, u16 addr_low, u32 value, u32 mask) cmdq_pkt_write_s_mask_value() argument
319 cmdq_pkt_wfe(struct cmdq_pkt *pkt, u16 event, bool clear) cmdq_pkt_wfe() argument
335 cmdq_pkt_clear_event(struct cmdq_pkt *pkt, u16 event) cmdq_pkt_clear_event() argument
350 cmdq_pkt_set_event(struct cmdq_pkt *pkt, u16 event) cmdq_pkt_set_event() argument
365 cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) cmdq_pkt_poll() argument
381 cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) cmdq_pkt_poll_mask() argument
400 cmdq_pkt_assign(struct cmdq_pkt *pkt, u16 reg_idx, u32 value) cmdq_pkt_assign() argument
412 cmdq_pkt_jump(struct cmdq_pkt *pkt, dma_addr_t addr) cmdq_pkt_jump() argument
424 cmdq_pkt_finalize(struct cmdq_pkt *pkt) cmdq_pkt_finalize() argument
448 struct cmdq_pkt *pkt = (struct cmdq_pkt *)data.data; cmdq_pkt_flush_async_cb() local
472 cmdq_pkt_flush_async(struct cmdq_pkt *pkt, cmdq_async_flush_cb cb, void *data) cmdq_pkt_flush_async() argument
522 cmdq_pkt_flush(struct cmdq_pkt *pkt) cmdq_pkt_flush() argument
[all...]
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_tables_ipv6.h9 static inline void nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6() argument
15 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in nft_set_pktinfo_ipv6()
17 nft_set_pktinfo_unspec(pkt); in nft_set_pktinfo_ipv6()
21 pkt->flags = NFT_PKTINFO_L4PROTO; in nft_set_pktinfo_ipv6()
22 pkt->tprot = protohdr; in nft_set_pktinfo_ipv6()
23 pkt->thoff = thoff; in nft_set_pktinfo_ipv6()
24 pkt->fragoff = frag_off; in nft_set_pktinfo_ipv6()
27 static inline int __nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv6_validate() argument
37 ip6h = skb_header_pointer(pkt->skb, skb_network_offset(pkt in __nft_set_pktinfo_ipv6_validate()
64 nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt) nft_set_pktinfo_ipv6_validate() argument
70 nft_set_pktinfo_ipv6_ingress(struct nft_pktinfo *pkt) nft_set_pktinfo_ipv6_ingress() argument
[all...]
H A Dnf_tables_ipv4.h8 static inline void nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4() argument
12 ip = ip_hdr(pkt->skb); in nft_set_pktinfo_ipv4()
13 pkt->flags = NFT_PKTINFO_L4PROTO; in nft_set_pktinfo_ipv4()
14 pkt->tprot = ip->protocol; in nft_set_pktinfo_ipv4()
15 pkt->thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
16 pkt->fragoff = ntohs(ip->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4()
19 static inline int __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv4_validate() argument
24 iph = skb_header_pointer(pkt->skb, skb_network_offset(pkt in __nft_set_pktinfo_ipv4_validate()
49 nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt) nft_set_pktinfo_ipv4_validate() argument
55 nft_set_pktinfo_ipv4_ingress(struct nft_pktinfo *pkt) nft_set_pktinfo_ipv4_ingress() argument
[all...]
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dhwmon.c571 struct cpucp_packet pkt; in hl_get_temperature() local
575 memset(&pkt, 0, sizeof(pkt)); in hl_get_temperature()
577 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_GET << in hl_get_temperature()
579 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
580 pkt.type = __cpu_to_le16(attr); in hl_get_temperature()
583 pkt.ctl, pkt.sensor_index, pkt.type); in hl_get_temperature()
585 rc = hdev->asic_funcs->send_cpu_message(hdev, (u32 *) &pkt, sizeo in hl_get_temperature()
603 struct cpucp_packet pkt; hl_set_temperature() local
628 struct cpucp_packet pkt; hl_get_voltage() local
657 struct cpucp_packet pkt; hl_get_current() local
686 struct cpucp_packet pkt; hl_get_fan_speed() local
715 struct cpucp_packet pkt; hl_get_pwm_info() local
744 struct cpucp_packet pkt; hl_set_pwm_info() local
767 struct cpucp_packet pkt; hl_set_voltage() local
792 struct cpucp_packet pkt; hl_set_current() local
817 struct cpucp_packet pkt; hl_set_power() local
848 struct cpucp_packet pkt; hl_get_power() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dhwmon.c314 struct cpucp_packet pkt; in hl_get_temperature() local
317 memset(&pkt, 0, sizeof(pkt)); in hl_get_temperature()
319 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_GET << in hl_get_temperature()
321 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
322 pkt.type = __cpu_to_le16(attr); in hl_get_temperature()
324 rc = hdev->asic_funcs->send_cpu_message(hdev, (u32 *) &pkt, sizeof(pkt), in hl_get_temperature()
340 struct cpucp_packet pkt; in hl_set_temperature() local
343 memset(&pkt, in hl_set_temperature()
365 struct cpucp_packet pkt; hl_get_voltage() local
391 struct cpucp_packet pkt; hl_get_current() local
417 struct cpucp_packet pkt; hl_get_fan_speed() local
443 struct cpucp_packet pkt; hl_get_pwm_info() local
469 struct cpucp_packet pkt; hl_set_pwm_info() local
492 struct cpucp_packet pkt; hl_set_voltage() local
517 struct cpucp_packet pkt; hl_set_current() local
[all...]
/kernel/linux/linux-5.10/include/net/caif/
H A Dcfpkt.h21 * pkt Packet to be destoyed.
23 void cfpkt_destroy(struct cfpkt *pkt);
28 * pkt Packet to extract header data from.
33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len);
35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8() argument
39 cfpkt_extr_head(pkt, &tmp, 1); in cfpkt_extr_head_u8()
44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16() argument
48 cfpkt_extr_head(pkt, &tmp, 2); in cfpkt_extr_head_u16()
53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32() argument
57 cfpkt_extr_head(pkt, in cfpkt_extr_head_u32()
[all...]
/kernel/linux/linux-6.6/include/net/caif/
H A Dcfpkt.h21 * pkt Packet to be destoyed.
23 void cfpkt_destroy(struct cfpkt *pkt);
28 * pkt Packet to extract header data from.
33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len);
35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8() argument
39 cfpkt_extr_head(pkt, &tmp, 1); in cfpkt_extr_head_u8()
44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16() argument
48 cfpkt_extr_head(pkt, &tmp, 2); in cfpkt_extr_head_u16()
53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32() argument
57 cfpkt_extr_head(pkt, in cfpkt_extr_head_u32()
[all...]
/kernel/linux/linux-5.10/net/vmw_vsock/
H A Dvirtio_transport_common.c48 struct virtio_vsock_pkt *pkt; in virtio_transport_alloc_pkt() local
51 pkt = kzalloc(sizeof(*pkt), GFP_KERNEL); in virtio_transport_alloc_pkt()
52 if (!pkt) in virtio_transport_alloc_pkt()
55 pkt->hdr.type = cpu_to_le16(info->type); in virtio_transport_alloc_pkt()
56 pkt->hdr.op = cpu_to_le16(info->op); in virtio_transport_alloc_pkt()
57 pkt->hdr.src_cid = cpu_to_le64(src_cid); in virtio_transport_alloc_pkt()
58 pkt->hdr.dst_cid = cpu_to_le64(dst_cid); in virtio_transport_alloc_pkt()
59 pkt->hdr.src_port = cpu_to_le32(src_port); in virtio_transport_alloc_pkt()
60 pkt in virtio_transport_alloc_pkt()
98 struct virtio_vsock_pkt *pkt = opaque; virtio_transport_build_skb() local
158 virtio_transport_deliver_tap_pkt(struct virtio_vsock_pkt *pkt) virtio_transport_deliver_tap_pkt() argument
179 struct virtio_vsock_pkt *pkt; virtio_transport_send_pkt_info() local
222 virtio_transport_inc_rx_pkt(struct virtio_vsock_sock *vvs, struct virtio_vsock_pkt *pkt) virtio_transport_inc_rx_pkt() argument
232 virtio_transport_dec_rx_pkt(struct virtio_vsock_sock *vvs, struct virtio_vsock_pkt *pkt) virtio_transport_dec_rx_pkt() argument
239 virtio_transport_inc_tx_pkt(struct virtio_vsock_sock *vvs, struct virtio_vsock_pkt *pkt) virtio_transport_inc_tx_pkt() argument
291 struct virtio_vsock_pkt *pkt; virtio_transport_stream_do_peek() local
340 struct virtio_vsock_pkt *pkt; virtio_transport_stream_do_dequeue() local
693 virtio_transport_reset(struct vsock_sock *vsk, struct virtio_vsock_pkt *pkt) virtio_transport_reset() argument
713 virtio_transport_reset_no_sock(const struct virtio_transport *t, struct virtio_vsock_pkt *pkt) virtio_transport_reset_no_sock() argument
747 struct virtio_vsock_pkt *pkt, *tmp; virtio_transport_remove_sock() local
869 virtio_transport_recv_connecting(struct sock *sk, struct virtio_vsock_pkt *pkt) virtio_transport_recv_connecting() argument
905 virtio_transport_recv_enqueue(struct vsock_sock *vsk, struct virtio_vsock_pkt *pkt) virtio_transport_recv_enqueue() argument
953 virtio_transport_recv_connected(struct sock *sk, struct virtio_vsock_pkt *pkt) virtio_transport_recv_connected() argument
995 virtio_transport_recv_disconnecting(struct sock *sk, struct virtio_vsock_pkt *pkt) virtio_transport_recv_disconnecting() argument
1005 virtio_transport_send_response(struct vsock_sock *vsk, struct virtio_vsock_pkt *pkt) virtio_transport_send_response() argument
1020 virtio_transport_space_update(struct sock *sk, struct virtio_vsock_pkt *pkt) virtio_transport_space_update() argument
1046 virtio_transport_recv_listen(struct sock *sk, struct virtio_vsock_pkt *pkt, struct virtio_transport *t) virtio_transport_recv_listen() argument
1109 virtio_transport_recv_pkt(struct virtio_transport *t, struct virtio_vsock_pkt *pkt) virtio_transport_recv_pkt() argument
1204 virtio_transport_free_pkt(struct virtio_vsock_pkt *pkt) virtio_transport_free_pkt() argument
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_set_pipapo_avx2.c191 * @pkt: Packet data, pointer to input nftables register
216 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_2()
219 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2()
265 * @pkt: Packet data, pointer to input nftables register
278 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_4()
281 u8 pg[4] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[ in nft_pipapo_avx2_lookup_4b_4()
214 nft_pipapo_avx2_lookup_4b_2(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_4b_2() argument
276 nft_pipapo_avx2_lookup_4b_4(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_4b_4() argument
352 nft_pipapo_avx2_lookup_4b_8(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_4b_8() argument
447 nft_pipapo_avx2_lookup_4b_12(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_4b_12() argument
536 nft_pipapo_avx2_lookup_4b_32(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_4b_32() argument
671 nft_pipapo_avx2_lookup_8b_1(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_8b_1() argument
728 nft_pipapo_avx2_lookup_8b_2(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_8b_2() argument
792 nft_pipapo_avx2_lookup_8b_4(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_8b_4() argument
867 nft_pipapo_avx2_lookup_8b_6(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_8b_6() argument
952 nft_pipapo_avx2_lookup_8b_16(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_8b_16() argument
1044 nft_pipapo_avx2_lookup_slow(unsigned long *map, unsigned long *fill, struct nft_pipapo_field *f, int offset, const u8 *pkt, bool first, bool last) nft_pipapo_avx2_lookup_slow() argument
[all...]
/kernel/linux/linux-6.6/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c110 struct cmdq_pkt *pkt; in cmdq_pkt_create() local
114 pkt = kzalloc(sizeof(*pkt), GFP_KERNEL); in cmdq_pkt_create()
115 if (!pkt) in cmdq_pkt_create()
117 pkt->va_base = kzalloc(size, GFP_KERNEL); in cmdq_pkt_create()
118 if (!pkt->va_base) { in cmdq_pkt_create()
119 kfree(pkt); in cmdq_pkt_create()
122 pkt->buf_size = size; in cmdq_pkt_create()
123 pkt->cl = (void *)client; in cmdq_pkt_create()
126 dma_addr = dma_map_single(dev, pkt in cmdq_pkt_create()
141 cmdq_pkt_destroy(struct cmdq_pkt *pkt) cmdq_pkt_destroy() argument
152 cmdq_pkt_append_command(struct cmdq_pkt *pkt, struct cmdq_instruction inst) cmdq_pkt_append_command() argument
179 cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) cmdq_pkt_write() argument
192 cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) cmdq_pkt_write_mask() argument
214 cmdq_pkt_read_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, u16 reg_idx) cmdq_pkt_read_s() argument
229 cmdq_pkt_write_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, u16 src_reg_idx) cmdq_pkt_write_s() argument
244 cmdq_pkt_write_s_mask(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, u16 src_reg_idx, u32 mask) cmdq_pkt_write_s_mask() argument
267 cmdq_pkt_write_s_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, u16 addr_low, u32 value) cmdq_pkt_write_s_value() argument
281 cmdq_pkt_write_s_mask_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, u16 addr_low, u32 value, u32 mask) cmdq_pkt_write_s_mask_value() argument
302 cmdq_pkt_wfe(struct cmdq_pkt *pkt, u16 event, bool clear) cmdq_pkt_wfe() argument
318 cmdq_pkt_clear_event(struct cmdq_pkt *pkt, u16 event) cmdq_pkt_clear_event() argument
333 cmdq_pkt_set_event(struct cmdq_pkt *pkt, u16 event) cmdq_pkt_set_event() argument
348 cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) cmdq_pkt_poll() argument
364 cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) cmdq_pkt_poll_mask() argument
383 cmdq_pkt_assign(struct cmdq_pkt *pkt, u16 reg_idx, u32 value) cmdq_pkt_assign() argument
395 cmdq_pkt_jump(struct cmdq_pkt *pkt, dma_addr_t addr) cmdq_pkt_jump() argument
407 cmdq_pkt_finalize(struct cmdq_pkt *pkt) cmdq_pkt_finalize() argument
429 cmdq_pkt_flush_async(struct cmdq_pkt *pkt) cmdq_pkt_flush_async() argument
[all...]
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_tables_ipv4.h8 static inline void nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt, in nft_set_pktinfo_ipv4() argument
13 ip = ip_hdr(pkt->skb); in nft_set_pktinfo_ipv4()
14 pkt->tprot_set = true; in nft_set_pktinfo_ipv4()
15 pkt->tprot = ip->protocol; in nft_set_pktinfo_ipv4()
16 pkt->xt.thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
17 pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4()
20 static inline int __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt, in __nft_set_pktinfo_ipv4_validate() argument
41 pkt->tprot_set = true; in __nft_set_pktinfo_ipv4_validate()
42 pkt in __nft_set_pktinfo_ipv4_validate()
49 nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt, struct sk_buff *skb) nft_set_pktinfo_ipv4_validate() argument
56 nft_set_pktinfo_ipv4_ingress(struct nft_pktinfo *pkt, struct sk_buff *skb) nft_set_pktinfo_ipv4_ingress() argument
[all...]

Completed in 21 milliseconds

12345678910>>...31