Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
23 lines
701 B
C
23 lines
701 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
* Copyright (c) 2014-2020, Elliptic Laboratories AS. All rights reserved.
|
|
* Elliptic Labs Linux driver
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define ELLIPTIC_SYSFS_ENGINE_FOLDER "engine"
|
|
#define ELLIPTIC_SYSFS_ROOT_FOLDER "elliptic"
|
|
#define ELLIPTIC_SYSFS_CALIBRATION_FILENAME "calibration"
|
|
#define ELLIPTIC_SYSFS_VERSION_FILENAME "version"
|
|
#define ELLIPTIC_SYSFS_CALIBRATION_V2_FILENAME "calibration_v2"
|
|
#define ELLIPTIC_SYSFS_STATE_FILENAME "state"
|
|
#define ELLIPTIC_SYSFS_TAG_FILENAME "tag"
|
|
#define ELLIPTIC_SYSFS_OPMODE_FILENAME "opmode"
|
|
#define ELLIPTIC_SYSFS_OPMODE_FLAGS_FILENAME "opmode_flags"
|
|
|
|
|
|
int elliptic_initialize_sysfs(void);
|
|
void elliptic_cleanup_sysfs(void);
|