Home
last modified time | relevance | path

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

123

/drivers/media/platform/qcom/venus/
Dvenc.c553 u32 ptype, rate_control, bitrate; in venc_set_properties() local
561 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties()
565 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties()
575 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties()
580 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties()
584 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties()
590 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties()
594 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties()
601 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties()
605 ptype = HFI_PROPERTY_PARAM_VENC_H264_TRANSFORM_8X8; in venc_set_properties()
[all …]
Dhfi_cmds.c382 void *cookie, u32 ptype) in pkt_session_get_property_1x() argument
384 switch (ptype) { in pkt_session_get_property_1x()
396 pkt->data[0] = ptype; in pkt_session_get_property_1x()
402 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_1x() argument
416 pkt->data[0] = ptype; in pkt_session_set_property_1x()
418 switch (ptype) { in pkt_session_set_property_1x()
1089 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument
1101 switch (ptype) { in pkt_session_get_property_3xx()
1106 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx()
1115 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument
[all …]
Dvenc_ctrls.c78 u32 ptype; in venc_op_s_ctrl() local
89 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in venc_op_s_ctrl()
93 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl()
220 ptype = HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER; in venc_op_s_ctrl()
221 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
257 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl()
258 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
288 ptype = HFI_PROPERTY_CONFIG_VENC_MARKLTRFRAME; in venc_op_s_ctrl()
290 ret = hfi_session_set_property(inst, ptype, &ltr_mark); in venc_op_s_ctrl()
301 ptype = HFI_PROPERTY_CONFIG_VENC_USELTRFRAME; in venc_op_s_ctrl()
[all …]
Dhelpers.c618 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local
630 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq()
863 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_get_profile_level() local
867 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_profile_level()
879 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_set_profile_level() local
884 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level()
1069 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local
1076 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution()
1084 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local
1091 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);
Dhfi.c460 int hfi_session_get_property(struct venus_inst *inst, u32 ptype, in hfi_session_get_property() argument
471 ret = ops->session_get_property(inst, ptype); in hfi_session_get_property()
485 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata) in hfi_session_set_property() argument
492 return ops->session_set_property(inst, ptype, pdata); in hfi_session_set_property()
Dvdec.c636 u32 ptype, decode_order, conceal; in vdec_set_properties() local
640 ptype = HFI_PROPERTY_CONFIG_VDEC_POST_LOOP_DEBLOCKER; in vdec_set_properties()
641 ret = hfi_session_set_property(inst, ptype, &en); in vdec_set_properties()
647 ptype = HFI_PROPERTY_PARAM_VDEC_OUTPUT_ORDER; in vdec_set_properties()
649 ret = hfi_session_set_property(inst, ptype, &decode_order); in vdec_set_properties()
654 ptype = HFI_PROPERTY_PARAM_VDEC_CONCEAL_COLOR; in vdec_set_properties()
659 ret = hfi_session_set_property(inst, ptype, &conceal); in vdec_set_properties()
677 u32 ptype; in vdec_output_conf() local
685 ptype = HFI_PROPERTY_PARAM_VDEC_CONTINUE_DATA_TRANSFER; in vdec_output_conf()
686 ret = hfi_session_set_property(inst, ptype, &en); in vdec_output_conf()
Dhfi_cmds.h291 void *cookie, u32 ptype);
293 void *cookie, u32 ptype, void *pdata);
/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.c122 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()
/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c45 static enum pkt_hash_types ice_ptype_to_htype(u16 ptype) in ice_ptype_to_htype() argument
47 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype()
97 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) in ice_rx_csum() argument
106 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
183 struct sk_buff *skb, u16 ptype) in ice_process_skb_fields() argument
185 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields()
190 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
Dice_flex_pipe.c1880 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) in ice_ptg_find_ptype() argument
1882 if (ptype >= ICE_XLT1_CNT || !ptg) in ice_ptg_find_ptype()
1885 *ptg = hw->blk[blk].xlt1.ptypes[ptype].ptg; in ice_ptg_find_ptype()
1914 ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_remove_ptype() argument
1919 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_remove_ptype()
1933 if (ptype == (p - hw->blk[blk].xlt1.ptypes)) { in ice_ptg_remove_ptype()
1942 hw->blk[blk].xlt1.ptypes[ptype].ptg = ICE_DEFAULT_PTG; in ice_ptg_remove_ptype()
1943 hw->blk[blk].xlt1.ptypes[ptype].next_ptype = NULL; in ice_ptg_remove_ptype()
1961 ice_ptg_add_mv_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_add_mv_ptype() argument
1966 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_add_mv_ptype()
[all …]
Dice_txrx_lib.h56 struct sk_buff *skb, u16 ptype);
/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c422 struct gve_ptype ptype) in gve_rx_skb_csum() argument
430 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum()
433 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum()
442 switch (ptype.l4_type) { in gve_rx_skb_csum()
456 struct gve_ptype ptype) in gve_rx_skb_hash() argument
460 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash()
462 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash()
606 struct gve_ptype ptype) in gve_rx_complete_rsc() argument
611 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc()
614 switch (ptype.l3_type) { in gve_rx_complete_rsc()
[all …]
/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()
/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()
/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()
/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()
/drivers/usb/typec/
Dclass.c76 const char *ptype = NULL; in get_pd_product_type() local
83 ptype = product_type_ufp[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type()
85 ptype = product_type_dfp[PD_IDH_DFP_PTYPE(id->id_header)]; in get_pd_product_type()
88 ptype = product_type_cable[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type()
90 ptype = to_typec_cable(dev)->active ? in get_pd_product_type()
95 return ptype; in get_pd_product_type()
175 const char *ptype; in typec_product_type_notify() local
177 ptype = get_pd_product_type(dev); in typec_product_type_notify()
178 if (!ptype) in typec_product_type_notify()
183 envp[0] = kasprintf(GFP_KERNEL, "PRODUCT_TYPE=%s", ptype); in typec_product_type_notify()
[all …]
/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c78 enum nfp_port_type ptype) in nfp_abm_spawn_repr() argument
88 if (ptype == NFP_PORT_PHYS_PORT) { in nfp_abm_spawn_repr()
102 port = nfp_port_alloc(app, ptype, netdev); in nfp_abm_spawn_repr()
108 if (ptype == NFP_PORT_PHYS_PORT) { in nfp_abm_spawn_repr()
135 ptype == NFP_PORT_PF_PORT ? "PCIe" : "Phys", in nfp_abm_spawn_repr()
/drivers/media/usb/dvb-usb/
Dusb-urb.c18 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete() local
23 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
41 switch (ptype) { in usb_urb_complete()
/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_descs.c265 u32 ptype; in dwxgmac2_get_rx_hash() local
268 ptype = (rdes3 & XGMAC_RDES3_L34T) >> XGMAC_RDES3_L34T_SHIFT; in dwxgmac2_get_rx_hash()
270 switch (ptype) { in dwxgmac2_get_rx_hash()
/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c22 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete() local
28 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
49 switch (ptype) { in usb_urb_complete()
/drivers/nvdimm/
Dnd-core.h52 struct nvdimm *nvdimm, enum nvdimm_passphrase_type ptype) in nvdimm_security_flags() argument
63 flags = nvdimm->sec.ops->get_flags(nvdimm, ptype); in nvdimm_security_flags()
/drivers/media/usb/au0828/
Dau0828-dvb.c111 int ptype = usb_pipetype(purb->pipe); in urb_completion() local
126 if (ptype != PIPE_BULK) { in urb_completion()
128 __func__, ptype); in urb_completion()

123