1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef UART_DISPATCH_SAMPLE_H 10 #define UART_DISPATCH_SAMPLE_H 11 12 #include "uart_pl011_sample.h" 13 14 enum { 15 UART_WRITE = 1 16 }; 17 18 int32_t SampleDispatch(struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply); 19 20 #endif // UART_DISPATCH_SAMPLE_H 21