st_magn_allocate_ring
int st_magn_allocate_ring(struct iio_dev *indio_dev);
err = st_magn_allocate_ring(indio_dev);