Home
last modified time | relevance | path

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

12

/drivers/media/platform/qcom/venus/
Dvenc.c651 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 …]
Dhelpers.c638 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 …]
Dhfi_cmds.c381 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 …]
Dhfi.h133 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);
Dvenc_ctrls.c76 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()
Dvdec_ctrls.c45 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()
Dhfi.c433 int hfi_session_get_property(struct venus_inst *inst, u32 ptype, in hfi_session_get_property() argument
444 ret = ops->session_get_property(inst, ptype); in hfi_session_get_property()
458 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata) in hfi_session_set_property() argument
465 return ops->session_set_property(inst, ptype, pdata); in hfi_session_set_property()
Dhfi_cmds.h291 void *cookie, u32 ptype);
293 void *cookie, u32 ptype, void *pdata);
Dvdec.c551 u32 ptype; in vdec_set_properties() local
555 ptype = HFI_PROPERTY_CONFIG_VDEC_POST_LOOP_DEBLOCKER; in vdec_set_properties()
556 ret = hfi_session_set_property(inst, ptype, &en); in vdec_set_properties()
574 u32 ptype; in vdec_output_conf() local
586 ptype = HFI_PROPERTY_PARAM_VDEC_CONTINUE_DATA_TRANSFER; in vdec_output_conf()
587 ret = hfi_session_set_property(inst, ptype, &en); in vdec_output_conf()
Dhfi_msgs.c31 u32 ptype; in event_seq_changed() local
54 ptype = *((u32 *)data_ptr); in event_seq_changed()
55 switch (ptype) { in event_seq_changed()
/drivers/acpi/nfit/
Dintel.c11 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()
/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/dptf/
Ddptf_power.c67 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()
/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c784 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 …]
Dice_lan_tx_rx.h44 u32 ptype:10; member
479 static inline struct ice_rx_ptype_decoded ice_decode_rx_desc_ptype(u16 ptype) in ice_decode_rx_desc_ptype() argument
481 return ice_ptype_lkup[ptype]; in ice_decode_rx_desc_ptype()
Dice_txrx.c851 static enum pkt_hash_types ice_ptype_to_htype(u8 __always_unused ptype) in ice_ptype_to_htype() argument
892 union ice_32b_rx_flex_desc *rx_desc, u8 ptype) in ice_rx_csum() argument
901 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
965 struct sk_buff *skb, u8 ptype) in ice_process_skb_fields() argument
967 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields()
972 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
/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/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.h51 struct nvdimm *nvdimm, enum nvdimm_passphrase_type ptype) in nvdimm_security_flags() argument
62 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()
/drivers/net/
Dgeneve.c481 const struct packet_offload *ptype; in geneve_gro_receive() local
520 ptype = gro_find_receive_by_type(type); in geneve_gro_receive()
521 if (!ptype) in geneve_gro_receive()
526 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in geneve_gro_receive()
541 struct packet_offload *ptype; in geneve_gro_complete() local
551 ptype = gro_find_complete_by_type(type); in geneve_gro_complete()
552 if (ptype) in geneve_gro_complete()
553 err = ptype->callbacks.gro_complete(skb, nhoff + gh_len); in geneve_gro_complete()

12