Lines Matching refs:ctlr
23 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_read16() local
26 read_data.x[0] = ctlr->ops->read16(hbdev, addr); in hyperbus_read16()
35 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_write16() local
37 ctlr->ops->write16(hbdev, addr, d.x[0]); in hyperbus_write16()
44 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_copy_from() local
46 ctlr->ops->copy_from(hbdev, to, from, len); in hyperbus_copy_from()
53 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_copy_to() local
55 ctlr->ops->copy_to(hbdev, to, from, len); in hyperbus_copy_to()
61 struct hyperbus_ctlr *ctlr; in hyperbus_register_device() local
67 if (!hbdev || !hbdev->np || !hbdev->ctlr || !hbdev->ctlr->dev) { in hyperbus_register_device()
73 ctlr = hbdev->ctlr; in hyperbus_register_device()
75 dev_err(ctlr->dev, "\"cypress,hyperflash\" compatible missing\n"); in hyperbus_register_device()
81 dev = ctlr->dev; in hyperbus_register_device()
88 ops = ctlr->ops; in hyperbus_register_device()
99 if (ops->calibrate && !ctlr->calibrated) { in hyperbus_register_device()
105 ctlr->calibrated = true; in hyperbus_register_device()