Lines Matching defs:dev
25 static void reserve_range(struct pnp_dev *dev, struct resource *r, int port)
28 const char *pnpid = dev_name(&dev->dev);
51 dev_info(&dev->dev, "%pR %s reserved\n", r,
55 static void reserve_resources_of_dev(struct pnp_dev *dev)
60 for (i = 0; (res = pnp_get_resource(dev, IORESOURCE_IO, i)); i++) {
78 reserve_range(dev, res, 1);
81 for (i = 0; (res = pnp_get_resource(dev, IORESOURCE_MEM, i)); i++) {
85 reserve_range(dev, res, 0);
89 static int system_pnp_probe(struct pnp_dev *dev,
92 reserve_resources_of_dev(dev);