Files
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
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)
2026-09-12 13:36:46 +00:00

33 lines
1.2 KiB
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* mddp_if.h - Structure/API provided by mddp_if.c
*
* Copyright (c) 2020 MediaTek Inc.
*/
#ifndef __MDDP_IF_H
#define __MDDP_IF_H
//------------------------------------------------------------------------------
// Struct definition.
// -----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// Public functions.
// -----------------------------------------------------------------------------
uint32_t mddp_on_enable(enum mddp_app_type_e type);
uint32_t mddp_on_disable(enum mddp_app_type_e type);
int32_t mddp_on_activate(enum mddp_app_type_e type,
uint8_t *ul_dev_name, uint8_t *dl_dev_name);
bool mddp_on_deactivate(enum mddp_app_type_e type);
int32_t mddp_on_get_offload_stats(enum mddp_app_type_e type,
uint8_t *buf, uint32_t *buf_len);
int32_t mddp_on_set_data_limit(enum mddp_app_type_e type,
uint8_t *buf, uint32_t buf_len);
int32_t mddp_on_set_warning_and_data_limit(enum mddp_app_type_e type,
uint8_t *buf, uint32_t buf_len);
int32_t mddp_on_set_ct_value(enum mddp_app_type_e type,
uint8_t *buf, uint32_t buf_len);
#endif /* __MDDP_IF_H */