/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2020, MIPI Alliance, Inc. * * Author: Nicolas Pitre <[email protected]> * * Common IBI related stuff */ #ifndef IBI_H #define IBI_H /* * IBI Status Descriptor bits */ #define IBI_STS … #define IBI_ERROR … #define IBI_STATUS_TYPE … #define IBI_HW_CONTEXT … #define IBI_TS … #define IBI_LAST_STATUS … #define IBI_CHUNKS … #define IBI_ID … #define IBI_TARGET_ADDR … #define IBI_TARGET_RNW … #define IBI_DATA_LENGTH … /* handy helpers */ static inline struct i3c_dev_desc * i3c_hci_addr_to_dev(struct i3c_hci *hci, unsigned int addr) { … } #endif