Home
last modified time | relevance | path

Searched refs:ida_simple_get (Results 1 – 25 of 135) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/greybus/
Dhd.c53 ret = ida_simple_get(id_map, cport_id, cport_id + 1, GFP_KERNEL); in gb_hd_cport_reserve()
92 return ida_simple_get(id_map, ida_start, ida_end, GFP_KERNEL); in gb_hd_cport_allocate()
165 ret = ida_simple_get(&gb_hd_bus_id_map, 1, 0, GFP_KERNEL); in gb_hd_create()
/kernel/linux/linux-5.10/drivers/watchdog/
Dwatchdog_core.c231 id = ida_simple_get(&watchdog_ida, ret, in __watchdog_register_device()
236 id = ida_simple_get(&watchdog_ida, 0, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
249 id = ida_simple_get(&watchdog_ida, 1, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
/kernel/linux/linux-5.10/drivers/fsi/
Dfsi-occ.c529 occ->idx = ida_simple_get(&occ_ida, reg, reg + 1, in occ_probe()
532 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe()
535 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe()
539 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, GFP_KERNEL); in occ_probe()
/kernel/linux/linux-5.10/drivers/rpmsg/
Drpmsg_char.c368 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_eptdev_create()
373 ret = ida_simple_get(&rpmsg_ept_ida, 0, 0, GFP_KERNEL); in rpmsg_eptdev_create()
477 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_chrdev_probe()
482 ret = ida_simple_get(&rpmsg_ctrl_ida, 0, 0, GFP_KERNEL); in rpmsg_chrdev_probe()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dfw-management.c165 ret = ida_simple_get(&fw_mgmt->id_map, 1, 256, GFP_KERNEL); in fw_mgmt_load_and_validate_operation()
316 ret = ida_simple_get(&fw_mgmt->id_map, 1, 256, GFP_KERNEL); in fw_mgmt_backend_fw_update_operation()
617 minor = ida_simple_get(&fw_mgmt_minors_map, 0, NUM_MINORS, GFP_KERNEL); in gb_fw_mgmt_connection_init()
Daudio_manager.c47 id = ida_simple_get(&module_id, 0, 0, GFP_KERNEL); in gb_audio_manager_add()
Dvibrator.c157 vib->minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); in gb_vibrator_probe()
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dnvm.c33 ret = ida_simple_get(&nvm_ida, 0, 0, GFP_KERNEL); in tb_nvm_alloc()
/kernel/linux/linux-5.10/drivers/rtc/
Dclass.c250 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, GFP_KERNEL); in rtc_device_get_id()
256 id = ida_simple_get(&rtc_ida, 0, 0, GFP_KERNEL); in rtc_device_get_id()
/kernel/linux/linux-5.10/drivers/nvdimm/
Ddax_devs.c58 nd_pfn->id = ida_simple_get(&nd_region->dax_ida, 0, 0, GFP_KERNEL); in nd_dax_alloc()
/kernel/linux/linux-5.10/drivers/thermal/
Dcpuidle_cooling.c188 id = ida_simple_get(&cpuidle_ida, 0, 0, GFP_KERNEL); in __cpuidle_cooling_register()
/kernel/linux/linux-5.10/drivers/vdpa/
Dvdpa.c92 err = ida_simple_get(&vdpa_index_ida, 0, 0, GFP_KERNEL); in __vdpa_alloc_device()
/kernel/linux/linux-5.10/drivers/slimbus/
Dcore.c255 id = ida_simple_get(&ctrl_ida, 0, 0, GFP_KERNEL); in slim_register_controller()
441 ret = ida_simple_get(&ctrl->laddr_ida, in slim_device_alloc_laddr()
/kernel/linux/linux-5.10/drivers/pps/clients/
Dpps_parport.c147 index = ida_simple_get(&pps_client_index, 0, 0, GFP_KERNEL); in parport_attach()
/kernel/linux/linux-5.10/drivers/char/hw_random/
Dvirtio-rng.c97 vi->index = index = ida_simple_get(&rng_index_ida, 0, 0, GFP_KERNEL); in probe_common()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgid.c99 index = ida_simple_get(&dev->roce.reserved_gids.ida, in mlx5_core_reserved_gid_alloc()
/kernel/linux/linux-5.10/include/linux/
Didr.h321 #define ida_simple_get(ida, start, end, gfp) \ macro
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c263 int r = ida_simple_get(&kfd->doorbell_ida, 1, kfd->max_doorbell_slices, in kfd_alloc_process_doorbells()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-exar.c150 index = ida_simple_get(&ida_index, 0, 0, GFP_KERNEL); in gpio_exar_probe()
/kernel/linux/linux-5.10/drivers/fpga/
Dfpga-region.c206 id = ida_simple_get(&fpga_region_ida, 0, 0, GFP_KERNEL); in fpga_region_create()
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Dbus.c160 id = ida_simple_get(&scmi_bus_id, 1, 0, GFP_KERNEL); in scmi_device_create()
/kernel/linux/linux-5.10/net/xdp/
Dxdp_umem.c246 err = ida_simple_get(&umem_ida, 0, 0, GFP_KERNEL); in xdp_umem_create()
/kernel/linux/linux-5.10/drivers/base/
Dsoc.c142 ret = ida_simple_get(&soc_ida, 0, 0, GFP_KERNEL); in soc_device_register()
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Didr-test.c498 assert(ida_simple_get(&ida, 0, 20000, GFP_KERNEL) == i); in ida_simple_get_remove_test()
500 assert(ida_simple_get(&ida, 5, 30, GFP_KERNEL) < 0); in ida_simple_get_remove_test()
/kernel/linux/linux-5.10/drivers/dma/idxd/
Dcdev.c214 minor = ida_simple_get(&cdev_ctx->minor_ida, 0, MINORMASK, GFP_KERNEL); in idxd_wq_add_cdev()

123456