Lines Matching refs:z
58 int (*probe)(struct zorro_dev *z, const struct zorro_device_id *id); /* New device inserted */
59 … void (*remove)(struct zorro_dev *z); /* Device removed (NULL if not a hot-plug capable driver) */
73 … zorro_device_id *zorro_match_device(const struct zorro_device_id *ids, const struct zorro_dev *z);
74 static inline struct zorro_driver *zorro_dev_driver(const struct zorro_dev *z) in zorro_dev_driver() argument
76 return z->driver; in zorro_dev_driver()
107 #define zorro_resource_start(z) ((z)->resource.start) argument
108 #define zorro_resource_end(z) ((z)->resource.end) argument
109 #define zorro_resource_len(z) (resource_size(&(z)->resource)) argument
110 #define zorro_resource_flags(z) ((z)->resource.flags) argument
112 #define zorro_request_device(z, name) \ argument
113 request_mem_region(zorro_resource_start(z), zorro_resource_len(z), name)
114 #define zorro_release_device(z) \ argument
115 release_mem_region(zorro_resource_start(z), zorro_resource_len(z))
121 static inline void *zorro_get_drvdata (struct zorro_dev *z) in zorro_get_drvdata() argument
123 return dev_get_drvdata(&z->dev); in zorro_get_drvdata()
126 static inline void zorro_set_drvdata (struct zorro_dev *z, void *data) in zorro_set_drvdata() argument
128 dev_set_drvdata(&z->dev, data); in zorro_set_drvdata()