Commit 670af65d authored by Jiri Kosina's avatar Jiri Kosina
Browse files

Merge branch 'for-6.14/constify-bin-attribute' into for-linus

- constification of 'struct bin_attribute' in various HID driver (Thomas Weißschuh)
parents 53078a73 1b1d8657
Loading
Loading
Loading
Loading

.clippy.toml

0 → 100644
+9 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

check-private-items = true

disallowed-macros = [
    # The `clippy::dbg_macro` lint only works with `std::dbg!`, thus we simulate
    # it here, see: https://github.com/rust-lang/rust-clippy/issues/11303.
    { path = "kernel::dbg", reason = "the `dbg!` macro is intended as a debugging tool" },
]
+2 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@ modules.order
# We don't want to ignore the following even if they are dot-files
#
!.clang-format
!.clippy.toml
!.cocciconfig
!.editorconfig
!.get_maintainer.ignore
@@ -128,6 +129,7 @@ series

# ctags files
tags
!tags/
TAGS

# cscope files
+64 −0
Original line number Diff line number Diff line
@@ -342,6 +342,70 @@ Description: Specific uncompressed frame descriptors
					   support
		=========================  =====================================

What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/framebased
Date:           Sept 2024
KernelVersion:  5.15
Description:    Framebased format descriptors

What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/framebased/name
Date:           Sept 2024
KernelVersion:  5.15
Description:    Specific framebased format descriptors

                ==================      =======================================
                bFormatIndex            unique id for this format descriptor;
                                        only defined after parent header is
                                        linked into the streaming class;
                                        read-only
                bmaControls             this format's data for bmaControls in
                                        the streaming header
                bmInterlaceFlags        specifies interlace information,
                                        read-only
                bAspectRatioY           the X dimension of the picture aspect
                                        ratio, read-only
                bAspectRatioX           the Y dimension of the picture aspect
                                        ratio, read-only
                bDefaultFrameIndex      optimum frame index for this stream
                bBitsPerPixel           number of bits per pixel used to
                                        specify color in the decoded video
                                        frame
                guidFormat              globally unique id used to identify
                                        stream-encoding format
                ==================      =======================================

What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/framebased/name/name
Date:           Sept 2024
KernelVersion:  5.15
Description:    Specific framebased frame descriptors

                =========================  =====================================
                bFrameIndex                unique id for this framedescriptor;
                                           only defined after parent format is
                                           linked into the streaming header;
                                           read-only
                dwFrameInterval            indicates how frame interval can be
                                           programmed; a number of values
                                           separated by newline can be specified
                dwDefaultFrameInterval     the frame interval the device would
                                           like to use as default
                dwBytesPerLine             Specifies the number of bytes per line
                                           of video for packed fixed frame size
                                           formats, allowing the receiver to
                                           perform stride alignment of the video.
                                           If the bVariableSize value (above) is
                                           TRUE (1), or if the format does not
                                           permit such alignment, this value shall
                                           be set to zero (0).
                dwMaxBitRate               the maximum bit rate at the shortest
                                           frame interval in bps
                dwMinBitRate               the minimum bit rate at the longest
                                           frame interval in bps
                wHeight                    height of decoded bitmap frame in px
                wWidth                     width of decoded bitmam frame in px
                bmCapabilities             still image support, fixed frame-rate
                                           support
                =========================  =====================================

What:		/config/usb-gadget/gadget/functions/uvc.name/streaming/header
Date:		Dec 2014
KernelVersion:	4.0
+25 −0
Original line number Diff line number Diff line
What:		/sys/kernel/debug/vfio/<device>/migration/hisi_acc/dev_data
Date:		Jan 2025
KernelVersion:  6.13
Contact:	Longfang Liu <liulongfang@huawei.com>
Description:	Read the configuration data and some status data
		required for device live migration. These data include device
		status data, queue configuration data, some task configuration
		data and device attribute data. The output format of the data
		is defined by the live migration driver.

What:		/sys/kernel/debug/vfio/<device>/migration/hisi_acc/migf_data
Date:		Jan 2025
KernelVersion:  6.13
Contact:	Longfang Liu <liulongfang@huawei.com>
Description:	Read the data from the last completed live migration.
		This data includes the same device status data as in "dev_data".
		The migf_data is the dev_data that is migrated.

What:		/sys/kernel/debug/vfio/<device>/migration/hisi_acc/cmd_state
Date:		Jan 2025
KernelVersion:  6.13
Contact:	Longfang Liu <liulongfang@huawei.com>
Description:	Used to obtain the device command sending and receiving
		channel status. Returns failure or success logs based on the
		results.
+8 −7
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ Description: Read-only. Attribute group to describe the magic bits
                Each attribute under this group defines a bit range of the
                perf_event_attr.config. Supported attribute are listed
                below::

                  event = "config:0-31" - event ID

                For example::
Loading