iio_backend_has_caps(9)
π iio_backend_has_caps(9) β the vibe check for your backend π
okay so bestie, welcome to the iio_backend_has_caps(9) page β that's the manual name, and yeah, it's a kernel API manual situation, so grab a lil snack and let's go π
β¨ NAME β¨
iio_backend_has_caps β Check if backend has specific capabilities π
Literally what it says on the tin: you ask a backend "do you have these skills" and it tells you yes or no. no cap.
πΈ SYNOPSIS πΈ
bool iio_backend_has_caps (struct iio_backend *back , u32 caps );
π ARGUMENTS π
backβ Backend device. this is the lil guy you're checking up on π«Άcapsβ Capabilities to check. the whole list of vibes you want it to have β¨
π RETURN π
Returns True if backend has all the requested capabilities, and false otherwise. and yeah β all of them, bestie, it's not an "any of these" situation, it's an "every single one or it's a no" situation. the way that works is so main character of it honestly π
π¦ SEE ALSO π¦
aaaand here's the whole friend group π the kernel file lives at ./drivers/iio/industrialio-backend.c, and these are all the siblings:
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_oversampling_ratio_set(9)iio_backend_extend_chan_spec(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)
like, that's a lot of siblings, but they all slay in their own way π
ngl this page is short and sweet and that's the whole point β it's one boolean, one question, one answer. no notes. π§
and that's a wrap, bestie!! π this came out of ./drivers/iio and it's dated October 2026 β see 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