iio_backend_...ng_ratio_set(9)
π iio_backend_oversampling_ratio_set(9) β Kernel API Manual, bestie edition
Okay so picture this: it's a kernel API manual page, the function is literally called iio_backend_oversampling_ratio_set, and she is here to set the oversampling ratio. That's it, that's the whole gig. β¨
πΈ NAME πΈ
iio_backend_oversampling_ratio_set β set the oversampling ratio, no cap π
β¨ SYNOPSIS β¨
int iio_backend_oversampling_ratio_set (struct iio_backend *back ,
unsigned int chan , unsigned int ratio );
Like, three arguments, one int coming back at you. She's lowkey efficient π
π¦ ARGUMENTS π¦
backβ the backend device, obvi. The main character we're operating on πchanβ channel number. Gotta know which channel, bestie, we don't do mystery here πratioβ the oversampling ratio. And heads up,1means no oversampling at all β like, the default, the "I woke up like this" setting π
β RETURN β
0 on success β slay, she ate, periodt π
Negative error number on failure β not the vibe, but at least she tells you π
π SEE ALSO π
First off, the source file is ./drivers/iio/industrialio-backend.c β that's where the magic lives, iykyk π§
And now the whole friend group, fr fr β every single one of these is invited to the group chat:
iio_backend_debugfs_add(9)iio_backend_debugfs_print_chan_status(9)iio_backend_chan_enable(9)iio_backend_chan_disable(9)iio_backend_disable(9)iio_backend_enable(9)devm_iio_backend_enable(9)iio_backend_data_format_set(9)iio_backend_data_source_set(9)iio_backend_data_source_get(9)iio_backend_set_sampling_freq(9)iio_backend_test_pattern_set(9)iio_backend_chan_status(9)iio_backend_iodelay_set(9)iio_backend_data_sample_trigger(9)devm_iio_backend_request_buffer(9)iio_backend_read_raw(9)iio_backend_ext_info_get(9)iio_backend_ext_info_set(9)iio_backend_interface_type_get(9)iio_backend_data_size_set(9)iio_backend_extend_chan_spec(9)iio_backend_has_caps(9)iio_backend_filter_type_set(9)iio_backend_interface_data_align(9)iio_backend_num_lanes_set(9)iio_backend_ddr_enable(9)iio_backend_ddr_disable(9)iio_backend_data_stream_enable(9)iio_backend_data_stream_disable(9)iio_backend_data_transfer_addr(9)devm_iio_backend_get(9)devm_iio_backend_get_by_index(9)devm_iio_backend_fwnode_get(9)__devm_iio_backend_get_from_fwnode_lookup(9)iio_backend_get_priv(9)devm_iio_backend_register(9)
bestie bestie bestie, remember:ratio=1is no oversampling. Don't come crying to me when you pass1expecting extra samples, okay? π«Ά
π that's the whole page!! sourced straight from ./drivers/iio, dated October 2026 β catch you in the next manpage, mwah πβ¨π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms