Lines Matching refs:rpc_op
24 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()
30 rpc_op.addr.buswidth = spi_op->addr.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()
36 rpc_op.dummy.buswidth = spi_op->dummy.buswidth; in rpcif_spi_mem_prepare()
37 rpc_op.dummy.ncycles = spi_op->dummy.nbytes * 8 / in rpcif_spi_mem_prepare()
42 rpc_op.data.buswidth = spi_op->data.buswidth; 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()
51 rpc_op.data.buf.out = spi_op->data.buf.out; in rpcif_spi_mem_prepare()
54 rpc_op.data.dir = RPCIF_NO_DATA; in rpcif_spi_mem_prepare()
58 rpc_op.data.dir = RPCIF_NO_DATA; in rpcif_spi_mem_prepare()
61 rpcif_prepare(rpc->dev, &rpc_op, offs, len); in rpcif_spi_mem_prepare()