Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c113 unsigned long long ptype; in pch_fivr_add() local
121 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); in pch_fivr_add()
122 if (ACPI_FAILURE(status) || ptype != 0x05) in pch_fivr_add()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_probe.h179 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
183 .print = PRINT_TYPE_FUNC_NAME(ptype), \
184 .fmt = PRINT_TYPE_FMT_NAME(ptype), \
187 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
188 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, #_fmttype)
189 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument
190 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype)
193 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument
194 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)
/kernel/linux/linux-5.10/net/ipv4/
Dgre_offload.c125 struct packet_offload *ptype; in gre_gro_receive() local
162 ptype = gro_find_receive_by_type(type); in gre_gro_receive()
163 if (!ptype) in gre_gro_receive()
225 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive()
239 struct packet_offload *ptype; in gre_gro_complete() local
255 ptype = gro_find_complete_by_type(type); in gre_gro_complete()
256 if (ptype) in gre_gro_complete()
257 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dvenc.c541 u32 ptype, rate_control, bitrate; in venc_set_properties() local
549 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties()
553 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties()
562 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties()
567 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties()
571 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties()
577 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties()
581 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties()
588 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties()
598 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties()
[all …]
Dhfi_cmds.c381 void *cookie, u32 ptype) in pkt_session_get_property_1x() argument
383 switch (ptype) { in pkt_session_get_property_1x()
395 pkt->data[0] = ptype; in pkt_session_get_property_1x()
401 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_1x() argument
415 pkt->data[0] = ptype; in pkt_session_set_property_1x()
417 switch (ptype) { in pkt_session_set_property_1x()
1072 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument
1084 switch (ptype) { in pkt_session_get_property_3xx()
1089 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx()
1098 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument
[all …]
Dhelpers.c558 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local
566 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq()
799 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_get_profile_level() local
803 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_profile_level()
815 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_set_profile_level() local
820 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level()
1003 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local
1010 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution()
1018 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local
1025 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);
Dvenc_ctrls.c76 u32 ptype; in venc_op_s_ctrl() local
87 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in venc_op_s_ctrl()
91 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl()
192 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl()
193 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c43 static enum pkt_hash_types ice_ptype_to_htype(u8 __always_unused ptype) in ice_ptype_to_htype() argument
84 union ice_32b_rx_flex_desc *rx_desc, u8 ptype) in ice_rx_csum() argument
93 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
169 struct sk_buff *skb, u8 ptype) in ice_process_skb_fields() argument
171 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields()
176 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
/kernel/linux/linux-5.10/fs/affs/
Damigaffs.h51 __be32 ptype; member
77 __be32 ptype; member
107 __be32 ptype; member
116 __be32 ptype; member
/kernel/linux/linux-5.10/net/ethernet/
Deth.c411 const struct packet_offload *ptype; in eth_gro_receive() local
444 ptype = gro_find_receive_by_type(type); in eth_gro_receive()
445 if (ptype == NULL) { in eth_gro_receive()
452 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in eth_gro_receive()
467 struct packet_offload *ptype; in eth_gro_complete() local
474 ptype = gro_find_complete_by_type(type); in eth_gro_complete()
475 if (ptype != NULL) in eth_gro_complete()
476 err = ptype->callbacks.gro_complete(skb, nhoff + in eth_gro_complete()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/8021q/
Dvlan_core.c459 const struct packet_offload *ptype; in vlan_gro_receive() local
479 ptype = gro_find_receive_by_type(type); in vlan_gro_receive()
480 if (!ptype) in vlan_gro_receive()
498 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in vlan_gro_receive()
512 struct packet_offload *ptype; in vlan_gro_complete() local
516 ptype = gro_find_complete_by_type(type); in vlan_gro_complete()
517 if (ptype) in vlan_gro_complete()
518 err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(*vhdr)); in vlan_gro_complete()
/kernel/linux/linux-5.10/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()
1032 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1034 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1056 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1102 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1104 else if (ptype == LLCP_PDU_RNR) in nfc_llcp_recv_hdlc()
1107 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype == LLCP_PDU_I) in nfc_llcp_recv_hdlc()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/net/
Darp.h68 void arp_send(int type, int ptype, __be32 dest_ip,
76 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
/kernel/linux/linux-5.10/scripts/kconfig/
Dgconf.c709 enum prop_type ptype; in on_back_clicked() local
712 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; in on_back_clicked()
713 if (ptype != P_MENU) in on_back_clicked()
909 enum prop_type ptype; in on_treeview2_button_press_event() local
910 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in on_treeview2_button_press_event()
912 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { in on_treeview2_button_press_event()
1044 enum prop_type ptype; in fill_row() local
1063 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in fill_row()
1064 switch (ptype) { in fill_row()
1339 enum prop_type ptype; in display_tree() local
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Duhci-debug.c106 char *ptype; in uhci_show_urbp() local
119 case PIPE_ISOCHRONOUS: ptype = "ISO"; break; in uhci_show_urbp()
120 case PIPE_INTERRUPT: ptype = "INT"; break; in uhci_show_urbp()
121 case PIPE_BULK: ptype = "BLK"; break; in uhci_show_urbp()
123 case PIPE_CONTROL: ptype = "CTL"; break; in uhci_show_urbp()
126 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : "")); in uhci_show_urbp()

12345