Home
last modified time | relevance | path

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

/linux-4.19.296/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-4.19.296/drivers/iio/multiplexer/
Diio-mux.c350 int sizeof_ext_info; in mux_probe() local
366 sizeof_ext_info = iio_get_channel_ext_info_count(parent); in mux_probe()
367 if (sizeof_ext_info) { in mux_probe()
368 sizeof_ext_info += 1; /* one extra entry for the sentinel */ in mux_probe()
369 sizeof_ext_info *= sizeof(*mux->ext_info); in mux_probe()
385 sizeof_priv += sizeof_ext_info; in mux_probe()
406 if (sizeof_ext_info) { in mux_probe()
409 sizeof_ext_info, GFP_KERNEL); in mux_probe()