Home
last modified time | relevance | path

Searched refs:idr_find (Results 1 – 25 of 146) sorted by relevance

123456

/linux-6.6.21/drivers/misc/ocxl/
Dafu_irq.c39 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_irq_set_handler()
174 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_free()
204 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_get_addr()
/linux-6.6.21/kernel/irq/
Dtimings.c570 s = idr_find(&irqt_stats, irq); in irq_timings_next_event()
598 s = idr_find(&irqt_stats, irq); in irq_timings_free()
616 s = idr_find(&irqt_stats, irq); in irq_timings_alloc()
786 s = idr_find(&irqt_stats, irq); in irq_timings_test_irqs()
/linux-6.6.21/drivers/reset/
Dreset-ti-sci.c72 control = idr_find(&data->idr, id); in ti_sci_reset_set()
153 control = idr_find(&data->idr, id); in ti_sci_reset_status()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_pgt.c166 pgt_entry = idr_find(&pgt->pgt_idr, mid); in mlxsw_sp_pgt_entry_get()
177 pgt_entry = idr_find(&pgt->pgt_idr, mid); in mlxsw_sp_pgt_entry_put()
295 pgt_entry = idr_find(&mlxsw_sp->pgt->pgt_idr, mid); in mlxsw_sp_pgt_entry_port_del()
/linux-6.6.21/drivers/rpmsg/
Dqcom_glink_native.c428 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent_req_ack()
749 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_rx_done()
757 intent = idr_find(&channel->riids, iid); in qcom_glink_handle_rx_done()
797 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent_req()
873 channel = idr_find(&glink->rcids, rcid); in qcom_glink_rx_data()
908 intent = idr_find(&channel->liids, liid); in qcom_glink_rx_data()
983 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent()
1026 channel = idr_find(&glink->lcids, lcid); in qcom_glink_rx_open_ack()
1071 channel = idr_find(&glink->rcids, rcid); in qcom_glink_handle_signals()
1606 channel = idr_find(&glink->rcids, rcid); in qcom_glink_rx_close()
[all …]
/linux-6.6.21/drivers/gpu/drm/v3d/
Dv3d_perfmon.c90 perfmon = idr_find(&v3d_priv->perfmon.idr, id); in v3d_perfmon_find()
202 perfmon = idr_find(&v3d_priv->perfmon.idr, req->id); in v3d_perfmon_get_values_ioctl()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory_mgr.c25 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_get()
118 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_put_handle()
Dhabanalabs_drv.c144 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open()
256 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open_ctrl()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_perfmon.c97 perfmon = idr_find(&vc4file->perfmon.idr, id); in vc4_perfmon_find()
240 perfmon = idr_find(&vc4file->perfmon.idr, req->id); in vc4_perfmon_get_values_ioctl()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Didr.rst39 您可以调用idr_alloc()来分配一个未使用的ID。通过调用idr_find()查询与该ID相关的指针,
/linux-6.6.21/drivers/firmware/arm_scmi/
Ddriver.c192 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_get()
207 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_put()
605 cinfo = idr_find(&info->tx_idr, protocol_id); in scmi_xfer_raw_channel_get()
610 cinfo = idr_find(&info->tx_idr, SCMI_PROTOCOL_BASE); in scmi_xfer_raw_channel_get()
1182 cinfo = idr_find(&info->tx_idr, pi->proto->id); in do_xfer()
1878 pi = idr_find(&info->protocols, protocol_id); in scmi_get_protocol_instance()
1926 pi = idr_find(&info->protocols, protocol_id); in scmi_protocol_release()
2268 base_cinfo = idr_find(&sinfo->tx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure()
2274 base_cinfo = idr_find(&sinfo->rx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure()
2312 cinfo = idr_find(idr, SCMI_PROTOCOL_BASE); in scmi_chan_setup()
[all …]
Dbus.c162 phead = idr_find(&scmi_requested_devices, id_table->protocol_id); in scmi_protocol_device_unrequest()
434 phead = idr_find(&scmi_requested_devices, protocol); in scmi_device_create()
/linux-6.6.21/drivers/slimbus/
Dsched.c81 if (idr_find(&ctrl->tid_idr, i)) { in slim_ctrl_clk_pause()
/linux-6.6.21/sound/soc/qcom/qdsp6/
Dtopology.c35 info = idr_find(&apm->graph_info_idr, graph_id); in audioreach_tplg_alloc_graph_info()
85 sg = idr_find(&apm->sub_graphs_idr, sub_graph_id); in audioreach_tplg_alloc_sub_graph()
127 cont = idr_find(&apm->containers_idr, container_id); in audioreach_tplg_alloc_container()
170 mod = idr_find(&apm->modules_idr, module_id); in audioreach_tplg_alloc_module()
1057 info = idr_find(&apm->graph_info_idr, m2->graph_id); in audioreach_connect_sub_graphs()
1081 info = idr_find(&apm->graph_info_idr, m2->graph_id); in audioreach_is_vmixer_connected()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_lease.c85 return idr_find(&drm_lease_owner(master)->lessee_idr, lessee_id); in _drm_find_lessee()
92 return idr_find(&master->leases, id) != NULL; in _drm_lease_held_master()
228 if (!idr_find(&dev->mode_config.object_idr, object)) in drm_lease_create()
/linux-6.6.21/lib/
Didr.c172 void *idr_find(const struct idr *idr, unsigned long id) in idr_find() function
176 EXPORT_SYMBOL_GPL(idr_find);
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c549 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query()
587 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query2()
649 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_stable_pstate()
732 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get()
Damdgpu_mes.c293 process = idr_find(&adev->mes.pasid_idr, pasid); in amdgpu_mes_destroy_process()
375 process = idr_find(&adev->mes.pasid_idr, pasid); in amdgpu_mes_add_gang()
425 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_remove_gang()
606 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_add_hw_queue()
714 queue = idr_find(&adev->mes.queue_id_idr, queue_id); in amdgpu_mes_remove_hw_queue()
1008 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_add_ring()
/linux-6.6.21/ipc/
Dnamespace.c135 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
/linux-6.6.21/include/linux/
Didr.h119 void *idr_find(const struct idr *, unsigned long id);
/linux-6.6.21/drivers/accel/
Ddrm_accel.c196 minor = idr_find(&accel_minors_idr, minor_id); in accel_minor_acquire()
/linux-6.6.21/drivers/tty/serial/
Dmps2-uart.c426 struct mps2_uart_port *mps_port = idr_find(&ports_idr, co->index); in mps2_uart_console_write()
443 mps_port = idr_find(&ports_idr, co->index); in mps2_uart_console_setup()
/linux-6.6.21/drivers/gpu/drm/tegra/
Ddrm.c500 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_close_channel()
525 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_get_syncpt()
554 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_submit()
579 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_get_syncpt_base()
/linux-6.6.21/drivers/tty/
Drpmsg_tty.c52 struct rpmsg_tty_port *cport = idr_find(&tty_idr, tty->index); in rpmsg_tty_install()
/linux-6.6.21/fs/smb/server/
Dvfs_cache.c354 fp = idr_find(ft->idr, id); in __ksmbd_lookup_fd()
390 fp = idr_find(ft->idr, id); in ksmbd_close_fd()

123456