/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 | 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()
|
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 | hfi.c | 433 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()
|
D | hfi_cmds.h | 291 void *cookie, u32 ptype); 293 void *cookie, u32 ptype, void *pdata);
|
D | vdec.c | 551 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()
|
D | hfi_msgs.c | 31 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/ |
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()
|
/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()
|
/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()
|
/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 …]
|
D | ice_lan_tx_rx.h | 44 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()
|
D | ice_txrx.c | 851 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/ |
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()
|
/drivers/usb/host/ |
D | uhci-debug.c | 106 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/ |
D | main.c | 78 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/ |
D | usb-urb.c | 18 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/ |
D | dwxgmac2_descs.c | 265 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/ |
D | usb_urb.c | 22 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/ |
D | nd-core.h | 51 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/ |
D | au0828-dvb.c | 111 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/ |
D | geneve.c | 481 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()
|