/linux-master/arch/powerpc/platforms/powernv/ |
H A D | vas-window.c | 506 static void vas_release_window_id(struct ida *ida, int winid) argument 508 ida_free(ida, winid); 511 static int vas_assign_window_id(struct ida *ida) argument 513 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); 534 vas_release_window_id(&vinst->ida, winid); 542 winid = vas_assign_window_id(&vinst->ida); 562 vas_release_window_id(&vinst->ida, winid);
|
H A D | vas.c | 88 ida_init(&vinst->ida);
|
H A D | vas.h | 321 struct ida ida; member in struct:vas_instance
|
/linux-master/drivers/acpi/ |
H A D | internal.h | 113 struct ida instance_ida;
|
H A D | scan.c | 665 struct ida *instance_ida = &acpi_device_bus_id->instance_ida;
|
/linux-master/drivers/base/ |
H A D | swnode.c | 34 struct ida child_ids;
|
/linux-master/drivers/cxl/ |
H A D | cxl.h | 610 struct ida decoder_ida;
|
/linux-master/drivers/dax/ |
H A D | bus.c | 506 ida_free(&dax_region->ida, dev_dax->id); 529 id = ida_alloc(&dax_region->ida, GFP_KERNEL); 666 ida_init(&dax_region->ida); 690 ida_free(&dev_dax->ida, mapping->id); 817 mapping->id = ida_alloc(&dev_dax->ida, GFP_KERNEL); 1497 ida_init(&dev_dax->ida);
|
H A D | dax-private.h | 26 * @ida: instance id allocator 37 struct ida ida; member in struct:dax_region 56 * @id: ida allocated id when the dax_region is not static 57 * @ida: mapping id allocator 70 struct ida ida; member in struct:dev_dax
|
/linux-master/drivers/dma/idxd/ |
H A D | cdev.c | 23 struct ida minor_ida; 27 * Since user file names are global in DSA devices, define their ida's as 291 dev_warn(dev, "ida alloc failure\n");
|
H A D | idxd.h | 524 extern struct ida idxd_ida;
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mes.h | 73 struct ida doorbell_ida;
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_priv.h | 356 struct ida doorbell_ida;
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_connector.c | 85 struct ida ida; member in struct:drm_conn_prop_enum_list 120 ida_init(&drm_connector_enum_list[i].ida); 128 ida_destroy(&drm_connector_enum_list[i].ida); 229 struct ida *connector_ida = 230 &drm_connector_enum_list[connector_type].ida; 565 ida_free(&drm_connector_enum_list[connector->connector_type].ida,
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc.h | 117 struct ida guc_ids;
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_drv.h | 184 struct ida mock_region_instances;
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_backlight.c | 44 static struct ida bl_ida;
|
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_drv.h | 234 struct ida resource_ida; 243 struct ida ctx_id_ida;
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_gmrid_manager.c | 40 struct ida gmr_ida;
|
/linux-master/drivers/greybus/ |
H A D | es2.c | 492 struct ida *id_map = &hd->cport_id_map;
|
H A D | hd.c | 22 static struct ida gb_hd_bus_id_map; 50 struct ida *id_map = &hd->cport_id_map; 65 struct ida *id_map = &hd->cport_id_map; 75 struct ida *id_map = &hd->cport_id_map;
|
/linux-master/drivers/hwmon/ |
H A D | coretemp.c | 95 struct ida ida; member in struct:platform_data 507 tdata->index = ida_alloc_max(&pdata->ida, pdata->nr_cores - 1, GFP_KERNEL); 533 ida_free(&pdata->ida, tdata->index); 630 ida_init(&pdata->ida); 658 ida_destroy(&pdata->ida);
|
/linux-master/drivers/infiniband/core/ |
H A D | device.c | 457 struct ida inuse;
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_alloc.c | 176 ida_destroy(&hr_dev->xrcd_ida.ida); 179 ida_destroy(&hr_dev->srq_table.srq_ida.ida); 182 ida_destroy(&hr_dev->mr_table.mtpt_ida.ida); 183 ida_destroy(&hr_dev->pd_ida.ida); 184 ida_destroy(&hr_dev->uar_ida.ida);
|
H A D | hns_roce_cq.c | 69 id = ida_alloc_range(&bank->ida, bank->min, bank->max, GFP_KERNEL); 96 ida_free(&bank->ida, cqn >> CQ_BANKID_SHIFT); 527 ida_init(&cq_table->bank[i].ida); 538 ida_destroy(&hr_dev->cq_table.bank[i].ida);
|