Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 25 of 110) sorted by relevance

12345

/Linux-v5.15/include/net/tc_act/
Dtc_skbedit.h20 u16 ptype; member
71 u16 ptype; in tcf_skbedit_ptype() local
74 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype()
77 return ptype; in tcf_skbedit_ptype()
/Linux-v5.15/kernel/trace/
Dtrace_probe.h181 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
185 .print = PRINT_TYPE_FUNC_NAME(ptype), \
186 .fmt = PRINT_TYPE_FMT_NAME(ptype), \
189 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
190 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, #_fmttype)
191 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument
192 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype)
195 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument
196 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)
375 extern int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype);
/Linux-v5.15/drivers/acpi/dptf/
Ddptf_power.c125 unsigned long long ptype; in dptf_participant_type() local
128 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); in dptf_participant_type()
132 return ptype; in dptf_participant_type()
175 unsigned long long ptype; in dptf_power_add() local
182 ptype = dptf_participant_type(acpi_dev->handle); in dptf_power_add()
183 if (ptype == 0x11) in dptf_power_add()
185 else if (ptype == 0x0C) in dptf_power_add()
Ddptf_pch_fivr.c122 unsigned long long ptype; in pch_fivr_add() local
130 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); in pch_fivr_add()
131 if (ACPI_FAILURE(status) || ptype != 0x05) in pch_fivr_add()
/Linux-v5.15/drivers/media/platform/qcom/venus/
Dvenc.c553 u32 ptype, rate_control, bitrate; in venc_set_properties() local
561 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties()
565 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties()
575 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties()
580 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties()
584 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties()
590 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties()
594 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties()
601 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties()
605 ptype = HFI_PROPERTY_PARAM_VENC_H264_TRANSFORM_8X8; in venc_set_properties()
[all …]
Dhfi_cmds.c382 void *cookie, u32 ptype) in pkt_session_get_property_1x() argument
384 switch (ptype) { in pkt_session_get_property_1x()
396 pkt->data[0] = ptype; in pkt_session_get_property_1x()
402 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_1x() argument
416 pkt->data[0] = ptype; in pkt_session_set_property_1x()
418 switch (ptype) { in pkt_session_set_property_1x()
1087 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument
1099 switch (ptype) { in pkt_session_get_property_3xx()
1104 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx()
1113 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument
[all …]
Dvenc_ctrls.c78 u32 ptype; in venc_op_s_ctrl() local
89 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in venc_op_s_ctrl()
93 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl()
220 ptype = HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER; in venc_op_s_ctrl()
221 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
257 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl()
258 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
288 ptype = HFI_PROPERTY_CONFIG_VENC_MARKLTRFRAME; in venc_op_s_ctrl()
290 ret = hfi_session_set_property(inst, ptype, &ltr_mark); in venc_op_s_ctrl()
301 ptype = HFI_PROPERTY_CONFIG_VENC_USELTRFRAME; in venc_op_s_ctrl()
[all …]
Dhelpers.c618 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local
630 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq()
863 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_get_profile_level() local
867 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_profile_level()
879 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_set_profile_level() local
884 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level()
1069 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local
1076 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution()
1084 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local
1091 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution()
[all …]
Dhfi.h134 int (*session_set_property)(struct venus_inst *inst, u32 ptype,
136 int (*session_get_property)(struct venus_inst *inst, u32 ptype);
171 int hfi_session_get_property(struct venus_inst *inst, u32 ptype,
173 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata);
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c45 static enum pkt_hash_types ice_ptype_to_htype(u16 ptype) in ice_ptype_to_htype() argument
47 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype()
97 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) in ice_rx_csum() argument
106 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
183 struct sk_buff *skb, u16 ptype) in ice_process_skb_fields() argument
185 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields()
190 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
/Linux-v5.15/net/ipv4/
Dgre_offload.c129 struct packet_offload *ptype; in gre_gro_receive() local
166 ptype = gro_find_receive_by_type(type); in gre_gro_receive()
167 if (!ptype) in gre_gro_receive()
229 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive()
243 struct packet_offload *ptype; in gre_gro_complete() local
259 ptype = gro_find_complete_by_type(type); in gre_gro_complete()
260 if (ptype) in gre_gro_complete()
261 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
/Linux-v5.15/fs/affs/
Damigaffs.h51 __be32 ptype; member
77 __be32 ptype; member
107 __be32 ptype; member
116 __be32 ptype; member
/Linux-v5.15/net/ethernet/
Deth.c406 const struct packet_offload *ptype; in eth_gro_receive() local
439 ptype = gro_find_receive_by_type(type); in eth_gro_receive()
440 if (ptype == NULL) { in eth_gro_receive()
448 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in eth_gro_receive()
465 struct packet_offload *ptype; in eth_gro_complete() local
472 ptype = gro_find_complete_by_type(type); in eth_gro_complete()
473 if (ptype != NULL) in eth_gro_complete()
474 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in eth_gro_complete()
/Linux-v5.15/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c422 struct gve_ptype ptype) in gve_rx_skb_csum() argument
430 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum()
433 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum()
442 switch (ptype.l4_type) { in gve_rx_skb_csum()
456 struct gve_ptype ptype) in gve_rx_skb_hash() argument
460 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash()
462 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash()
606 struct gve_ptype ptype) in gve_rx_complete_rsc() argument
611 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc()
614 switch (ptype.l3_type) { in gve_rx_complete_rsc()
[all …]
/Linux-v5.15/arch/powerpc/perf/
Dpower6-pmu.c139 int pmc, psel, ptype; in power6_marked_instr_event() local
150 ptype = direct_event_is_marked[psel]; in power6_marked_instr_event()
151 if (pmc == 0 || !(ptype & (1 << (pmc - 1)))) in power6_marked_instr_event()
153 ptype >>= 4; in power6_marked_instr_event()
154 if (ptype == 0) in power6_marked_instr_event()
156 if (ptype == 1) in power6_marked_instr_event()
159 bit = ptype ^ (pmc - 1); in power6_marked_instr_event()
/Linux-v5.15/net/sched/
Dact_gact.c90 if (p_parm->ptype >= MAX_RAND) in tcf_gact_init()
135 gact->tcfg_ptype = p_parm->ptype; in tcf_gact_init()
157 u32 ptype = READ_ONCE(gact->tcfg_ptype); in tcf_gact_act() local
159 if (ptype) in tcf_gact_act()
160 action = gact_rand[ptype](gact); in tcf_gact_act()
205 .ptype = gact->tcfg_ptype, in tcf_gact_dump()
Dact_skbedit.c68 skb->pkt_type = params->ptype; in tcf_skbedit_act()
110 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local
137 ptype = nla_data(tb[TCA_SKBEDIT_PTYPE]); in tcf_skbedit_init()
138 if (!skb_pkt_type_ok(*ptype)) in tcf_skbedit_init()
212 params_new->ptype = *ptype; in tcf_skbedit_init()
268 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c203 u8 *ptype) in ixgbe_dcb_unpack_prio() argument
209 ptype[tc] = tc_config[tc].path[direction].prio_type; in ixgbe_dcb_unpack_prio()
254 u8 ptype[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
265 ixgbe_dcb_unpack_prio(dcb_config, DCB_TX_CONFIG, ptype); in ixgbe_dcb_hw_config()
271 bwgid, ptype); in ixgbe_dcb_hw_config()
278 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
/Linux-v5.15/net/nfc/
Dllcp_core.c735 u8 ptype = nfc_llcp_ptype(skb); in nfc_llcp_tx_work() local
742 if (ptype == LLCP_PDU_DISC && sk != NULL && in nfc_llcp_tx_work()
749 if (ptype == LLCP_PDU_I) in nfc_llcp_tx_work()
765 if (ptype == LLCP_PDU_I && copy_skb) in nfc_llcp_tx_work()
1033 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1035 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1057 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1103 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1105 else if (ptype == LLCP_PDU_RNR) in nfc_llcp_recv_hdlc()
1108 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype == LLCP_PDU_I) in nfc_llcp_recv_hdlc()
[all …]
/Linux-v5.15/net/8021q/
Dvlan_core.c460 const struct packet_offload *ptype; in vlan_gro_receive() local
480 ptype = gro_find_receive_by_type(type); in vlan_gro_receive()
481 if (!ptype) in vlan_gro_receive()
500 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in vlan_gro_receive()
516 struct packet_offload *ptype; in vlan_gro_complete() local
520 ptype = gro_find_complete_by_type(type); in vlan_gro_complete()
521 if (ptype) in vlan_gro_complete()
522 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in vlan_gro_complete()
/Linux-v5.15/include/linux/
Dbpf-netns.h39 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
56 enum bpf_prog_type ptype) in netns_bpf_prog_detach() argument
/Linux-v5.15/scripts/kconfig/
Dgconf.c705 enum prop_type ptype; in on_back_clicked() local
708 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; in on_back_clicked()
709 if (ptype != P_MENU) in on_back_clicked()
905 enum prop_type ptype; in on_treeview2_button_press_event() local
906 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in on_treeview2_button_press_event()
908 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { in on_treeview2_button_press_event()
1040 enum prop_type ptype; in fill_row() local
1047 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in fill_row()
1051 ptype == P_COMMENT ? "***" : "", in fill_row()
1053 ptype == P_COMMENT ? "***" : "", in fill_row()
[all …]
/Linux-v5.15/drivers/acpi/nfit/
Dintel.c53 enum nvdimm_passphrase_type ptype) in intel_security_flags() argument
80 if (nvdimm_in_overwrite(nvdimm) && ptype == NVDIMM_USER) in intel_security_flags()
91 if (ptype == NVDIMM_MASTER) { in intel_security_flags()
149 enum nvdimm_passphrase_type ptype) in intel_security_change_key() argument
152 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_change_key()
278 enum nvdimm_passphrase_type ptype) in intel_security_erase() argument
282 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_erase()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_prototype.h56 static inline struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) in decode_rx_desc_ptype() argument
58 return iavf_ptype_lookup[ptype]; in decode_rx_desc_ptype()
/Linux-v5.15/include/net/
Darp.h68 void arp_send(int type, int ptype, __be32 dest_ip,
75 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,

12345