Home
last modified time | relevance | path

Searched refs:blk_type (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_pfvf_pf_proto.c129 u8 blk_type; in handle_blkmsg_req() local
135 blk_type = FIELD_GET(ADF_VF2PF_LARGE_BLOCK_TYPE_MASK, req.data) in handle_blkmsg_req()
141 blk_type = FIELD_GET(ADF_VF2PF_MEDIUM_BLOCK_TYPE_MASK, req.data) in handle_blkmsg_req()
147 blk_type = FIELD_GET(ADF_VF2PF_SMALL_BLOCK_TYPE_MASK, req.data); in handle_blkmsg_req()
157 blk_type, blk_byte + 1, vf_info->vf_nr); in handle_blkmsg_req()
159 if (!adf_pf2vf_blkmsg_get_data(vf_info, blk_type, blk_byte, in handle_blkmsg_req()
166 blk_type, blk_byte, vf_info->vf_nr); in handle_blkmsg_req()
168 if (!adf_pf2vf_blkmsg_get_data(vf_info, blk_type, blk_byte, in handle_blkmsg_req()
H A Dadf_pfvf_vf_proto.c111 u8 blk_type; in adf_vf2pf_blkmsg_data_req() local
120 blk_type = FIELD_PREP(ADF_VF2PF_SMALL_BLOCK_TYPE_MASK, *type); in adf_vf2pf_blkmsg_data_req()
125 blk_type = FIELD_PREP(ADF_VF2PF_MEDIUM_BLOCK_TYPE_MASK, in adf_vf2pf_blkmsg_data_req()
131 blk_type = FIELD_PREP(ADF_VF2PF_LARGE_BLOCK_TYPE_MASK, in adf_vf2pf_blkmsg_data_req()
150 req.data = blk_type | blk_byte | FIELD_PREP(ADF_VF2PF_BLOCK_CRC_REQ_MASK, crc); in adf_vf2pf_blkmsg_data_req()
/linux/sound/soc/sof/
H A Diomem-utils.c76 int sof_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in sof_block_write() argument
79 int bar = snd_sof_dsp_get_bar_index(sdev, blk_type); in sof_block_write()
115 int sof_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in sof_block_read() argument
118 int bar = snd_sof_dsp_get_bar_index(sdev, blk_type); in sof_block_read()
H A Dops.h306 enum snd_sof_fw_blk_type blk_type, u32 offset, size_t size, in snd_sof_debugfs_add_region_item() argument
310 return sof_ops(sdev)->debugfs_add_region_item(sdev, blk_type, offset, in snd_sof_debugfs_add_region_item()
384 enum snd_sof_fw_blk_type blk_type, in snd_sof_dsp_block_read() argument
387 return sof_ops(sdev)->block_read(sdev, blk_type, offset, dest, bytes); in snd_sof_dsp_block_read()
391 enum snd_sof_fw_blk_type blk_type, in snd_sof_dsp_block_write() argument
394 return sof_ops(sdev)->block_write(sdev, blk_type, offset, src, bytes); in snd_sof_dsp_block_write()
H A Dsof-priv.h324 enum snd_sof_fw_blk_type blk_type, u32 offset,
786 enum snd_sof_fw_blk_type blk_type, u32 offset, size_t size,
829 int sof_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
831 int sof_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
H A Ddebug.c156 enum snd_sof_fw_blk_type blk_type, u32 offset, in snd_sof_debugfs_add_region_item_iomem() argument
160 int bar = snd_sof_dsp_get_bar_index(sdev, blk_type); in snd_sof_debugfs_add_region_item_iomem()
/linux/sound/soc/sof/amd/
H A Dacp-loader.c31 int acp_dsp_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in acp_dsp_block_read() argument
35 switch (blk_type) { in acp_dsp_block_read()
41 dev_err(sdev->dev, "bad blk type 0x%x\n", blk_type); in acp_dsp_block_read()
49 int acp_dsp_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in acp_dsp_block_write() argument
60 switch (blk_type) { in acp_dsp_block_write()
102 dev_err(sdev->dev, "bad blk type 0x%x\n", blk_type); in acp_dsp_block_write()
H A Dacp.h237 u32 blk_type; member
277 int acp_dsp_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
279 int acp_dsp_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type,
/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.h100 static inline int intel_pt_blk_type_pos(enum intel_pt_blk_type blk_type) in intel_pt_blk_type_pos() argument
114 return blk_type < INTEL_PT_BLK_TYPE_MAX ? map[blk_type] - 1 : -1; in intel_pt_blk_type_pos()
H A Dintel-pt-decoder.c181 enum intel_pt_blk_type blk_type; member
2047 decoder->blk_type = decoder->packet.payload; in intel_pt_bbp()
2048 decoder->blk_type_pos = intel_pt_blk_type_pos(decoder->blk_type); in intel_pt_bbp()
2049 if (decoder->blk_type == INTEL_PT_GP_REGS) in intel_pt_bbp()
2053 decoder->blk_type); in intel_pt_bbp()
2056 decoder->blk_type); in intel_pt_bbp()
2068 id, decoder->blk_type); in intel_pt_bip()
2074 id, decoder->blk_type); in intel_pt_bip()
2892 decoder->blk_type = decoder->packet.payload; in intel_pt_vm_time_correlation()
2896 if (decoder->blk_type == INTEL_PT_PEBS_BASIC && in intel_pt_vm_time_correlation()
[all …]