Lines Matching refs:pnp_dev

15 struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *, int id,
19 int pnp_add_device(struct pnp_dev *dev);
20 struct pnp_id *pnp_add_id(struct pnp_dev *dev, const char *id);
24 int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev);
25 void pnp_remove_card_device(struct pnp_dev *dev);
80 int pnp_register_irq_resource(struct pnp_dev *dev, unsigned int option_flags,
82 int pnp_register_dma_resource(struct pnp_dev *dev, unsigned int option_flags,
84 int pnp_register_port_resource(struct pnp_dev *dev, unsigned int option_flags,
88 int pnp_register_mem_resource(struct pnp_dev *dev, unsigned int option_flags,
109 static inline unsigned int pnp_new_dependent_set(struct pnp_dev *dev, in pnp_new_dependent_set()
133 void dbg_pnp_show_option(struct pnp_dev *dev, struct pnp_option *option);
135 void pnp_init_resources(struct pnp_dev *dev);
137 void pnp_fixup_device(struct pnp_dev *dev);
138 void pnp_free_options(struct pnp_dev *dev);
139 int __pnp_add_device(struct pnp_dev *dev);
140 void __pnp_remove_device(struct pnp_dev *dev);
142 int pnp_check_port(struct pnp_dev *dev, struct resource *res);
143 int pnp_check_mem(struct pnp_dev *dev, struct resource *res);
144 int pnp_check_irq(struct pnp_dev *dev, struct resource *res);
146 int pnp_check_dma(struct pnp_dev *dev, struct resource *res);
150 void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc);
152 void pnp_free_resources(struct pnp_dev *dev);
162 struct pnp_resource *pnp_add_resource(struct pnp_dev *dev,
164 struct pnp_resource *pnp_add_irq_resource(struct pnp_dev *dev, int irq,
166 struct pnp_resource *pnp_add_dma_resource(struct pnp_dev *dev, int dma,
168 struct pnp_resource *pnp_add_io_resource(struct pnp_dev *dev,
171 struct pnp_resource *pnp_add_mem_resource(struct pnp_dev *dev,
174 struct pnp_resource *pnp_add_bus_resource(struct pnp_dev *dev,