Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / i3c / internals.h
blob433f6088b7cec8c77288ee24dbee8b18338aa1eb
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2018 Cadence Design Systems Inc.
5 * Author: Boris Brezillon <boris.brezillon@bootlin.com>
6 */
8 #ifndef I3C_INTERNALS_H
9 #define I3C_INTERNALS_H
11 #include <linux/i3c/master.h>
13 void i3c_bus_normaluse_lock(struct i3c_bus *bus);
14 void i3c_bus_normaluse_unlock(struct i3c_bus *bus);
16 int i3c_dev_setdasa_locked(struct i3c_dev_desc *dev);
17 int i3c_dev_do_priv_xfers_locked(struct i3c_dev_desc *dev,
18 struct i3c_priv_xfer *xfers,
19 int nxfers);
20 int i3c_dev_disable_ibi_locked(struct i3c_dev_desc *dev);
21 int i3c_dev_enable_ibi_locked(struct i3c_dev_desc *dev);
22 int i3c_dev_request_ibi_locked(struct i3c_dev_desc *dev,
23 const struct i3c_ibi_setup *req);
24 void i3c_dev_free_ibi_locked(struct i3c_dev_desc *dev);
25 #endif /* I3C_INTERNAL_H */