Lines Matching refs:pnp_dev
36 static struct pnp_option *pnp_build_option(struct pnp_dev *dev, unsigned long type, in pnp_build_option()
52 int pnp_register_irq_resource(struct pnp_dev *dev, unsigned int option_flags, in pnp_register_irq_resource()
80 int pnp_register_dma_resource(struct pnp_dev *dev, unsigned int option_flags, in pnp_register_dma_resource()
98 int pnp_register_port_resource(struct pnp_dev *dev, unsigned int option_flags, in pnp_register_port_resource()
121 int pnp_register_mem_resource(struct pnp_dev *dev, unsigned int option_flags, in pnp_register_mem_resource()
144 void pnp_free_options(struct pnp_dev *dev) in pnp_free_options()
167 int pnp_check_port(struct pnp_dev *dev, struct resource *res) in pnp_check_port()
170 struct pnp_dev *tdev; in pnp_check_port()
230 int pnp_check_mem(struct pnp_dev *dev, struct resource *res) in pnp_check_mem()
233 struct pnp_dev *tdev; in pnp_check_mem()
299 static int pci_dev_uses_irq(struct pnp_dev *pnp, struct pci_dev *pci, in pci_dev_uses_irq()
338 static int pci_uses_irq(struct pnp_dev *pnp, unsigned int irq) in pci_uses_irq()
353 int pnp_check_irq(struct pnp_dev *dev, struct resource *res) in pnp_check_irq()
356 struct pnp_dev *tdev; in pnp_check_irq()
417 int pnp_check_dma(struct pnp_dev *dev, struct resource *res) in pnp_check_dma()
420 struct pnp_dev *tdev; in pnp_check_dma()
483 struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource()
498 static struct pnp_resource *pnp_new_resource(struct pnp_dev *dev) in pnp_new_resource()
510 struct pnp_resource *pnp_add_resource(struct pnp_dev *dev, in pnp_add_resource()
527 struct pnp_resource *pnp_add_irq_resource(struct pnp_dev *dev, int irq, in pnp_add_irq_resource()
548 struct pnp_resource *pnp_add_dma_resource(struct pnp_dev *dev, int dma, in pnp_add_dma_resource()
569 struct pnp_resource *pnp_add_io_resource(struct pnp_dev *dev, in pnp_add_io_resource()
593 struct pnp_resource *pnp_add_mem_resource(struct pnp_dev *dev, in pnp_add_mem_resource()
617 struct pnp_resource *pnp_add_bus_resource(struct pnp_dev *dev, in pnp_add_bus_resource()
645 int pnp_possible_config(struct pnp_dev *dev, int type, resource_size_t start, in pnp_possible_config()
689 struct pnp_dev *dev; in pnp_range_reserved()