Home
last modified time | relevance | path

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

12345

/linux/kernel/trace/
A 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/drivers/media/platform/qcom/venus/
A Dvenc.c611 u32 ptype, rate_control, bitrate; in venc_set_properties() local
619 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties()
682 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties()
693 ptype = HFI_PROPERTY_PARAM_VENC_HDR10_PQ_SEI; in venc_set_properties()
727 ptype = HFI_PROPERTY_CONFIG_VENC_INTRA_PERIOD; in venc_set_properties()
746 ptype = HFI_PROPERTY_PARAM_VENC_RATE_CONTROL; in venc_set_properties()
754 ptype = HFI_PROPERTY_CONFIG_HEIC_FRAME_QUALITY; in venc_set_properties()
792 ptype = HFI_PROPERTY_CONFIG_VENC_MAX_BITRATE; in venc_set_properties()
800 ptype = HFI_PROPERTY_PARAM_VENC_SESSION_QP; in venc_set_properties()
828 ptype = HFI_PROPERTY_PARAM_VENC_LTRMODE; in venc_set_properties()
[all …]
A Dhfi_cmds.c384 switch (ptype) { in pkt_session_get_property_1x()
396 pkt->data[0] = ptype; in pkt_session_get_property_1x()
416 pkt->data[0] = ptype; in pkt_session_set_property_1x()
418 switch (ptype) { in pkt_session_set_property_1x()
1099 switch (ptype) { in pkt_session_get_property_3xx()
1127 pkt->data[0] = ptype; in pkt_session_set_property_3xx()
1134 switch (ptype) { in pkt_session_set_property_3xx()
1191 pkt->data[0] = ptype; in pkt_session_set_property_4xx()
1198 switch (ptype) { in pkt_session_set_property_4xx()
1279 pkt->data[0] = ptype; in pkt_session_set_property_6xx()
[all …]
A 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 …]
A Dhelpers.c649 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local
667 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq()
921 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level()
1106 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local
1113 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution()
1121 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local
1128 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution()
1156 const u32 ptype = HFI_PROPERTY_PARAM_WORK_MODE; in venus_helper_set_work_mode() local
1165 return hfi_session_set_property(inst, ptype, &wm); in venus_helper_set_work_mode()
1200 u32 ptype = HFI_PROPERTY_PARAM_BUFFER_COUNT_ACTUAL; in venus_helper_set_num_bufs() local
[all …]
A 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/include/net/tc_act/
A 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/drivers/acpi/dptf/
A 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()
A 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/net/ipv4/
A 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/drivers/net/ethernet/intel/ice/
A Dice_txrx_lib.c47 static enum pkt_hash_types ice_ptype_to_htype(u16 ptype) in ice_ptype_to_htype() argument
49 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype()
99 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) in ice_rx_csum() argument
108 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
185 struct sk_buff *skb, u16 ptype) in ice_process_skb_fields() argument
187 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields()
193 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
/linux/drivers/net/ethernet/google/gve/
A 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/fs/affs/
A Damigaffs.h51 __be32 ptype; member
77 __be32 ptype; member
107 __be32 ptype; member
116 __be32 ptype; member
/linux/net/ethernet/
A Deth.c407 const struct packet_offload *ptype; in eth_gro_receive() local
440 ptype = gro_find_receive_by_type(type); in eth_gro_receive()
441 if (ptype == NULL) { in eth_gro_receive()
449 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in eth_gro_receive()
466 struct packet_offload *ptype; in eth_gro_complete() local
473 ptype = gro_find_complete_by_type(type); in eth_gro_complete()
474 if (ptype != NULL) in eth_gro_complete()
475 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in eth_gro_complete()
/linux/arch/powerpc/perf/
A 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/net/sched/
A 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()
A 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/net/nfc/
A Dllcp_core.c747 if (ptype == LLCP_PDU_I) in nfc_llcp_tx_work()
1031 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1033 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1055 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1101 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1367 u8 ptype; in nfc_llcp_recv_agf() local
1390 if (ptype == LLCP_PDU_SYMM || ptype == LLCP_PDU_AGF) in nfc_llcp_recv_agf()
1411 u8 dsap, ssap, ptype; in nfc_llcp_rx_skb() local
1413 ptype = nfc_llcp_ptype(skb); in nfc_llcp_rx_skb()
1419 if (ptype != LLCP_PDU_SYMM) in nfc_llcp_rx_skb()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
A 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/net/8021q/
A 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/scripts/kconfig/
A Dgconf.c705 enum prop_type ptype; in on_back_clicked() local
709 if (ptype != P_MENU) in on_back_clicked()
905 enum prop_type ptype; in on_treeview2_button_press_event() local
1040 enum prop_type ptype; in fill_row() local
1051 ptype == P_COMMENT ? "***" : "", in fill_row()
1053 ptype == P_COMMENT ? "***" : "", in fill_row()
1064 switch (ptype) { in fill_row()
1339 enum prop_type ptype; in display_tree() local
1349 ptype = prop ? prop->type : P_UNKNOWN; in display_tree()
1369 printf("%s", prop_get_type_name(ptype)); in display_tree()
[all …]
/linux/include/linux/
A 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/drivers/acpi/nfit/
A 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/kernel/rcu/
A Drcuscale.c129 int ptype; member
171 .ptype = RCU_FLAVOR,
228 .ptype = SRCU_FLAVOR,
256 .ptype = SRCU_FLAVOR,
285 .ptype = RCU_TASKS_FLAVOR,
314 .ptype = RCU_TASKS_FLAVOR,
/linux/drivers/net/ethernet/intel/iavf/
A 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()

Completed in 57 milliseconds

12345