forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
789 B
26 lines
789 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
/* |
|
* Copyright (C) 2018 Cadence Design Systems Inc. |
|
* |
|
* Author: Boris Brezillon <[email protected]> |
|
*/ |
|
|
|
#ifndef I3C_INTERNALS_H |
|
#define I3C_INTERNALS_H |
|
|
|
#include <linux/i3c/master.h> |
|
|
|
extern struct bus_type i3c_bus_type; |
|
|
|
void i3c_bus_normaluse_lock(struct i3c_bus *bus); |
|
void i3c_bus_normaluse_unlock(struct i3c_bus *bus); |
|
|
|
int i3c_dev_do_priv_xfers_locked(struct i3c_dev_desc *dev, |
|
struct i3c_priv_xfer *xfers, |
|
int nxfers); |
|
int i3c_dev_disable_ibi_locked(struct i3c_dev_desc *dev); |
|
int i3c_dev_enable_ibi_locked(struct i3c_dev_desc *dev); |
|
int i3c_dev_request_ibi_locked(struct i3c_dev_desc *dev, |
|
const struct i3c_ibi_setup *req); |
|
void i3c_dev_free_ibi_locked(struct i3c_dev_desc *dev); |
|
#endif /* I3C_INTERNAL_H */
|
|
|