Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/afe/
Diio-rescale.c273 int sizeof_ext_info; in rescale_probe() local
285 sizeof_ext_info = iio_get_channel_ext_info_count(source); in rescale_probe()
286 if (sizeof_ext_info) { in rescale_probe()
287 sizeof_ext_info += 1; /* one extra entry for the sentinel */ in rescale_probe()
288 sizeof_ext_info *= sizeof(*rescale->ext_info); in rescale_probe()
291 sizeof_priv = sizeof(*rescale) + sizeof_ext_info; in rescale_probe()
322 if (sizeof_ext_info) { in rescale_probe()
325 sizeof_ext_info, GFP_KERNEL); in rescale_probe()
/Linux-v5.4/drivers/iio/multiplexer/
Diio-mux.c347 int sizeof_ext_info; in mux_probe() local
363 sizeof_ext_info = iio_get_channel_ext_info_count(parent); in mux_probe()
364 if (sizeof_ext_info) { in mux_probe()
365 sizeof_ext_info += 1; /* one extra entry for the sentinel */ in mux_probe()
366 sizeof_ext_info *= sizeof(*mux->ext_info); in mux_probe()
382 sizeof_priv += sizeof_ext_info; in mux_probe()
403 if (sizeof_ext_info) { in mux_probe()
406 sizeof_ext_info, GFP_KERNEL); in mux_probe()