Lines Matching defs:dev
24 * @dev: the Zorro device structure to match against
44 static int zorro_device_probe(struct device *dev)
47 struct zorro_driver *drv = to_zorro_driver(dev->driver);
48 struct zorro_dev *z = to_zorro_dev(dev);
65 static int zorro_device_remove(struct device *dev)
67 struct zorro_dev *z = to_zorro_dev(dev);
68 struct zorro_driver *drv = to_zorro_driver(dev->driver);
120 * @dev: the Zorro device structure to match against
127 static int zorro_bus_match(struct device *dev, struct device_driver *drv)
129 struct zorro_dev *z = to_zorro_dev(dev);
139 static int zorro_uevent(struct device *dev, struct kobj_uevent_env *env)
143 if (!dev)
146 z = to_zorro_dev(dev);
151 add_uevent_var(env, "ZORRO_SLOT_NAME=%s", dev_name(dev)) ||