Searched refs:hyperbus_device (Results 1 – 4 of 4) sorted by relevance
/linux/include/linux/mtd/ |
H A D | hyperbus.h | 37 struct hyperbus_device { struct 58 u16 (*read16)(struct hyperbus_device *hbdev, unsigned long addr); argument 59 void (*write16)(struct hyperbus_device *hbdev, 61 void (*copy_from)(struct hyperbus_device *hbdev, void *to, 63 void (*copy_to)(struct hyperbus_device *dev, unsigned long to, 65 int (*calibrate)(struct hyperbus_device *dev); 87 int hyperbus_register_device(struct hyperbus_device *hbdev); 93 void hyperbus_unregister_device(struct hyperbus_device *hbdev);
|
/linux/drivers/mtd/hyperbus/ |
H A D | hyperbus-core.c | 15 static struct hyperbus_device *map_to_hbdev(struct map_info *map) in map_to_hbdev() 17 return container_of(map, struct hyperbus_device, map); in map_to_hbdev() 22 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_read16() 34 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_write16() 43 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_copy_from() 52 struct hyperbus_device *hbdev = map_to_hbdev(map); in hyperbus_copy_to() 58 int hyperbus_register_device(struct hyperbus_device *hbdev) in hyperbus_register_device() 129 void hyperbus_unregister_device(struct hyperbus_device *hbdev) in hyperbus_unregister_device()
|
H A D | rpc-if.c | 23 struct hyperbus_device hbdev; 76 static u16 rpcif_hb_read16(struct hyperbus_device *hbdev, unsigned long addr) in rpcif_hb_read16() 89 static void rpcif_hb_write16(struct hyperbus_device *hbdev, unsigned long addr, in rpcif_hb_write16() 100 static void rpcif_hb_copy_from(struct hyperbus_device *hbdev, void *to, in rpcif_hb_copy_from()
|
H A D | hbmc-am654.c | 34 struct hyperbus_device hbdev; 38 static int am654_hbmc_calibrate(struct hyperbus_device *hbdev) in am654_hbmc_calibrate() 124 static void am654_hbmc_read(struct hyperbus_device *hbdev, void *to, in am654_hbmc_read()
|