Home
last modified time | relevance | path

Searched refs:SPI_CMD_SHM_ALIGN (Results 1 – 3 of 3) sorted by relevance

/trusty/user/base/interface/spi/include/interface/spi/
Dspi.h26 #define SPI_CMD_SHM_ALIGN 8 macro
/trusty/user/base/lib/spi/client/
Dclient.c136 size_t max_total_align = max_num_cmds * (SPI_CMD_SHM_ALIGN - 1); in get_shm_size()
137 size_t cmd_size = round_up(sizeof(struct spi_shm_hdr), SPI_CMD_SHM_ALIGN) + in get_shm_size()
138 round_up(SPI_CMD_SHM_ARGS_MAX_SIZE, SPI_CMD_SHM_ALIGN); in get_shm_size()
181 mb_init(&dev->shm, shm_base, shm_size, SPI_CMD_SHM_ALIGN); in spi_dev_open()
/trusty/user/base/lib/spi/srv/tipc/
Dtipc.c146 mb_init(&ctx->shm, shm_base, shm_req->len, SPI_CMD_SHM_ALIGN); in handle_msg_shm_map_req()
270 mb_init(&mb, &hdr, sizeof(hdr), SPI_CMD_SHM_ALIGN); in on_disconnect()