Lines Matching refs:z
50 int (*probe)(struct zorro_dev *z, const struct zorro_device_id *id); /* New device inserted */
51 … void (*remove)(struct zorro_dev *z); /* Device removed (NULL if not a hot-plug capable driver) */
94 #define zorro_resource_start(z) ((z)->resource.start) argument
95 #define zorro_resource_end(z) ((z)->resource.end) argument
96 #define zorro_resource_len(z) (resource_size(&(z)->resource)) argument
97 #define zorro_resource_flags(z) ((z)->resource.flags) argument
99 #define zorro_request_device(z, name) \ argument
100 request_mem_region(zorro_resource_start(z), zorro_resource_len(z), name)
101 #define zorro_release_device(z) \ argument
102 release_mem_region(zorro_resource_start(z), zorro_resource_len(z))
108 static inline void *zorro_get_drvdata (struct zorro_dev *z) in zorro_get_drvdata() argument
110 return dev_get_drvdata(&z->dev); in zorro_get_drvdata()
113 static inline void zorro_set_drvdata (struct zorro_dev *z, void *data) in zorro_set_drvdata() argument
115 dev_set_drvdata(&z->dev, data); in zorro_set_drvdata()