__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
* Focusrite Scarlett 2 Protocol Driver for ALSA
* (including Scarlett 2nd Gen, 3rd Gen, 4th Gen, Clarett USB, and
* Clarett+ series products)
*
* Copyright (c) 2023 by Geoffrey D. Bennett <g at b4.vu>
*/
#ifndef __UAPI_SOUND_SCARLETT2_H
#define __UAPI_SOUND_SCARLETT2_H
#include <linux/types.h>
#include <linux/ioctl.h>
#define SCARLETT2_HWDEP_MAJOR 1
#define SCARLETT2_HWDEP_MINOR 0
#define SCARLETT2_HWDEP_SUBMINOR 0
#define SCARLETT2_HWDEP_VERSION \
((SCARLETT2_HWDEP_MAJOR << 16) | \
(SCARLETT2_HWDEP_MINOR << 8) | \
SCARLETT2_HWDEP_SUBMINOR)
#define SCARLETT2_HWDEP_VERSION_MAJOR(v) (((v) >> 16) & 0xFF)
#define SCARLETT2_HWDEP_VERSION_MINOR(v) (((v) >> 8) & 0xFF)
#define SCARLETT2_HWDEP_VERSION_SUBMINOR(v) ((v) & 0xFF)
/* Get protocol version */
#define SCARLETT2_IOCTL_PVERSION _IOR('S', 0x60, int)
/* Reboot */
#define SCARLETT2_IOCTL_REBOOT _IO('S', 0x61)
/* Select flash segment */
#define SCARLETT2_SEGMENT_ID_SETTINGS 0
#define SCARLETT2_SEGMENT_ID_FIRMWARE 1
#define SCARLETT2_SEGMENT_ID_COUNT 2
#define SCARLETT2_IOCTL_SELECT_FLASH_SEGMENT _IOW('S', 0x62, int)
/* Erase selected flash segment */
#define SCARLETT2_IOCTL_ERASE_FLASH_SEGMENT _IO('S', 0x63)
/* Get selected flash segment erase progress
* 1 through to num_blocks, or 255 for complete
*/
struct scarlett2_flash_segment_erase_progress {
unsigned char progress;
unsigned char num_blocks;
};
#define SCARLETT2_IOCTL_GET_ERASE_PROGRESS \
_IOR('S', 0x64, struct scarlett2_flash_segment_erase_progress)
#endif /* __UAPI_SOUND_SCARLETT2_H */
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| intel | Folder | 0755 |
|
|
| sof | Folder | 0755 |
|
|
| asequencer.h | File | 22.73 KB | 0644 |
|
| asoc.h | File | 21.96 KB | 0644 |
|
| asound.h | File | 53.24 KB | 0644 |
|
| asound_fm.h | File | 3.55 KB | 0644 |
|
| compress_offload.h | File | 5.79 KB | 0644 |
|
| compress_params.h | File | 16.08 KB | 0644 |
|
| emu10k1.h | File | 18.45 KB | 0644 |
|
| firewire.h | File | 10.76 KB | 0644 |
|
| hdsp.h | File | 2.03 KB | 0644 |
|
| hdspm.h | File | 4.38 KB | 0644 |
|
| sb16_csp.h | File | 3.48 KB | 0644 |
|
| scarlett2.h | File | 1.58 KB | 0644 |
|
| sfnt_info.h | File | 6.6 KB | 0644 |
|
| skl-tplg-interface.h | File | 5.2 KB | 0644 |
|
| snd_ar_tokens.h | File | 7.48 KB | 0644 |
|
| snd_sst_tokens.h | File | 11.48 KB | 0644 |
|
| tlv.h | File | 3.98 KB | 0644 |
|
| usb_stream.h | File | 1.21 KB | 0644 |
|