Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/net/core/
A Dgro.c105 struct packet_offload *ptype; in skb_eth_gso_segment() local
109 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_eth_gso_segment()
129 struct packet_offload *ptype; in skb_mac_gso_segment() local
140 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_mac_gso_segment()
297 struct packet_offload *ptype; in napi_gro_complete() local
311 if (ptype->type != type || !ptype->callbacks.gro_complete) in napi_gro_complete()
501 if (ptype->type == type && ptype->callbacks.gro_receive) in dev_gro_receive()
599 if (ptype->type != type || !ptype->callbacks.gro_receive) in gro_find_receive_by_type()
601 return ptype; in gro_find_receive_by_type()
613 if (ptype->type != type || !ptype->callbacks.gro_complete) in gro_find_complete_by_type()
[all …]
/linux-6.3-rc2/drivers/cxl/
A Dsecurity.c13 enum nvdimm_passphrase_type ptype) in cxl_pmem_get_security_flags() argument
37 if (ptype == NVDIMM_MASTER) { in cxl_pmem_get_security_flags()
66 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_change_key() argument
75 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_change_key()
92 enum nvdimm_passphrase_type ptype) in __cxl_pmem_security_disable() argument
101 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in __cxl_pmem_security_disable()
165 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_passphrase_erase() argument
175 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_passphrase_erase()
/linux-6.3-rc2/kernel/trace/
A Dtrace_probe.h183 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \ argument
188 .print = PRINT_TYPE_FUNC_NAME(ptype), \
189 .fmt = PRINT_TYPE_FMT_NAME(ptype), \
194 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
195 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype)
196 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument
197 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype)
200 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument
201 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)
383 extern int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype);
/linux-6.3-rc2/drivers/media/platform/qcom/venus/
A Dvenc.c623 u32 ptype, rate_control, bitrate; in venc_set_properties() local
631 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties()
694 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties()
706 ptype = HFI_PROPERTY_PARAM_VENC_HDR10_PQ_SEI; in venc_set_properties()
740 ptype = HFI_PROPERTY_CONFIG_VENC_INTRA_PERIOD; in venc_set_properties()
759 ptype = HFI_PROPERTY_PARAM_VENC_RATE_CONTROL; in venc_set_properties()
767 ptype = HFI_PROPERTY_CONFIG_HEIC_FRAME_QUALITY; in venc_set_properties()
805 ptype = HFI_PROPERTY_CONFIG_VENC_MAX_BITRATE; in venc_set_properties()
813 ptype = HFI_PROPERTY_PARAM_VENC_SESSION_QP; in venc_set_properties()
841 ptype = HFI_PROPERTY_PARAM_VENC_LTRMODE; in venc_set_properties()
[all …]
A Dhfi_cmds.c393 switch (ptype) { in pkt_session_get_property_1x()
405 pkt->data[0] = ptype; in pkt_session_get_property_1x()
425 pkt->data[0] = ptype; in pkt_session_set_property_1x()
427 switch (ptype) { in pkt_session_set_property_1x()
1110 switch (ptype) { in pkt_session_get_property_3xx()
1138 pkt->data[0] = ptype; in pkt_session_set_property_3xx()
1145 switch (ptype) { in pkt_session_set_property_3xx()
1202 pkt->data[0] = ptype; in pkt_session_set_property_4xx()
1209 switch (ptype) { in pkt_session_set_property_4xx()
1290 pkt->data[0] = ptype; in pkt_session_set_property_6xx()
[all …]
A Dvenc_ctrls.c79 u32 ptype; in venc_op_s_ctrl() local
90 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in venc_op_s_ctrl()
94 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl()
221 ptype = HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER; in venc_op_s_ctrl()
222 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
258 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl()
259 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
289 ptype = HFI_PROPERTY_CONFIG_VENC_MARKLTRFRAME; in venc_op_s_ctrl()
291 ret = hfi_session_set_property(inst, ptype, &ltr_mark); in venc_op_s_ctrl()
302 ptype = HFI_PROPERTY_CONFIG_VENC_USELTRFRAME; in venc_op_s_ctrl()
[all …]
A Dhelpers.c669 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local
686 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq()
939 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level()
1124 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local
1131 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution()
1139 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local
1146 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution()
1174 const u32 ptype = HFI_PROPERTY_PARAM_WORK_MODE; in venus_helper_set_work_mode() local
1183 return hfi_session_set_property(inst, ptype, &wm); in venus_helper_set_work_mode()
1219 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-6.3-rc2/drivers/acpi/dptf/
A Ddptf_power.c123 unsigned long long ptype; in dptf_participant_type() local
126 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); in dptf_participant_type()
130 return ptype; in dptf_participant_type()
176 unsigned long long ptype; in dptf_power_add() local
183 ptype = dptf_participant_type(acpi_dev->handle); in dptf_power_add()
184 if (ptype == 0x11) in dptf_power_add()
186 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-6.3-rc2/include/net/tc_act/
A Dtc_skbedit.h21 u16 ptype; member
72 u16 ptype; in tcf_skbedit_ptype() local
75 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype()
78 return ptype; in tcf_skbedit_ptype()
/linux-6.3-rc2/net/ipv4/
A Dgre_offload.c130 struct packet_offload *ptype; in gre_gro_receive() local
163 ptype = gro_find_receive_by_type(type); in gre_gro_receive()
164 if (!ptype) in gre_gro_receive()
226 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive()
238 struct packet_offload *ptype; in gre_gro_complete() local
253 ptype = gro_find_complete_by_type(type); in gre_gro_complete()
254 if (ptype) in gre_gro_complete()
255 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
/linux-6.3-rc2/fs/affs/
A Damigaffs.h51 __be32 ptype; member
77 __be32 ptype; member
107 __be32 ptype; member
116 __be32 ptype; member
/linux-6.3-rc2/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-6.3-rc2/net/ethernet/
A Deth.c407 const struct packet_offload *ptype; in eth_gro_receive() local
436 ptype = gro_find_receive_by_type(type); in eth_gro_receive()
437 if (ptype == NULL) { in eth_gro_receive()
445 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in eth_gro_receive()
460 struct packet_offload *ptype; in eth_gro_complete() local
466 ptype = gro_find_complete_by_type(type); in eth_gro_complete()
467 if (ptype != NULL) in eth_gro_complete()
468 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in eth_gro_complete()
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_txrx_lib.c49 static enum pkt_hash_types ice_ptype_to_htype(u16 ptype) in ice_ptype_to_htype() argument
51 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype()
101 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) in ice_rx_csum() argument
110 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
187 struct sk_buff *skb, u16 ptype) in ice_process_skb_fields() argument
189 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields()
194 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
/linux-6.3-rc2/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-6.3-rc2/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()
158 u32 ptype = READ_ONCE(gact->tcfg_ptype); in tcf_gact_act() local
160 if (ptype) in tcf_gact_act()
161 action = gact_rand[ptype](gact); in tcf_gact_act()
206 .ptype = gact->tcfg_ptype, in tcf_gact_dump()
A Dact_skbedit.c87 skb->pkt_type = params->ptype; in tcf_skbedit_act()
130 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local
163 ptype = nla_data(tb[TCA_SKBEDIT_PTYPE]); in tcf_skbedit_init()
164 if (!skb_pkt_type_ok(*ptype)) in tcf_skbedit_init()
259 params_new->ptype = *ptype; in tcf_skbedit_init()
315 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
380 entry->ptype = tcf_skbedit_ptype(act); in tcf_skbedit_offload_act_setup()
/linux-6.3-rc2/net/8021q/
A Dvlan_core.c460 const struct packet_offload *ptype; in vlan_gro_receive() local
476 ptype = gro_find_receive_by_type(type); in vlan_gro_receive()
477 if (!ptype) in vlan_gro_receive()
496 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in vlan_gro_receive()
510 struct packet_offload *ptype; in vlan_gro_complete() local
513 ptype = gro_find_complete_by_type(type); in vlan_gro_complete()
514 if (ptype) in vlan_gro_complete()
515 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in vlan_gro_complete()
/linux-6.3-rc2/net/nfc/
A Dllcp_core.c741 if (ptype == LLCP_PDU_I) in nfc_llcp_tx_work()
1025 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1027 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1049 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1095 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1361 u8 ptype; in nfc_llcp_recv_agf() local
1384 if (ptype == LLCP_PDU_SYMM || ptype == LLCP_PDU_AGF) in nfc_llcp_recv_agf()
1405 u8 dsap, ssap, ptype; in nfc_llcp_rx_skb() local
1407 ptype = nfc_llcp_ptype(skb); in nfc_llcp_rx_skb()
1413 if (ptype != LLCP_PDU_SYMM) in nfc_llcp_rx_skb()
[all …]
/linux-6.3-rc2/include/linux/
A Dbpf-netns.h33 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
50 enum bpf_prog_type ptype) in netns_bpf_prog_detach() argument
/linux-6.3-rc2/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-6.3-rc2/drivers/acpi/nfit/
A Dintel.c54 enum nvdimm_passphrase_type ptype) in intel_security_flags() argument
81 if (nvdimm_in_overwrite(nvdimm) && ptype == NVDIMM_USER) in intel_security_flags()
92 if (ptype == NVDIMM_MASTER) { in intel_security_flags()
150 enum nvdimm_passphrase_type ptype) in intel_security_change_key() argument
153 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_change_key()
274 enum nvdimm_passphrase_type ptype) in intel_security_erase() argument
278 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_erase()

Completed in 48 milliseconds

12345