Home
last modified time | relevance | path

Searched refs:spi_dt_spec (Results 1 – 25 of 124) sorted by relevance

12345

/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi323/
Dbmi323_spi.c14 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()
Dbmi323_spi.h17 static const struct spi_dt_spec spi_spec##inst = \
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42670/
Dicm42670_spi.h25 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);
Dicm42670_spi.c13 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()
Dicm42670.h48 struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_spi.h24 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);
Dicm42688_spi.c11 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/
Dmain.c15 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/
Dstmemsc_spi.c20 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()
Dstmemsc.h102 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/
Dicm42605_spi.h13 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);
Dicm42605_spi.c13 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/
Dspi.c53 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/
Dmain.c18 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/
Di3g4250d.h23 struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dspi.h377 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/
DCMakeLists.txt6 project(spi_dt_spec) project
/Zephyr-Core-3.7.0/drivers/wifi/winc1500/
Dwifi_winc1500_nm_bsp_internal.h37 struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/drivers/sensor/adi/adt7310/
Dadt7310.h42 struct spi_dt_spec bus;
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.h35 const struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/drivers/sensor/st/iis3dhhc/
Diis3dhhc.h30 struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2mdl/
Dlis2mdl.h35 const struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_hids/
Dwsen_hids.h58 const struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_pads/
Dwsen_pads.h59 const struct spi_dt_spec spi;
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2ds12/
Dlis2ds12.h40 const struct spi_dt_spec spi;

12345