| /drivers/media/platform/qcom/iris/ |
| A D | iris_hfi_gen1_command.c | 126 u32 ptype) in iris_hfi_gen1_packet_session_cmd() argument 129 packet->shdr.hdr.pkt_type = ptype; in iris_hfi_gen1_packet_session_cmd() 412 struct iris_inst *inst, u32 ptype, void *pdata) in iris_hfi_gen1_packet_session_set_property() argument 420 packet->data[0] = ptype; in iris_hfi_gen1_packet_session_set_property() 422 switch (ptype) { in iris_hfi_gen1_packet_session_set_property() 554 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in iris_hfi_gen1_set_resolution() local 563 ret = hfi_gen1_set_property(inst, ptype, &fs, sizeof(fs)); in iris_hfi_gen1_set_resolution() 576 const u32 ptype = HFI_PROPERTY_CONFIG_VIDEOCORES_USAGE; in iris_hfi_gen1_decide_core() local 635 u32 ptype = HFI_PROPERTY_PARAM_BUFFER_COUNT_ACTUAL; in iris_hfi_gen1_set_num_bufs() local 674 u32 ptype = HFI_PROPERTY_PARAM_VDEC_MULTI_STREAM; in iris_hfi_gen1_set_multistream() local [all …]
|
| /drivers/media/platform/qcom/venus/ |
| A D | venc.c | 673 u32 ptype, rate_control, bitrate; in venc_set_properties() local 681 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties() 767 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties() 779 ptype = HFI_PROPERTY_PARAM_VENC_HDR10_PQ_SEI; in venc_set_properties() 813 ptype = HFI_PROPERTY_CONFIG_VENC_INTRA_PERIOD; in venc_set_properties() 832 ptype = HFI_PROPERTY_PARAM_VENC_RATE_CONTROL; in venc_set_properties() 840 ptype = HFI_PROPERTY_CONFIG_HEIC_FRAME_QUALITY; in venc_set_properties() 866 ptype = HFI_PROPERTY_CONFIG_VENC_MAX_BITRATE; in venc_set_properties() 888 ptype = HFI_PROPERTY_PARAM_VENC_SESSION_QP; in venc_set_properties() 940 ptype = HFI_PROPERTY_PARAM_VENC_LTRMODE; in venc_set_properties() [all …]
|
| A D | hfi_cmds.c | 393 switch (ptype) { in pkt_session_get_property_1x() 405 pkt->data = ptype; in pkt_session_get_property_1x() 425 pkt->data[0] = ptype; in pkt_session_set_property_1x() 427 switch (ptype) { in pkt_session_set_property_1x() 1111 switch (ptype) { in pkt_session_get_property_3xx() 1139 pkt->data[0] = ptype; in pkt_session_set_property_3xx() 1146 switch (ptype) { in pkt_session_set_property_3xx() 1203 pkt->data[0] = ptype; in pkt_session_set_property_4xx() 1210 switch (ptype) { in pkt_session_set_property_4xx() 1314 pkt->data[0] = ptype; in pkt_session_set_property_6xx() [all …]
|
| A D | helpers.c | 670 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local 688 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq() 941 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level() 1126 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local 1133 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution() 1141 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local 1148 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution() 1176 const u32 ptype = HFI_PROPERTY_PARAM_WORK_MODE; in venus_helper_set_work_mode() local 1185 return hfi_session_set_property(inst, ptype, &wm); in venus_helper_set_work_mode() 1221 u32 ptype = HFI_PROPERTY_PARAM_BUFFER_COUNT_ACTUAL; in venus_helper_set_num_bufs() local [all …]
|
| A D | venc_ctrls.c | 77 u32 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in dynamic_bitrate_update() local 80 ret = hfi_session_set_property(inst, ptype, &brate); in dynamic_bitrate_update() 95 u32 ptype; in venc_op_s_ctrl() local 227 ptype = HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER; in venc_op_s_ctrl() 228 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl() 264 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl() 265 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl() 295 ptype = HFI_PROPERTY_CONFIG_VENC_MARKLTRFRAME; in venc_op_s_ctrl() 297 ret = hfi_session_set_property(inst, ptype, <r_mark); in venc_op_s_ctrl() 308 ptype = HFI_PROPERTY_CONFIG_VENC_USELTRFRAME; in venc_op_s_ctrl() [all …]
|
| A 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);
|
| A D | vdec.c | 685 u32 ptype, decode_order, conceal; in vdec_set_properties() local 689 ptype = HFI_PROPERTY_CONFIG_VDEC_POST_LOOP_DEBLOCKER; in vdec_set_properties() 690 ret = hfi_session_set_property(inst, ptype, &en); in vdec_set_properties() 696 ptype = HFI_PROPERTY_PARAM_VDEC_OUTPUT_ORDER; in vdec_set_properties() 706 ret = hfi_session_set_property(inst, ptype, &en); in vdec_set_properties() 711 ptype = HFI_PROPERTY_PARAM_VDEC_CONCEAL_COLOR; in vdec_set_properties() 716 ret = hfi_session_set_property(inst, ptype, &conceal); in vdec_set_properties() 725 u32 ptype = HFI_PROPERTY_PARAM_WORK_ROUTE; in vdec_set_work_route() local 733 return hfi_session_set_property(inst, ptype, &wr); in vdec_set_work_route() 750 u32 ptype; in vdec_output_conf() local [all …]
|
| A D | hfi.c | 474 int hfi_session_get_property(struct venus_inst *inst, u32 ptype, in hfi_session_get_property() argument 488 ret = ops->session_get_property(inst, ptype); in hfi_session_get_property() 502 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata) in hfi_session_set_property() argument 512 return ops->session_set_property(inst, ptype, pdata); in hfi_session_set_property()
|
| /drivers/cxl/ |
| A D | security.c | 13 enum nvdimm_passphrase_type ptype) in cxl_pmem_get_security_flags() argument 41 if (ptype == NVDIMM_MASTER) { in cxl_pmem_get_security_flags() 70 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_change_key() argument 79 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_change_key() 96 enum nvdimm_passphrase_type ptype) in __cxl_pmem_security_disable() argument 105 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in __cxl_pmem_security_disable() 169 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_passphrase_erase() argument 179 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_passphrase_erase()
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/ |
| A D | gsp.c | 36 r570_gsp_xlat_mc_engine_idx(u32 mc_engine_idx, enum nvkm_subdev_type *ptype, int *pinst) in r570_gsp_xlat_mc_engine_idx() argument 40 *ptype = NVKM_SUBDEV_GSP; in r570_gsp_xlat_mc_engine_idx() 44 *ptype = NVKM_ENGINE_DISP; in r570_gsp_xlat_mc_engine_idx() 48 *ptype = NVKM_ENGINE_CE; in r570_gsp_xlat_mc_engine_idx() 52 *ptype = NVKM_ENGINE_GR; in r570_gsp_xlat_mc_engine_idx() 56 *ptype = NVKM_ENGINE_NVDEC; in r570_gsp_xlat_mc_engine_idx() 60 *ptype = NVKM_ENGINE_NVENC; in r570_gsp_xlat_mc_engine_idx() 64 *ptype = NVKM_ENGINE_NVJPG; in r570_gsp_xlat_mc_engine_idx() 68 *ptype = NVKM_ENGINE_OFA; in r570_gsp_xlat_mc_engine_idx()
|
| /drivers/acpi/dptf/ |
| A D | dptf_power.c | 123 unsigned long long ptype; in dptf_participant_type() local 126 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); in dptf_participant_type() 130 return ptype; in dptf_participant_type() 176 unsigned long long ptype; in dptf_power_add() local 183 ptype = dptf_participant_type(acpi_dev->handle); in dptf_power_add() 184 if (ptype == 0x11) in dptf_power_add() 186 else if (ptype == 0x0C) in dptf_power_add()
|
| A D | dptf_pch_fivr.c | 122 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/ixgbe/ |
| A 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/net/ethernet/google/gve/ |
| A D | gve_rx_dqo.c | 400 struct gve_ptype ptype) in gve_rx_skb_csum() argument 408 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum() 411 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum() 420 switch (ptype.l4_type) { in gve_rx_skb_csum() 434 struct gve_ptype ptype) in gve_rx_skb_hash() argument 438 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash() 440 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash() 881 struct gve_ptype ptype) in gve_rx_complete_rsc() argument 886 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc() 889 switch (ptype.l3_type) { in gve_rx_complete_rsc() [all …]
|
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_lib.c | 1132 return ptype; in wx_encode_tx_desc_ptype() 1164 return ptype; in wx_encode_tx_desc_ptype() 1180 return ptype; in wx_encode_tx_desc_ptype() 1186 ptype = WX_PTYPE_PKT_IP; in wx_encode_tx_desc_ptype() 1211 ptype |= WX_PTYPE_TYP_IP; in wx_encode_tx_desc_ptype() 1215 return ptype; in wx_encode_tx_desc_ptype() 1219 u8 *hdr_len, u8 ptype) in wx_tso() argument 1335 type_tucmd = ptype << 24; in wx_tso() 1348 u8 ptype) in wx_tx_csum() argument 1473 type_tucmd = ptype << 24; in wx_tx_csum() [all …]
|
| /drivers/net/ethernet/wangxun/txgbe/ |
| A D | txgbe_fdir.c | 225 void txgbe_atr(struct wx_ring *ring, struct wx_tx_buffer *first, u8 ptype) in txgbe_atr() argument 243 dptype = wx_decode_ptype(ptype); in txgbe_atr() 245 if (WX_PTYPE_TYPL4(ptype) != WX_PTYPE_TYP_TCP) in txgbe_atr() 250 if (WX_PTYPE_PKT(ptype) != WX_PTYPE_PKT_IP || in txgbe_atr() 251 WX_PTYPE_TYPL4(ptype) != WX_PTYPE_TYP_TCP) in txgbe_atr() 274 input.formatted.vlan_id = htons((u16)ptype); in txgbe_atr() 287 if (WX_PTYPE_PKT_IPV6 & WX_PTYPE_PKT(ptype)) { in txgbe_atr()
|
| A D | txgbe_ethtool.c | 357 u16 ptype = 0; in txgbe_add_ethtool_fdir_entry() local 435 ptype = WX_PTYPE_L2_IPV4_TCP; in txgbe_add_ethtool_fdir_entry() 438 ptype = WX_PTYPE_L2_IPV4_UDP; in txgbe_add_ethtool_fdir_entry() 441 ptype = WX_PTYPE_L2_IPV4_SCTP; in txgbe_add_ethtool_fdir_entry() 444 ptype = WX_PTYPE_L2_IPV4; in txgbe_add_ethtool_fdir_entry() 450 input->filter.formatted.vlan_id = htons(ptype); in txgbe_add_ethtool_fdir_entry()
|
| /drivers/acpi/nfit/ |
| A D | intel.c | 54 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() 148 enum nvdimm_passphrase_type ptype) in intel_security_change_key() argument 151 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_change_key() 269 enum nvdimm_passphrase_type ptype) in intel_security_erase() argument 273 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_erase()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_txrx_lib.c | 111 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) in ice_rx_csum() argument 120 decoded = libie_rx_pt_parse(ptype); in ice_rx_csum() 222 u16 ptype = ice_get_ptype(rx_desc); in ice_process_skb_fields() local 224 ice_rx_hash_to_skb(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields() 238 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
|
| A D | ice_flex_pipe.c | 96 return ptype < ICE_FLOW_PTYPE_MAX && in ice_hw_ptype_ena() 97 test_bit(ptype, hw->hw_ptype); in ice_hw_ptype_ena() 665 if (ptype >= ICE_XLT1_CNT || !ptg) in ice_ptg_find_ptype() 702 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_remove_ptype() 749 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_add_mv_ptype() 775 &hw->blk[blk].xlt1.ptypes[ptype]; in ice_ptg_add_mv_ptype() 778 hw->blk[blk].xlt1.t[ptype] = ptg; in ice_ptg_add_mv_ptype() 2578 p->offset = cpu_to_le16(tmp->ptype); in ice_prof_bld_xlt1() 2966 if (attr[i].ptype == ptype) { in ice_add_prof_attrib() 3055 u16 ptype; in ice_add_prof() local [all …]
|
| /drivers/usb/host/ |
| A 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/intel/idpf/ |
| A D | idpf_virtchnl.c | 2640 ptype->outer_ip = LIBETH_RX_PT_OUTER_IPV4; in idpf_fill_ptype_lookup() 2645 ptype->outer_frag = LIBETH_RX_PT_FRAG; in idpf_fill_ptype_lookup() 2665 ptype->inner_prot) in idpf_finalize_ptype_lookup() 2668 ptype->outer_ip) in idpf_finalize_ptype_lookup() 2675 libeth_rx_pt_gen_hash_type(ptype); in idpf_finalize_ptype_lookup() 2748 struct virtchnl2_ptype *ptype; in idpf_send_get_rx_ptype_msg() local 2751 ptype = (struct virtchnl2_ptype *) in idpf_send_get_rx_ptype_msg() 2759 if (le16_to_cpu(ptype->ptype_id_10) == in idpf_send_get_rx_ptype_msg() 2764 k = le16_to_cpu(ptype->ptype_id_10); in idpf_send_get_rx_ptype_msg() 2766 k = ptype->ptype_id_8; in idpf_send_get_rx_ptype_msg() [all …]
|
| /drivers/net/ethernet/netronome/nfp/abm/ |
| A 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/ |
| A 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/nvdimm/ |
| A D | nd-core.h | 52 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()
|