Home
last modified time | relevance | path

Searched refs:hyperbus_device (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/linux/mtd/
Dhyperbus.h25 struct hyperbus_device { struct
45 u16 (*read16)(struct hyperbus_device *hbdev, unsigned long addr); argument
46 void (*write16)(struct hyperbus_device *hbdev,
48 void (*copy_from)(struct hyperbus_device *hbdev, void *to,
50 void (*copy_to)(struct hyperbus_device *dev, unsigned long to,
52 int (*calibrate)(struct hyperbus_device *dev);
74 int hyperbus_register_device(struct hyperbus_device *hbdev);
82 int hyperbus_unregister_device(struct hyperbus_device *hbdev);
/Linux-v5.4/drivers/mtd/hyperbus/
Dhyperbus-core.c16 static struct hyperbus_device *map_to_hbdev(struct map_info *map) in map_to_hbdev()
18 return container_of(map, struct hyperbus_device, map); in map_to_hbdev()
23 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_read16()
35 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_write16()
44 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_copy_from()
53 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_copy_to()
59 int hyperbus_register_device(struct hyperbus_device *hbdev) in hyperbus_register_device()
138 int hyperbus_unregister_device(struct hyperbus_device *hbdev) in hyperbus_unregister_device()
Dhbmc-am654.c22 struct hyperbus_device hbdev;
26 static int am654_hbmc_calibrate(struct hyperbus_device *hbdev) in am654_hbmc_calibrate()