Lines Matching defs:p_dev
41 #define reader_to_dev(x) (&x->p_dev->dev)
73 struct pcmcia_device *p_dev;
112 unsigned int obs = xinb(dev->p_dev->resource[0]->start
143 int iobase = dev->p_dev->resource[0]->start;
173 int iobase = dev->p_dev->resource[0]->start;
191 int iobase = dev->p_dev->resource[0]->start;
221 int iobase = dev->p_dev->resource[0]->start;
242 if (!pcmcia_dev_present(dev->p_dev))
323 int iobase = dev->p_dev->resource[0]->start;
346 if (!pcmcia_dev_present(dev->p_dev))
519 static int cm4040_config_check(struct pcmcia_device *p_dev,
530 p_dev->resource[0]->start = cfg->io.win[0].base;
531 p_dev->resource[0]->end = cfg->io.win[0].len;
532 p_dev->resource[0]->flags |= pcmcia_io_cfg_data_width(cfg->io.flags);
533 p_dev->io_lines = cfg->io.flags & CISTPL_IO_LINES_MASK;
534 rc = pcmcia_request_io(p_dev);
536 dev_printk(KERN_INFO, &p_dev->dev,
600 dev->p_dev = link;