Searched refs:spi_dev_ctx (Results 1 – 7 of 7) sorted by relevance
/trusty/user/base/lib/spi/srv/batch/include/lib/spi/srv/batch/ |
D | dev.h | 58 struct spi_dev_ctx; 70 bool spi_is_bus_shared(struct spi_dev_ctx* dev); 90 int spi_req_set_clk(struct spi_dev_ctx* dev, uint64_t* clk_hz); 111 int spi_req_cs_assert(struct spi_dev_ctx* dev); 128 int spi_req_cs_deassert(struct spi_dev_ctx* dev); 154 int spi_req_xfer(struct spi_dev_ctx* dev, void* tx, void* rx, size_t len); 174 int spi_req_delay(struct spi_dev_ctx* dev, uint64_t delay_ns); 185 int spi_seq_begin(struct spi_dev_ctx* dev, size_t num_cmds); 196 int spi_seq_commit(struct spi_dev_ctx* dev); 205 void spi_seq_abort(struct spi_dev_ctx* dev);
|
/trusty/user/app/sample/spi/swspi-srv/driver/ |
D | swspi.h | 22 struct spi_dev_ctx; 30 struct spi_dev_ctx* owner; 47 void (*exec)(struct spi_dev_ctx* dev, void* priv); 60 struct spi_dev_ctx { struct
|
D | swspi.c | 30 bool spi_is_bus_shared(struct spi_dev_ctx* dev) { in spi_is_bus_shared() 34 static inline bool spi_dev_seq_active(struct spi_dev_ctx* dev) { in spi_dev_seq_active() 38 static void spi_req_exec_set_clk(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_set_clk() 42 int spi_req_set_clk(struct spi_dev_ctx* dev, uint64_t* clk_hz) { in spi_req_set_clk() 51 static void spi_req_exec_cs_assert(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_cs_assert() 57 int spi_req_cs_assert(struct spi_dev_ctx* dev) { in spi_req_cs_assert() 66 static void spi_req_exec_cs_deassert(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_cs_deassert() 72 int spi_req_cs_deassert(struct spi_dev_ctx* dev) { in spi_req_cs_deassert() 114 static void spi_req_exec_xfer(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_xfer() 141 int spi_req_xfer(struct spi_dev_ctx* dev, void* tx, void* rx, size_t len) { in spi_req_xfer() [all …]
|
/trusty/user/base/lib/spi/srv/common/include/lib/spi/srv/common/ |
D | common.h | 28 struct spi_dev_ctx; 50 int spi_srv_handle_batch(struct spi_dev_ctx* spi,
|
/trusty/user/base/lib/spi/srv/batch/ |
D | batch.c | 33 static int handle_xfer_args(struct spi_dev_ctx* spi, struct mem_buf* shm) { in handle_xfer_args() 68 static int handle_clk_args(struct spi_dev_ctx* spi, struct mem_buf* shm) { in handle_clk_args() 87 static int handle_delay_args(struct spi_dev_ctx* spi, struct mem_buf* shm) { in handle_delay_args() 106 static int unpack_shm(struct spi_dev_ctx* spi, in unpack_shm() 182 int spi_srv_handle_batch(struct spi_dev_ctx* spi, in spi_srv_handle_batch()
|
/trusty/user/app/sample/spi/swspi-srv/ |
D | swspi-srv.c | 41 static struct spi_dev_ctx test_dev = { 50 static struct spi_dev_ctx loopback_dev = {
|
/trusty/user/base/lib/spi/srv/tipc/ |
D | tipc.c | 157 struct spi_dev_ctx* spi, in handle_msg_batch_req() 218 struct spi_dev_ctx* spi = (struct spi_dev_ctx*)port->priv; in on_message() 254 struct spi_dev_ctx* spi = (struct spi_dev_ctx*)port->priv; in on_disconnect()
|