Lines Matching +full:spi +full:- +full:dev
3 * SPDX-License-Identifier: Apache-2.0
22 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(spi)
23 #include <zephyr/drivers/spi.h>
24 #endif /* DT_ANY_INST_ON_BUS_STATUS_OKAY(spi) */
36 int (*read_raw)(const struct device *dev, uint8_t *val, size_t len);
37 int (*write_raw)(const struct device *dev, uint8_t *val, size_t len);
38 int (*read_reg)(const struct device *dev, uint8_t reg, uint8_t reg_data, uint16_t *val);
39 int (*write_reg)(const struct device *dev, uint8_t reg, uint16_t val);
47 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(spi)
48 struct spi_dt_spec spi; member
49 #endif /* DT_ANY_INST_ON_BUS_STATUS_OKAY(spi) */
50 int (*bus_init)(const struct device *dev);
58 int mfd_ad559x_i2c_init(const struct device *dev);
59 int mfd_ad559x_spi_init(const struct device *dev);