Lines Matching refs:hbdev
23 struct hyperbus_device hbdev; member
76 static u16 rpcif_hb_read16(struct hyperbus_device *hbdev, unsigned long addr) in rpcif_hb_read16() argument
79 container_of(hbdev, struct rpcif_hyperbus, hbdev); in rpcif_hb_read16()
89 static void rpcif_hb_write16(struct hyperbus_device *hbdev, unsigned long addr, in rpcif_hb_write16() argument
93 container_of(hbdev, struct rpcif_hyperbus, hbdev); in rpcif_hb_write16()
100 static void rpcif_hb_copy_from(struct hyperbus_device *hbdev, void *to, in rpcif_hb_copy_from() argument
104 container_of(hbdev, struct rpcif_hyperbus, hbdev); in rpcif_hb_copy_from()
139 hyperbus->hbdev.map.size = hyperbus->rpc.size; in rpcif_hb_probe()
140 hyperbus->hbdev.map.virt = hyperbus->rpc.dirmap; in rpcif_hb_probe()
144 hyperbus->hbdev.ctlr = &hyperbus->ctlr; in rpcif_hb_probe()
145 hyperbus->hbdev.np = of_get_next_child(pdev->dev.parent->of_node, NULL); in rpcif_hb_probe()
146 error = hyperbus_register_device(&hyperbus->hbdev); in rpcif_hb_probe()
161 hyperbus_unregister_device(&hyperbus->hbdev); in rpcif_hb_remove()