Documentation/ABI/testing/configfs-most

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/configfs-most

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/configfs-most
Extension
[no extension]
Size
5782 bytes
Lines
242
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

What: 		/sys/kernel/config/most_<component>
Date: 		March 8, 2019
KernelVersion:  5.2
Description: 	Interface is used to configure and connect device channels
		to component drivers.

		Attributes are visible only when configfs is mounted. To mount
		configfs in /sys/kernel/config directory use:
		# mount -t configfs none /sys/kernel/config/


What: 		/sys/kernel/config/most_cdev/<link>
Date: 		March 8, 2019
KernelVersion:  5.2
Description:
		The attributes:

		buffer_size
				configure the buffer size for this channel

		subbuffer_size
				configure the sub-buffer size for this channel
				(needed for synchronous and isochronous data)


		num_buffers
				configure number of buffers used for this
				channel

		datatype
				configure type of data that will travel over
				this channel

		direction
				configure whether this link will be an input
				or output

		dbr_size
				configure DBR data buffer size (this is used
				for MediaLB communication only)

		packets_per_xact
				configure the number of packets that will be
				collected from the network before being
				transmitted via USB (this is used for USB
				communication only)

		device
				name of the device the link is to be attached to

		channel
				name of the channel the link is to be attached to

		comp_params
				pass parameters needed by some components

		create_link
				write '1' to this attribute to trigger the
				creation of the link. In case of speculative
				configuration, the creation is post-poned until
				a physical device is being attached to the bus.

		destroy_link
				write '1' to this attribute to destroy an
				active link

What: 		/sys/kernel/config/most_video/<link>
Date: 		March 8, 2019
KernelVersion:  5.2
Description:

Annotation

Implementation Notes