| /linux-6.15/net/core/ |
| H A D | gso.c | 17 struct packet_offload *ptype; in skb_eth_gso_segment() local 20 list_for_each_entry_rcu(ptype, &net_hotdata.offload_base, list) { in skb_eth_gso_segment() 21 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_eth_gso_segment() 22 segs = ptype->callbacks.gso_segment(skb, features); in skb_eth_gso_segment() 41 struct packet_offload *ptype; in skb_mac_gso_segment() local 51 list_for_each_entry_rcu(ptype, &net_hotdata.offload_base, list) { in skb_mac_gso_segment() 52 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_mac_gso_segment() 53 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment()
|
| H A D | gro.c | 256 struct packet_offload *ptype; in gro_complete() local 269 if (ptype->type != type || !ptype->callbacks.gro_complete) in gro_complete() 280 WARN_ON(&ptype->list == head); in gro_complete() 466 struct packet_offload *ptype; in dev_gro_receive() local 479 if (ptype->type == type && ptype->callbacks.gro_receive) in dev_gro_receive() 571 struct packet_offload *ptype; in gro_find_receive_by_type() local 574 if (ptype->type != type || !ptype->callbacks.gro_receive) in gro_find_receive_by_type() 576 return ptype; in gro_find_receive_by_type() 585 struct packet_offload *ptype; in gro_find_complete_by_type() local 588 if (ptype->type != type || !ptype->callbacks.gro_complete) in gro_find_complete_by_type() [all …]
|
| /linux-6.15/drivers/media/platform/qcom/iris/ |
| H A D | iris_hfi_gen1_command.c | 113 u32 ptype) in iris_hfi_gen1_packet_session_cmd() argument 116 packet->shdr.hdr.pkt_type = ptype; in iris_hfi_gen1_packet_session_cmd() 395 struct iris_inst *inst, u32 ptype, void *pdata) in iris_hfi_gen1_packet_session_set_property() argument 403 packet->data[0] = ptype; in iris_hfi_gen1_packet_session_set_property() 405 switch (ptype) { in iris_hfi_gen1_packet_session_set_property() 545 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in iris_hfi_gen1_set_resolution() local 553 ret = hfi_gen1_set_property(inst, ptype, &fs, sizeof(fs)); in iris_hfi_gen1_set_resolution() 566 const u32 ptype = HFI_PROPERTY_CONFIG_VIDEOCORES_USAGE; in iris_hfi_gen1_decide_core() local 625 u32 ptype = HFI_PROPERTY_PARAM_BUFFER_COUNT_ACTUAL; in iris_hfi_gen1_set_num_bufs() local 664 u32 ptype = HFI_PROPERTY_PARAM_VDEC_MULTI_STREAM; in iris_hfi_gen1_set_multistream() local [all …]
|
| /linux-6.15/drivers/media/platform/qcom/venus/ |
| H A D | venc.c | 675 u32 ptype, rate_control, bitrate; in venc_set_properties() local 683 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties() 769 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties() 781 ptype = HFI_PROPERTY_PARAM_VENC_HDR10_PQ_SEI; in venc_set_properties() 815 ptype = HFI_PROPERTY_CONFIG_VENC_INTRA_PERIOD; in venc_set_properties() 834 ptype = HFI_PROPERTY_PARAM_VENC_RATE_CONTROL; in venc_set_properties() 842 ptype = HFI_PROPERTY_CONFIG_HEIC_FRAME_QUALITY; in venc_set_properties() 868 ptype = HFI_PROPERTY_CONFIG_VENC_MAX_BITRATE; in venc_set_properties() 890 ptype = HFI_PROPERTY_PARAM_VENC_SESSION_QP; in venc_set_properties() 942 ptype = HFI_PROPERTY_PARAM_VENC_LTRMODE; in venc_set_properties() [all …]
|
| H A D | hfi_cmds.c | 393 switch (ptype) { in pkt_session_get_property_1x() 405 pkt->data = 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() 1111 switch (ptype) { in pkt_session_get_property_3xx() 1139 pkt->data[0] = ptype; in pkt_session_set_property_3xx() 1146 switch (ptype) { in pkt_session_set_property_3xx() 1203 pkt->data[0] = ptype; in pkt_session_set_property_4xx() 1210 switch (ptype) { in pkt_session_set_property_4xx() 1314 pkt->data[0] = ptype; in pkt_session_set_property_6xx() [all …]
|
| H A D | venc_ctrls.c | 77 u32 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in dynamic_bitrate_update() local 80 ret = hfi_session_set_property(inst, ptype, &brate); in dynamic_bitrate_update() 95 u32 ptype; in venc_op_s_ctrl() local 227 ptype = HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER; in venc_op_s_ctrl() 228 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl() 264 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl() 265 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl() 295 ptype = HFI_PROPERTY_CONFIG_VENC_MARKLTRFRAME; in venc_op_s_ctrl() 297 ret = hfi_session_set_property(inst, ptype, <r_mark); in venc_op_s_ctrl() 308 ptype = HFI_PROPERTY_CONFIG_VENC_USELTRFRAME; in venc_op_s_ctrl() [all …]
|
| H A D | helpers.c | 670 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local 688 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq() 941 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level() 1126 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local 1133 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution() 1141 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local 1148 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution() 1176 const u32 ptype = HFI_PROPERTY_PARAM_WORK_MODE; in venus_helper_set_work_mode() local 1185 return hfi_session_set_property(inst, ptype, &wm); in venus_helper_set_work_mode() 1221 u32 ptype = HFI_PROPERTY_PARAM_BUFFER_COUNT_ACTUAL; in venus_helper_set_num_bufs() local [all …]
|
| H A D | hfi.h | 133 int (*session_set_property)(struct venus_inst *inst, u32 ptype, 135 int (*session_get_property)(struct venus_inst *inst, u32 ptype); 169 int hfi_session_get_property(struct venus_inst *inst, u32 ptype, 171 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata);
|
| /linux-6.15/drivers/cxl/ |
| H A D | security.c | 13 enum nvdimm_passphrase_type ptype) in cxl_pmem_get_security_flags() argument 41 if (ptype == NVDIMM_MASTER) { in cxl_pmem_get_security_flags() 70 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_change_key() argument 79 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_change_key() 96 enum nvdimm_passphrase_type ptype) in __cxl_pmem_security_disable() argument 105 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in __cxl_pmem_security_disable() 169 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_passphrase_erase() argument 179 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_passphrase_erase()
|
| /linux-6.15/drivers/acpi/dptf/ |
| H A D | dptf_power.c | 123 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()
|
| H A D | dptf_pch_fivr.c | 122 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.15/include/net/tc_act/ |
| H A D | tc_skbedit.h | 21 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.15/kernel/trace/ |
| H A D | trace_probe.h | 188 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \ argument 193 .print = PRINT_TYPE_FUNC_NAME(ptype), \ 194 .fmt = PRINT_TYPE_FMT_NAME(ptype), \ 199 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument 200 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype) 201 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument 202 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype) 205 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument 206 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype) 452 extern int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype);
|
| /linux-6.15/net/ipv4/ |
| H A D | gre_offload.c | 131 struct packet_offload *ptype; in gre_gro_receive() local 164 ptype = gro_find_receive_by_type(type); in gre_gro_receive() 165 if (!ptype) in gre_gro_receive() 227 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive() 239 struct packet_offload *ptype; in gre_gro_complete() local 254 ptype = gro_find_complete_by_type(type); in gre_gro_complete() 255 if (ptype) in gre_gro_complete() 256 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
|
| /linux-6.15/fs/affs/ |
| H A D | amigaffs.h | 51 __be32 ptype; member 78 __be32 ptype; member 108 __be32 ptype; member 117 __be32 ptype; member
|
| /linux-6.15/net/ethernet/ |
| H A D | eth.c | 395 const struct packet_offload *ptype; in eth_gro_receive() local 424 ptype = gro_find_receive_by_type(type); in eth_gro_receive() 425 if (ptype == NULL) { in eth_gro_receive() 433 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in eth_gro_receive() 448 struct packet_offload *ptype; in eth_gro_complete() local 454 ptype = gro_find_complete_by_type(type); in eth_gro_complete() 455 if (ptype != NULL) in eth_gro_complete() 456 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in eth_gro_complete()
|
| /linux-6.15/arch/powerpc/perf/ |
| H A D | power6-pmu.c | 139 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.15/net/sched/ |
| H A D | act_gact.c | 90 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()
|
| H A D | act_skbedit.c | 87 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.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_dcb.c | 203 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.15/net/8021q/ |
| H A D | vlan_core.c | 467 const struct packet_offload *ptype; in vlan_gro_receive() local 485 ptype = gro_find_receive_by_type(type); in vlan_gro_receive() 486 if (!ptype) in vlan_gro_receive() 505 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in vlan_gro_receive() 519 struct packet_offload *ptype; in vlan_gro_complete() local 522 ptype = gro_find_complete_by_type(type); in vlan_gro_complete() 523 if (ptype) in vlan_gro_complete() 524 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in vlan_gro_complete()
|
| /linux-6.15/drivers/net/ethernet/google/gve/ |
| H A D | gve_rx_dqo.c | 394 struct gve_ptype ptype) in gve_rx_skb_csum() argument 402 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum() 405 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum() 414 switch (ptype.l4_type) { in gve_rx_skb_csum() 428 struct gve_ptype ptype) in gve_rx_skb_hash() argument 432 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash() 434 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash() 730 struct gve_ptype ptype) in gve_rx_complete_rsc() argument 735 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc() 738 switch (ptype.l3_type) { in gve_rx_complete_rsc() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_singleq_txrx.c | 798 u16 ptype) in idpf_rx_singleq_process_skb_fields() argument 800 struct libeth_rx_pt decoded = rx_q->rx_ptype_lkup[ptype]; in idpf_rx_singleq_process_skb_fields() 904 struct libeth_rqe_info *fields, u32 *ptype) in idpf_rx_singleq_extract_base_fields() argument 911 *ptype = FIELD_GET(VIRTCHNL2_RX_BASE_DESC_QW1_PTYPE_M, qword); in idpf_rx_singleq_extract_base_fields() 928 struct libeth_rqe_info *fields, u32 *ptype) in idpf_rx_singleq_extract_flex_fields() argument 932 *ptype = FIELD_GET(VIRTCHNL2_RX_FLEX_DESC_PTYPE_M, in idpf_rx_singleq_extract_flex_fields() 947 struct libeth_rqe_info *fields, u32 *ptype) in idpf_rx_singleq_extract_fields() argument 950 idpf_rx_singleq_extract_base_fields(rx_desc, fields, ptype); in idpf_rx_singleq_extract_fields() 952 idpf_rx_singleq_extract_flex_fields(rx_desc, fields, ptype); in idpf_rx_singleq_extract_fields() 975 u32 ptype; in idpf_rx_singleq_clean() local [all …]
|
| /linux-6.15/include/linux/ |
| H A D | bpf-netns.h | 33 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.15/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_lib.c | 1137 return ptype; in wx_encode_tx_desc_ptype() 1169 return ptype; in wx_encode_tx_desc_ptype() 1185 return ptype; in wx_encode_tx_desc_ptype() 1191 ptype = WX_PTYPE_PKT_IP; in wx_encode_tx_desc_ptype() 1216 ptype |= WX_PTYPE_TYP_IP; in wx_encode_tx_desc_ptype() 1220 return ptype; in wx_encode_tx_desc_ptype() 1224 u8 *hdr_len, u8 ptype) in wx_tso() argument 1340 type_tucmd = ptype << 24; in wx_tso() 1353 u8 ptype) in wx_tx_csum() argument 1478 type_tucmd = ptype << 24; in wx_tx_csum() [all …]
|