Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-rpc-if.c20 const struct spi_mem_op *spi_op, in rpcif_spi_mem_prepare() argument
26 rpc_op.cmd.opcode = spi_op->cmd.opcode; in rpcif_spi_mem_prepare()
27 rpc_op.cmd.buswidth = spi_op->cmd.buswidth; in rpcif_spi_mem_prepare()
29 if (spi_op->addr.nbytes) { in rpcif_spi_mem_prepare()
31 rpc_op.addr.nbytes = spi_op->addr.nbytes; in rpcif_spi_mem_prepare()
32 rpc_op.addr.val = spi_op->addr.val; in rpcif_spi_mem_prepare()
35 if (spi_op->dummy.nbytes) { in rpcif_spi_mem_prepare()
38 spi_op->dummy.buswidth; in rpcif_spi_mem_prepare()
41 if (spi_op->data.nbytes || (offs && len)) { in rpcif_spi_mem_prepare()
43 rpc_op.data.nbytes = spi_op->data.nbytes; in rpcif_spi_mem_prepare()
[all …]