Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/misc/ocxl/
H A 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()
/openbmc/linux/kernel/irq/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
/openbmc/linux/drivers/reset/
H A 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()
/openbmc/linux/drivers/rpmsg/
H A 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()
1611 channel = idr_find(&glink->rcids, rcid); in qcom_glink_rx_close()
[all …]
/openbmc/linux/drivers/gpu/drm/v3d/
H A Dv3d_perfmon.c90 perfmon = idr_find(&v3d_priv->perfmon.idr, id); in v3d_perfmon_find()
209 perfmon = idr_find(&v3d_priv->perfmon.idr, req->id); in v3d_perfmon_get_values_ioctl()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_perfmon.c97 perfmon = idr_find(&vc4file->perfmon.idr, id); in vc4_perfmon_find()
245 perfmon = idr_find(&vc4file->perfmon.idr, req->id); in vc4_perfmon_get_values_ioctl()
/openbmc/linux/drivers/accel/habanalabs/common/
H A 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()
H A 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()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Didr.rst39 您可以调用idr_alloc()来分配一个未使用的ID。通过调用idr_find()查询与该ID相关的指针,
/openbmc/linux/drivers/firmware/arm_scmi/
H A 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()
1187 cinfo = idr_find(&info->tx_idr, pi->proto->id); in do_xfer()
1883 pi = idr_find(&info->protocols, protocol_id); in scmi_get_protocol_instance()
1931 pi = idr_find(&info->protocols, protocol_id); in scmi_protocol_release()
2273 base_cinfo = idr_find(&sinfo->tx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure()
2279 base_cinfo = idr_find(&sinfo->rx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure()
2317 cinfo = idr_find(idr, SCMI_PROTOCOL_BASE); in scmi_chan_setup()
[all …]
H A Dbus.c162 phead = idr_find(&scmi_requested_devices, id_table->protocol_id); in scmi_protocol_device_unrequest()
435 phead = idr_find(&scmi_requested_devices, protocol); in scmi_device_create()
/openbmc/linux/sound/soc/qcom/qdsp6/
H A 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()
/openbmc/linux/drivers/slimbus/
H A Dsched.c81 if (idr_find(&ctrl->tid_idr, i)) { in slim_ctrl_clk_pause()
/openbmc/linux/drivers/gpu/drm/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
740 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get()
H A 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()
/openbmc/linux/lib/
H A Didr.c172 void *idr_find(const struct idr *idr, unsigned long id) in idr_find() function
176 EXPORT_SYMBOL_GPL(idr_find);
/openbmc/linux/ipc/
H A Dnamespace.c137 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
/openbmc/linux/include/linux/
H A Didr.h119 void *idr_find(const struct idr *, unsigned long id);
/openbmc/linux/drivers/gpu/drm/tegra/
H A 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()
/openbmc/linux/drivers/tty/serial/
H A 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()
/openbmc/u-boot/drivers/mtd/
H A Dmtdcore.c104 void *idr_find(struct idr *idp, int id) in idr_find() function
117 ret = idr_find(idp, id); in idr_get_next()
540 if (idr_find(&mtd_idr, mtd->index) != mtd) { in del_mtd_device()
731 ret = idr_find(&mtd_idr, num); in get_mtd_device()
/openbmc/linux/tools/testing/radix-tree/
H A Didr-test.c27 struct item *item = idr_find(idr, id); in item_idr_remove()
267 BUG_ON(idr_find(idr, 0) != &name[i]); in idr_align_test()
/openbmc/linux/net/tipc/
H A Dtopsrv.c221 con = idr_find(&s->conn_idr, conid); in tipc_conn_lookup()
705 con = idr_find(&srv->conn_idr, id); in tipc_topsrv_stop()

123456