Lines Matching full:backend
6 * can be "linked" against one or multiple backend devices. All the IIO and
14 * | (Frontend/IIO) | Serial Data (eg: LVDS) | |(backend) |---------| |------| | |
27 * the industrialio-backend.c is only left with the really generic stuff. Then,
32 #define dev_fmt(fmt) "iio-backend: " fmt
47 #include <linux/iio/backend.h>
62 * backend. Used for the debugfs directory name.
80 * Helper macros to call backend ops. Makes sure the option is supported.
206 * @back: Backend device
221 snprintf(name, sizeof(name), "backend%d", back->idx); in iio_backend_debugfs_add()
239 * @back: Backend device
245 * interface and "ask" the backend to dump more details on why a test tone might
264 * iio_backend_chan_enable - Enable a backend channel
265 * @back: Backend device
278 * iio_backend_chan_disable - Disable a backend channel
279 * @back: Backend device
297 * iio_backend_disable - Backend disable
298 * @back: Backend device
307 * iio_backend_enable - Backend enable
308 * @back: Backend device
320 * devm_iio_backend_enable - Device managed backend enable
321 * @dev: Consumer device for the backend
322 * @back: Backend device
341 * @back: Backend device
363 * @back: Backend device
367 * A given backend may have different sources to stream/sync data. This allows
385 * @back: Backend device
401 * @back: Backend device
405 * Configure a test pattern on the backend. This is typically used for
424 * @back: Backend device
428 * Get the current state of the backend channel. Typically used to check if
443 * @back: Backend device
450 * is very backend specific. Hence, frontend devices typically should go through
466 * @back: Backend device
469 * Mostly useful for input backends. Configures the backend for when to sample
494 * @dev: Consumer device for the backend
495 * @back: Backend device
498 * Request an IIO buffer from the backend. The type of the buffer (typically
499 * INDIO_BUFFER_HARDWARE) is up to the backend to decide. This is because,
500 * normally, the backend dictates what kind of buffering we can get.
502 * The backend .free_buffer() hooks is automatically called on @dev detach.
531 * iio_backend_read_raw - Read a channel attribute from a backend device.
532 * @back: Backend device
556 * than one backend in which case returning the first we find is bogus. in iio_backend_from_indio_dev_parent()
586 * a way to get the backend from indio_dev). This is the getter.
600 * backend from the frontend. Anyways, let's only introduce new options in iio_backend_ext_info_get()
622 * a way to get the backend from indio_dev). This is the setter.
643 * @back: Backend device
718 dev_dbg(dev, "Found backend(%s) device\n", dev_name(back->dev)); in __devm_iio_backend_get()
725 * @back: Backend device
741 * @back: Backend device
756 * @back: Backend device
771 * @back: Backend device
786 * @back: Backend device
789 * Some devices may need to inform the backend about an address
810 ret = device_property_match_string(dev, "io-backend-names", in __devm_iio_backend_fwnode_get()
845 * devm_iio_backend_get - Device managed backend device get
846 * @dev: Consumer device for the backend
847 * @name: Backend name
849 * Get's the backend associated with @dev.
852 * A backend pointer, negative error pointer otherwise.
861 * devm_iio_backend_fwnode_get - Device managed backend firmware node get
862 * @dev: Consumer device for the backend
863 * @name: Backend name
864 * @fwnode: Firmware node of the backend consumer
866 * Get's the backend associated with a firmware node.
869 * A backend pointer, negative error pointer otherwise.
880 * __devm_iio_backend_get_from_fwnode_lookup - Device managed fwnode backend device get
881 * @dev: Consumer device for the backend
882 * @fwnode: Firmware node of the backend device
884 * Search the backend list for a device matching @fwnode.
889 * A backend pointer, negative error pointer otherwise.
916 * @back: Backend device
933 * devm_iio_backend_register - Device managed backend device register
934 * @dev: Backend device being registered
935 * @info: Backend info
949 return dev_err_probe(dev, -EINVAL, "No backend ops given\n"); in devm_iio_backend_register()
953 * bound/exist if the backend driver is not around. Hence, we can bind in devm_iio_backend_register()
954 * the backend object lifetime with the device being passed since in devm_iio_backend_register()