/linux-6.3-rc2/sound/soc/sof/ |
A D | sof-client-probes-ipc4.c | 109 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 msg.primary = mentry->id; in ipc4_probes_deinit() 195 struct sof_man4_module *mentry = sof_ipc4_probe_get_module_info(cdev); in ipc4_probes_points_add() local 216 msg.primary = mentry->id; in ipc4_probes_points_add() 245 struct sof_man4_module *mentry = sof_ipc4_probe_get_module_info(cdev); in ipc4_probes_points_remove() local 258 msg.primary = mentry->id; in ipc4_probes_points_remove()
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | dm.c | 151 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() 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() 463 rdma_user_mmap_entry_remove(&dm->mentry.rdma_entry); in mlx5_dm_memic_dealloc() 533 struct mlx5_user_mmap_entry *mentry) in mlx5_ib_dm_mmap_free() argument 538 switch (mentry->mmap_flag) { in mlx5_ib_dm_mmap_free() 540 mdm = container_of(mentry, struct mlx5_ib_dm_memic, mentry); in mlx5_ib_dm_mmap_free() [all …]
|
A D | dm.h | 22 struct mlx5_user_mmap_entry mentry; member 30 struct mlx5_user_mmap_entry mentry; member 62 struct mlx5_user_mmap_entry *mentry);
|
A D | main.c | 2102 switch (mentry->mmap_flag) { in mlx5_ib_mmap_free() 2105 mlx5_ib_dm_mmap_free(dev, mentry); in mlx5_ib_mmap_free() 2109 clear_bit(mentry->page_idx, var_table->bitmap); in mlx5_ib_mmap_free() 2111 kfree(mentry); in mlx5_ib_mmap_free() 2115 mlx5_cmd_uar_dealloc(dev->mdev, mentry->page_idx, in mlx5_ib_mmap_free() 2117 kfree(mentry); in mlx5_ib_mmap_free() 2247 struct mlx5_user_mmap_entry *mentry; in mlx5_ib_mmap_offset() local 2259 mentry = to_mmmap(entry); in mlx5_ib_mmap_offset() 2260 pfn = (mentry->address >> PAGE_SHIFT); in mlx5_ib_mmap_offset() 2261 if (mentry->mmap_flag == MLX5_IB_MMAP_TYPE_VAR || in mlx5_ib_mmap_offset() [all …]
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | dsp.c | 230 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()
|
A D | probes.c | 20 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()
|
A D | loader.c | 210 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()
|
A D | messages.h | 538 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-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | verbs.c | 1087 u16 mentry = ent & PKEY_LOW_15_MASK; in egress_pkey_matches_entry() local 1089 if (mkey == mentry) { in egress_pkey_matches_entry()
|