Searched refs:sizeof_ext_info (Results 1 – 2 of 2) sorted by relevance
273 int sizeof_ext_info; in rescale_probe() local285 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()
347 int sizeof_ext_info; in mux_probe() local363 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()