Searched refs:sizeof_ext_info (Results 1 – 2 of 2) sorted by relevance
338 int sizeof_ext_info; in mux_probe() local348 sizeof_ext_info = iio_get_channel_ext_info_count(parent); in mux_probe()349 if (sizeof_ext_info) { in mux_probe()350 sizeof_ext_info += 1; /* one extra entry for the sentinel */ in mux_probe()351 sizeof_ext_info *= sizeof(*mux->ext_info); in mux_probe()379 sizeof_priv += sizeof_ext_info; in mux_probe()402 if (sizeof_ext_info) { in mux_probe()405 sizeof_ext_info, GFP_KERNEL); in mux_probe()
514 int sizeof_ext_info; in rescale_probe() local524 sizeof_ext_info = iio_get_channel_ext_info_count(source); in rescale_probe()525 if (sizeof_ext_info) { in rescale_probe()526 sizeof_ext_info += 1; /* one extra entry for the sentinel */ in rescale_probe()527 sizeof_ext_info *= sizeof(*rescale->ext_info); in rescale_probe()530 sizeof_priv = sizeof(*rescale) + sizeof_ext_info; in rescale_probe()561 if (sizeof_ext_info) { in rescale_probe()564 sizeof_ext_info, GFP_KERNEL); in rescale_probe()