Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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()
/linux-6.1.9/drivers/watchdog/
Dwatchdog_core.c263 id = ida_simple_get(&watchdog_ida, ret, in __watchdog_register_device()
268 id = ida_simple_get(&watchdog_ida, 0, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
281 id = ida_simple_get(&watchdog_ida, 1, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
/linux-6.1.9/fs/ksmbd/mgmt/
Dksmbd_ida.c10 return ida_simple_get(ida, from, to, GFP_KERNEL); in __acquire_id()
/linux-6.1.9/drivers/rpmsg/
Drpmsg_ctrl.c159 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_ctrldev_probe()
164 ret = ida_simple_get(&rpmsg_ctrl_ida, 0, 0, GFP_KERNEL); in rpmsg_ctrldev_probe()
Drpmsg_char.c394 ret = ida_simple_get(&rpmsg_minor_ida, 0, RPMSG_DEV_MAX, GFP_KERNEL); in rpmsg_chrdev_eptdev_add()
399 ret = ida_simple_get(&rpmsg_ept_ida, 0, 0, GFP_KERNEL); in rpmsg_chrdev_eptdev_add()
/linux-6.1.9/drivers/fsi/
Dfsi-occ.c659 occ->idx = ida_simple_get(&occ_ida, reg, reg + 1, in occ_probe()
662 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe()
665 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, in occ_probe()
669 occ->idx = ida_simple_get(&occ_ida, 1, INT_MAX, GFP_KERNEL); in occ_probe()
Dfsi-core.c954 id = ida_simple_get(&fsi_minor_ida, id, id + 1, GFP_KERNEL); in __fsi_get_new_minor()
965 id = ida_simple_get(&fsi_minor_ida, FSI_CHAR_LEGACY_TOP, in __fsi_get_new_minor()
1316 master->idx = ida_simple_get(&master_ida, 0, INT_MAX, GFP_KERNEL); in fsi_master_register()
/linux-6.1.9/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()
Dgbphy.c228 id = ida_simple_get(&gbphy_id, 1, 0, GFP_KERNEL); in gb_gbphy_create_dev()
Draw.c181 minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); in gb_raw_probe()
Dauthentication.c324 minor = ida_simple_get(&cap_minors_map, 0, NUM_MINORS, GFP_KERNEL); in gb_cap_connection_init()
/linux-6.1.9/drivers/nvdimm/
Ddax_devs.c58 nd_pfn->id = ida_simple_get(&nd_region->dax_ida, 0, 0, GFP_KERNEL); in nd_dax_alloc()
Dbtt_devs.c194 nd_btt->id = ida_simple_get(&nd_region->btt_ida, 0, 0, GFP_KERNEL); in __nd_btt_create()
/linux-6.1.9/drivers/pps/clients/
Dpps_parport.c151 index = ida_simple_get(&pps_client_index, 0, 0, GFP_KERNEL); in parport_attach()
/linux-6.1.9/include/linux/
Didr.h321 #define ida_simple_get(ida, start, end, gfp) \ macro
/linux-6.1.9/drivers/char/hw_random/
Dvirtio-rng.c138 vi->index = index = ida_simple_get(&rng_index_ida, 0, 0, GFP_KERNEL); in probe_common()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c296 r = ida_simple_get(&kfd->doorbell_ida, 1, in kfd_alloc_process_doorbells()
/linux-6.1.9/drivers/base/
Dsoc.c142 ret = ida_simple_get(&soc_ida, 0, 0, GFP_KERNEL); in soc_device_register()
Dplatform-msi.c175 datap->devid = ida_simple_get(&platform_msi_devid_ida, in platform_msi_alloc_priv_data()
/linux-6.1.9/tools/testing/radix-tree/
Didr-test.c507 assert(ida_simple_get(&ida, 0, 20000, GFP_KERNEL) == i); in ida_simple_get_remove_test()
509 assert(ida_simple_get(&ida, 5, 30, GFP_KERNEL) < 0); in ida_simple_get_remove_test()
/linux-6.1.9/drivers/staging/fieldbus/anybuss/
Darcx-anybus.c285 id = ida_simple_get(&controller_index_ida, 0, 0, GFP_KERNEL); in controller_probe()
/linux-6.1.9/fs/
Deventfd.c435 ctx->id = ida_simple_get(&eventfd_ida, 0, 0, GFP_KERNEL); in do_eventfd()
/linux-6.1.9/drivers/staging/fieldbus/
Ddev_core.c274 fb->id = ida_simple_get(&fieldbus_ida, 0, MAX_FIELDBUSES, GFP_KERNEL); in __fieldbus_dev_register()

1234