| /Linux-v5.4/include/net/tc_act/ |
| D | tc_skbedit.h | 20 u16 ptype; member 75 u16 ptype; in tcf_skbedit_ptype() local 78 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype() 81 return ptype; in tcf_skbedit_ptype()
|
| /Linux-v5.4/kernel/trace/ |
| D | trace_probe.h | 180 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument 184 .print = PRINT_TYPE_FUNC_NAME(ptype), \ 185 .fmt = PRINT_TYPE_FMT_NAME(ptype), \ 188 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument 189 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, #_fmttype) 190 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument 191 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype) 194 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument 195 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)
|
| /Linux-v5.4/net/ipv4/ |
| D | gre_offload.c | 116 struct packet_offload *ptype; in gre_gro_receive() local 153 ptype = gro_find_receive_by_type(type); in gre_gro_receive() 154 if (!ptype) in gre_gro_receive() 216 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive() 230 struct packet_offload *ptype; in gre_gro_complete() local 246 ptype = gro_find_complete_by_type(type); in gre_gro_complete() 247 if (ptype) in gre_gro_complete() 248 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
|
| /Linux-v5.4/drivers/media/platform/qcom/venus/ |
| D | venc.c | 651 u32 ptype, rate_control, bitrate, profile = 0, level = 0; in venc_set_properties() local 662 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties() 666 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties() 675 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties() 680 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties() 684 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties() 690 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties() 694 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties() 701 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties() 711 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties() [all …]
|
| D | helpers.c | 638 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local 646 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq() 767 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local 774 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution() 782 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local 789 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution() 795 const u32 ptype = HFI_PROPERTY_PARAM_WORK_MODE; in venus_helper_set_work_mode() local 803 return hfi_session_set_property(inst, ptype, &wm); in venus_helper_set_work_mode() 809 const u32 ptype = HFI_PROPERTY_CONFIG_VIDEOCORES_USAGE; in venus_helper_set_core_usage() local 817 return hfi_session_set_property(inst, ptype, &cu); in venus_helper_set_core_usage() [all …]
|
| D | hfi_cmds.c | 381 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() 1071 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument 1083 switch (ptype) { in pkt_session_get_property_3xx() 1088 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx() 1097 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument [all …]
|
| 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);
|
| D | vdec_ctrls.c | 45 u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in vdec_op_g_volatile_ctrl() local 52 ret = hfi_session_get_property(inst, ptype, &hprop); in vdec_op_g_volatile_ctrl() 59 ret = hfi_session_get_property(inst, ptype, &hprop); in vdec_op_g_volatile_ctrl()
|
| D | venc_ctrls.c | 76 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()
|
| /Linux-v5.4/fs/affs/ |
| D | amigaffs.h | 51 __be32 ptype; member 77 __be32 ptype; member 107 __be32 ptype; member 116 __be32 ptype; member
|
| /Linux-v5.4/drivers/acpi/nfit/ |
| D | intel.c | 11 enum nvdimm_passphrase_type ptype) in intel_security_flags() argument 38 if (nvdimm_in_overwrite(nvdimm) && ptype == NVDIMM_USER) in intel_security_flags() 49 if (ptype == NVDIMM_MASTER) { in intel_security_flags() 107 enum nvdimm_passphrase_type ptype) in intel_security_change_key() argument 110 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_change_key() 236 enum nvdimm_passphrase_type ptype) in intel_security_erase() argument 240 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_erase()
|
| /Linux-v5.4/arch/powerpc/perf/ |
| D | power6-pmu.c | 137 int pmc, psel, ptype; in power6_marked_instr_event() local 148 ptype = direct_event_is_marked[psel]; in power6_marked_instr_event() 149 if (pmc == 0 || !(ptype & (1 << (pmc - 1)))) in power6_marked_instr_event() 151 ptype >>= 4; in power6_marked_instr_event() 152 if (ptype == 0) in power6_marked_instr_event() 154 if (ptype == 1) in power6_marked_instr_event() 157 bit = ptype ^ (pmc - 1); in power6_marked_instr_event()
|
| /Linux-v5.4/net/ethernet/ |
| D | eth.c | 450 const struct packet_offload *ptype; in eth_gro_receive() local 483 ptype = gro_find_receive_by_type(type); in eth_gro_receive() 484 if (ptype == NULL) { in eth_gro_receive() 491 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in eth_gro_receive() 506 struct packet_offload *ptype; in eth_gro_complete() local 513 ptype = gro_find_complete_by_type(type); in eth_gro_complete() 514 if (ptype != NULL) in eth_gro_complete() 515 err = ptype->callbacks.gro_complete(skb, nhoff + in eth_gro_complete()
|
| /Linux-v5.4/drivers/acpi/dptf/ |
| D | dptf_power.c | 67 unsigned long long ptype; in dptf_power_add() local 74 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); in dptf_power_add() 78 if (ptype != 0x11) in dptf_power_add()
|
| /Linux-v5.4/net/sched/ |
| D | act_gact.c | 89 if (p_parm->ptype >= MAX_RAND) in tcf_gact_init() 134 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() 213 .ptype = gact->tcfg_ptype, in tcf_gact_dump()
|
| D | act_skbedit.c | 68 skb->pkt_type = params->ptype; in tcf_skbedit_act() 99 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local 126 ptype = nla_data(tb[TCA_SKBEDIT_PTYPE]); in tcf_skbedit_init() 127 if (!skb_pkt_type_ok(*ptype)) in tcf_skbedit_init() 201 params_new->ptype = *ptype; in tcf_skbedit_init() 259 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| 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-v5.4/net/8021q/ |
| D | vlan_core.c | 460 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() 499 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in vlan_gro_receive() 513 struct packet_offload *ptype; in vlan_gro_complete() local 517 ptype = gro_find_complete_by_type(type); in vlan_gro_complete() 518 if (ptype) in vlan_gro_complete() 519 err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(*vhdr)); in vlan_gro_complete()
|
| /Linux-v5.4/net/nfc/ |
| D | llcp_core.c | 735 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 …]
|
| /Linux-v5.4/drivers/net/ethernet/intel/ice/ |
| D | ice_flex_pipe.c | 784 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) in ice_ptg_find_ptype() argument 786 if (ptype >= ICE_XLT1_CNT || !ptg) in ice_ptg_find_ptype() 789 *ptg = hw->blk[blk].xlt1.ptypes[ptype].ptg; in ice_ptg_find_ptype() 818 ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_remove_ptype() argument 823 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_remove_ptype() 837 if (ptype == (p - hw->blk[blk].xlt1.ptypes)) { in ice_ptg_remove_ptype() 846 hw->blk[blk].xlt1.ptypes[ptype].ptg = ICE_DEFAULT_PTG; in ice_ptg_remove_ptype() 847 hw->blk[blk].xlt1.ptypes[ptype].next_ptype = NULL; in ice_ptg_remove_ptype() 865 ice_ptg_add_mv_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_add_mv_ptype() argument 870 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_add_mv_ptype() [all …]
|
| /Linux-v5.4/include/net/ |
| D | arp.h | 68 void arp_send(int type, int ptype, __be32 dest_ip, 75 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
|
| /Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
| D | iavf_prototype.h | 56 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()
|
| /Linux-v5.4/scripts/kconfig/ |
| D | gconf.c | 708 enum prop_type ptype; in on_back_clicked() local 711 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; in on_back_clicked() 712 if (ptype != P_MENU) in on_back_clicked() 908 enum prop_type ptype; in on_treeview2_button_press_event() local 909 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in on_treeview2_button_press_event() 911 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { in on_treeview2_button_press_event() 1043 enum prop_type ptype; in fill_row() local 1062 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in fill_row() 1063 switch (ptype) { in fill_row() 1338 enum prop_type ptype; in display_tree() local [all …]
|
| /Linux-v5.4/kernel/rcu/ |
| D | rcuperf.c | 129 int ptype; member 171 .ptype = RCU_FLAVOR, 228 .ptype = SRCU_FLAVOR, 256 .ptype = SRCU_FLAVOR, 285 .ptype = RCU_TASKS_FLAVOR,
|
| /Linux-v5.4/kernel/bpf/ |
| D | syscall.c | 1898 enum bpf_prog_type ptype; in bpf_prog_attach() local 1914 ptype = BPF_PROG_TYPE_CGROUP_SKB; in bpf_prog_attach() 1919 ptype = BPF_PROG_TYPE_CGROUP_SOCK; in bpf_prog_attach() 1929 ptype = BPF_PROG_TYPE_CGROUP_SOCK_ADDR; in bpf_prog_attach() 1932 ptype = BPF_PROG_TYPE_SOCK_OPS; in bpf_prog_attach() 1935 ptype = BPF_PROG_TYPE_CGROUP_DEVICE; in bpf_prog_attach() 1938 ptype = BPF_PROG_TYPE_SK_MSG; in bpf_prog_attach() 1942 ptype = BPF_PROG_TYPE_SK_SKB; in bpf_prog_attach() 1945 ptype = BPF_PROG_TYPE_LIRC_MODE2; in bpf_prog_attach() 1948 ptype = BPF_PROG_TYPE_FLOW_DISSECTOR; in bpf_prog_attach() [all …]
|