/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi323/ |
D | bmi323_spi.c | 14 const struct spi_dt_spec *spi = (const struct spi_dt_spec *)context; in bosch_bmi323_spi_read_words() 49 const struct spi_dt_spec *spi = (const struct spi_dt_spec *)context; in bosch_bmi323_spi_write_words() 74 const struct spi_dt_spec *spi = (const struct spi_dt_spec *)context; in bosch_bmi323_spi_init()
|
D | bmi323_spi.h | 17 static const struct spi_dt_spec spi_spec##inst = \
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42670/ |
D | icm42670_spi.h | 25 int icm42670_spi_single_write(const struct spi_dt_spec *bus, uint16_t reg, uint8_t data); 39 int icm42670_spi_update_register(const struct spi_dt_spec *bus, uint16_t reg, uint8_t mask, 54 int icm42670_spi_read(const struct spi_dt_spec *bus, uint16_t reg, uint8_t *data, size_t len);
|
D | icm42670_spi.c | 13 static inline int spi_write_register(const struct spi_dt_spec *bus, uint8_t reg, uint8_t data) in spi_write_register() 34 static inline int spi_read_register(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, in spi_read_register() 68 static inline int spi_read_mreg(const struct spi_dt_spec *bus, uint8_t reg, uint8_t bank, in spi_read_mreg() 100 static inline int spi_write_mreg(const struct spi_dt_spec *bus, uint8_t reg, uint8_t bank, in spi_write_mreg() 126 int icm42670_spi_read(const struct spi_dt_spec *bus, uint16_t reg, uint8_t *data, size_t len) in icm42670_spi_read() 141 int icm42670_spi_update_register(const struct spi_dt_spec *bus, uint16_t reg, uint8_t mask, in icm42670_spi_update_register() 157 int icm42670_spi_single_write(const struct spi_dt_spec *bus, uint16_t reg, uint8_t data) in icm42670_spi_single_write()
|
D | icm42670.h | 48 struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/ |
D | icm42688_spi.h | 24 int icm42688_spi_single_write(const struct spi_dt_spec *bus, uint16_t reg, uint8_t data); 38 int icm42688_spi_update_register(const struct spi_dt_spec *bus, uint16_t reg, uint8_t mask, 53 int icm42688_spi_read(const struct spi_dt_spec *bus, uint16_t reg, uint8_t *data, size_t len);
|
D | icm42688_spi.c | 11 static inline int spi_write_register(const struct spi_dt_spec *bus, uint8_t reg, uint8_t data) in spi_write_register() 32 static inline int spi_read_register(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, in spi_read_register() 66 int icm42688_spi_read(const struct spi_dt_spec *bus, uint16_t reg, uint8_t *data, size_t len) in icm42688_spi_read() 76 int icm42688_spi_update_register(const struct spi_dt_spec *bus, uint16_t reg, uint8_t mask, in icm42688_spi_update_register() 92 int icm42688_spi_single_write(const struct spi_dt_spec *bus, uint16_t reg, uint8_t data) in icm42688_spi_single_write()
|
/Zephyr-Core-3.7.0/tests/drivers/spi/dt_spec/src/ |
D | main.c | 15 ZTEST(spi_dt_spec, test_dt_spec) in ZTEST() argument 17 const struct spi_dt_spec spi_cs = in ZTEST() 29 const struct spi_dt_spec spi_no_cs = in ZTEST() 39 ZTEST_SUITE(spi_dt_spec, NULL, NULL, NULL, NULL, NULL);
|
/Zephyr-Core-3.7.0/drivers/sensor/st/stmemsc/ |
D | stmemsc_spi.c | 20 int stmemsc_spi_read(const struct spi_dt_spec *stmemsc, in stmemsc_spi_read() 45 int stmemsc_spi_write(const struct spi_dt_spec *stmemsc, in stmemsc_spi_write() 63 int stmemsc_spi_read_incr(const struct spi_dt_spec *stmemsc, in stmemsc_spi_read_incr() 70 int stmemsc_spi_write_incr(const struct spi_dt_spec *stmemsc, in stmemsc_spi_write_incr()
|
D | stmemsc.h | 102 int stmemsc_spi_read(const struct spi_dt_spec *stmemsc, 104 int stmemsc_spi_write(const struct spi_dt_spec *stmemsc, 120 int stmemsc_spi_read_incr(const struct spi_dt_spec *stmemsc, 122 int stmemsc_spi_write_incr(const struct spi_dt_spec *stmemsc,
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42605/ |
D | icm42605_spi.h | 13 int inv_spi_single_write(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data); 14 int inv_spi_read(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, size_t len);
|
D | icm42605_spi.c | 13 int inv_spi_single_write(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data) in inv_spi_single_write() 41 int inv_spi_read(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, size_t len) in inv_spi_read()
|
/Zephyr-Core-3.7.0/tests/drivers/spi/spi_loopback/src/ |
D | spi.c | 53 static struct spi_dt_spec spi_fast = SPI_DT_SPEC_GET(SPI_FAST_DEV, SPI_OP(FRAME_SIZE), 0); 54 static struct spi_dt_spec spi_slow = SPI_DT_SPEC_GET(SPI_SLOW_DEV, SPI_OP(FRAME_SIZE), 0); 101 static int spi_complete_multiple(struct spi_dt_spec *spec) in spi_complete_multiple() 162 static int spi_complete_loop(struct spi_dt_spec *spec) in spi_complete_loop() 210 static int spi_null_tx_buf(struct spi_dt_spec *spec) in spi_null_tx_buf() 265 static int spi_rx_half_start(struct spi_dt_spec *spec) in spi_rx_half_start() 314 static int spi_rx_half_end(struct spi_dt_spec *spec) in spi_rx_half_end() 372 static int spi_rx_every_4(struct spi_dt_spec *spec) in spi_rx_every_4() 450 static int spi_rx_bigger_than_tx(struct spi_dt_spec *spec) in spi_rx_bigger_than_tx() 525 static int spi_complete_large_transfers(struct spi_dt_spec *spec) in spi_complete_large_transfers() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/spi/spi_error_cases/src/ |
D | main.c | 18 static struct spi_dt_spec spim = SPI_DT_SPEC_GET(DT_NODELABEL(dut_spi_dt), SPIM_OP, 0); 70 struct spi_dt_spec spim_invalid = spim; in ZTEST() 86 struct spi_dt_spec spim_invalid = spim; in ZTEST() 104 struct spi_dt_spec spim_invalid = spim; in ZTEST() 120 struct spi_dt_spec spim_invalid = spim; in ZTEST() 156 struct spi_dt_spec spim_invalid = spim; in ZTEST() 171 struct spi_dt_spec spim_invalid = spim; in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/i3g4250d/ |
D | i3g4250d.h | 23 struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | spi.h | 377 struct spi_dt_spec { struct 680 static inline bool spi_cs_is_gpio_dt(const struct spi_dt_spec *spec) in spi_cs_is_gpio_dt() 693 static inline bool spi_is_ready_dt(const struct spi_dt_spec *spec) in spi_is_ready_dt() 760 static inline int spi_transceive_dt(const struct spi_dt_spec *spec, in spi_transceive_dt() 803 static inline int spi_read_dt(const struct spi_dt_spec *spec, in spi_read_dt() 844 static inline int spi_write_dt(const struct spi_dt_spec *spec, in spi_write_dt() 1014 const struct spi_dt_spec *dt_spec = iodev_sqe->sqe.iodev->data; in spi_iodev_submit() 1035 const struct spi_dt_spec _spi_dt_spec_##name = \ 1049 struct spi_dt_spec *spec = spi_iodev->data; in spi_is_ready_iodev() 1257 static inline int spi_release_dt(const struct spi_dt_spec *spec) in spi_release_dt()
|
/Zephyr-Core-3.7.0/tests/drivers/spi/dt_spec/ |
D | CMakeLists.txt | 6 project(spi_dt_spec) project
|
/Zephyr-Core-3.7.0/drivers/wifi/winc1500/ |
D | wifi_winc1500_nm_bsp_internal.h | 37 struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/drivers/sensor/adi/adt7310/ |
D | adt7310.h | 42 struct spi_dt_spec bus;
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm9ds1/ |
D | lsm9ds1.h | 35 const struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis3dhhc/ |
D | iis3dhhc.h | 30 struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2mdl/ |
D | lis2mdl.h | 35 const struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_hids/ |
D | wsen_hids.h | 58 const struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_pads/ |
D | wsen_pads.h | 59 const struct spi_dt_spec spi;
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2ds12/ |
D | lis2ds12.h | 40 const struct spi_dt_spec spi;
|