Home
last modified time | relevance | path

Searched refs:mapi (Results 1 – 1 of 1) sorted by relevance

/drivers/iio/
Dinkern.c31 struct iio_map_internal *mapi, *next; in iio_map_array_unregister_locked() local
33 list_for_each_entry_safe(mapi, next, &iio_map_list, l) { in iio_map_array_unregister_locked()
34 if (indio_dev == mapi->indio_dev) { in iio_map_array_unregister_locked()
35 list_del(&mapi->l); in iio_map_array_unregister_locked()
36 kfree(mapi); in iio_map_array_unregister_locked()
46 struct iio_map_internal *mapi; in iio_map_array_register() local
53 mapi = kzalloc(sizeof(*mapi), GFP_KERNEL); in iio_map_array_register()
54 if (!mapi) { in iio_map_array_register()
58 mapi->map = &maps[i]; in iio_map_array_register()
59 mapi->indio_dev = indio_dev; in iio_map_array_register()
[all …]