Lines Matching refs:rpc
23 struct rpcif *rpc = spi_controller_get_devdata(spi_dev->controller); in rpcif_spi_mem_prepare() local
61 rpcif_prepare(rpc, &rpc_op, offs, len); in rpcif_spi_mem_prepare()
81 struct rpcif *rpc = in rpcif_spi_mem_dirmap_read() local
89 return rpcif_dirmap_read(rpc, offs, len, buf); in rpcif_spi_mem_dirmap_read()
94 struct rpcif *rpc = in rpcif_spi_mem_dirmap_create() local
103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
115 struct rpcif *rpc = in rpcif_spi_mem_exec_op() local
120 return rpcif_manual_xfer(rpc); in rpcif_spi_mem_exec_op()
134 struct rpcif *rpc; in rpcif_spi_probe() local
137 ctlr = devm_spi_alloc_master(&pdev->dev, sizeof(*rpc)); in rpcif_spi_probe()
141 rpc = spi_controller_get_devdata(ctlr); in rpcif_spi_probe()
142 error = rpcif_sw_init(rpc, parent); in rpcif_spi_probe()
150 rpcif_enable_rpm(rpc); in rpcif_spi_probe()
159 rpcif_hw_init(rpc, false); in rpcif_spi_probe()
164 rpcif_disable_rpm(rpc); in rpcif_spi_probe()
173 struct rpcif *rpc = spi_controller_get_devdata(ctlr); in rpcif_spi_remove() local
176 rpcif_disable_rpm(rpc); in rpcif_spi_remove()