Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-rpc-if.c24 struct rpcif_op rpc_op = { }; in rpcif_spi_mem_prepare() local
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()
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()
43 rpc_op.data.nbytes = spi_op->data.nbytes; in rpcif_spi_mem_prepare()
46 rpc_op.data.dir = RPCIF_DATA_IN; in rpcif_spi_mem_prepare()
47 rpc_op.data.buf.in = spi_op->data.buf.in; in rpcif_spi_mem_prepare()
50 rpc_op.data.dir = RPCIF_DATA_OUT; in rpcif_spi_mem_prepare()
54 rpc_op.data.dir = RPCIF_NO_DATA; in rpcif_spi_mem_prepare()
[all …]