/openbmc/linux/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, &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, &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 | 234 struct packet_offload *ptype; in napi_gro_complete() local 247 list_for_each_entry_rcu(ptype, head, list) { in napi_gro_complete() 248 if (ptype->type != type || !ptype->callbacks.gro_complete) in napi_gro_complete() 251 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in napi_gro_complete() 259 WARN_ON(&ptype->list == head); in napi_gro_complete() 439 struct packet_offload *ptype; in dev_gro_receive() local 451 list_for_each_entry_rcu(ptype, head, list) { in dev_gro_receive() 452 if (ptype->type == type && ptype->callbacks.gro_receive) in dev_gro_receive() 487 pp = INDIRECT_CALL_INET(ptype->callbacks.gro_receive, in dev_gro_receive() 545 struct packet_offload *ptype; in gro_find_receive_by_type() local [all …]
|
/openbmc/linux/drivers/cxl/ |
H A D | security.c | 13 enum nvdimm_passphrase_type ptype) in cxl_pmem_get_security_flags() argument 40 if (ptype == NVDIMM_MASTER) { in cxl_pmem_get_security_flags() 69 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_change_key() argument 78 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_change_key() 95 enum nvdimm_passphrase_type ptype) in __cxl_pmem_security_disable() argument 104 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in __cxl_pmem_security_disable() 168 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_passphrase_erase() argument 178 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_passphrase_erase()
|
/openbmc/linux/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()
|
/openbmc/linux/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() 687 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties() 697 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties() 702 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties() 706 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties() 712 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties() 716 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties() 723 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties() 727 ptype = HFI_PROPERTY_PARAM_VENC_H264_TRANSFORM_8X8; in venc_set_properties() [all …]
|
H A D | hfi_cmds.c | 391 void *cookie, u32 ptype) in pkt_session_get_property_1x() argument 393 switch (ptype) { in pkt_session_get_property_1x() 405 pkt->data[0] = ptype; in pkt_session_get_property_1x() 411 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_1x() argument 425 pkt->data[0] = ptype; in pkt_session_set_property_1x() 427 switch (ptype) { in pkt_session_set_property_1x() 1099 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument 1111 switch (ptype) { in pkt_session_get_property_3xx() 1116 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx() 1125 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument [all …]
|
H A D | venc_ctrls.c | 79 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, <r_mark); in venc_op_s_ctrl() 302 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() 920 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_get_profile_level() local 924 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_profile_level() 936 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_set_profile_level() local 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() [all …]
|
/openbmc/linux/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()
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | pluginbase.py | 33 def get_plugins(cls, ptype): argument 35 if ptype not in PLUGIN_TYPES: 36 raise WicError('%s is not valid plugin type' % ptype) 49 if ptype not in PLUGINS: 52 ppath = os.path.join(pdir, ptype) 63 return PLUGINS.get(ptype)
|
/openbmc/linux/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) 451 extern int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype);
|
/openbmc/linux/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()
|
/openbmc/u-boot/board/cavium/thunderx/ |
H A D | atf.c | 185 char *ptype; in atf_print_part_table() local 205 ptype = "NBL1FW"; in atf_print_part_table() 208 ptype = "BL2_BL31"; in atf_print_part_table() 211 ptype = "BOOTLDR"; in atf_print_part_table() 214 ptype = "KERNEL"; in atf_print_part_table() 217 ptype = "DEVTREE"; in atf_print_part_table() 220 ptype = "UNKNOWN"; in atf_print_part_table() 222 printf("%10s %10d %10lx\n", ptype, part->size, part->offset); in atf_print_part_table()
|
/openbmc/sdbusplus/tools/sdbusplus/ |
H A D | signal.py | 15 def cpp_prototype(self, loader, interface, ptype): argument 21 ptype=ptype,
|
/openbmc/linux/fs/affs/ |
H A D | amigaffs.h | 51 __be32 ptype; member 77 __be32 ptype; member 107 __be32 ptype; member 116 __be32 ptype; member
|
/openbmc/linux/net/ethernet/ |
H A D | eth.c | 397 const struct packet_offload *ptype; in eth_gro_receive() local 426 ptype = gro_find_receive_by_type(type); in eth_gro_receive() 427 if (ptype == NULL) { in eth_gro_receive() 435 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in eth_gro_receive() 450 struct packet_offload *ptype; in eth_gro_complete() local 456 ptype = gro_find_complete_by_type(type); in eth_gro_complete() 457 if (ptype != NULL) in eth_gro_complete() 458 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in eth_gro_complete()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 49 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()
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_rx_dqo.c | 463 struct gve_ptype ptype) in gve_rx_skb_csum() argument 471 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum() 474 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum() 483 switch (ptype.l4_type) { in gve_rx_skb_csum() 497 struct gve_ptype ptype) in gve_rx_skb_hash() argument 501 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash() 503 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash() 701 struct gve_ptype ptype) in gve_rx_complete_rsc() argument 706 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc() 709 switch (ptype.l3_type) { in gve_rx_complete_rsc() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/qemu/monitor/ |
H A D | hmp.c | 1271 const char *ptype, *old_ptype, *str; in monitor_find_completion_by_table() local 1311 ptype = next_arg_type(cmd->args_type); in monitor_find_completion_by_table() 1313 if (*ptype != '\0') { in monitor_find_completion_by_table() 1314 ptype = next_arg_type(ptype); in monitor_find_completion_by_table() 1315 while (*ptype == '?') { in monitor_find_completion_by_table() 1316 ptype = next_arg_type(ptype); in monitor_find_completion_by_table() 1322 while (*ptype == '-' && old_ptype != ptype) { in monitor_find_completion_by_table() 1323 old_ptype = ptype; in monitor_find_completion_by_table() 1324 ptype = next_arg_type(ptype); in monitor_find_completion_by_table() 1326 switch (*ptype) { in monitor_find_completion_by_table()
|
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 151 static struct wx_dec_ptype wx_decode_ptype(const u8 ptype) in wx_decode_ptype() argument 153 return wx_ptype_lookup[ptype]; in wx_decode_ptype() 1110 u8 tun_prot = 0, l4_prot = 0, ptype = 0; in wx_encode_tx_desc_ptype() local 1119 ptype = WX_PTYPE_TUN_IPV4; in wx_encode_tx_desc_ptype() 1123 ptype = WX_PTYPE_TUN_IPV6; in wx_encode_tx_desc_ptype() 1126 return ptype; in wx_encode_tx_desc_ptype() 1131 ptype |= WX_PTYPE_PKT_IPIP; in wx_encode_tx_desc_ptype() 1136 ptype |= WX_PTYPE_PKT_IG; in wx_encode_tx_desc_ptype() 1140 ptype |= WX_PTYPE_PKT_IGMV; in wx_encode_tx_desc_ptype() 1142 ptype |= WX_PTYPE_PKT_IGM; in wx_encode_tx_desc_ptype() [all …]
|