summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dio.h
blob: 532bf54cf2c489d09a1e2f39f35b18859d47f13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: MIT
//
// Copyright 2025 Advanced Micro Devices, Inc.

#ifndef __DC_DIO_H__
#define __DC_DIO_H__

#include "dc_types.h"

struct dc_context;
struct dio;

struct dio_funcs {
	void (*mem_pwr_ctrl)(struct dio *dio, bool enable_i2c_light_sleep);
};

struct dio {
	const struct dio_funcs *funcs;
	struct dc_context *ctx;
};

#endif /* __DC_DIO_H__ */