Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dsuperhyway.h47 struct superhyway_device;
56 int (*probe)(struct superhyway_device *dev, const struct superhyway_device_id *id);
57 void (*remove)(struct superhyway_device *dev);
62 struct superhyway_device { struct
76 #define to_superhyway_device(d) container_of((d), struct superhyway_device, dev) argument
82 superhyway_read_vcr(struct superhyway_device *dev, unsigned long base, in superhyway_read_vcr()
89 superhyway_write_vcr(struct superhyway_device *dev, unsigned long base, in superhyway_write_vcr()
100 int superhyway_add_device(unsigned long base, struct superhyway_device *, struct superhyway_bus *);
101 int superhyway_add_devices(struct superhyway_bus *bus, struct superhyway_device **devices, int nr_d…
/linux-4.19.296/drivers/sh/superhyway/
Dsuperhyway.c30 struct superhyway_device *sdev = to_superhyway_device(dev); in superhyway_device_release()
53 int superhyway_add_device(unsigned long base, struct superhyway_device *sdev, in superhyway_add_device()
56 struct superhyway_device *dev = sdev; in superhyway_add_device()
59 dev = kzalloc(sizeof(struct superhyway_device), GFP_KERNEL); in superhyway_add_device()
94 struct superhyway_device **devices, in superhyway_add_devices()
100 struct superhyway_device *dev = devices[i]; in superhyway_add_devices()
125 struct superhyway_device *dev) in superhyway_match_id()
139 struct superhyway_device *shyway_dev = to_superhyway_device(dev); in superhyway_device_probe()
155 struct superhyway_device *shyway_dev = to_superhyway_device(dev); in superhyway_device_remove()
196 struct superhyway_device *shyway_dev = to_superhyway_device(dev); in superhyway_bus_match()
Dsuperhyway-sysfs.c20 struct superhyway_device *s = to_superhyway_device(dev); \