brintos

brintos / linux-shallow public Read only

0
0
Text · 805 B · 433f608 Raw
26 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Copyright (C) 2018 Cadence Design Systems Inc.4 *5 * Author: Boris Brezillon <boris.brezillon@bootlin.com>6 */7 8#ifndef I3C_INTERNALS_H9#define I3C_INTERNALS_H10 11#include <linux/i3c/master.h>12 13void i3c_bus_normaluse_lock(struct i3c_bus *bus);14void i3c_bus_normaluse_unlock(struct i3c_bus *bus);15 16int i3c_dev_setdasa_locked(struct i3c_dev_desc *dev);17int i3c_dev_do_priv_xfers_locked(struct i3c_dev_desc *dev,18				 struct i3c_priv_xfer *xfers,19				 int nxfers);20int i3c_dev_disable_ibi_locked(struct i3c_dev_desc *dev);21int i3c_dev_enable_ibi_locked(struct i3c_dev_desc *dev);22int i3c_dev_request_ibi_locked(struct i3c_dev_desc *dev,23			       const struct i3c_ibi_setup *req);24void i3c_dev_free_ibi_locked(struct i3c_dev_desc *dev);25#endif /* I3C_INTERNAL_H */26