Home
last modified time | relevance | path

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

1234

/Linux-v4.19/net/ipv4/
Dgre_offload.c120 struct packet_offload *ptype; in gre_gro_receive() local
157 ptype = gro_find_receive_by_type(type); in gre_gro_receive()
158 if (!ptype) in gre_gro_receive()
220 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive()
234 struct packet_offload *ptype; in gre_gro_complete() local
250 ptype = gro_find_complete_by_type(type); in gre_gro_complete()
251 if (ptype) in gre_gro_complete()
252 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
/Linux-v4.19/kernel/trace/
Dtrace_probe.h206 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
210 .print = PRINT_TYPE_FUNC_NAME(ptype), \
211 .fmt = PRINT_TYPE_FMT_NAME(ptype), \
226 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument
227 __ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, #ptype)
230 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument
231 __ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, #atype)
/Linux-v4.19/drivers/media/platform/qcom/venus/
Dhelpers.c538 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local
546 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq()
667 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local
674 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution()
682 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local
689 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution()
695 const u32 ptype = HFI_PROPERTY_PARAM_WORK_MODE; in venus_helper_set_work_mode() local
703 return hfi_session_set_property(inst, ptype, &wm); in venus_helper_set_work_mode()
709 const u32 ptype = HFI_PROPERTY_CONFIG_VIDEOCORES_USAGE; in venus_helper_set_core_usage() local
717 return hfi_session_set_property(inst, ptype, &cu); in venus_helper_set_core_usage()
[all …]
Dvenc.c654 u32 ptype, rate_control, bitrate, profile = 0, level = 0; in venc_set_properties() local
665 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties()
669 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties()
678 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties()
683 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties()
687 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties()
693 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties()
697 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties()
704 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties()
714 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties()
[all …]
Dhfi_cmds.c390 void *cookie, u32 ptype) in pkt_session_get_property_1x() argument
392 switch (ptype) { in pkt_session_get_property_1x()
404 pkt->data[0] = ptype; in pkt_session_get_property_1x()
410 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_1x() argument
424 pkt->data[0] = ptype; in pkt_session_set_property_1x()
426 switch (ptype) { in pkt_session_set_property_1x()
1080 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument
1092 switch (ptype) { in pkt_session_get_property_3xx()
1097 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx()
1106 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument
[all …]
Dvdec_ctrls.c51 u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in vdec_op_g_volatile_ctrl() local
58 ret = hfi_session_get_property(inst, ptype, &hprop); in vdec_op_g_volatile_ctrl()
65 ret = hfi_session_get_property(inst, ptype, &hprop); in vdec_op_g_volatile_ctrl()
Dhfi.h142 int (*session_set_property)(struct venus_inst *inst, u32 ptype,
144 int (*session_get_property)(struct venus_inst *inst, u32 ptype);
178 int hfi_session_get_property(struct venus_inst *inst, u32 ptype,
180 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata);
/Linux-v4.19/fs/affs/
Damigaffs.h48 __be32 ptype; member
74 __be32 ptype; member
104 __be32 ptype; member
113 __be32 ptype; member
/Linux-v4.19/net/ethernet/
Deth.c432 const struct packet_offload *ptype; in eth_gro_receive() local
465 ptype = gro_find_receive_by_type(type); in eth_gro_receive()
466 if (ptype == NULL) { in eth_gro_receive()
473 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in eth_gro_receive()
488 struct packet_offload *ptype; in eth_gro_complete() local
495 ptype = gro_find_complete_by_type(type); in eth_gro_complete()
496 if (ptype != NULL) in eth_gro_complete()
497 err = ptype->callbacks.gro_complete(skb, nhoff + in eth_gro_complete()
/Linux-v4.19/arch/powerpc/perf/
Dpower6-pmu.c141 int pmc, psel, ptype; in power6_marked_instr_event() local
152 ptype = direct_event_is_marked[psel]; in power6_marked_instr_event()
153 if (pmc == 0 || !(ptype & (1 << (pmc - 1)))) in power6_marked_instr_event()
155 ptype >>= 4; in power6_marked_instr_event()
156 if (ptype == 0) in power6_marked_instr_event()
158 if (ptype == 1) in power6_marked_instr_event()
161 bit = ptype ^ (pmc - 1); in power6_marked_instr_event()
/Linux-v4.19/net/sched/
Dact_gact.c89 if (p_parm->ptype >= MAX_RAND) in tcf_gact_init()
126 gact->tcfg_ptype = p_parm->ptype; in tcf_gact_init()
144 u32 ptype = READ_ONCE(gact->tcfg_ptype); in tcf_gact_act() local
146 if (ptype) in tcf_gact_act()
147 action = gact_rand[ptype](gact); in tcf_gact_act()
195 .ptype = gact->tcfg_ptype, in tcf_gact_dump()
Dact_skbedit.c78 skb->pkt_type = params->ptype; in tcf_skbedit_act()
107 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local
132 ptype = nla_data(tb[TCA_SKBEDIT_PTYPE]); in tcf_skbedit_init()
133 if (!skb_pkt_type_ok(*ptype)) in tcf_skbedit_init()
207 params_new->ptype = *ptype; in tcf_skbedit_init()
253 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
/Linux-v4.19/drivers/acpi/dptf/
Ddptf_power.c77 unsigned long long ptype; in dptf_power_add() local
84 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); in dptf_power_add()
88 if (ptype != 0x11) in dptf_power_add()
/Linux-v4.19/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()
/Linux-v4.19/net/nfc/
Dllcp_core.c731 u8 ptype = nfc_llcp_ptype(skb); in nfc_llcp_tx_work() local
738 if (ptype == LLCP_PDU_DISC && sk != NULL && in nfc_llcp_tx_work()
745 if (ptype == LLCP_PDU_I) in nfc_llcp_tx_work()
761 if (ptype == LLCP_PDU_I && copy_skb) in nfc_llcp_tx_work()
1028 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1030 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1052 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1098 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1100 else if (ptype == LLCP_PDU_RNR) in nfc_llcp_recv_hdlc()
1103 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype == LLCP_PDU_I) in nfc_llcp_recv_hdlc()
[all …]
/Linux-v4.19/drivers/isdn/isdnloop/
Disdnloop.h27 int ptype; member
78 int ptype; /* Protocol type (1TR6 or Euro) */ member
Disdnloop.c347 card->ptype = ISDN_PTYPE_1TR6; in isdnloop_polldchan()
353 card->ptype = ISDN_PTYPE_EURO; in isdnloop_polldchan()
545 switch (card->ptype) { in isdnloop_unicause()
679 switch (cc->ptype) { in isdnloop_try_call()
744 switch (card->ptype) { in isdnloop_vstphone()
853 if (card->ptype != ISDN_PTYPE_1TR6) { in isdnloop_parse_cmd()
1074 switch (sdef.ptype) { in isdnloop_start()
1109 sdef.ptype); in isdnloop_start()
1153 while (card->ptype == ISDN_PTYPE_UNKNOWN) in isdnloop_command()
1280 if (card->ptype == ISDN_PTYPE_EURO) { in isdnloop_command()
[all …]
/Linux-v4.19/kernel/rcu/
Drcuperf.c136 int ptype; member
178 .ptype = RCU_FLAVOR,
208 .ptype = RCU_BH_FLAVOR,
265 .ptype = SRCU_FLAVOR,
293 .ptype = SRCU_FLAVOR,
324 .ptype = RCU_SCHED_FLAVOR,
352 .ptype = RCU_TASKS_FLAVOR,
/Linux-v4.19/net/8021q/
Dvlan.c653 const struct packet_offload *ptype; in vlan_gro_receive() local
673 ptype = gro_find_receive_by_type(type); in vlan_gro_receive()
674 if (!ptype) in vlan_gro_receive()
692 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in vlan_gro_receive()
706 struct packet_offload *ptype; in vlan_gro_complete() local
710 ptype = gro_find_complete_by_type(type); in vlan_gro_complete()
711 if (ptype) in vlan_gro_complete()
712 err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(*vhdr)); in vlan_gro_complete()
/Linux-v4.19/include/net/
Darp.h60 void arp_send(int type, int ptype, __be32 dest_ip,
67 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
/Linux-v4.19/include/linux/
Dbpf-cgroup.h237 enum bpf_prog_type ptype, struct bpf_prog *prog);
239 enum bpf_prog_type ptype);
250 enum bpf_prog_type ptype, in cgroup_bpf_prog_attach() argument
257 enum bpf_prog_type ptype) in cgroup_bpf_prog_detach() argument
/Linux-v4.19/kernel/bpf/
Dsyscall.c1572 enum bpf_prog_type ptype; in bpf_prog_attach() local
1588 ptype = BPF_PROG_TYPE_CGROUP_SKB; in bpf_prog_attach()
1593 ptype = BPF_PROG_TYPE_CGROUP_SOCK; in bpf_prog_attach()
1601 ptype = BPF_PROG_TYPE_CGROUP_SOCK_ADDR; in bpf_prog_attach()
1604 ptype = BPF_PROG_TYPE_SOCK_OPS; in bpf_prog_attach()
1607 ptype = BPF_PROG_TYPE_CGROUP_DEVICE; in bpf_prog_attach()
1610 ptype = BPF_PROG_TYPE_SK_MSG; in bpf_prog_attach()
1614 ptype = BPF_PROG_TYPE_SK_SKB; in bpf_prog_attach()
1617 ptype = BPF_PROG_TYPE_LIRC_MODE2; in bpf_prog_attach()
1623 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in bpf_prog_attach()
[all …]
/Linux-v4.19/scripts/kconfig/
Dgconf.c710 enum prop_type ptype; in on_back_clicked() local
713 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; in on_back_clicked()
714 if (ptype != P_MENU) in on_back_clicked()
910 enum prop_type ptype; in on_treeview2_button_press_event() local
911 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in on_treeview2_button_press_event()
913 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { in on_treeview2_button_press_event()
1045 enum prop_type ptype; in fill_row() local
1064 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in fill_row()
1065 switch (ptype) { in fill_row()
1340 enum prop_type ptype; in display_tree() local
[all …]
/Linux-v4.19/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()
/Linux-v4.19/include/linux/usb/
Dpd_vdo.h127 #define VDO_IDH(usbh, usbd, ptype, is_modal, vid) \ argument
128 ((usbh) << 31 | (usbd) << 30 | ((ptype) & 0x7) << 27 \

1234