Lines Matching refs:rpc
21 struct rpcif rpc; member
46 static void rpcif_hb_prepare_read(struct rpcif *rpc, void *to, in rpcif_hb_prepare_read() argument
59 rpcif_prepare(rpc, &op, NULL, NULL); in rpcif_hb_prepare_read()
62 static void rpcif_hb_prepare_write(struct rpcif *rpc, unsigned long to, in rpcif_hb_prepare_write() argument
73 rpcif_prepare(rpc, &op, NULL, NULL); in rpcif_hb_prepare_write()
82 rpcif_hb_prepare_read(&hyperbus->rpc, &data, addr, 2); in rpcif_hb_read16()
84 rpcif_manual_xfer(&hyperbus->rpc); in rpcif_hb_read16()
95 rpcif_hb_prepare_write(&hyperbus->rpc, addr, &data, 2); in rpcif_hb_write16()
97 rpcif_manual_xfer(&hyperbus->rpc); in rpcif_hb_write16()
106 rpcif_hb_prepare_read(&hyperbus->rpc, to, from, len); in rpcif_hb_copy_from()
108 rpcif_dirmap_read(&hyperbus->rpc, from, len, to); in rpcif_hb_copy_from()
127 error = rpcif_sw_init(&hyperbus->rpc, pdev->dev.parent); in rpcif_hb_probe()
133 rpcif_enable_rpm(&hyperbus->rpc); in rpcif_hb_probe()
135 rpcif_hw_init(&hyperbus->rpc, true); in rpcif_hb_probe()
137 hyperbus->hbdev.map.size = hyperbus->rpc.size; in rpcif_hb_probe()
138 hyperbus->hbdev.map.virt = hyperbus->rpc.dirmap; in rpcif_hb_probe()
146 rpcif_disable_rpm(&hyperbus->rpc); in rpcif_hb_probe()
156 rpcif_disable_rpm(&hyperbus->rpc); in rpcif_hb_remove()