Home
last modified time | relevance | path

Searched refs:mentry (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/sound/soc/sof/
Dsof-client-probes-ipc4.c109 struct sof_man4_module *mentry = sof_ipc4_probe_get_module_info(cdev); in ipc4_probes_init() local
113 if (!mentry) in ipc4_probes_init()
122 msg.primary = mentry->id; in ipc4_probes_init()
146 struct sof_man4_module *mentry = sof_ipc4_probe_get_module_info(cdev); in ipc4_probes_deinit() local
149 if (!mentry) in ipc4_probes_deinit()
152 msg.primary = mentry->id; in ipc4_probes_deinit()
198 struct sof_man4_module *mentry = sof_ipc4_probe_get_module_info(cdev); in ipc4_probes_points_add() local
203 if (!mentry) in ipc4_probes_points_add()
222 msg.primary = mentry->id; in ipc4_probes_points_add()
251 struct sof_man4_module *mentry = sof_ipc4_probe_get_module_info(cdev); in ipc4_probes_points_remove() local
[all …]
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Ddm.c151 struct mlx5_user_mmap_entry *mentry, u8 mmap_flag, in add_dm_mmap_entry() argument
154 mentry->mmap_flag = mmap_flag; in add_dm_mmap_entry()
155 mentry->address = address; in add_dm_mmap_entry()
158 context, &mentry->rdma_entry, size, in add_dm_mmap_entry()
180 page_idx = op_entry->mentry.rdma_entry.start_pgoff & 0xFFFF; in copy_op_to_user()
244 err = add_dm_mmap_entry(uobj->context, &op_entry->mentry, in UVERBS_HANDLER()
267 rdma_user_mmap_entry_remove(&op_entry->mentry.rdma_entry); in UVERBS_HANDLER()
309 err = add_dm_mmap_entry(ctx, &dm->mentry, MLX5_IB_MMAP_TYPE_MEMIC, in handle_alloc_dm_memic()
317 page_idx = dm->mentry.rdma_entry.start_pgoff & 0xFFFF; in handle_alloc_dm_memic()
333 rdma_user_mmap_entry_remove(&dm->mentry.rdma_entry); in handle_alloc_dm_memic()
[all …]
Ddm.h22 struct mlx5_user_mmap_entry mentry; member
30 struct mlx5_user_mmap_entry mentry; member
62 struct mlx5_user_mmap_entry *mentry);
Dmain.c2115 struct mlx5_user_mmap_entry *mentry = to_mmmap(entry); in mlx5_ib_mmap_free() local
2120 switch (mentry->mmap_flag) { in mlx5_ib_mmap_free()
2123 mlx5_ib_dm_mmap_free(dev, mentry); in mlx5_ib_mmap_free()
2127 clear_bit(mentry->page_idx, var_table->bitmap); in mlx5_ib_mmap_free()
2129 kfree(mentry); in mlx5_ib_mmap_free()
2133 mlx5_cmd_uar_dealloc(dev->mdev, mentry->page_idx, in mlx5_ib_mmap_free()
2135 kfree(mentry); in mlx5_ib_mmap_free()
2265 struct mlx5_user_mmap_entry *mentry; in mlx5_ib_mmap_offset() local
2277 mentry = to_mmmap(entry); in mlx5_ib_mmap_offset()
2278 pfn = (mentry->address >> PAGE_SHIFT); in mlx5_ib_mmap_offset()
[all …]
/Linux-v6.6/sound/soc/intel/avs/
Ddsp.c230 struct avs_module_entry mentry; in avs_dsp_init_module() local
238 ret = avs_get_module_id_entry(adev, module_id, &mentry); in avs_dsp_init_module()
247 if (!id && !avs_module_entry_is_loaded(&mentry)) { in avs_dsp_init_module()
248 ret = avs_dsp_op(adev, transfer_mods, true, &mentry, 1); in avs_dsp_init_module()
268 avs_dsp_op(adev, transfer_mods, false, &mentry, 1); in avs_dsp_init_module()
278 struct avs_module_entry mentry; in avs_dsp_delete_module() local
287 ret = avs_get_module_id_entry(adev, module_id, &mentry); in avs_dsp_delete_module()
289 if (!ret && mentry.type.load_type == AVS_MODULE_LOAD_TYPE_LOADABLE) { in avs_dsp_delete_module()
291 ret = avs_dsp_op(adev, transfer_mods, false, &mentry, 1); in avs_dsp_delete_module()
Dprobes.c20 struct avs_module_entry mentry; in avs_dsp_init_probe() local
23 avs_get_module_entry(adev, &AVS_PROBE_MOD_UUID, &mentry); in avs_dsp_init_probe()
31 cfg.base.is_pages = mentry.segments[2].flags.length; in avs_dsp_init_probe()
35 return avs_dsp_init_module(adev, mentry.module_id, INVALID_PIPELINE_ID, 0, 0, &cfg, in avs_dsp_init_probe()
41 struct avs_module_entry mentry; in avs_dsp_delete_probe() local
43 avs_get_module_entry(adev, &AVS_PROBE_MOD_UUID, &mentry); in avs_dsp_delete_probe()
46 avs_dsp_delete_module(adev, mentry.module_id, 0, INVALID_PIPELINE_ID, 0); in avs_dsp_delete_probe()
Dloader.c210 static int avs_cldma_load_module(struct avs_dev *adev, struct avs_module_entry *mentry) in avs_cldma_load_module() argument
218 adev->spec->name, mentry->uuid.b); in avs_cldma_load_module()
233 ret = avs_ipc_load_modules(adev, &mentry->module_id, 1); in avs_cldma_load_module()
241 dev_err(adev->dev, "load module %d failed: %d\n", mentry->module_id, ret); in avs_cldma_load_module()
Dmessages.h538 static inline bool avs_module_entry_is_loaded(struct avs_module_entry *mentry) in avs_module_entry_is_loaded() argument
540 return mentry->type.load_type == AVS_MODULE_LOAD_TYPE_BUILTIN || in avs_module_entry_is_loaded()
541 mentry->state_flags & AVS_MODULE_STATE_LOADED; in avs_module_entry_is_loaded()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dverbs.c1087 u16 mentry = ent & PKEY_LOW_15_MASK; in egress_pkey_matches_entry() local
1089 if (mkey == mentry) { in egress_pkey_matches_entry()